From 7744f80dfb95b6d621b269708cd509961e15ef05 Mon Sep 17 00:00:00 2001 From: Ian Smith Botsford Date: Thu, 13 Oct 2022 18:04:24 +0000 Subject: [PATCH] chore: sync AWS models and bump smithy-kotlin version --- .../beeb9649-935f-4ba6-93fe-fa61f3784712.json | 5 + codegen/sdk/aws-models/accessanalyzer.json | 194 +- codegen/sdk/aws-models/account.json | 24 +- codegen/sdk/aws-models/acm-pca.json | 62 +- .../sdk/aws-models/alexa-for-business.json | 31 +- codegen/sdk/aws-models/amp.json | 40 +- codegen/sdk/aws-models/amplify.json | 98 +- codegen/sdk/aws-models/amplifybackend.json | 54 +- codegen/sdk/aws-models/amplifyuibuilder.json | 2 +- codegen/sdk/aws-models/api-gateway.json | 108 +- .../aws-models/apigatewaymanagementapi.json | 8 +- codegen/sdk/aws-models/apigatewayv2.json | 149 +- codegen/sdk/aws-models/app-mesh.json | 94 +- codegen/sdk/aws-models/appconfig.json | 130 +- codegen/sdk/aws-models/appconfigdata.json | 33 +- codegen/sdk/aws-models/appflow.json | 100 +- codegen/sdk/aws-models/appintegrations.json | 3 +- .../aws-models/application-auto-scaling.json | 42 +- .../application-discovery-service.json | 109 +- .../sdk/aws-models/application-insights.json | 108 +- .../aws-models/applicationcostprofiler.json | 3 +- codegen/sdk/aws-models/appstream.json | 64 +- codegen/sdk/aws-models/appsync.json | 93 +- codegen/sdk/aws-models/athena.json | 69 +- codegen/sdk/aws-models/auditmanager.json | 75 +- .../sdk/aws-models/auto-scaling-plans.json | 38 +- codegen/sdk/aws-models/auto-scaling.json | 282 +- codegen/sdk/aws-models/backup-gateway.json | 2 +- codegen/sdk/aws-models/backup.json | 73 +- codegen/sdk/aws-models/backupstorage.json | 65 +- codegen/sdk/aws-models/batch.json | 62 +- codegen/sdk/aws-models/billingconductor.json | 113 +- codegen/sdk/aws-models/braket.json | 52 +- codegen/sdk/aws-models/budgets.json | 45 +- .../sdk/aws-models/chime-sdk-identity.json | 54 +- .../aws-models/chime-sdk-media-pipelines.json | 35 +- .../sdk/aws-models/chime-sdk-meetings.json | 42 +- .../sdk/aws-models/chime-sdk-messaging.json | 52 +- codegen/sdk/aws-models/chime.json | 188 +- codegen/sdk/aws-models/cloud9.json | 54 +- codegen/sdk/aws-models/cloudcontrol.json | 33 +- codegen/sdk/aws-models/clouddirectory.json | 32 +- codegen/sdk/aws-models/cloudformation.json | 150 +- codegen/sdk/aws-models/cloudfront.json | 57 +- codegen/sdk/aws-models/cloudhsm-v2.json | 10 +- codegen/sdk/aws-models/cloudhsm.json | 10 +- .../sdk/aws-models/cloudsearch-domain.json | 60 +- codegen/sdk/aws-models/cloudsearch.json | 38 +- codegen/sdk/aws-models/cloudtrail.json | 16 - codegen/sdk/aws-models/cloudwatch-events.json | 74 +- codegen/sdk/aws-models/cloudwatch-logs.json | 115 +- codegen/sdk/aws-models/cloudwatch.json | 105 +- codegen/sdk/aws-models/codeartifact.json | 67 +- codegen/sdk/aws-models/codebuild.json | 33 +- codegen/sdk/aws-models/codecommit.json | 158 +- codegen/sdk/aws-models/codedeploy.json | 2324 ++++---- codegen/sdk/aws-models/codeguru-reviewer.json | 550 +- codegen/sdk/aws-models/codeguruprofiler.json | 23 +- codegen/sdk/aws-models/codepipeline.json | 65 +- .../sdk/aws-models/codestar-connections.json | 5 +- .../aws-models/codestar-notifications.json | 2 - codegen/sdk/aws-models/codestar.json | 44 +- .../aws-models/cognito-identity-provider.json | 137 +- codegen/sdk/aws-models/cognito-identity.json | 49 +- codegen/sdk/aws-models/cognito-sync.json | 35 +- codegen/sdk/aws-models/comprehend.json | 52 +- codegen/sdk/aws-models/comprehendmedical.json | 45 +- codegen/sdk/aws-models/compute-optimizer.json | 200 +- codegen/sdk/aws-models/config-service.json | 137 +- .../sdk/aws-models/connect-contact-lens.json | 12 +- codegen/sdk/aws-models/connect.json | 5035 ++++++++++------- codegen/sdk/aws-models/connectcampaigns.json | 36 +- codegen/sdk/aws-models/connectcases.json | 4279 ++++++++++++++ .../sdk/aws-models/connectparticipant.json | 46 +- codegen/sdk/aws-models/controltower.json | 37 +- codegen/sdk/aws-models/cost-explorer.json | 6 - codegen/sdk/aws-models/customer-profiles.json | 81 +- codegen/sdk/aws-models/data-pipeline.json | 29 +- .../database-migration-service.json | 105 +- codegen/sdk/aws-models/databrew.json | 144 +- codegen/sdk/aws-models/dataexchange.json | 69 +- codegen/sdk/aws-models/datasync.json | 51 +- codegen/sdk/aws-models/dax.json | 19 +- codegen/sdk/aws-models/detective.json | 53 +- codegen/sdk/aws-models/device-farm.json | 24 - codegen/sdk/aws-models/devops-guru.json | 1431 +++-- codegen/sdk/aws-models/direct-connect.json | 139 +- codegen/sdk/aws-models/directory-service.json | 101 +- codegen/sdk/aws-models/dlm.json | 427 +- codegen/sdk/aws-models/docdb.json | 84 +- codegen/sdk/aws-models/drs.json | 110 +- codegen/sdk/aws-models/dynamodb-streams.json | 46 +- codegen/sdk/aws-models/dynamodb.json | 154 +- codegen/sdk/aws-models/ebs.json | 56 +- .../sdk/aws-models/ec2-instance-connect.json | 31 +- codegen/sdk/aws-models/ec2.json | 61 +- codegen/sdk/aws-models/ecr-public.json | 43 +- codegen/sdk/aws-models/ecr.json | 88 +- codegen/sdk/aws-models/ecs.json | 44 +- codegen/sdk/aws-models/efs.json | 92 +- codegen/sdk/aws-models/eks.json | 63 +- codegen/sdk/aws-models/elastic-beanstalk.json | 164 +- codegen/sdk/aws-models/elastic-inference.json | 16 +- .../aws-models/elastic-load-balancing-v2.json | 705 +-- .../aws-models/elastic-load-balancing.json | 61 +- .../sdk/aws-models/elastic-transcoder.json | 12 +- codegen/sdk/aws-models/elasticache.json | 95 +- .../sdk/aws-models/elasticsearch-service.json | 104 +- codegen/sdk/aws-models/emr-containers.json | 39 +- codegen/sdk/aws-models/emr-serverless.json | 2 +- codegen/sdk/aws-models/emr.json | 78 +- codegen/sdk/aws-models/eventbridge.json | 112 +- codegen/sdk/aws-models/evidently.json | 2 +- codegen/sdk/aws-models/finspace-data.json | 97 +- codegen/sdk/aws-models/finspace.json | 36 +- codegen/sdk/aws-models/firehose.json | 31 +- codegen/sdk/aws-models/fis.json | 65 +- codegen/sdk/aws-models/fms.json | 71 +- codegen/sdk/aws-models/forecast.json | 64 +- codegen/sdk/aws-models/forecastquery.json | 27 +- codegen/sdk/aws-models/frauddetector.json | 89 +- codegen/sdk/aws-models/gamelift.json | 79 +- codegen/sdk/aws-models/gamesparks.json | 37 +- codegen/sdk/aws-models/glacier.json | 72 +- .../sdk/aws-models/global-accelerator.json | 47 +- codegen/sdk/aws-models/glue.json | 440 +- codegen/sdk/aws-models/grafana.json | 70 +- codegen/sdk/aws-models/greengrass.json | 33 +- codegen/sdk/aws-models/greengrassv2.json | 923 +-- codegen/sdk/aws-models/groundstation.json | 8 +- codegen/sdk/aws-models/guardduty.json | 147 +- codegen/sdk/aws-models/health.json | 58 +- codegen/sdk/aws-models/healthlake.json | 3 +- codegen/sdk/aws-models/honeycode.json | 64 +- codegen/sdk/aws-models/iam.json | 137 +- codegen/sdk/aws-models/identitystore.json | 2 +- codegen/sdk/aws-models/imagebuilder.json | 79 +- codegen/sdk/aws-models/inspector.json | 81 +- codegen/sdk/aws-models/inspector2.json | 2 +- .../iot-1click-devices-service.json | 30 +- .../sdk/aws-models/iot-1click-projects.json | 3 +- codegen/sdk/aws-models/iot-data-plane.json | 64 +- codegen/sdk/aws-models/iot-events-data.json | 47 +- codegen/sdk/aws-models/iot-events.json | 34 +- .../sdk/aws-models/iot-jobs-data-plane.json | 59 +- codegen/sdk/aws-models/iot-wireless.json | 186 +- codegen/sdk/aws-models/iot.json | 631 ++- codegen/sdk/aws-models/iotanalytics.json | 82 +- codegen/sdk/aws-models/iotdeviceadvisor.json | 60 +- codegen/sdk/aws-models/iotfleethub.json | 11 +- codegen/sdk/aws-models/iotfleetwise.json | 2 +- .../sdk/aws-models/iotsecuretunneling.json | 47 +- codegen/sdk/aws-models/iotsitewise.json | 68 +- codegen/sdk/aws-models/iotthingsgraph.json | 58 +- codegen/sdk/aws-models/iottwinmaker.json | 67 +- codegen/sdk/aws-models/ivs.json | 122 +- codegen/sdk/aws-models/ivschat.json | 95 +- codegen/sdk/aws-models/kafka.json | 94 +- codegen/sdk/aws-models/kafkaconnect.json | 109 +- codegen/sdk/aws-models/kendra.json | 4 +- codegen/sdk/aws-models/keyspaces.json | 39 +- .../sdk/aws-models/kinesis-analytics-v2.json | 18 +- codegen/sdk/aws-models/kinesis-analytics.json | 10 +- .../kinesis-video-archived-media.json | 51 +- .../sdk/aws-models/kinesis-video-media.json | 3 +- .../aws-models/kinesis-video-signaling.json | 4 +- codegen/sdk/aws-models/kinesis-video.json | 47 +- codegen/sdk/aws-models/kinesis.json | 109 +- codegen/sdk/aws-models/kms.json | 66 +- codegen/sdk/aws-models/lakeformation.json | 85 +- codegen/sdk/aws-models/lambda.json | 118 +- .../lex-model-building-service.json | 47 +- codegen/sdk/aws-models/lex-models-v2.json | 12 - .../sdk/aws-models/lex-runtime-service.json | 12 +- codegen/sdk/aws-models/lex-runtime-v2.json | 78 +- .../license-manager-user-subscriptions.json | 77 +- codegen/sdk/aws-models/license-manager.json | 35 +- codegen/sdk/aws-models/lightsail.json | 18 - codegen/sdk/aws-models/location.json | 2 +- codegen/sdk/aws-models/lookoutequipment.json | 55 +- codegen/sdk/aws-models/lookoutmetrics.json | 94 +- codegen/sdk/aws-models/lookoutvision.json | 64 +- codegen/sdk/aws-models/m2.json | 114 +- codegen/sdk/aws-models/machine-learning.json | 62 +- codegen/sdk/aws-models/macie.json | 41 +- codegen/sdk/aws-models/macie2.json | 174 +- codegen/sdk/aws-models/managedblockchain.json | 23 +- .../sdk/aws-models/marketplace-catalog.json | 35 +- .../marketplace-commerce-analytics.json | 2 +- .../marketplace-entitlement-service.json | 17 +- .../sdk/aws-models/marketplace-metering.json | 42 +- codegen/sdk/aws-models/mediaconvert.json | 510 +- codegen/sdk/aws-models/medialive.json | 374 +- codegen/sdk/aws-models/mediapackage-vod.json | 68 +- codegen/sdk/aws-models/mediapackage.json | 88 +- codegen/sdk/aws-models/mediastore-data.json | 11 +- codegen/sdk/aws-models/mediastore.json | 10 +- codegen/sdk/aws-models/mediatailor.json | 89 +- codegen/sdk/aws-models/memorydb.json | 29 +- codegen/sdk/aws-models/mgn.json | 87 +- .../migration-hub-refactor-spaces.json | 74 +- codegen/sdk/aws-models/migration-hub.json | 29 +- .../sdk/aws-models/migrationhub-config.json | 15 +- .../aws-models/migrationhuborchestrator.json | 2 +- .../sdk/aws-models/migrationhubstrategy.json | 52 +- codegen/sdk/aws-models/mobile.json | 11 +- codegen/sdk/aws-models/mq.json | 81 +- codegen/sdk/aws-models/mturk.json | 18 +- codegen/sdk/aws-models/mwaa.json | 38 +- codegen/sdk/aws-models/neptune.json | 117 +- codegen/sdk/aws-models/network-firewall.json | 847 +-- codegen/sdk/aws-models/networkmanager.json | 61 +- codegen/sdk/aws-models/nimble.json | 2 +- codegen/sdk/aws-models/opensearch.json | 109 +- codegen/sdk/aws-models/opsworks.json | 145 +- codegen/sdk/aws-models/opsworkscm.json | 14 +- codegen/sdk/aws-models/organizations.json | 47 +- codegen/sdk/aws-models/outposts.json | 1215 ++-- codegen/sdk/aws-models/panorama.json | 70 +- .../sdk/aws-models/personalize-events.json | 16 +- .../sdk/aws-models/personalize-runtime.json | 31 +- codegen/sdk/aws-models/personalize.json | 87 +- codegen/sdk/aws-models/pi.json | 52 +- codegen/sdk/aws-models/pinpoint-email.json | 58 +- .../sdk/aws-models/pinpoint-sms-voice-v2.json | 81 +- .../sdk/aws-models/pinpoint-sms-voice.json | 9 +- codegen/sdk/aws-models/pinpoint.json | 209 +- codegen/sdk/aws-models/polly.json | 2 - codegen/sdk/aws-models/pricing.json | 35 +- codegen/sdk/aws-models/privatenetworks.json | 72 +- codegen/sdk/aws-models/proton.json | 2 +- codegen/sdk/aws-models/qldb-session.json | 20 +- codegen/sdk/aws-models/qldb.json | 54 +- codegen/sdk/aws-models/quicksight.json | 2861 ++++++---- codegen/sdk/aws-models/ram.json | 45 +- codegen/sdk/aws-models/rbin.json | 36 +- codegen/sdk/aws-models/rds-data.json | 92 +- codegen/sdk/aws-models/rds.json | 24 - codegen/sdk/aws-models/redshift-data.json | 92 +- .../sdk/aws-models/redshift-serverless.json | 56 +- codegen/sdk/aws-models/redshift.json | 131 +- codegen/sdk/aws-models/rekognition.json | 104 +- codegen/sdk/aws-models/resiliencehub.json | 78 +- .../resource-groups-tagging-api.json | 72 +- codegen/sdk/aws-models/resource-groups.json | 3 +- codegen/sdk/aws-models/robomaker.json | 118 +- codegen/sdk/aws-models/rolesanywhere.json | 32 +- codegen/sdk/aws-models/route-53-domains.json | 66 +- codegen/sdk/aws-models/route-53.json | 145 +- .../aws-models/route53-recovery-cluster.json | 40 +- .../route53-recovery-control-config.json | 60 +- .../route53-recovery-readiness.json | 61 +- codegen/sdk/aws-models/route53resolver.json | 83 +- codegen/sdk/aws-models/rum.json | 57 +- codegen/sdk/aws-models/s3-control.json | 30 + codegen/sdk/aws-models/s3.json | 484 +- codegen/sdk/aws-models/s3outposts.json | 40 +- .../sdk/aws-models/sagemaker-a2i-runtime.json | 37 +- codegen/sdk/aws-models/sagemaker-edge.json | 34 +- .../sagemaker-featurestore-runtime.json | 8 +- codegen/sdk/aws-models/sagemaker-runtime.json | 69 +- codegen/sdk/aws-models/sagemaker.json | 794 +++ codegen/sdk/aws-models/savingsplans.json | 47 +- codegen/sdk/aws-models/schemas.json | 50 +- codegen/sdk/aws-models/securityhub.json | 484 +- .../serverlessapplicationrepository.json | 33 +- .../service-catalog-appregistry.json | 47 +- codegen/sdk/aws-models/service-catalog.json | 144 +- codegen/sdk/aws-models/service-quotas.json | 23 +- codegen/sdk/aws-models/servicediscovery.json | 14 +- codegen/sdk/aws-models/ses.json | 93 +- codegen/sdk/aws-models/sesv2.json | 86 +- codegen/sdk/aws-models/sfn.json | 69 +- codegen/sdk/aws-models/shield.json | 75 +- codegen/sdk/aws-models/signer.json | 41 +- codegen/sdk/aws-models/sms.json | 107 +- .../aws-models/snow-device-management.json | 11 +- codegen/sdk/aws-models/snowball.json | 750 ++- codegen/sdk/aws-models/sns.json | 51 +- codegen/sdk/aws-models/sqs.json | 90 +- codegen/sdk/aws-models/ssm-contacts.json | 54 +- codegen/sdk/aws-models/ssm-incidents.json | 62 +- codegen/sdk/aws-models/sso-admin.json | 35 +- codegen/sdk/aws-models/sso-oidc.json | 94 +- codegen/sdk/aws-models/sso.json | 41 +- codegen/sdk/aws-models/storage-gateway.json | 136 +- codegen/sdk/aws-models/sts.json | 43 +- codegen/sdk/aws-models/support-app.json | 37 +- codegen/sdk/aws-models/support.json | 80 +- codegen/sdk/aws-models/swf.json | 178 +- codegen/sdk/aws-models/synthetics.json | 52 +- codegen/sdk/aws-models/textract.json | 48 +- codegen/sdk/aws-models/timestream-query.json | 78 +- codegen/sdk/aws-models/timestream-write.json | 88 +- .../sdk/aws-models/transcribe-streaming.json | 81 +- codegen/sdk/aws-models/transcribe.json | 59 +- codegen/sdk/aws-models/transfer.json | 58 +- codegen/sdk/aws-models/voice-id.json | 44 +- codegen/sdk/aws-models/waf-regional.json | 50 +- codegen/sdk/aws-models/waf.json | 50 +- codegen/sdk/aws-models/wellarchitected.json | 138 +- codegen/sdk/aws-models/wisdom.json | 47 +- codegen/sdk/aws-models/workdocs.json | 63 +- codegen/sdk/aws-models/worklink.json | 40 +- codegen/sdk/aws-models/workmail.json | 1593 ++++-- .../sdk/aws-models/workmailmessageflow.json | 2 +- codegen/sdk/aws-models/workspaces-web.json | 46 +- codegen/sdk/aws-models/xray.json | 62 +- gradle.properties | 2 +- 309 files changed, 29278 insertions(+), 15047 deletions(-) create mode 100644 .changes/beeb9649-935f-4ba6-93fe-fa61f3784712.json create mode 100644 codegen/sdk/aws-models/connectcases.json diff --git a/.changes/beeb9649-935f-4ba6-93fe-fa61f3784712.json b/.changes/beeb9649-935f-4ba6-93fe-fa61f3784712.json new file mode 100644 index 00000000000..fac4aaf2448 --- /dev/null +++ b/.changes/beeb9649-935f-4ba6-93fe-fa61f3784712.json @@ -0,0 +1,5 @@ +{ + "id": "beeb9649-935f-4ba6-93fe-fa61f3784712", + "type": "misc", + "description": "Sync AWS service models" +} \ No newline at end of file diff --git a/codegen/sdk/aws-models/accessanalyzer.json b/codegen/sdk/aws-models/accessanalyzer.json index 86deeb92cb5..b9bcbb4af28 100644 --- a/codegen/sdk/aws-models/accessanalyzer.json +++ b/codegen/sdk/aws-models/accessanalyzer.json @@ -1,29 +1,8 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.accessanalyzer#AccessAnalyzer": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AccessAnalyzer", - "arnNamespace": "access-analyzer", - "cloudFormationName": "AccessAnalyzer", - "cloudTrailEventSource": "access-analyzer.amazonaws.com", - "endpointPrefix": "access-analyzer" - }, - "aws.auth#sigv4": { - "name": "access-analyzer" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "

Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to\n identify any policies that grant access to an external principal. It does this by using\n logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An\n external principal can be another Amazon Web Services account, a root user, an IAM user or role, a\n federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to\n preview and validate public and cross-account access to your resources before deploying\n permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can\n call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.

\n

To start using IAM Access Analyzer, you first need to create an analyzer.

", - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "pageSize": "maxResults" - }, - "smithy.api#title": "Access Analyzer" - }, "version": "2019-11-01", "operations": [ { @@ -88,7 +67,26 @@ { "target": "com.amazonaws.accessanalyzer#Analyzer" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AccessAnalyzer", + "arnNamespace": "access-analyzer", + "cloudTrailEventSource": "access-analyzer.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "access-analyzer" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to\n identify any policies that grant access to an external principal. It does this by using\n logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An\n external principal can be another Amazon Web Services account, a root user, an IAM user or role, a\n federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to\n preview and validate public and cross-account access to your resources before deploying\n permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can\n call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.

\n

To start using IAM Access Analyzer, you first need to create an analyzer.

", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#title": "Access Analyzer" + } }, "com.amazonaws.accessanalyzer#AccessDeniedException": { "type": "structure", @@ -578,10 +576,7 @@ ], "traits": { "aws.api#arn": { - "template": "analyzer/{analyzerName}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "analyzer/{analyzerName}" }, "smithy.api#noReplace": {} } @@ -693,6 +688,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#ApplyArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -713,8 +711,8 @@ "traits": { "smithy.api#documentation": "

Retroactively applies the archive rule to existing findings that meet the archive rule\n criteria.

", "smithy.api#http": { - "method": "PUT", "uri": "/archive-rule", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -776,10 +774,7 @@ }, "traits": { "aws.api#arn": { - "template": "analyzer/{analyzerName}/archive-rule/{ruleName}", - "absolute": false, - "noAccount": false, - "noRegion": false + "template": "analyzer/{analyzerName}/archive-rule/{ruleName}" }, "smithy.api#noReplace": {} } @@ -851,8 +846,8 @@ "traits": { "smithy.api#documentation": "

Cancels the requested policy generation.

", "smithy.api#http": { - "method": "PUT", "uri": "/policy/generation/{jobId}", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1068,8 +1063,8 @@ "traits": { "smithy.api#documentation": "

Creates an access preview that allows you to preview IAM Access Analyzer findings for your\n resource before deploying resource permissions.

", "smithy.api#http": { - "method": "PUT", "uri": "/access-preview", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1144,8 +1139,8 @@ "traits": { "smithy.api#documentation": "

Creates an analyzer for your account.

", "smithy.api#http": { - "method": "PUT", "uri": "/analyzer", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1211,6 +1206,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#CreateArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -1237,8 +1235,8 @@ "traits": { "smithy.api#documentation": "

Creates an archive rule for the specified analyzer. Archive rules automatically archive\n new findings that meet the criteria you define when you create the rule.

\n

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

", "smithy.api#http": { - "method": "PUT", "uri": "/analyzer/{analyzerName}/archive-rule", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -1318,6 +1316,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#DeleteAnalyzerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -1338,8 +1339,8 @@ "traits": { "smithy.api#documentation": "

Deletes the specified analyzer. When you delete an analyzer, IAM Access Analyzer is disabled\n for the account or organization in the current or specific Region. All findings that were\n generated by the analyzer are deleted. You cannot undo this action.

", "smithy.api#http": { - "method": "DELETE", "uri": "/analyzer/{analyzerName}", + "method": "DELETE", "code": 200 }, "smithy.api#idempotent": {} @@ -1374,6 +1375,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#DeleteArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -1394,8 +1398,8 @@ "traits": { "smithy.api#documentation": "

Deletes the specified archive rule.

", "smithy.api#http": { - "method": "DELETE", "uri": "/analyzer/{analyzerName}/archive-rule/{ruleName}", + "method": "DELETE", "code": 200 }, "smithy.api#idempotent": {} @@ -1867,8 +1871,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about an access preview for the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/access-preview/{accessPreviewId}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -1935,8 +1939,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about a resource that was analyzed.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzed-resource", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2008,8 +2012,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer/{analyzerName}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2074,8 +2078,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about an archive rule.

\n

To learn about filter keys that you can use to create an archive rule, see IAM Access Analyzer filter keys in the IAM User Guide.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer/{analyzerName}/archive-rule/{ruleName}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2147,8 +2151,8 @@ "traits": { "smithy.api#documentation": "

Retrieves information about the specified finding.

", "smithy.api#http": { - "method": "GET", "uri": "/finding/{id}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2217,8 +2221,8 @@ "traits": { "smithy.api#documentation": "

Retrieves the policy that was generated using StartPolicyGeneration.\n

", "smithy.api#http": { - "method": "GET", "uri": "/policy/generation/{jobId}", + "method": "GET", "code": 200 }, "smithy.api#readonly": {} @@ -2423,20 +2427,20 @@ "traits": { "smithy.api#enum": [ { - "value": "AUTHORIZATION_ERROR", - "name": "AUTHORIZATION_ERROR" + "name": "AUTHORIZATION_ERROR", + "value": "AUTHORIZATION_ERROR" }, { - "value": "RESOURCE_NOT_FOUND_ERROR", - "name": "RESOURCE_NOT_FOUND_ERROR" + "name": "RESOURCE_NOT_FOUND_ERROR", + "value": "RESOURCE_NOT_FOUND_ERROR" }, { - "value": "SERVICE_QUOTA_EXCEEDED_ERROR", - "name": "SERVICE_QUOTA_EXCEEDED_ERROR" + "name": "SERVICE_QUOTA_EXCEEDED_ERROR", + "value": "SERVICE_QUOTA_EXCEEDED_ERROR" }, { - "value": "SERVICE_ERROR", - "name": "SERVICE_ERROR" + "name": "SERVICE_ERROR", + "value": "SERVICE_ERROR" } ] } @@ -2449,20 +2453,20 @@ "traits": { "smithy.api#enum": [ { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" + "name": "IN_PROGRESS", + "value": "IN_PROGRESS" }, { - "value": "SUCCEEDED", - "name": "SUCCEEDED" + "name": "SUCCEEDED", + "value": "SUCCEEDED" }, { - "value": "FAILED", - "name": "FAILED" + "name": "FAILED", + "value": "FAILED" }, { - "value": "CANCELED", - "name": "CANCELED" + "name": "CANCELED", + "value": "CANCELED" } ] } @@ -2684,14 +2688,17 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of access preview findings generated by the specified access\n preview.

", "smithy.api#http": { - "method": "POST", "uri": "/access-preview/{accessPreviewId}", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "findings" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListAccessPreviewFindingsRequest": { @@ -2778,8 +2785,8 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of access previews for the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/access-preview", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -2861,14 +2868,17 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of resources of the specified type that have been analyzed by the\n specified analyzer..

", "smithy.api#http": { - "method": "POST", "uri": "/analyzed-resource", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "analyzedResources" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListAnalyzedResourcesRequest": { @@ -2950,8 +2960,8 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of analyzers.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -3035,8 +3045,8 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of archive rules created for the specified analyzer.

", "smithy.api#http": { - "method": "GET", "uri": "/analyzer/{analyzerName}/archive-rule", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -3124,14 +3134,17 @@ "traits": { "smithy.api#documentation": "

Retrieves a list of findings generated by the specified analyzer.

\n

To learn about filter keys that you can use to retrieve a list of findings, see IAM Access Analyzer filter keys in the IAM User Guide.

", "smithy.api#http": { - "method": "POST", "uri": "/finding", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "findings" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ListFindingsRequest": { @@ -3219,8 +3232,8 @@ "traits": { "smithy.api#documentation": "

Lists all of the policy generations requested in the last seven days.

", "smithy.api#http": { - "method": "GET", "uri": "/policy/generation", + "method": "GET", "code": 200 }, "smithy.api#paginated": { @@ -3305,8 +3318,7 @@ "smithy.api#documentation": "

Retrieves a list of tags applied to the specified resource.

", "smithy.api#http": { "method": "GET", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#readonly": {} } @@ -3760,7 +3772,7 @@ } }, "traits": { - "smithy.api#documentation": "

The configuration for an Amazon S3 access point or multi-region access point for the bucket.\n You can propose up to 10 access points or multi-region access points per bucket. If the\n proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses\n the proposed access point configuration in place of the existing access points. To propose\n an access point without a policy, you can provide an empty string as the access point\n policy. For more information, see Creating access points. For more information about access point policy limits,\n see Access points\n restrictions and limitations.

" + "smithy.api#documentation": "

The configuration for an Amazon S3 access point or multi-region access point for the bucket.\n You can propose up to 10 access points or multi-region access points per bucket. If the\n proposed Amazon S3 access point configuration is for an existing bucket, the access preview uses\n the proposed access point configuration in place of the existing access points. To propose\n an access point without a policy, you can provide an empty string as the access point\n policy. For more information, see Creating access points.\n For more information about access point policy limits, see Access points\n restrictions and limitations.

" } }, "com.amazonaws.accessanalyzer#S3AccessPointConfigurationsMap": { @@ -4009,8 +4021,8 @@ "traits": { "smithy.api#documentation": "

Starts the policy generation request.

", "smithy.api#http": { - "method": "PUT", "uri": "/policy/generation", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -4058,6 +4070,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#StartResourceScanRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -4078,8 +4093,8 @@ "traits": { "smithy.api#documentation": "

Immediately starts a scan of the policies applied to the specified resource.

", "smithy.api#http": { - "method": "POST", "uri": "/resource/scan", + "method": "POST", "code": 200 } } @@ -4178,8 +4193,7 @@ "smithy.api#documentation": "

Adds a tag to the specified resource.

", "smithy.api#http": { "method": "POST", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -4368,8 +4382,7 @@ "smithy.api#documentation": "

Removes a tag from the specified resource.

", "smithy.api#http": { "method": "DELETE", - "uri": "/tags/{resourceArn}", - "code": 200 + "uri": "/tags/{resourceArn}" }, "smithy.api#idempotent": {} } @@ -4410,6 +4423,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#UpdateArchiveRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -4430,8 +4446,8 @@ "traits": { "smithy.api#documentation": "

Updates the criteria and values for the specified archive rule.

", "smithy.api#http": { - "method": "PUT", "uri": "/analyzer/{analyzerName}/archive-rule/{ruleName}", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -4480,6 +4496,9 @@ "input": { "target": "com.amazonaws.accessanalyzer#UpdateFindingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.accessanalyzer#AccessDeniedException" @@ -4500,8 +4519,8 @@ "traits": { "smithy.api#documentation": "

Updates the status for the specified findings.

", "smithy.api#http": { - "method": "PUT", "uri": "/finding", + "method": "PUT", "code": 200 }, "smithy.api#idempotent": {} @@ -4573,14 +4592,17 @@ "traits": { "smithy.api#documentation": "

Requests the validation of a policy and returns a list of findings. The findings help\n you identify issues and provide actionable recommendations to resolve the issue and enable\n you to author functional policies that meet security best practices.

", "smithy.api#http": { - "method": "POST", "uri": "/policy/validation", + "method": "POST", "code": 200 }, "smithy.api#paginated": { "items": "findings" }, - "smithy.api#readonly": {} + "smithy.api#readonly": {}, + "smithy.api#suppress": [ + "HttpMethodSemantics" + ] } }, "com.amazonaws.accessanalyzer#ValidatePolicyFinding": { @@ -4719,6 +4741,10 @@ { "value": "AWS::S3ObjectLambda::AccessPoint", "name": "S3_OBJECT_LAMBDA_ACCESS_POINT" + }, + { + "value": "AWS::IAM::AssumeRolePolicyDocument", + "name": "ROLE_TRUST" } ] } @@ -4855,4 +4881,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/account.json b/codegen/sdk/aws-models/account.json index c342fe4cab3..9f3f2dae3c8 100644 --- a/codegen/sdk/aws-models/account.json +++ b/codegen/sdk/aws-models/account.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.account#AccessDeniedException": { "type": "structure", @@ -19,6 +19,15 @@ }, "com.amazonaws.account#Account": { "type": "service", + "version": "2021-02-01", + "resources": [ + { + "target": "com.amazonaws.account#AlternateContactResource" + }, + { + "target": "com.amazonaws.account#ContactInformationResource" + } + ], "traits": { "aws.api#service": { "sdkId": "Account", @@ -40,16 +49,7 @@ "EventSource" ], "smithy.api#title": "AWS Account" - }, - "version": "2021-02-01", - "resources": [ - { - "target": "com.amazonaws.account#AlternateContactResource" - }, - { - "target": "com.amazonaws.account#ContactInformationResource" - } - ] + } }, "com.amazonaws.account#AccountId": { "type": "string", @@ -777,4 +777,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/acm-pca.json b/codegen/sdk/aws-models/acm-pca.json index e188fe9d699..666e525bf2e 100644 --- a/codegen/sdk/aws-models/acm-pca.json +++ b/codegen/sdk/aws-models/acm-pca.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.acmpca#ACMPrivateCA": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ACM PCA", - "arnNamespace": "acm-pca", - "cloudFormationName": "ACMPCA", - "cloudTrailEventSource": "acmpca.amazonaws.com", - "endpointPrefix": "acm-pca" - }, - "aws.auth#sigv4": { - "name": "acm-pca" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

This is the Certificate Manager Private Certificate Authority (PCA) API Reference. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing a private certificate authority (CA) for your organization.

\n\t\t

The documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee Amazon Web Services SDKs.

\n\t\t

Each ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs.

\n\t\t

To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the Service Quotas\n\t\t\tconsole.

", - "smithy.api#title": "AWS Certificate Manager Private Certificate Authority" - }, "version": "2017-08-22", "operations": [ { @@ -117,7 +102,22 @@ { "target": "com.amazonaws.acmpca#UpdateCertificateAuthority" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ACM PCA", + "arnNamespace": "acm-pca", + "cloudFormationName": "ACMPCA", + "cloudTrailEventSource": "acmpca.amazonaws.com", + "endpointPrefix": "acm-pca" + }, + "aws.auth#sigv4": { + "name": "acm-pca" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

This is the Certificate Manager Private Certificate Authority (PCA) API Reference. It provides descriptions,\n\t\t\tsyntax, and usage examples for each of the actions and data types involved in creating\n\t\t\tand managing a private certificate authority (CA) for your organization.

\n\t\t

The documentation for each action shows the API request parameters and the JSON\n\t\t\tresponse. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is\n\t\t\ttailored to the programming language or platform that you prefer. For more information,\n\t\t\tsee Amazon Web Services SDKs.

\n\t\t

Each ACM Private CA API operation has a quota that determines the number of times the\n\t\t\toperation can be called per second. ACM Private CA throttles API requests at different rates\n\t\t\tdepending on the operation. Throttling means that ACM Private CA rejects an otherwise valid\n\t\t\trequest because the request exceeds the operation's quota for the number of requests per\n\t\t\tsecond. When a request is throttled, ACM Private CA returns a ThrottlingException error. ACM Private CA does not guarantee a minimum request\n\t\t\trate for APIs.

\n\t\t

To see an up-to-date list of your ACM Private CA quotas, or to request a quota increase,\n\t\t\tlog into your Amazon Web Services account and visit the Service Quotas\n\t\t\tconsole.

", + "smithy.api#title": "AWS Certificate Manager Private Certificate Authority" + } }, "com.amazonaws.acmpca#ASN1PrintableString64": { "type": "string", @@ -427,7 +427,10 @@ } }, "com.amazonaws.acmpca#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.acmpca#CertificateAuthorities": { "type": "list", @@ -909,7 +912,7 @@ "Enabled": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Boolean value that specifies whether certificate revocation lists (CRLs) are enabled.\n\t\t\tYou can use this value to enable certificate revocation for a new CA when you call the\n\t\t\t\tCreateCertificateAuthority action or for an existing CA when you call the\n\t\t\t\tUpdateCertificateAuthority action.

", "smithy.api#required": {} } @@ -917,7 +920,7 @@ "ExpirationInDays": { "target": "com.amazonaws.acmpca#Integer1To5000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Validity period of the CRL in days.

" } }, @@ -1030,7 +1033,7 @@ "Critical": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

\n\t\t

Specifies the critical flag of the X.509 extension.

" } } @@ -1894,7 +1897,6 @@ "com.amazonaws.acmpca#Integer1To5000": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -2130,54 +2132,63 @@ "DigitalSignature": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used for digital signing.

" } }, "NonRepudiation": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used for non-repudiation.

" } }, "KeyEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to encipher data.

" } }, "DataEncipherment": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to decipher data.

" } }, "KeyAgreement": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used in a key-agreement protocol.

" } }, "KeyCertSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to sign certificates.

" } }, "CRLSign": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used to sign CRLs.

" } }, "EncipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used only to encipher data.

" } }, "DecipherOnly": { "target": "com.amazonaws.acmpca#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Key can be used only to decipher data.

" } } @@ -2446,7 +2457,6 @@ "com.amazonaws.acmpca#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2468,7 +2478,7 @@ "Enabled": { "target": "com.amazonaws.acmpca#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Flag enabling use of the Online Certificate Status Protocol (OCSP) for validating\n\t\t\tcertificate revocation status.

", "smithy.api#required": {} } @@ -2509,7 +2519,6 @@ "com.amazonaws.acmpca#PermanentDeletionTimeInDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 7, "max": 30 @@ -2652,7 +2661,6 @@ "com.amazonaws.acmpca#PositiveLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3350,7 +3358,7 @@ "Value": { "target": "com.amazonaws.acmpca#PositiveLong", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

A long integer interpreted according to the value of Type, below.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/alexa-for-business.json b/codegen/sdk/aws-models/alexa-for-business.json index 4108610920e..e4405ba1c5e 100644 --- a/codegen/sdk/aws-models/alexa-for-business.json +++ b/codegen/sdk/aws-models/alexa-for-business.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -794,14 +794,14 @@ } }, "com.amazonaws.alexaforbusiness#Boolean": { + "type": "boolean" + }, + "com.amazonaws.alexaforbusiness#Boolean2": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.alexaforbusiness#Boolean2": { - "type": "boolean" - }, "com.amazonaws.alexaforbusiness#BulletPoint": { "type": "string" }, @@ -1074,7 +1074,6 @@ "com.amazonaws.alexaforbusiness#CategoryId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5366,7 +5365,6 @@ "com.amazonaws.alexaforbusiness#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -5374,10 +5372,7 @@ } }, "com.amazonaws.alexaforbusiness#MaxVolumeLimit": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.alexaforbusiness#MeetingRoomConfiguration": { "type": "structure", @@ -5427,10 +5422,7 @@ } }, "com.amazonaws.alexaforbusiness#Minutes": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.alexaforbusiness#NameInUseException": { "type": "structure", @@ -7541,7 +7533,6 @@ "com.amazonaws.alexaforbusiness#SkillListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -7591,6 +7582,7 @@ "SupportsLinking": { "target": "com.amazonaws.alexaforbusiness#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Linking support for a skill.

" } }, @@ -7704,6 +7696,7 @@ "SupportsLinking": { "target": "com.amazonaws.alexaforbusiness#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Linking support for a skill.

" } } @@ -8089,7 +8082,6 @@ "com.amazonaws.alexaforbusiness#TimeToLiveInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3600 @@ -8106,10 +8098,7 @@ } }, "com.amazonaws.alexaforbusiness#TotalCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.alexaforbusiness#TrustAnchor": { "type": "string", diff --git a/codegen/sdk/aws-models/amp.json b/codegen/sdk/aws-models/amp.json index 929f4c440ea..cfe4d05bd4b 100644 --- a/codegen/sdk/aws-models/amp.json +++ b/codegen/sdk/aws-models/amp.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.amp#AccessDeniedException": { "type": "structure", @@ -147,6 +147,23 @@ }, "com.amazonaws.amp#AmazonPrometheusService": { "type": "service", + "version": "2020-08-01", + "operations": [ + { + "target": "com.amazonaws.amp#ListTagsForResource" + }, + { + "target": "com.amazonaws.amp#TagResource" + }, + { + "target": "com.amazonaws.amp#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.amp#Workspace" + } + ], "traits": { "aws.api#service": { "sdkId": "amp", @@ -182,24 +199,7 @@ }, "smithy.api#documentation": "Amazon Managed Service for Prometheus", "smithy.api#title": "Amazon Prometheus Service" - }, - "version": "2020-08-01", - "operations": [ - { - "target": "com.amazonaws.amp#ListTagsForResource" - }, - { - "target": "com.amazonaws.amp#TagResource" - }, - { - "target": "com.amazonaws.amp#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.amp#Workspace" - } - ] + } }, "com.amazonaws.amp#ConflictException": { "type": "structure", @@ -2817,4 +2817,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/amplify.json b/codegen/sdk/aws-models/amplify.json index e5fdcd00ad7..5a64aa01416 100644 --- a/codegen/sdk/aws-models/amplify.json +++ b/codegen/sdk/aws-models/amplify.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -51,24 +51,6 @@ }, "com.amazonaws.amplify#Amplify": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Amplify", - "arnNamespace": "amplify", - "cloudFormationName": "Amplify", - "cloudTrailEventSource": "amplify.amazonaws.com", - "endpointPrefix": "amplify" - }, - "aws.auth#sigv4": { - "name": "amplify" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n The Amplify Console provides a continuous delivery and hosting service for web\n applications. For more information, see the Amplify Console User Guide. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the Amplify Framework.\n

", - "smithy.api#title": "AWS Amplify", - "smithy.api#xmlNamespace": { - "uri": "http://amplify.amazonaws.com" - } - }, "version": "2017-07-25", "operations": [ { @@ -182,7 +164,25 @@ { "target": "com.amazonaws.amplify#UpdateWebhook" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Amplify", + "arnNamespace": "amplify", + "cloudFormationName": "Amplify", + "cloudTrailEventSource": "amplify.amazonaws.com", + "endpointPrefix": "amplify" + }, + "aws.auth#sigv4": { + "name": "amplify" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amplify enables developers to develop and deploy cloud-powered mobile and web apps.\n The Amplify Console provides a continuous delivery and hosting service for web\n applications. For more information, see the Amplify Console User Guide. The\n Amplify Framework is a comprehensive set of SDKs, libraries, tools, and documentation\n for client app development. For more information, see the Amplify Framework.\n

", + "smithy.api#title": "AWS Amplify", + "smithy.api#xmlNamespace": { + "uri": "http://amplify.amazonaws.com" + } + } }, "com.amazonaws.amplify#App": { "type": "structure", @@ -2331,58 +2331,31 @@ } }, "com.amazonaws.amplify#EnableAutoBranchCreation": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableAutoBuild": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableAutoSubDomain": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableBasicAuth": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableBranchAutoBuild": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableBranchAutoDeletion": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnableNotification": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnablePerformanceMode": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EnablePullRequestPreview": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#EndTime": { "type": "timestamp" @@ -3290,6 +3263,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } @@ -3388,6 +3362,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } @@ -3474,6 +3449,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } @@ -3553,6 +3529,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } @@ -3632,6 +3609,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } @@ -3722,6 +3700,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } @@ -3862,6 +3841,7 @@ "maxResults": { "target": "com.amazonaws.amplify#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of records to list in a single response.

", "smithy.api#httpQuery": "maxResults" } @@ -3914,6 +3894,7 @@ "com.amazonaws.amplify#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5387,10 +5368,7 @@ } }, "com.amazonaws.amplify#Verified": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.amplify#Webhook": { "type": "structure", diff --git a/codegen/sdk/aws-models/amplifybackend.json b/codegen/sdk/aws-models/amplifybackend.json index aec56f580a5..7e205989a21 100644 --- a/codegen/sdk/aws-models/amplifybackend.json +++ b/codegen/sdk/aws-models/amplifybackend.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -54,21 +54,6 @@ }, "com.amazonaws.amplifybackend#AmplifyBackend": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AmplifyBackend", - "arnNamespace": "amplifybackend", - "cloudFormationName": "AmplifyBackend", - "cloudTrailEventSource": "amplifybackend.amazonaws.com", - "endpointPrefix": "amplifybackend" - }, - "aws.auth#sigv4": { - "name": "amplifybackend" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AWS Amplify Admin API

", - "smithy.api#title": "AmplifyBackend" - }, "version": "2020-08-11", "operations": [ { @@ -164,7 +149,22 @@ { "target": "com.amazonaws.amplifybackend#UpdateBackendStorage" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AmplifyBackend", + "arnNamespace": "amplifybackend", + "cloudFormationName": "AmplifyBackend", + "cloudTrailEventSource": "amplifybackend.amazonaws.com", + "endpointPrefix": "amplifybackend" + }, + "aws.auth#sigv4": { + "name": "amplifybackend" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

AWS Amplify Admin API

", + "smithy.api#title": "AmplifyBackend" + } }, "com.amazonaws.amplifybackend#AuthResources": { "type": "string", @@ -220,6 +220,7 @@ "ExpirationTime": { "target": "com.amazonaws.amplifybackend#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.

", "smithy.api#jsonName": "expirationTime" } @@ -849,6 +850,7 @@ "UnauthenticatedLogin": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true or false based on whether you want to enable guest authorization to your Amplify app.

", "smithy.api#jsonName": "unauthenticatedLogin", "smithy.api#required": {} @@ -948,6 +950,7 @@ "MinimumLength": { "target": "com.amazonaws.amplifybackend#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum length of the password used to access the backend of your Amplify project.

", "smithy.api#jsonName": "minimumLength", "smithy.api#required": {} @@ -2061,6 +2064,7 @@ "IsSuccess": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the request succeeded or failed.

", "smithy.api#jsonName": "isSuccess" } @@ -2832,6 +2836,7 @@ "Imported": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Returns True if the storage resource has been imported.

", "smithy.api#jsonName": "imported", "smithy.api#required": {} @@ -3271,6 +3276,7 @@ "MaxResults": { "target": "com.amazonaws.amplifybackend#__integerMin1Max25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want in the response.

", "smithy.api#jsonName": "maxResults" } @@ -3649,6 +3655,7 @@ "CleanAmplifyApp": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Cleans up the Amplify Console app if this value is set to true.

", "smithy.api#jsonName": "cleanAmplifyApp" } @@ -4224,6 +4231,7 @@ "UnauthenticatedLogin": { "target": "com.amazonaws.amplifybackend#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that can be set to allow or disallow guest-level authorization into your Amplify app.

", "smithy.api#jsonName": "unauthenticatedLogin" } @@ -4317,6 +4325,7 @@ "MinimumLength": { "target": "com.amazonaws.amplifybackend#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.

", "smithy.api#jsonName": "minimumLength" } @@ -4879,14 +4888,21 @@ } }, "com.amazonaws.amplifybackend#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.amplifybackend#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.amplifybackend#__integerMin1Max25": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 diff --git a/codegen/sdk/aws-models/amplifyuibuilder.json b/codegen/sdk/aws-models/amplifyuibuilder.json index 726c091e7c8..b1e6e923c1f 100644 --- a/codegen/sdk/aws-models/amplifyuibuilder.json +++ b/codegen/sdk/aws-models/amplifyuibuilder.json @@ -4196,4 +4196,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/api-gateway.json b/codegen/sdk/aws-models/api-gateway.json index 7affe774475..927dcbcaef0 100644 --- a/codegen/sdk/aws-models/api-gateway.json +++ b/codegen/sdk/aws-models/api-gateway.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -117,6 +117,7 @@ "enabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the API Key can be used by callers.

" } }, @@ -361,21 +362,6 @@ }, "com.amazonaws.apigateway#BackplaneControlService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "API Gateway", - "arnNamespace": "apigateway", - "cloudFormationName": "ApiGateway", - "cloudTrailEventSource": "apigateway.amazonaws.com", - "endpointPrefix": "apigateway" - }, - "aws.auth#sigv4": { - "name": "apigateway" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon API Gateway\n

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

", - "smithy.api#title": "Amazon API Gateway" - }, "version": "2015-07-09", "operations": [ { @@ -738,7 +724,22 @@ { "target": "com.amazonaws.apigateway#UpdateVpcLink" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "API Gateway", + "arnNamespace": "apigateway", + "cloudFormationName": "ApiGateway", + "cloudTrailEventSource": "apigateway.amazonaws.com", + "endpointPrefix": "apigateway" + }, + "aws.auth#sigv4": { + "name": "apigateway" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon API Gateway\n

Amazon API Gateway helps developers deliver robust, secure, and scalable mobile and web application back ends. API Gateway allows developers to securely connect mobile and web applications to APIs that run on AWS Lambda, Amazon EC2, or other publicly addressable web services that are hosted outside of AWS.

", + "smithy.api#title": "Amazon API Gateway" + } }, "com.amazonaws.apigateway#BadRequestException": { "type": "structure", @@ -805,7 +806,10 @@ "type": "blob" }, "com.amazonaws.apigateway#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.apigateway#CacheClusterSize": { "type": "string", @@ -881,6 +885,7 @@ "percentTraffic": { "target": "com.amazonaws.apigateway#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percent (0-100) of traffic diverted to a canary deployment.

" } }, @@ -899,6 +904,7 @@ "useStageCache": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean flag to indicate whether the canary deployment uses the stage cache or not.

" } } @@ -1071,12 +1077,14 @@ "enabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the ApiKey can be used by callers.

" } }, "generateDistinctId": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether (true) or not (false) the key identifier is distinct from the created API key value. This parameter is deprecated and should not be used.

" } }, @@ -1787,12 +1795,14 @@ "validateRequestBody": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

" } }, "validateRequestParameters": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean flag to indicate whether to validate request parameters, true, or not false.

" } } @@ -1970,6 +1980,7 @@ "disableExecuteApiEndpoint": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint.\n By default, clients can invoke your API with the default\n https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a\n custom domain name to invoke your API, disable the default endpoint

" } } @@ -2049,6 +2060,7 @@ "cacheClusterEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether cache clustering is enabled for the stage.

" } }, @@ -2079,6 +2091,7 @@ "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" } }, @@ -3569,6 +3582,7 @@ "percentTraffic": { "target": "com.amazonaws.apigateway#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage (0.0-100.0) of traffic routed to the canary deployment.

" } }, @@ -3581,6 +3595,7 @@ "useStageCache": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean flag to indicate whether the canary release deployment uses the stage cache or not.

" } } @@ -3987,7 +4002,10 @@ } }, "com.amazonaws.apigateway#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigateway#EndpointConfiguration": { "type": "structure", @@ -4210,6 +4228,7 @@ "defaultResponse": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean flag to indicate whether this GatewayResponse is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

" } } @@ -5913,6 +5932,7 @@ "flatten": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A query parameter of a Boolean value to resolve (true) all external model references and returns a flattened model schema or not (false) The default is false.

", "smithy.api#httpQuery": "flatten" } @@ -7254,6 +7274,7 @@ "failOnWarnings": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.

", "smithy.api#httpQuery": "failonwarnings" } @@ -7321,6 +7342,7 @@ "failOnWarnings": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false.

", "smithy.api#httpQuery": "failonwarnings" } @@ -7381,6 +7403,7 @@ "failOnWarnings": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A query parameter to indicate whether to rollback the API creation (true) or not (false)\n when a warning is encountered. The default value is false.

", "smithy.api#httpQuery": "failonwarnings" } @@ -7406,7 +7429,10 @@ } }, "com.amazonaws.apigateway#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigateway#Integration": { "type": "structure", @@ -7474,6 +7500,7 @@ "timeoutInMillis": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds.

" } }, @@ -7772,7 +7799,10 @@ } }, "com.amazonaws.apigateway#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigateway#MapOfApiStageThrottleSettings": { "type": "map", @@ -7970,6 +8000,7 @@ "metricsEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon CloudWatch metrics are enabled for this method. The PATCH path for this setting is /{method_setting_key}/metrics/enabled, and the value is a Boolean.

" } }, @@ -7982,42 +8013,49 @@ "dataTraceEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. The PATCH path for this setting is /{method_setting_key}/logging/dataTrace, and the value is a Boolean.

" } }, "throttlingBurstLimit": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the throttling burst limit. The PATCH path for this setting is /{method_setting_key}/throttling/burstLimit, and the value is an integer.

" } }, "throttlingRateLimit": { "target": "com.amazonaws.apigateway#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the throttling rate limit. The PATCH path for this setting is /{method_setting_key}/throttling/rateLimit, and the value is a double.

" } }, "cachingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached. The PATCH path for this setting is /{method_setting_key}/caching/enabled, and the value is a Boolean.

" } }, "cacheTtlInSeconds": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached. The PATCH path for this setting is /{method_setting_key}/caching/ttlInSeconds, and the value is an integer.

" } }, "cacheDataEncrypted": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cached responses are encrypted. The PATCH path for this setting is /{method_setting_key}/caching/dataEncrypted, and the value is a Boolean.

" } }, "requireAuthorizationForCacheControl": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether authorization is required for a cache invalidation request. The PATCH path for this setting is /{method_setting_key}/caching/requireAuthorizationForCacheControl, and the value is a Boolean.

" } }, @@ -8044,6 +8082,7 @@ "apiKeyRequired": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the method requires a valid ApiKey.

" } } @@ -8172,16 +8211,10 @@ } }, "com.amazonaws.apigateway#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.apigateway#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.apigateway#Op": { "type": "string", @@ -8671,6 +8704,7 @@ "apiKeyRequired": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the method required a valid ApiKey.

" } }, @@ -8871,6 +8905,7 @@ "failOnWarnings": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A query parameter to indicate whether to rollback the API update (true) or not (false)\n when a warning is encountered. The default value is false.

", "smithy.api#httpQuery": "failonwarnings" } @@ -8920,12 +8955,14 @@ "limit": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The target maximum number of requests that can be made in a given time period.

" } }, "offset": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests subtracted from the given limit in the initial time period.

" } }, @@ -8958,12 +8995,14 @@ "validateRequestBody": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

" } }, "validateRequestParameters": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

" } } @@ -9132,6 +9171,7 @@ "disableExecuteApiEndpoint": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint.\n By default, clients can invoke your API with the default\n https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a\n custom domain name to invoke your API, disable the default endpoint.

" } } @@ -9186,6 +9226,7 @@ "required": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean flag of an SdkType configuration property to indicate if the associated SDK configuration property is required (true) or not (false).

" } }, @@ -9340,6 +9381,7 @@ "cacheClusterEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a cache cluster is enabled for the stage.

" } }, @@ -9388,6 +9430,7 @@ "tracingEnabled": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether active tracing with X-ray is enabled for the Stage.

" } }, @@ -9649,6 +9692,7 @@ "clientStatus": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

" } }, @@ -9661,6 +9705,7 @@ "latency": { "target": "com.amazonaws.apigateway#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The execution latency of the test authorizer request.

" } }, @@ -9798,6 +9843,7 @@ "status": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status code.

" } }, @@ -9828,6 +9874,7 @@ "latency": { "target": "com.amazonaws.apigateway#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The execution latency of the test invoke request.

" } } @@ -9842,12 +9889,14 @@ "burstLimit": { "target": "com.amazonaws.apigateway#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.

" } }, "rateLimit": { "target": "com.amazonaws.apigateway#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The API target request rate limit.

" } } @@ -9865,6 +9914,7 @@ "insecureSkipVerification": { "target": "com.amazonaws.apigateway#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is\n issued by a supported certificate authority. This isn’t recommended, but it enables you to\n use certificates that are signed by private certificate authorities, or certificates\n that are self-signed. If enabled, API Gateway still performs basic certificate\n validation, which includes checking the certificate's expiration date, hostname, and\n presence of a root certificate authority. Supported only for HTTP and\n HTTP_PROXY integrations.

\n \n

Enabling insecureSkipVerification isn't recommended, especially for integrations with public\n HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.

\n
" } } diff --git a/codegen/sdk/aws-models/apigatewaymanagementapi.json b/codegen/sdk/aws-models/apigatewaymanagementapi.json index 665bbd47ae0..6eb03c479a4 100644 --- a/codegen/sdk/aws-models/apigatewaymanagementapi.json +++ b/codegen/sdk/aws-models/apigatewaymanagementapi.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -74,6 +74,9 @@ "input": { "target": "com.amazonaws.apigatewaymanagementapi#DeleteConnectionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewaymanagementapi#ForbiddenException" @@ -240,6 +243,9 @@ "input": { "target": "com.amazonaws.apigatewaymanagementapi#PostToConnectionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewaymanagementapi#ForbiddenException" diff --git a/codegen/sdk/aws-models/apigatewayv2.json b/codegen/sdk/aws-models/apigatewayv2.json index 45b45862e0b..37fb3e7d9f7 100644 --- a/codegen/sdk/aws-models/apigatewayv2.json +++ b/codegen/sdk/aws-models/apigatewayv2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -79,6 +79,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -121,6 +122,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -128,6 +130,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -530,6 +533,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -551,6 +555,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

", "smithy.api#jsonName": "enableSimpleResponses" } @@ -677,6 +682,7 @@ "AllowCredentials": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs.

", "smithy.api#jsonName": "allowCredentials" } @@ -712,6 +718,7 @@ "MaxAge": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetweenMinus1And86400", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds that the browser should cache preflight request results. Supported only for HTTP APIs.

", "smithy.api#jsonName": "maxAge" } @@ -916,6 +923,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -923,6 +931,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -996,6 +1005,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -1038,6 +1048,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -1045,6 +1056,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -1159,6 +1171,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -1181,6 +1194,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

", "smithy.api#jsonName": "enableSimpleResponses" } @@ -1247,6 +1261,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -1268,6 +1283,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

", "smithy.api#jsonName": "enableSimpleResponses" } @@ -1369,6 +1385,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a deployment was automatically released.

", "smithy.api#jsonName": "autoDeployed" } @@ -1672,6 +1689,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

", "smithy.api#jsonName": "timeoutInMillis" } @@ -1832,6 +1850,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -1958,6 +1977,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

", "smithy.api#jsonName": "timeoutInMillis" } @@ -2133,6 +2153,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API key is required for the route. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "apiKeyRequired" } @@ -2343,6 +2364,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -2350,6 +2372,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API key is required for this route. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "apiKeyRequired" } @@ -2485,6 +2508,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

", "smithy.api#jsonName": "autoDeploy" } @@ -2564,6 +2588,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -2571,6 +2596,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

", "smithy.api#jsonName": "autoDeploy" } @@ -2790,6 +2816,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteAccessLogSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2833,6 +2862,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteApiRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2855,6 +2887,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteApiMappingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#BadRequestException" @@ -2914,6 +2949,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteAuthorizerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2957,6 +2995,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteCorsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -2992,6 +3033,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteDeploymentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3035,6 +3079,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteDomainNameRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3070,6 +3117,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteIntegrationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3113,6 +3163,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteIntegrationResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3164,6 +3217,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteModelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3207,6 +3263,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3250,6 +3309,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteRequestParameterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3301,6 +3363,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3352,6 +3417,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteRouteSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3403,6 +3471,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#DeleteStageRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -3489,6 +3560,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a deployment was automatically released.

", "smithy.api#jsonName": "autoDeployed" } @@ -3772,6 +3844,7 @@ "IncludeExtensions": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include API Gateway extensions in the exported API definition. API Gateway extensions are included by default.

", "smithy.api#httpQuery": "includeExtensions" } @@ -4025,6 +4098,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -4067,6 +4141,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -4074,6 +4149,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -4268,6 +4344,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -4289,6 +4366,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

", "smithy.api#jsonName": "enableSimpleResponses" } @@ -4449,6 +4527,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a deployment was automatically released.

", "smithy.api#jsonName": "autoDeployed" } @@ -4943,6 +5022,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -5069,6 +5149,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

", "smithy.api#jsonName": "timeoutInMillis" } @@ -5602,6 +5683,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -5609,6 +5691,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API key is required for this route. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "apiKeyRequired" } @@ -5825,6 +5908,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -5832,6 +5916,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

", "smithy.api#jsonName": "autoDeploy" } @@ -6280,6 +6365,7 @@ "FailOnWarnings": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.

", "smithy.api#httpQuery": "failOnWarnings" } @@ -6302,6 +6388,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -6344,6 +6431,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -6351,6 +6439,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -6409,6 +6498,7 @@ "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer with a value between [0-3600].

", "smithy.api#range": { "min": 0, @@ -6419,6 +6509,7 @@ "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer with a value between [50-30000].

", "smithy.api#range": { "min": 50, @@ -6429,6 +6520,7 @@ "com.amazonaws.apigatewayv2#IntegerWithLengthBetweenMinus1And86400": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer with a value between -1 and 86400. Supported only for HTTP APIs.

", "smithy.api#range": { "min": -1, @@ -6442,6 +6534,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -6568,6 +6661,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

", "smithy.api#jsonName": "timeoutInMillis" } @@ -6842,6 +6936,7 @@ "Required": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not the parameter is required.

", "smithy.api#jsonName": "required" } @@ -6947,6 +7042,7 @@ "FailOnWarnings": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.

", "smithy.api#httpQuery": "failOnWarnings" } @@ -6969,6 +7065,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -7011,6 +7108,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -7018,6 +7116,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -7078,6 +7177,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#ResetAuthorizersCacheRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#NotFoundException" @@ -7134,6 +7236,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -7141,6 +7244,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API key is required for this route. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "apiKeyRequired" } @@ -7302,6 +7406,7 @@ "DataTraceEnabled": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "dataTraceEnabled" } @@ -7309,6 +7414,7 @@ "DetailedMetricsEnabled": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether detailed metrics are enabled.

", "smithy.api#jsonName": "detailedMetricsEnabled" } @@ -7323,6 +7429,7 @@ "ThrottlingBurstLimit": { "target": "com.amazonaws.apigatewayv2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the throttling burst limit.

", "smithy.api#jsonName": "throttlingBurstLimit" } @@ -7330,6 +7437,7 @@ "ThrottlingRateLimit": { "target": "com.amazonaws.apigatewayv2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the throttling rate limit.

", "smithy.api#jsonName": "throttlingRateLimit" } @@ -7401,6 +7509,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -7408,6 +7517,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

", "smithy.api#jsonName": "autoDeploy" } @@ -7711,6 +7821,9 @@ "input": { "target": "com.amazonaws.apigatewayv2#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.apigatewayv2#BadRequestException" @@ -7938,6 +8051,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -7945,6 +8059,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -8002,6 +8117,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -8044,6 +8160,7 @@ "DisableSchemaValidation": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "disableSchemaValidation" } @@ -8051,6 +8168,7 @@ "DisableExecuteApiEndpoint": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

", "smithy.api#jsonName": "disableExecuteApiEndpoint" } @@ -8173,6 +8291,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -8194,6 +8313,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a Lambda authorizer returns a response in a simple format. By default, a Lambda authorizer must return an IAM policy. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

", "smithy.api#jsonName": "enableSimpleResponses" } @@ -8258,6 +8378,7 @@ "AuthorizerResultTtlInSeconds": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween0And3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time to live (TTL) for cached authorizer results, in seconds. If it equals 0, authorization caching is disabled. If it is greater than 0, API Gateway caches authorizer responses. The maximum value is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.

", "smithy.api#jsonName": "authorizerResultTtlInSeconds" } @@ -8279,6 +8400,7 @@ "EnableSimpleResponses": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a Lambda authorizer returns a response in a simple format. If enabled, the Lambda authorizer can return a boolean value instead of an IAM policy. Supported only for HTTP APIs. To learn more, see Working with AWS Lambda authorizers for HTTP APIs

", "smithy.api#jsonName": "enableSimpleResponses" } @@ -8381,6 +8503,7 @@ "AutoDeployed": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a deployment was automatically released.

", "smithy.api#jsonName": "autoDeployed" } @@ -8681,6 +8804,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

", "smithy.api#jsonName": "timeoutInMillis" } @@ -8848,6 +8972,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an integration is managed by API Gateway. If you created an API using using quick create, the resulting integration is managed by API Gateway. You can update a managed integration, but you can't delete it.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -8974,6 +9099,7 @@ "TimeoutInMillis": { "target": "com.amazonaws.apigatewayv2#IntegerWithLengthBetween50And30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Custom timeout between 50 and 29,000 milliseconds for WebSocket APIs and between 50 and 30,000 milliseconds for HTTP APIs. The default timeout is 29 seconds for WebSocket APIs and 30 seconds for HTTP APIs.

", "smithy.api#jsonName": "timeoutInMillis" } @@ -9155,6 +9281,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API key is required for the route. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "apiKeyRequired" } @@ -9379,6 +9506,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a route is managed by API Gateway. If you created an API using quick create, the $default route is managed by API Gateway. You can't modify the $default route key.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -9386,6 +9514,7 @@ "ApiKeyRequired": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an API key is required for this route. Supported only for WebSocket APIs.

", "smithy.api#jsonName": "apiKeyRequired" } @@ -9521,6 +9650,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

", "smithy.api#jsonName": "autoDeploy" } @@ -9593,6 +9723,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a stage is managed by API Gateway. If you created an API using quick create, the $default stage is managed by API Gateway. You can't modify the $default stage.

", "smithy.api#jsonName": "apiGatewayManaged" } @@ -9600,6 +9731,7 @@ "AutoDeploy": { "target": "com.amazonaws.apigatewayv2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether updates to an API automatically trigger a new deployment. The default value is false.

", "smithy.api#jsonName": "autoDeploy" } @@ -9924,13 +10056,22 @@ } }, "com.amazonaws.apigatewayv2#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.apigatewayv2#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigatewayv2#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.apigatewayv2#__listOfApi": { "type": "list", diff --git a/codegen/sdk/aws-models/app-mesh.json b/codegen/sdk/aws-models/app-mesh.json index a0ea0999c0e..464403784fc 100644 --- a/codegen/sdk/aws-models/app-mesh.json +++ b/codegen/sdk/aws-models/app-mesh.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.appmesh#AccessLog": { "type": "union", @@ -26,22 +26,6 @@ }, "com.amazonaws.appmesh#AppMesh": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "App Mesh", - "arnNamespace": "appmesh", - "cloudFormationName": "AppMesh", - "cloudTrailEventSource": "appmesh.amazonaws.com", - "endpointPrefix": "appmesh" - }, - "aws.auth#sigv4": { - "name": "appmesh" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "

App Mesh is a service mesh based on the Envoy proxy that makes it easy to\n monitor and control microservices. App Mesh standardizes how your microservices\n communicate, giving you end-to-end visibility and helping to ensure high availability for\n your applications.

\n

App Mesh gives you consistent visibility and network traffic controls for\n every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and\n Amazon EC2.

\n \n

App Mesh supports microservice applications that use service discovery\n naming for their components. For more information about service discovery on Amazon ECS, see Service\n Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes\n kube-dns and coredns are supported. For more information,\n see DNS\n for Services and Pods in the Kubernetes documentation.

\n
", - "smithy.api#title": "AWS App Mesh" - }, "version": "2019-01-25", "operations": [ { @@ -58,7 +42,23 @@ { "target": "com.amazonaws.appmesh#Mesh" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "App Mesh", + "arnNamespace": "appmesh", + "cloudFormationName": "AppMesh", + "cloudTrailEventSource": "appmesh.amazonaws.com", + "endpointPrefix": "appmesh" + }, + "aws.auth#sigv4": { + "name": "appmesh" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

App Mesh is a service mesh based on the Envoy proxy that makes it easy to\n monitor and control microservices. App Mesh standardizes how your microservices\n communicate, giving you end-to-end visibility and helping to ensure high availability for\n your applications.

\n

App Mesh gives you consistent visibility and network traffic controls for\n every microservice in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, Amazon EKS, Kubernetes on Amazon Web Services, and\n Amazon EC2.

\n \n

App Mesh supports microservice applications that use service discovery\n naming for their components. For more information about service discovery on Amazon ECS, see Service\n Discovery in the Amazon Elastic Container Service Developer Guide. Kubernetes\n kube-dns and coredns are supported. For more information,\n see DNS\n for Services and Pods in the Kubernetes documentation.

\n
", + "smithy.api#title": "AWS App Mesh" + } }, "com.amazonaws.appmesh#Arn": { "type": "string" @@ -233,7 +233,7 @@ "enforce": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether the policy is enforced. The default is True, if a value isn't specified.

" } }, @@ -2358,7 +2358,6 @@ "com.amazonaws.appmesh#DurationValue": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2580,7 +2579,6 @@ "com.amazonaws.appmesh#GatewayRoutePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000 @@ -3239,7 +3237,6 @@ "com.amazonaws.appmesh#HealthCheckIntervalMillis": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5000, "max": 300000 @@ -3273,6 +3270,7 @@ "port": { "target": "com.amazonaws.appmesh#PortNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The destination port for the health check request. This port must match the port defined\n in the PortMapping for the listener.

" } }, @@ -3285,6 +3283,7 @@ "healthyThreshold": { "target": "com.amazonaws.appmesh#HealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive successful health checks that must occur before declaring\n listener healthy.

", "smithy.api#required": {} } @@ -3292,6 +3291,7 @@ "unhealthyThreshold": { "target": "com.amazonaws.appmesh#HealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive failed health checks that must occur before declaring a\n virtual node unhealthy.

", "smithy.api#required": {} } @@ -3304,6 +3304,7 @@ "com.amazonaws.appmesh#HealthCheckThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 @@ -3313,7 +3314,6 @@ "com.amazonaws.appmesh#HealthCheckTimeoutMillis": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2000, "max": 60000 @@ -4051,7 +4051,6 @@ "com.amazonaws.appmesh#ListGatewayRoutesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4145,7 +4144,6 @@ "com.amazonaws.appmesh#ListMeshesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4265,7 +4263,6 @@ "com.amazonaws.appmesh#ListRoutesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4472,7 +4469,6 @@ "com.amazonaws.appmesh#ListVirtualGatewaysLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4581,7 +4577,6 @@ "com.amazonaws.appmesh#ListVirtualNodesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4693,7 +4688,6 @@ "com.amazonaws.appmesh#ListVirtualRoutersLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4805,7 +4799,6 @@ "com.amazonaws.appmesh#ListVirtualServicesLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4881,7 +4874,6 @@ "com.amazonaws.appmesh#ListenerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -5151,6 +5143,7 @@ "com.amazonaws.appmesh#MaxConnections": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5159,6 +5152,7 @@ "com.amazonaws.appmesh#MaxPendingRequests": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5167,6 +5161,7 @@ "com.amazonaws.appmesh#MaxRequests": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5175,7 +5170,6 @@ "com.amazonaws.appmesh#MaxRetries": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5455,7 +5449,6 @@ "com.amazonaws.appmesh#OutlierDetectionMaxEjectionPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -5465,7 +5458,6 @@ "com.amazonaws.appmesh#OutlierDetectionMaxServerErrors": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5474,6 +5466,7 @@ "com.amazonaws.appmesh#PercentInt": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5486,6 +5479,7 @@ "port": { "target": "com.amazonaws.appmesh#PortNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port used for the port mapping.

", "smithy.api#required": {} } @@ -5505,6 +5499,7 @@ "com.amazonaws.appmesh#PortNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -5535,11 +5530,13 @@ } }, "com.amazonaws.appmesh#PortSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.appmesh#PortNumber" }, - "traits": {} + "traits": { + "smithy.api#uniqueItems": {} + } }, "com.amazonaws.appmesh#QueryParameterMatch": { "type": "structure", @@ -5738,7 +5735,6 @@ "com.amazonaws.appmesh#RoutePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000 @@ -6123,7 +6119,6 @@ "com.amazonaws.appmesh#TagsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -7242,7 +7237,7 @@ "enforce": { "target": "smithy.api#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether the policy is enforced. The default is True, if a value isn't\n specified.

" } }, @@ -7390,6 +7385,7 @@ "maxRequests": { "target": "com.amazonaws.appmesh#MaxRequests", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.

", "smithy.api#required": {} } @@ -7402,7 +7398,6 @@ "com.amazonaws.appmesh#VirtualGatewayHealthCheckIntervalMillis": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5000, "max": 300000 @@ -7436,6 +7431,7 @@ "port": { "target": "com.amazonaws.appmesh#PortNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The destination port for the health check request. This port must match the port defined\n in the PortMapping for the listener.

" } }, @@ -7448,6 +7444,7 @@ "healthyThreshold": { "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive successful health checks that must occur before declaring the\n listener healthy.

", "smithy.api#required": {} } @@ -7455,6 +7452,7 @@ "unhealthyThreshold": { "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive failed health checks that must occur before declaring a\n virtual gateway unhealthy.

", "smithy.api#required": {} } @@ -7467,6 +7465,7 @@ "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 @@ -7476,7 +7475,6 @@ "com.amazonaws.appmesh#VirtualGatewayHealthCheckTimeoutMillis": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2000, "max": 60000 @@ -7489,6 +7487,7 @@ "maxRequests": { "target": "com.amazonaws.appmesh#MaxRequests", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.

", "smithy.api#required": {} } @@ -7504,6 +7503,7 @@ "maxConnections": { "target": "com.amazonaws.appmesh#MaxConnections", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of outbound TCP connections Envoy can establish concurrently with all\n hosts in upstream cluster.

", "smithy.api#required": {} } @@ -7511,7 +7511,7 @@ "maxPendingRequests": { "target": "com.amazonaws.appmesh#MaxPendingRequests", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Number of overflowing requests after max_connections Envoy will queue to\n upstream cluster.

" } } @@ -7751,6 +7751,7 @@ "port": { "target": "com.amazonaws.appmesh#PortNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port used for the port mapping. Specify one protocol.

", "smithy.api#required": {} } @@ -8123,6 +8124,7 @@ "maxRequests": { "target": "com.amazonaws.appmesh#MaxRequests", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.

", "smithy.api#required": {} } @@ -8138,6 +8140,7 @@ "maxRequests": { "target": "com.amazonaws.appmesh#MaxRequests", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of inflight requests Envoy can concurrently support across hosts in\n upstream cluster.

", "smithy.api#required": {} } @@ -8153,6 +8156,7 @@ "maxConnections": { "target": "com.amazonaws.appmesh#MaxConnections", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of outbound TCP connections Envoy can establish concurrently with all\n hosts in upstream cluster.

", "smithy.api#required": {} } @@ -8160,7 +8164,7 @@ "maxPendingRequests": { "target": "com.amazonaws.appmesh#MaxPendingRequests", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Number of overflowing requests after max_connections Envoy will queue to\n upstream cluster.

" } } @@ -8332,6 +8336,7 @@ "maxConnections": { "target": "com.amazonaws.appmesh#MaxConnections", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of outbound TCP connections Envoy can establish concurrently with all\n hosts in upstream cluster.

", "smithy.api#required": {} } @@ -8834,6 +8839,7 @@ "weight": { "target": "com.amazonaws.appmesh#PercentInt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The relative weight of the weighted target.

", "smithy.api#required": {} } @@ -8862,4 +8868,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/appconfig.json b/codegen/sdk/aws-models/appconfig.json index 583aff6342f..fa39b8d316c 100644 --- a/codegen/sdk/aws-models/appconfig.json +++ b/codegen/sdk/aws-models/appconfig.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -181,21 +181,6 @@ }, "com.amazonaws.appconfig#AmazonAppConfig": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AppConfig", - "arnNamespace": "appconfig", - "cloudFormationName": "AppConfig", - "cloudTrailEventSource": "appconfig.amazonaws.com", - "endpointPrefix": "appconfig" - }, - "aws.auth#sigv4": { - "name": "appconfig" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly\n deploy application configurations. AppConfig supports controlled deployments to\n applications of any size and includes built-in validation checks and monitoring. You can\n use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers,\n mobile applications, or IoT devices.

\n

To prevent errors when deploying application configurations, especially for production\n systems where a simple typo could cause an unexpected outage, AppConfig includes\n validators. A validator provides a syntactic or semantic check to ensure that the\n configuration you want to deploy works as intended. To validate your application\n configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against\n the configuration. The configuration deployment or update can only proceed when the\n configuration data is valid.

\n

During a configuration deployment, AppConfig monitors the application to\n ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can\n configure a deployment strategy for each application or environment that includes\n deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error\n monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back\n to the previous version.

\n

AppConfig supports multiple use cases. Here are some examples:

\n \n

This reference is intended to be used with the AppConfig User\n Guide.

", - "smithy.api#title": "Amazon AppConfig" - }, "version": "2019-10-09", "operations": [ { @@ -327,7 +312,22 @@ { "target": "com.amazonaws.appconfig#ValidateConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AppConfig", + "arnNamespace": "appconfig", + "cloudFormationName": "AppConfig", + "cloudTrailEventSource": "appconfig.amazonaws.com", + "endpointPrefix": "appconfig" + }, + "aws.auth#sigv4": { + "name": "appconfig" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Use AppConfig, a capability of Amazon Web Services Systems Manager, to create, manage, and quickly\n deploy application configurations. AppConfig supports controlled deployments to\n applications of any size and includes built-in validation checks and monitoring. You can\n use AppConfig with applications hosted on Amazon EC2 instances, Lambda, containers,\n mobile applications, or IoT devices.

\n

To prevent errors when deploying application configurations, especially for production\n systems where a simple typo could cause an unexpected outage, AppConfig includes\n validators. A validator provides a syntactic or semantic check to ensure that the\n configuration you want to deploy works as intended. To validate your application\n configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against\n the configuration. The configuration deployment or update can only proceed when the\n configuration data is valid.

\n

During a configuration deployment, AppConfig monitors the application to\n ensure that the deployment is successful. If the system encounters an error, AppConfig rolls back the change to minimize impact for your application users. You can\n configure a deployment strategy for each application or environment that includes\n deployment criteria, including velocity, bake time, and alarms to monitor. Similar to error\n monitoring, if a deployment triggers an alarm, AppConfig automatically rolls back\n to the previous version.

\n

AppConfig supports multiple use cases. Here are some examples:

\n \n

This reference is intended to be used with the AppConfig User\n Guide.

", + "smithy.api#title": "Amazon AppConfig" + } }, "com.amazonaws.appconfig#Application": { "type": "structure", @@ -393,6 +393,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The extension version number.

" } }, @@ -474,7 +475,10 @@ } }, "com.amazonaws.appconfig#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.appconfig#BytesMeasure": { "type": "string", @@ -830,7 +834,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Total amount of time for a deployment to last.

", "smithy.api#required": {} } @@ -838,13 +842,14 @@ "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the amount of time AppConfig monitors for Amazon CloudWatch alarms after the\n configuration has been deployed to 100% of its targets, before considering the deployment\n to be complete. If an alarm is triggered during this time, AppConfig rolls back\n the deployment. You must configure permissions for AppConfig to roll back based\n on CloudWatch alarms. For more information, see Configuring permissions for rollback based on Amazon CloudWatch alarms in the\n AppConfig User Guide.

" } }, "GrowthFactor": { "target": "com.amazonaws.appconfig#GrowthFactor", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

", "smithy.api#required": {} } @@ -1010,7 +1015,7 @@ "ExtensionVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The version number of the extension. If not specified, AppConfig uses the\n maximum version of the extension.

" } }, @@ -1073,7 +1078,7 @@ "LatestVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

You can omit this field when you create an extension. When you create a new version,\n specify the most recent current version number. For example, you create version 3, enter 2\n for this field.

", "smithy.api#httpHeader": "Latest-Version-Number" } @@ -1162,7 +1167,7 @@ "LatestVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An optional locking token used to prevent race conditions from overwriting configuration\n updates when creating a new version. To ensure your data is not overwritten when creating\n multiple hosted configuration versions in rapid succession, specify the version number of\n the latest hosted configuration version.

", "smithy.api#httpHeader": "Latest-Version-Number" } @@ -1438,7 +1443,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

A specific version of an extension to delete. If omitted, the highest version is\n deleted.

", "smithy.api#httpQuery": "version" } @@ -1495,6 +1500,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The versions number to delete.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -1532,6 +1538,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The sequence number of the deployment.

" } }, @@ -1562,6 +1569,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total amount of time the deployment lasted.

" } }, @@ -1574,12 +1582,14 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time that AppConfig monitored for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.

" } }, @@ -1598,6 +1608,7 @@ "PercentageComplete": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets for which the deployment is available.

" } }, @@ -1774,6 +1785,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total amount of time the deployment lasted.

" } }, @@ -1786,12 +1798,14 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets that received a deployed configuration during each\n interval.

" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time that AppConfig monitored for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.

" } }, @@ -1821,6 +1835,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The sequence number of the deployment.

" } }, @@ -1839,6 +1854,7 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total amount of time the deployment lasted.

" } }, @@ -1851,12 +1867,14 @@ "GrowthFactor": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time that AppConfig monitors for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.

" } }, @@ -1869,6 +1887,7 @@ "PercentageComplete": { "target": "com.amazonaws.appconfig#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of targets for which the deployment is available.

" } }, @@ -2020,6 +2039,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The extension version number.

" } }, @@ -2085,6 +2105,7 @@ "ExtensionVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number for the extension defined in the association.

" } } @@ -2163,6 +2184,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The extension version number.

" } }, @@ -2201,7 +2223,10 @@ } }, "com.amazonaws.appconfig#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appconfig#GetApplication": { "type": "operation", @@ -2418,7 +2443,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The sequence number of the deployment.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -2599,7 +2624,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The extension version number. If no version number was defined, AppConfig uses\n the highest version.

", "smithy.api#httpQuery": "version_number" } @@ -2656,6 +2681,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -2666,6 +2692,7 @@ "com.amazonaws.appconfig#GrowthFactor": { "type": "float", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1.0, "max": 100.0 @@ -2707,6 +2734,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The configuration version.

", "smithy.api#httpHeader": "Version-Number" } @@ -2752,6 +2780,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The configuration version.

" } }, @@ -2811,7 +2840,10 @@ } }, "com.amazonaws.appconfig#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appconfig#InternalServerException": { "type": "structure", @@ -2912,7 +2944,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -2973,7 +3005,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -3030,7 +3062,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -3099,7 +3131,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items that may be returned for this call. If there are items that\n have not yet been returned, the response will include a non-null NextToken\n that you can provide in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -3160,7 +3192,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -3224,7 +3256,7 @@ "ExtensionVersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The version number for the extension defined in the association.

", "smithy.api#httpQuery": "extension_version_number" } @@ -3232,7 +3264,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -3282,7 +3314,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -3358,7 +3390,7 @@ "MaxResults": { "target": "com.amazonaws.appconfig#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of items to return for this call. The call also returns a token that\n you can specify in a subsequent call to get the next set of results.

", "smithy.api#httpQuery": "max_results" } @@ -3425,6 +3457,7 @@ "com.amazonaws.appconfig#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3434,6 +3467,7 @@ "com.amazonaws.appconfig#MinutesBetween0And24Hours": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1440 @@ -3503,6 +3537,7 @@ "Required": { "target": "com.amazonaws.appconfig#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A parameter value must be specified in the extension association.

" } } @@ -3551,10 +3586,16 @@ "target": "com.amazonaws.appconfig#BytesMeasure" }, "Limit": { - "target": "com.amazonaws.appconfig#Float" + "target": "com.amazonaws.appconfig#Float", + "traits": { + "smithy.api#default": 0 + } }, "Size": { - "target": "com.amazonaws.appconfig#Float" + "target": "com.amazonaws.appconfig#Float", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -3566,6 +3607,7 @@ "com.amazonaws.appconfig#Percentage": { "type": "float", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1.0, "max": 100.0 @@ -3781,7 +3823,7 @@ "DeploymentNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The sequence number of the deployment.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -4168,21 +4210,21 @@ "DeploymentDurationInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Total amount of time for a deployment to last.

" } }, "FinalBakeTimeInMinutes": { "target": "com.amazonaws.appconfig#MinutesBetween0And24Hours", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The amount of time that AppConfig monitors for alarms before considering the\n deployment to be complete and no longer eligible for automatic rollback.

" } }, "GrowthFactor": { "target": "com.amazonaws.appconfig#GrowthFactor", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The percentage of targets to receive a deployed configuration during each\n interval.

" } }, @@ -4371,7 +4413,7 @@ "VersionNumber": { "target": "com.amazonaws.appconfig#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The extension version number.

" } } diff --git a/codegen/sdk/aws-models/appconfigdata.json b/codegen/sdk/aws-models/appconfigdata.json index dce683a2a86..60ac98104e8 100644 --- a/codegen/sdk/aws-models/appconfigdata.json +++ b/codegen/sdk/aws-models/appconfigdata.json @@ -1,8 +1,19 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.appconfigdata#AppConfigData": { "type": "service", + "version": "2021-11-11", + "operations": [ + { + "target": "com.amazonaws.appconfigdata#GetLatestConfiguration" + } + ], + "resources": [ + { + "target": "com.amazonaws.appconfigdata#ConfigurationSession" + } + ], "traits": { "aws.api#dataPlane": {}, "aws.api#service": { @@ -18,18 +29,7 @@ "aws.protocols#restJson1": {}, "smithy.api#documentation": "

AppConfig Data provides the data plane APIs your application uses to retrieve configuration data.\n Here's how it works:

\n

Your application retrieves configuration data by first establishing a configuration\n session using the AppConfig Data StartConfigurationSession API action. Your session's\n client then makes periodic calls to GetLatestConfiguration to check for\n and retrieve the latest data available.

\n

When calling StartConfigurationSession, your code sends the following\n information:

\n \n

In response, AppConfig provides an InitialConfigurationToken to be given to\n the session's client and used the first time it calls GetLatestConfiguration\n for that session.

\n

When calling GetLatestConfiguration, your client code sends the most recent\n ConfigurationToken value it has and receives in response:

\n \n

For more information and to view example CLI commands that show how to retrieve a\n configuration using the AppConfig Data StartConfigurationSession and\n GetLatestConfiguration API actions, see Receiving the\n configuration in the AppConfig User Guide.

", "smithy.api#title": "AWS AppConfig Data" - }, - "version": "2021-11-11", - "operations": [ - { - "target": "com.amazonaws.appconfigdata#GetLatestConfiguration" - } - ], - "resources": [ - { - "target": "com.amazonaws.appconfigdata#ConfigurationSession" - } - ] + } }, "com.amazonaws.appconfigdata#BadRequestDetails": { "type": "union", @@ -151,6 +151,7 @@ "NextPollIntervalInSeconds": { "target": "com.amazonaws.appconfigdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time the client should wait before polling for configuration updates\n again. Use RequiredMinimumPollIntervalInSeconds to set the desired poll\n interval.

", "smithy.api#httpHeader": "Next-Poll-Interval-In-Seconds" } @@ -187,7 +188,10 @@ } }, "com.amazonaws.appconfigdata#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appconfigdata#InternalServerException": { "type": "structure", @@ -250,7 +254,6 @@ "com.amazonaws.appconfigdata#OptionalPollSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 15, "max": 86400 diff --git a/codegen/sdk/aws-models/appflow.json b/codegen/sdk/aws-models/appflow.json index df664066f50..c7c28b505ac 100644 --- a/codegen/sdk/aws-models/appflow.json +++ b/codegen/sdk/aws-models/appflow.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -316,6 +316,7 @@ "isRequired": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this authentication parameter is required.

" } }, @@ -334,6 +335,7 @@ "isSensitiveField": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this authentication parameter is a sensitive field.

" } }, @@ -360,24 +362,28 @@ "isBasicAuthSupported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether basic authentication is supported by the connector.

" } }, "isApiKeyAuthSupported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether API key authentication is supported by the connector

" } }, "isOAuth2Supported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether OAuth 2.0 authentication is supported by the connector.

" } }, "isCustomAuthSupported": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether custom authentication is supported by the connector

" } }, @@ -444,7 +450,10 @@ } }, "com.amazonaws.appflow#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.appflow#BucketName": { "type": "string", @@ -555,12 +564,14 @@ "canUseAsSource": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the connector can be used as a source.

" } }, "canUseAsDestination": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the connector can be used as a destination.

" } }, @@ -579,12 +590,14 @@ "isPrivateLinkEnabled": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if PrivateLink is enabled for that connector.

" } }, "isPrivateLinkEndpointUrlRequired": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if a PrivateLink endpoint URL is required.

" } }, @@ -825,6 +838,7 @@ "hasNestedEntities": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the connector entity is a parent or a category and has more entities\n nested underneath it. If another call is made with entitiesPath =\n \"the_current_entity_name_with_hasNestedEntities_true\", then it returns the nested\n entities underneath it. This provides a way to retrieve all supported entities in a recursive\n fashion.

" } } @@ -858,6 +872,7 @@ "isPrimaryKey": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Booelan value that indicates whether this field can be used as a primary key.

" } }, @@ -870,6 +885,7 @@ "isDeprecated": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Booelan value that indicates whether this field is deprecated or not.

" } }, @@ -1631,6 +1647,7 @@ "isRequired": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this connector runtime setting is required.

" } }, @@ -2538,6 +2555,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon AppFlow should delete the profile, even if it is currently\n in use in one or more flows.

" } } @@ -2588,6 +2606,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon AppFlow should delete the flow, even if it is currently in\n use.

" } } @@ -3212,30 +3231,35 @@ "isCreatable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the destination field can be created by the current user.

" } }, "isNullable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the destination field can have a null value.

" } }, "isUpsertable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the flow run can either insert new rows in the destination field if they do\n not already exist, or update them if they do.

" } }, "isUpdatable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the field can be updated during an UPDATE or\n UPSERT write operation.

" } }, "isDefaultedOnCreate": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the field can use the default value during a Create operation.

" } }, @@ -3311,7 +3335,10 @@ } }, "com.amazonaws.appflow#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appflow#DynatraceConnectorOperator": { "type": "string", @@ -3458,6 +3485,7 @@ "failOnFirstDestinationError": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the flow should fail after the first instance of a failure when attempting\n to place data in the destination.

" } }, @@ -3881,6 +3909,7 @@ "com.amazonaws.appflow#FlowErrorDeactivationThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4313,10 +4342,7 @@ } }, "com.amazonaws.appflow#JavaBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.appflow#KMSArn": { "type": "string", @@ -4639,10 +4665,7 @@ } }, "com.amazonaws.appflow#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.appflow#LookoutMetricsDestinationProperties": { "type": "structure", @@ -4814,7 +4837,6 @@ "com.amazonaws.appflow#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4898,6 +4920,7 @@ "isRequired": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the custom parameter for OAuth 2.0 authentication is required.

" } }, @@ -4916,6 +4939,7 @@ "isSensitiveField": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this authentication custom parameter is a sensitive field.

" } }, @@ -5412,6 +5436,7 @@ "com.amazonaws.appflow#PortNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -5627,12 +5652,14 @@ "maximum": { "target": "com.amazonaws.appflow#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum value supported by the field.

" } }, "minimum": { "target": "com.amazonaws.appflow#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Minimum value supported by the field.

" } } @@ -6225,7 +6252,7 @@ "portNumber": { "target": "com.amazonaws.appflow#PortNumber", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The port number of the SAPOData instance.

", "smithy.api#required": {} } @@ -6446,6 +6473,7 @@ "isSandboxEnvironment": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the connector profile applies to a sandbox or production environment.\n

" } } @@ -6514,12 +6542,14 @@ "enableDynamicFieldUpdate": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The flag that enables dynamic fetching of new (recently added) fields in the Salesforce\n objects while running a flow.

" } }, "includeDeletedRecords": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon AppFlow includes deleted files in the flow run.

" } } @@ -6530,21 +6560,6 @@ }, "com.amazonaws.appflow#SandstoneConfigurationServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Appflow", - "arnNamespace": "appflow", - "cloudFormationName": "Appflow", - "cloudTrailEventSource": "appflow.amazonaws.com", - "endpointPrefix": "appflow" - }, - "aws.auth#sigv4": { - "name": "appflow" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Welcome to the Amazon AppFlow API reference. This guide is for developers who need\n detailed information about the Amazon AppFlow API operations, data types, and errors.

\n

Amazon AppFlow is a fully managed integration service that enables you to securely\n transfer data between software as a service (SaaS) applications like Salesforce, Marketo,\n Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.

\n

Use the following links to get started on the Amazon AppFlow API:

\n \n

If you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User Guide.

\n

Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include\n applicable OAuth attributes (such as auth-code and redirecturi) with\n the connector-specific ConnectorProfileProperties when creating a new connector\n profile using Amazon AppFlow API operations. For example, Salesforce users can refer to\n the \n Authorize Apps with OAuth\n documentation.

", - "smithy.api#title": "Amazon Appflow" - }, "version": "2020-08-23", "operations": [ { @@ -6613,7 +6628,22 @@ { "target": "com.amazonaws.appflow#UpdateFlow" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Appflow", + "arnNamespace": "appflow", + "cloudFormationName": "Appflow", + "cloudTrailEventSource": "appflow.amazonaws.com", + "endpointPrefix": "appflow" + }, + "aws.auth#sigv4": { + "name": "appflow" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Welcome to the Amazon AppFlow API reference. This guide is for developers who need\n detailed information about the Amazon AppFlow API operations, data types, and errors.

\n

Amazon AppFlow is a fully managed integration service that enables you to securely\n transfer data between software as a service (SaaS) applications like Salesforce, Marketo,\n Slack, and ServiceNow, and Amazon Web Services like Amazon S3 and Amazon Redshift.

\n

Use the following links to get started on the Amazon AppFlow API:

\n \n

If you're new to Amazon AppFlow, we recommend that you review the Amazon AppFlow User Guide.

\n

Amazon AppFlow API users can use vendor-specific mechanisms for OAuth, and include\n applicable OAuth attributes (such as auth-code and redirecturi) with\n the connector-specific ConnectorProfileProperties when creating a new connector\n profile using Amazon AppFlow API operations. For example, Salesforce users can refer to\n the \n Authorize Apps with OAuth\n documentation.

", + "smithy.api#title": "Amazon Appflow" + } }, "com.amazonaws.appflow#ScheduleExpression": { "type": "string", @@ -6659,6 +6689,7 @@ "com.amazonaws.appflow#ScheduleOffset": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 36000 @@ -6702,7 +6733,7 @@ "scheduleOffset": { "target": "com.amazonaws.appflow#ScheduleOffset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies the optional offset that is added to the time interval for a schedule-triggered\n flow.

" } }, @@ -6715,7 +6746,7 @@ "flowErrorDeactivationThreshold": { "target": "com.amazonaws.appflow#FlowErrorDeactivationThreshold", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Defines how many times a scheduled flow fails consecutively before Amazon AppFlow\n deactivates it.

" } } @@ -7399,18 +7430,21 @@ "isRetrievable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the field can be returned in a search result.

" } }, "isQueryable": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the field can be queried.

" } }, "isTimestampFieldForIncrementalQueries": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if this timestamp field can be used for incremental queries.

" } } @@ -8139,6 +8173,7 @@ "forceDelete": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon AppFlow should unregister the connector, even if it is\n currently in use in one or more connector profiles. The default value is false.

" } } @@ -8646,18 +8681,21 @@ "includeSourceFiles": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value to include source files in Veeva document extract flow.

" } }, "includeRenditions": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value to include file renditions in Veeva document extract flow.

" } }, "includeAllVersions": { "target": "com.amazonaws.appflow#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value to include All Versions of files in Veeva document extract flow.

" } } diff --git a/codegen/sdk/aws-models/appintegrations.json b/codegen/sdk/aws-models/appintegrations.json index 3f8a033f4b7..57ec79aa77c 100644 --- a/codegen/sdk/aws-models/appintegrations.json +++ b/codegen/sdk/aws-models/appintegrations.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1305,7 +1305,6 @@ "com.amazonaws.appintegrations#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/application-auto-scaling.json b/codegen/sdk/aws-models/application-auto-scaling.json index 2bd558b4404..c85be096151 100644 --- a/codegen/sdk/aws-models/application-auto-scaling.json +++ b/codegen/sdk/aws-models/application-auto-scaling.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -145,10 +145,7 @@ } }, "com.amazonaws.applicationautoscaling#Cooldown": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#CustomizedMetricSpecification": { "type": "structure", @@ -729,10 +726,7 @@ } }, "com.amazonaws.applicationautoscaling#DisableScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationautoscaling#ErrorMessage": { "type": "string" @@ -806,10 +800,7 @@ } }, "com.amazonaws.applicationautoscaling#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#MetricAggregationType": { "type": "string", @@ -871,10 +862,7 @@ "type": "string" }, "com.amazonaws.applicationautoscaling#MetricScale": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.applicationautoscaling#MetricStatistic": { "type": "string", @@ -998,10 +986,7 @@ "type": "string" }, "com.amazonaws.applicationautoscaling#MinAdjustmentMagnitude": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#ObjectNotFoundException": { "type": "structure", @@ -1344,10 +1329,7 @@ "members": {} }, "com.amazonaws.applicationautoscaling#ResourceCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#ResourceId": { "type": "string", @@ -1679,10 +1661,7 @@ } }, "com.amazonaws.applicationautoscaling#ScalingAdjustment": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationautoscaling#ScalingPolicies": { "type": "list", @@ -1766,10 +1745,7 @@ } }, "com.amazonaws.applicationautoscaling#ScalingSuspended": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationautoscaling#ScheduledAction": { "type": "structure", diff --git a/codegen/sdk/aws-models/application-discovery-service.json b/codegen/sdk/aws-models/application-discovery-service.json index d2bcf98ab19..ba7b8b3a34c 100644 --- a/codegen/sdk/aws-models/application-discovery-service.json +++ b/codegen/sdk/aws-models/application-discovery-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.applicationdiscoveryservice#AWSPoseidonService_V2015_11_01": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Application Discovery Service", - "arnNamespace": "discovery", - "cloudFormationName": "ApplicationDiscoveryService", - "cloudTrailEventSource": "applicationdiscoveryservice.amazonaws.com", - "endpointPrefix": "discovery" - }, - "aws.auth#sigv4": { - "name": "discovery" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services Application Discovery Service\n\n

Amazon Web Services Application Discovery Service helps you plan application migration projects. It\n automatically identifies servers, virtual machines (VMs), and network dependencies in your\n on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. \n Application Discovery Service offers three ways of performing discovery and\n collecting data about your on-premises servers:

\n\n \n\n \n\n \n\n\n

\n Recommendations\n

\n

We recommend that you use agent-based discovery for non-VMware environments, and\n whenever you want to collect information about network dependencies. You can run agent-based\n and agentless discovery simultaneously. Use agentless discovery to complete the initial\n infrastructure assessment quickly, and then install agents on select hosts to collect\n additional information.

\n\n

\n Working With This Guide\n

\n\n

This API reference provides descriptions, syntax, and usage examples for each of the\n actions and data types for Application Discovery Service. The topic for each action shows the\n API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services\n SDKs.

\n\n \n \n \n\n

This guide is intended for use with the Amazon Web Services Application\n Discovery Service User Guide.

\n\n \n

All data is handled according to the Amazon Web Services \n Privacy Policy. You can operate Application Discovery Service offline to inspect\n collected data before it is shared with the service.

\n
", - "smithy.api#title": "AWS Application Discovery Service", - "smithy.api#xmlNamespace": { - "uri": "http://ec2.amazon.com/awsposiedon/V2015_11_01/" - } - }, "version": "2015-11-01", "operations": [ { @@ -126,7 +108,25 @@ { "target": "com.amazonaws.applicationdiscoveryservice#UpdateApplication" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Application Discovery Service", + "arnNamespace": "discovery", + "cloudFormationName": "ApplicationDiscoveryService", + "cloudTrailEventSource": "applicationdiscoveryservice.amazonaws.com", + "endpointPrefix": "discovery" + }, + "aws.auth#sigv4": { + "name": "discovery" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Web Services Application Discovery Service\n\n

Amazon Web Services Application Discovery Service helps you plan application migration projects. It\n automatically identifies servers, virtual machines (VMs), and network dependencies in your\n on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ. \n Application Discovery Service offers three ways of performing discovery and\n collecting data about your on-premises servers:

\n\n \n\n \n\n \n\n\n

\n Recommendations\n

\n

We recommend that you use agent-based discovery for non-VMware environments, and\n whenever you want to collect information about network dependencies. You can run agent-based\n and agentless discovery simultaneously. Use agentless discovery to complete the initial\n infrastructure assessment quickly, and then install agents on select hosts to collect\n additional information.

\n\n

\n Working With This Guide\n

\n\n

This API reference provides descriptions, syntax, and usage examples for each of the\n actions and data types for Application Discovery Service. The topic for each action shows the\n API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services\n SDKs.

\n\n \n \n \n\n

This guide is intended for use with the Amazon Web Services Application\n Discovery Service User Guide.

\n\n \n

All data is handled according to the Amazon Web Services \n Privacy Policy. You can operate Application Discovery Service offline to inspect\n collected data before it is shared with the service.

\n
", + "smithy.api#title": "AWS Application Discovery Service", + "smithy.api#xmlNamespace": { + "uri": "http://ec2.amazon.com/awsposiedon/V2015_11_01/" + } + } }, "com.amazonaws.applicationdiscoveryservice#AgentConfigurationStatus": { "type": "structure", @@ -140,6 +140,7 @@ "operationSucceeded": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Information about the status of the StartDataCollection and\n StopDataCollection operations. The system has recorded the data collection\n operation. The agent/connector receives this command the next time it polls for a new command.\n

" } }, @@ -515,14 +516,14 @@ } }, "com.amazonaws.applicationdiscoveryservice#Boolean": { - "type": "boolean" - }, - "com.amazonaws.applicationdiscoveryservice#BoxedInteger": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.applicationdiscoveryservice#BoxedInteger": { + "type": "integer" + }, "com.amazonaws.applicationdiscoveryservice#ClientRequestToken": { "type": "string", "traits": { @@ -891,6 +892,7 @@ "activeAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of active discovery agents.

", "smithy.api#required": {} } @@ -898,6 +900,7 @@ "healthyAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of healthy discovery agents

", "smithy.api#required": {} } @@ -905,6 +908,7 @@ "blackListedAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of blacklisted discovery agents.

", "smithy.api#required": {} } @@ -912,6 +916,7 @@ "shutdownAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of discovery agents with status SHUTDOWN.

", "smithy.api#required": {} } @@ -919,6 +924,7 @@ "unhealthyAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unhealthy discovery agents.

", "smithy.api#required": {} } @@ -926,6 +932,7 @@ "totalAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of discovery agents.

", "smithy.api#required": {} } @@ -933,6 +940,7 @@ "unknownAgents": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unknown discovery agents.

", "smithy.api#required": {} } @@ -948,42 +956,49 @@ "activeAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "healthyAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "denyListedAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "shutdownAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "unhealthyAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "totalAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "unknownAgentlessCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } } @@ -995,6 +1010,7 @@ "activeConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of active discovery connectors.

", "smithy.api#required": {} } @@ -1002,6 +1018,7 @@ "healthyConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of healthy discovery connectors.

", "smithy.api#required": {} } @@ -1009,6 +1026,7 @@ "blackListedConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of blacklisted discovery connectors.

", "smithy.api#required": {} } @@ -1016,6 +1034,7 @@ "shutdownConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of discovery connectors with status SHUTDOWN,

", "smithy.api#required": {} } @@ -1023,6 +1042,7 @@ "unhealthyConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unhealthy discovery connectors.

", "smithy.api#required": {} } @@ -1030,6 +1050,7 @@ "totalConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of discovery connectors.

", "smithy.api#required": {} } @@ -1037,6 +1058,7 @@ "unknownConnectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unknown discovery connectors.

", "smithy.api#required": {} } @@ -1052,6 +1074,7 @@ "activeMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of active Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1059,6 +1082,7 @@ "healthyMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of healthy Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1066,6 +1090,7 @@ "denyListedMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of deny-listed Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1073,6 +1098,7 @@ "shutdownMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of Migration Evaluator collectors with SHUTDOWN status.\n

", "smithy.api#required": {} } @@ -1080,6 +1106,7 @@ "unhealthyMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of unhealthy Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1087,6 +1114,7 @@ "totalMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The total number of Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1094,6 +1122,7 @@ "unknownMeCollectors": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of unknown Migration Evaluator collectors.\n

", "smithy.api#required": {} } @@ -1269,6 +1298,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of agents/Connectors to return in a single page of output. The maximum\n value is 100.

" } }, @@ -1407,7 +1437,6 @@ "com.amazonaws.applicationdiscoveryservice#DescribeContinuousExportsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1499,6 +1528,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A number between 1 and 100 specifying the maximum number of continuous export\n descriptions returned.

" } }, @@ -1574,6 +1604,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of volume results returned by DescribeExportTasks in\n paginated output. When this parameter is used, DescribeExportTasks only returns\n maxResults results in a single page along with a nextToken\n response element.

" } }, @@ -1645,7 +1676,6 @@ "com.amazonaws.applicationdiscoveryservice#DescribeImportTasksMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1736,6 +1766,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return in a single page of output. The maximum value is\n 100.

" } }, @@ -1962,6 +1993,7 @@ "isTruncated": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the export of agent information exceeded the size limit for a single export\n and the exported data is incomplete for the requested time range. To address this, select a\n smaller time range for the export by using startDate and\n endDate.

" } }, @@ -2116,24 +2148,28 @@ "servers": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of servers discovered.

" } }, "applications": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of applications discovered.

" } }, "serversMappedToApplications": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of servers mapped to applications.

" } }, "serversMappedtoTags": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of servers mapped to tags.

" } }, @@ -2278,24 +2314,28 @@ "serverImportSuccess": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of server records in the import file that were successfully\n imported.

" } }, "serverImportFailure": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of server records in the import file that failed to be imported.

" } }, "applicationImportSuccess": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of application records in the import file that were successfully\n imported.

" } }, "applicationImportFailure": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of application records in the import file that failed to be\n imported.

" } }, @@ -2407,7 +2447,10 @@ } }, "com.amazonaws.applicationdiscoveryservice#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.applicationdiscoveryservice#InvalidParameterException": { "type": "structure", @@ -2486,6 +2529,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return. The maximum value is 100.

" } }, @@ -2562,6 +2606,7 @@ "portInformationNeeded": { "target": "com.amazonaws.applicationdiscoveryservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag to indicate if port and protocol information is needed as part of the\n response.

" } }, @@ -2574,6 +2619,7 @@ "maxResults": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of results to return in a single page of output.

" } }, @@ -2604,13 +2650,17 @@ "knownDependencyCount": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Count of distinct servers that are one hop away from the given server.

" } } } }, "com.amazonaws.applicationdiscoveryservice#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.applicationdiscoveryservice#Message": { "type": "string" @@ -2647,6 +2697,7 @@ "connectionsCount": { "target": "com.amazonaws.applicationdiscoveryservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of open network connections with the neighboring server.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/application-insights.json b/codegen/sdk/aws-models/application-insights.json index 473ab40068b..2c9e62835cf 100644 --- a/codegen/sdk/aws-models/application-insights.json +++ b/codegen/sdk/aws-models/application-insights.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -178,16 +178,10 @@ } }, "com.amazonaws.applicationinsights#AutoConfigEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#AutoCreate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#BadRequestException": { "type": "structure", @@ -207,10 +201,7 @@ } }, "com.amazonaws.applicationinsights#CWEMonitorEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#CloudWatchEventDetailType": { "type": "string" @@ -592,6 +583,7 @@ "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.

", "smithy.api#required": {} } @@ -1226,21 +1218,6 @@ }, "com.amazonaws.applicationinsights#EC2WindowsBarleyService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Application Insights", - "arnNamespace": "applicationinsights", - "cloudFormationName": "ApplicationInsights", - "cloudTrailEventSource": "applicationinsights.amazonaws.com", - "endpointPrefix": "applicationinsights" - }, - "aws.auth#sigv4": { - "name": "applicationinsights" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon CloudWatch Application Insights\n

Amazon CloudWatch Application Insights is a service that helps you detect common\n problems with your applications. It enables you to pinpoint the source of issues in your\n applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL\n Server), by providing key insights into detected problems.

\n

After you onboard your application, CloudWatch Application Insights identifies,\n recommends, and sets up metrics and logs. It continuously analyzes and correlates your\n metrics and logs for unusual behavior to surface actionable problems with your application.\n For example, if your application is slow and unresponsive and leading to HTTP 500 errors in\n your Application Load Balancer (ALB), Application Insights informs you that a memory\n pressure problem with your SQL Server database is occurring. It bases this analysis on\n impactful metrics and log errors.

", - "smithy.api#title": "Amazon CloudWatch Application Insights" - }, "version": "2018-11-25", "operations": [ { @@ -1324,7 +1301,22 @@ { "target": "com.amazonaws.applicationinsights#UpdateLogPattern" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Application Insights", + "arnNamespace": "applicationinsights", + "cloudFormationName": "ApplicationInsights", + "cloudTrailEventSource": "applicationinsights.amazonaws.com", + "endpointPrefix": "applicationinsights" + }, + "aws.auth#sigv4": { + "name": "applicationinsights" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon CloudWatch Application Insights\n

Amazon CloudWatch Application Insights is a service that helps you detect common\n problems with your applications. It enables you to pinpoint the source of issues in your\n applications (built with technologies such as Microsoft IIS, .NET, and Microsoft SQL\n Server), by providing key insights into detected problems.

\n

After you onboard your application, CloudWatch Application Insights identifies,\n recommends, and sets up metrics and logs. It continuously analyzes and correlates your\n metrics and logs for unusual behavior to surface actionable problems with your application.\n For example, if your application is slow and unresponsive and leading to HTTP 500 errors in\n your Application Load Balancer (ALB), Application Insights informs you that a memory\n pressure problem with your SQL Server database is occurring. It bases this analysis on\n impactful metrics and log errors.

", + "smithy.api#title": "Amazon CloudWatch Application Insights" + } }, "com.amazonaws.applicationinsights#EbsCause": { "type": "string" @@ -2001,6 +1993,7 @@ "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.

" } } @@ -2026,7 +2019,10 @@ } }, "com.amazonaws.applicationinsights#LogPatternRank": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.applicationinsights#LogPatternRegex": { "type": "string", @@ -2060,7 +2056,6 @@ "com.amazonaws.applicationinsights#MaxEntities": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 40 @@ -2080,10 +2075,7 @@ "type": "string" }, "com.amazonaws.applicationinsights#Monitor": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#Observation": { "type": "structure", @@ -2380,10 +2372,7 @@ } }, "com.amazonaws.applicationinsights#OpsCenterEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#OpsItemSNSTopicArn": { "type": "string", @@ -2523,10 +2512,7 @@ "type": "string" }, "com.amazonaws.applicationinsights#RecurringCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.applicationinsights#RelatedObservations": { "type": "structure", @@ -2546,10 +2532,7 @@ "type": "string" }, "com.amazonaws.applicationinsights#RemoveSNSTopic": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.applicationinsights#ResourceARN": { "type": "string", @@ -3233,6 +3216,7 @@ "Rank": { "target": "com.amazonaws.applicationinsights#LogPatternRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Rank of the log pattern. Must be a value between 1 and\n 1,000,000. The patterns are sorted by rank, so we recommend that you set\n your highest priority patterns with the lowest rank. A pattern of rank 1 will\n be the first to get matched to a log line. A pattern of rank 1,000,000 will be\n last to get matched. When you configure custom log patterns from the console, a\n Low severity pattern translates to a 750,000 rank. A\n Medium severity pattern translates to a 500,000 rank. And a\n High severity pattern translates to a 250,000 rank. Rank\n values less than 1 or greater than 1,000,000 are reserved for\n AWS-provided patterns.

" } } @@ -3273,10 +3257,7 @@ } }, "com.amazonaws.applicationinsights#Value": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.applicationinsights#WorkloadMetaData": { "type": "map", @@ -3288,16 +3269,10 @@ } }, "com.amazonaws.applicationinsights#XRayErrorPercent": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationinsights#XRayFaultPercent": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationinsights#XRayNodeName": { "type": "string" @@ -3306,22 +3281,13 @@ "type": "string" }, "com.amazonaws.applicationinsights#XRayRequestAverageLatency": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.applicationinsights#XRayRequestCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.applicationinsights#XRayThrottlePercent": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" } } } diff --git a/codegen/sdk/aws-models/applicationcostprofiler.json b/codegen/sdk/aws-models/applicationcostprofiler.json index 63435339eeb..7b429437376 100644 --- a/codegen/sdk/aws-models/applicationcostprofiler.json +++ b/codegen/sdk/aws-models/applicationcostprofiler.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -320,7 +320,6 @@ "com.amazonaws.applicationcostprofiler#Integer": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/appstream.json b/codegen/sdk/aws-models/appstream.json index 112a8ab26f4..6f69afc70dd 100644 --- a/codegen/sdk/aws-models/appstream.json +++ b/codegen/sdk/aws-models/appstream.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -237,6 +237,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If there is a problem, the application can be disabled after image creation.

" } }, @@ -366,6 +367,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables or disables persistent application settings for users during their streaming sessions.

", "smithy.api#required": {} } @@ -387,6 +389,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether persistent application settings are enabled for users during their streaming sessions.

" } }, @@ -728,14 +731,14 @@ } }, "com.amazonaws.appstream#Boolean": { - "type": "boolean" - }, - "com.amazonaws.appstream#BooleanObject": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.appstream#BooleanObject": { + "type": "boolean" + }, "com.amazonaws.appstream#ComputeCapacity": { "type": "structure", "members": { @@ -1884,6 +1887,7 @@ "dryRun": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to display the status of image update availability before AppStream 2.0 initiates the process of creating a new updated image. If this value is set to true, AppStream 2.0 displays whether image updates are available. If this value is set to false, AppStream 2.0 initiates the process of creating a new updated image without displaying whether image updates are available.

" } } @@ -1898,6 +1902,7 @@ "canUpdateImage": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a new image can be created.

" } } @@ -3066,7 +3071,6 @@ "com.amazonaws.appstream#DescribeImagesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 25 @@ -4433,6 +4437,7 @@ "ImageBuilderSupported": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether an image builder can be launched from this image.

" } }, @@ -4821,10 +4826,7 @@ } }, "com.amazonaws.appstream#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.appstream#InvalidAccountStatusException": { "type": "structure", @@ -5110,15 +5112,11 @@ } }, "com.amazonaws.appstream#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.appstream#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 500 @@ -5220,21 +5218,6 @@ }, "com.amazonaws.appstream#PhotonAdminProxyService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AppStream", - "arnNamespace": "appstream", - "cloudFormationName": "AppStream", - "cloudTrailEventSource": "appstream.amazonaws.com", - "endpointPrefix": "appstream2" - }, - "aws.auth#sigv4": { - "name": "appstream" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon AppStream 2.0\n

This is the Amazon AppStream 2.0 API Reference. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand.

\n \n \n

You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface endpoint). For more information, see Access AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint in the Amazon AppStream 2.0 Administration Guide.

\n
\n \n

To learn more about AppStream 2.0, see the following resources:

\n \n ", - "smithy.api#title": "Amazon AppStream" - }, "version": "2016-12-01", "operations": [ { @@ -5432,7 +5415,22 @@ { "target": "com.amazonaws.appstream#UpdateStack" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AppStream", + "arnNamespace": "appstream", + "cloudFormationName": "AppStream", + "cloudTrailEventSource": "appstream.amazonaws.com", + "endpointPrefix": "appstream2" + }, + "aws.auth#sigv4": { + "name": "appstream" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon AppStream 2.0\n

This is the Amazon AppStream 2.0 API Reference. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand.

\n \n \n

You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface endpoint). For more information, see Access AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint in the Amazon AppStream 2.0 Administration Guide.

\n
\n \n

To learn more about AppStream 2.0, see the following resources:

\n \n ", + "smithy.api#title": "Amazon AppStream" + } }, "com.amazonaws.appstream#PlatformType": { "type": "string", @@ -6859,6 +6857,7 @@ "DeleteVpcConfig": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Deletes the VPC association for the specified fleet.

" } @@ -7073,6 +7072,7 @@ "DeleteStorageConnectors": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Deletes the storage connectors currently enabled for the stack.

" } @@ -7240,6 +7240,7 @@ "Enabled": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the user in the user pool is enabled.

" } }, @@ -7365,6 +7366,7 @@ "SendEmailNotification": { "target": "com.amazonaws.appstream#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a welcome email is sent to a user after the user is created in the user pool.

" } } diff --git a/codegen/sdk/aws-models/appsync.json b/codegen/sdk/aws-models/appsync.json index 192cdbc1643..10438258d15 100644 --- a/codegen/sdk/aws-models/appsync.json +++ b/codegen/sdk/aws-models/appsync.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.appsync#AWSDeepdishControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AppSync", - "arnNamespace": "appsync", - "cloudFormationName": "AppSync", - "cloudTrailEventSource": "appsync.amazonaws.com", - "endpointPrefix": "appsync" - }, - "aws.auth#sigv4": { - "name": "appsync" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AppSync provides API actions for creating and interacting with data\n sources using GraphQL from your application.

", - "smithy.api#title": "AWS AppSync", - "smithy.api#xmlNamespace": { - "uri": "http://appsync.amazonaws.com" - } - }, "version": "2017-07-25", "operations": [ { @@ -201,7 +183,25 @@ { "target": "com.amazonaws.appsync#UpdateType" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "AppSync", + "arnNamespace": "appsync", + "cloudFormationName": "AppSync", + "cloudTrailEventSource": "appsync.amazonaws.com", + "endpointPrefix": "appsync" + }, + "aws.auth#sigv4": { + "name": "appsync" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

AppSync provides API actions for creating and interacting with data\n sources using GraphQL from your application.

", + "smithy.api#title": "AWS AppSync", + "smithy.api#xmlNamespace": { + "uri": "http://appsync.amazonaws.com" + } + } }, "com.amazonaws.appsync#AccessDeniedException": { "type": "structure", @@ -292,6 +292,7 @@ "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

TTL in seconds for cache entries.

\n

Valid values are 1–3,600 seconds.

" } }, @@ -304,12 +305,14 @@ "transitEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Transit encryption flag when connecting to cache. You cannot update this setting after\n creation.

" } }, "atRestEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

At-rest encryption flag for cache. You cannot update this setting after creation.

" } }, @@ -457,12 +460,14 @@ "expires": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time after which the API key expires. The date is represented as seconds since the\n epoch, rounded down to the nearest hour.

" } }, "deletes": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time after which the API key is deleted. The date is represented as seconds since\n the epoch, rounded down to the nearest hour.

" } } @@ -693,20 +698,21 @@ "type": "blob" }, "com.amazonaws.appsync#Boolean": { - "type": "boolean" - }, - "com.amazonaws.appsync#BooleanValue": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.appsync#BooleanValue": { + "type": "boolean" + }, "com.amazonaws.appsync#CachingConfig": { "type": "structure", "members": { "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The TTL in seconds for a resolver that has caching activated.

\n

Valid values are 1–3,600 seconds.

", "smithy.api#required": {} } @@ -875,6 +881,7 @@ "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

TTL in seconds for cache entries.

\n

Valid values are 1–3,600 seconds.

", "smithy.api#required": {} } @@ -882,12 +889,14 @@ "transitEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Transit encryption flag when connecting to cache. You cannot update this setting after\n creation.

" } }, "atRestEncryptionEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

At-rest encryption flag for cache. You cannot update this setting after creation.

" } }, @@ -984,6 +993,7 @@ "expires": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

From the creation time, the time after which the API key expires. The date is\n represented as seconds since the epoch, rounded down to the nearest hour. The default value\n for this parameter is 7 days from creation time. For more information, see .

" } } @@ -1271,6 +1281,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum batching size for a resolver.

" } } @@ -1374,6 +1385,7 @@ "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for the\n GraphqlApi.

" } }, @@ -1498,6 +1510,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum batching size for a resolver.

" } } @@ -2178,6 +2191,7 @@ "baseTableTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of minutes that an Item is stored in the data source.

" } }, @@ -2190,6 +2204,7 @@ "deltaSyncTableTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of minutes that a Delta Sync log entry is stored in the Delta Sync\n table.

" } } @@ -2333,6 +2348,7 @@ "useCallerCredentials": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE to use Amazon Cognito credentials with this data source.

" } }, @@ -2345,6 +2361,7 @@ "versioned": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE to use Conflict Detection and Resolution with this data source.

" } } @@ -2599,6 +2616,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum batching size for a resolver.

" } } @@ -3330,6 +3348,7 @@ "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for this\n GraphqlApi.

" } }, @@ -3395,6 +3414,7 @@ "authorizerResultTtlInSeconds": { "target": "com.amazonaws.appsync#TTL", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds a response should be cached for. The default is 5 minutes (300\n seconds). The Lambda function can override this by returning a\n ttlOverride key in its response. A value of 0 disables caching of\n responses.

" } }, @@ -3510,6 +3530,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3585,6 +3606,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3649,6 +3671,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3724,6 +3747,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3788,6 +3812,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3902,6 +3927,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3954,6 +3980,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -4101,6 +4128,7 @@ "maxResults": { "target": "com.amazonaws.appsync#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that you want the request to return.

", "smithy.api#httpQuery": "maxResults" } @@ -4144,6 +4172,7 @@ "excludeVerboseContent": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE to exclude sections that contain information such as headers, context, and\n evaluated mapping templates, regardless of logging level.

" } } @@ -4153,7 +4182,10 @@ } }, "com.amazonaws.appsync#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.appsync#MapOfStringToString": { "type": "map", @@ -4177,6 +4209,7 @@ "com.amazonaws.appsync#MaxBatchSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 2000 @@ -4186,6 +4219,7 @@ "com.amazonaws.appsync#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 25 @@ -4224,12 +4258,14 @@ "iatTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of milliseconds that a token is valid after it's issued to a user.

" } }, "authTTL": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of milliseconds that a token is valid after being authenticated.

" } } @@ -4434,6 +4470,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum batching size for a resolver.

" } } @@ -4611,6 +4648,7 @@ "com.amazonaws.appsync#TTL": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 3600 @@ -4920,6 +4958,7 @@ "ttl": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

TTL in seconds for cache entries.

\n

Valid values are 1–3,600 seconds.

", "smithy.api#required": {} } @@ -5022,6 +5061,7 @@ "expires": { "target": "com.amazonaws.appsync#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

From the update time, the time after which the API key expires. The date is represented\n as seconds since the epoch. For more information, see .

" } } @@ -5318,6 +5358,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum batching size for a resolver.

" } } @@ -5422,6 +5463,7 @@ "xrayEnabled": { "target": "com.amazonaws.appsync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag indicating whether to use X-Ray tracing for the\n GraphqlApi.

" } }, @@ -5547,6 +5589,7 @@ "maxBatchSize": { "target": "com.amazonaws.appsync#MaxBatchSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum batching size for a resolver.

" } } diff --git a/codegen/sdk/aws-models/athena.json b/codegen/sdk/aws-models/athena.json index 1c13f999657..2421ee52ea3 100644 --- a/codegen/sdk/aws-models/athena.json +++ b/codegen/sdk/aws-models/athena.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -46,21 +46,6 @@ }, "com.amazonaws.athena#AmazonAthena": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Athena", - "arnNamespace": "athena", - "cloudFormationName": "Athena", - "cloudTrailEventSource": "athena.amazonaws.com", - "endpointPrefix": "athena" - }, - "aws.auth#sigv4": { - "name": "athena" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon Athena is an interactive query service that lets you use standard SQL\n to analyze data directly in Amazon S3. You can point Athena at your\n data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay\n only for the queries you run. Athena scales automatically—executing queries\n in parallel—so results are fast, even with large datasets and complex queries. For more\n information, see What is Amazon Athena in the Amazon Athena User\n Guide.

\n

If you connect to Athena using the JDBC driver, use version 1.1.0 of the\n driver or later with the Amazon Athena API. Earlier version drivers do not\n support the API. For more information and to download the driver, see Accessing\n Amazon Athena with JDBC.

\n

For code samples using the Amazon Web Services SDK for Java, see Examples and\n Code Samples in the Amazon Athena User\n Guide.

", - "smithy.api#title": "Amazon Athena" - }, "version": "2017-05-18", "operations": [ { @@ -174,7 +159,22 @@ { "target": "com.amazonaws.athena#UpdateWorkGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Athena", + "arnNamespace": "athena", + "cloudFormationName": "Athena", + "cloudTrailEventSource": "athena.amazonaws.com", + "endpointPrefix": "athena" + }, + "aws.auth#sigv4": { + "name": "athena" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon Athena is an interactive query service that lets you use standard SQL\n to analyze data directly in Amazon S3. You can point Athena at your\n data in Amazon S3 and run ad-hoc queries and get results in seconds. Athena is serverless, so there is no infrastructure to set up or manage. You pay\n only for the queries you run. Athena scales automatically—executing queries\n in parallel—so results are fast, even with large datasets and complex queries. For more\n information, see What is Amazon Athena in the Amazon Athena User\n Guide.

\n

If you connect to Athena using the JDBC driver, use version 1.1.0 of the\n driver or later with the Amazon Athena API. Earlier version drivers do not\n support the API. For more information and to download the driver, see Accessing\n Amazon Athena with JDBC.

\n

For code samples using the Amazon Web Services SDK for Java, see Examples and\n Code Samples in the Amazon Athena User\n Guide.

", + "smithy.api#title": "Amazon Athena" + } }, "com.amazonaws.athena#AmazonResourceName": { "type": "string", @@ -203,6 +203,7 @@ "Retryable": { "target": "com.amazonaws.athena#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the query might succeed if resubmitted.

" } }, @@ -388,18 +389,17 @@ } }, "com.amazonaws.athena#Boolean": { - "type": "boolean" - }, - "com.amazonaws.athena#BoxedBoolean": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.athena#BoxedBoolean": { + "type": "boolean" + }, "com.amazonaws.athena#BytesScannedCutoffValue": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10000000 } @@ -486,12 +486,14 @@ "Precision": { "target": "com.amazonaws.athena#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For DECIMAL data types, specifies the total number of digits, up to 38.\n For performance reasons, we recommend up to 18 digits.

" } }, "Scale": { "target": "com.amazonaws.athena#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For DECIMAL data types, specifies the total number of digits in the\n fractional part of the value. Defaults to 0.

" } }, @@ -504,6 +506,7 @@ "CaseSensitive": { "target": "com.amazonaws.athena#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether values in the column are case-sensitive.

" } } @@ -1186,7 +1189,6 @@ "com.amazonaws.athena#ErrorCategory": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3 @@ -1209,7 +1211,6 @@ "com.amazonaws.athena#ErrorType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 9999 @@ -1708,7 +1709,10 @@ } }, "com.amazonaws.athena#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.athena#InternalServerException": { "type": "structure", @@ -2345,15 +2349,11 @@ } }, "com.amazonaws.athena#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.athena#MaxDataCatalogsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 50 @@ -2363,7 +2363,6 @@ "com.amazonaws.athena#MaxDatabasesCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2373,7 +2372,6 @@ "com.amazonaws.athena#MaxEngineVersionsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2383,7 +2381,6 @@ "com.amazonaws.athena#MaxNamedQueriesCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 50 @@ -2393,7 +2390,6 @@ "com.amazonaws.athena#MaxPreparedStatementsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2403,7 +2399,6 @@ "com.amazonaws.athena#MaxQueryExecutionsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 50 @@ -2413,7 +2408,6 @@ "com.amazonaws.athena#MaxQueryResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2423,7 +2417,6 @@ "com.amazonaws.athena#MaxTableMetadataCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2433,7 +2426,6 @@ "com.amazonaws.athena#MaxTagsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 75 } @@ -2442,7 +2434,6 @@ "com.amazonaws.athena#MaxWorkGroupsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/auditmanager.json b/codegen/sdk/aws-models/auditmanager.json index 16b096d820f..21445e10adb 100644 --- a/codegen/sdk/aws-models/auditmanager.json +++ b/codegen/sdk/aws-models/auditmanager.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -291,12 +291,14 @@ "evidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of evidence that's generated for the control.

" } }, "assessmentReportEvidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of evidence in the assessment report.

" } } @@ -347,12 +349,14 @@ "systemEvidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of evidence objects that are retrieved automatically for the control\n set.

" } }, "manualEvidenceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of evidence objects that are uploaded manually to the control set.\n

" } } @@ -437,12 +441,14 @@ "totalEvidence": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of evidence in the evidence folder.

" } }, "assessmentReportSelectionCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total count of evidence that's included in the assessment report.

" } }, @@ -455,42 +461,49 @@ "evidenceResourcesIncludedCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of evidence that's included in the evidence folder.

" } }, "evidenceByTypeConfigurationDataCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of evidence that falls under the configuration data category. This evidence\n is collected from configuration snapshots of other Amazon Web Services such as\n Amazon EC2, Amazon S3, or IAM.

" } }, "evidenceByTypeManualCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of evidence that falls under the manual category. This evidence is imported\n manually.

" } }, "evidenceByTypeComplianceCheckCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of evidence that falls under the compliance check category. This evidence is\n collected from Config or Security Hub.

" } }, "evidenceByTypeComplianceCheckIssuesCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of issues that were reported directly from Security Hub,\n Config, or both.

" } }, "evidenceByTypeUserActivityCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of evidence that falls under the user activity category. This evidence is\n collected from CloudTrail logs.

" } }, "evidenceAwsServiceSourceCount": { "target": "com.amazonaws.auditmanager#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of Amazon Web Services resources that were assessed to generate the\n evidence.

" } } @@ -602,12 +615,14 @@ "controlsCount": { "target": "com.amazonaws.auditmanager#ControlsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of controls that are associated with the framework.

" } }, "controlSetsCount": { "target": "com.amazonaws.auditmanager#ControlSetsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of control sets that are associated with the framework.

" } }, @@ -1634,21 +1649,6 @@ }, "com.amazonaws.auditmanager#BedrockAssessmentManagerLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "AuditManager", - "arnNamespace": "auditmanager", - "cloudFormationName": "AuditManager", - "cloudTrailEventSource": "auditmanager.amazonaws.com", - "endpointPrefix": "auditmanager" - }, - "aws.auth#sigv4": { - "name": "auditmanager" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Welcome to the Audit Manager API reference. This guide is for developers who\n need detailed information about the Audit Manager API operations, data types, and\n errors.

\n

Audit Manager is a service that provides automated evidence collection so that\n you can continually audit your Amazon Web Services usage. You can use it to assess the\n effectiveness of your controls, manage risk, and simplify compliance.

\n

Audit Manager provides prebuilt frameworks that structure and automate\n assessments for a given compliance standard. Frameworks include a prebuilt collection of\n controls with descriptions and testing procedures. These controls are grouped according to\n the requirements of the specified compliance standard or regulation. You can also customize\n frameworks and controls to support internal audits with specific requirements.

\n

Use the following links to get started with the Audit Manager API:

\n \n

If you're new to Audit Manager, we recommend that you review the \n Audit Manager User Guide.

", - "smithy.api#title": "AWS Audit Manager" - }, "version": "2017-07-25", "operations": [ { @@ -1834,14 +1834,26 @@ { "target": "com.amazonaws.auditmanager#ValidateAssessmentReportIntegrity" } - ] - }, - "com.amazonaws.auditmanager#Boolean": { - "type": "boolean", + ], "traits": { - "smithy.api#box": {} + "aws.api#service": { + "sdkId": "AuditManager", + "arnNamespace": "auditmanager", + "cloudFormationName": "AuditManager", + "cloudTrailEventSource": "auditmanager.amazonaws.com", + "endpointPrefix": "auditmanager" + }, + "aws.auth#sigv4": { + "name": "auditmanager" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Welcome to the Audit Manager API reference. This guide is for developers who\n need detailed information about the Audit Manager API operations, data types, and\n errors.

\n

Audit Manager is a service that provides automated evidence collection so that\n you can continually audit your Amazon Web Services usage. You can use it to assess the\n effectiveness of your controls, manage risk, and simplify compliance.

\n

Audit Manager provides prebuilt frameworks that structure and automate\n assessments for a given compliance standard. Frameworks include a prebuilt collection of\n controls with descriptions and testing procedures. These controls are grouped according to\n the requirements of the specified compliance standard or regulation. You can also customize\n frameworks and controls to support internal audits with specific requirements.

\n

Use the following links to get started with the Audit Manager API:

\n \n

If you're new to Audit Manager, we recommend that you review the \n Audit Manager User Guide.

", + "smithy.api#title": "AWS Audit Manager" } }, + "com.amazonaws.auditmanager#Boolean": { + "type": "boolean" + }, "com.amazonaws.auditmanager#ChangeLog": { "type": "structure", "members": { @@ -2402,7 +2414,10 @@ } }, "com.amazonaws.auditmanager#ControlSetsCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.auditmanager#ControlSources": { "type": "string", @@ -2460,7 +2475,10 @@ } }, "com.amazonaws.auditmanager#ControlsCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.auditmanager#CreateAssessment": { "type": "operation", @@ -5152,7 +5170,10 @@ } }, "com.amazonaws.auditmanager#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.auditmanager#InternalServerException": { "type": "structure", @@ -6146,7 +6167,6 @@ "com.amazonaws.auditmanager#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Max results in the page.", "smithy.api#range": { "min": 1, @@ -6227,10 +6247,7 @@ } }, "com.amazonaws.auditmanager#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.auditmanager#ObjectTypeEnum": { "type": "string", diff --git a/codegen/sdk/aws-models/auto-scaling-plans.json b/codegen/sdk/aws-models/auto-scaling-plans.json index 7edfc630a53..bfc303c15d9 100644 --- a/codegen/sdk/aws-models/auto-scaling-plans.json +++ b/codegen/sdk/aws-models/auto-scaling-plans.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -108,10 +108,7 @@ } }, "com.amazonaws.autoscalingplans#Cooldown": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscalingplans#CreateScalingPlan": { "type": "operation", @@ -487,16 +484,10 @@ } }, "com.amazonaws.autoscalingplans#DisableDynamicScaling": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscalingplans#DisableScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscalingplans#ErrorMessage": { "type": "string" @@ -680,10 +671,7 @@ } }, "com.amazonaws.autoscalingplans#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscalingplans#MetricDimension": { "type": "structure", @@ -726,10 +714,7 @@ "type": "string" }, "com.amazonaws.autoscalingplans#MetricScale": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.autoscalingplans#MetricStatistic": { "type": "string", @@ -875,10 +860,7 @@ } }, "com.amazonaws.autoscalingplans#ResourceCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscalingplans#ResourceIdMaxLen1600": { "type": "string", @@ -1286,10 +1268,7 @@ } }, "com.amazonaws.autoscalingplans#ScalingPlanVersion": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.autoscalingplans#ScalingPlans": { "type": "list", @@ -1368,7 +1347,6 @@ "com.amazonaws.autoscalingplans#ScheduledActionBufferTime": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/auto-scaling.json b/codegen/sdk/aws-models/auto-scaling.json index 875159a9422..56c8b4c11b8 100644 --- a/codegen/sdk/aws-models/auto-scaling.json +++ b/codegen/sdk/aws-models/auto-scaling.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -264,6 +264,7 @@ "Progress": { "target": "com.amazonaws.autoscaling#Progress", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value between 0 and 100 that indicates the progress of the activity.

" } }, @@ -384,10 +385,7 @@ } }, "com.amazonaws.autoscaling#AssociatePublicIpAddress": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#AttachInstances": { "type": "operation", @@ -728,22 +726,13 @@ } }, "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupMaxSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupMinSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupNames": { "type": "list", @@ -781,10 +770,7 @@ } }, "com.amazonaws.autoscaling#AutoScalingGroupPredictedCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#AutoScalingGroupState": { "type": "string", @@ -924,24 +910,6 @@ }, "com.amazonaws.autoscaling#AutoScaling_2011_01_01": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Auto Scaling", - "arnNamespace": "autoscaling", - "cloudFormationName": "AutoScaling", - "cloudTrailEventSource": "autoscaling.amazonaws.com", - "endpointPrefix": "autoscaling" - }, - "aws.auth#sigv4": { - "name": "autoscaling" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon EC2 Auto Scaling\n\n \n \n \n \n \n \n \n \n \n \n\n \n

Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances\n based on user-defined scaling policies, scheduled actions, and health checks.

\n

For more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.

", - "smithy.api#title": "Auto Scaling", - "smithy.api#xmlNamespace": { - "uri": "http://autoscaling.amazonaws.com/doc/2011-01-01/" - } - }, "version": "2011-01-01", "operations": [ { @@ -1127,7 +1095,25 @@ { "target": "com.amazonaws.autoscaling#UpdateAutoScalingGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Auto Scaling", + "arnNamespace": "autoscaling", + "cloudFormationName": "AutoScaling", + "cloudTrailEventSource": "autoscaling.amazonaws.com", + "endpointPrefix": "autoscaling" + }, + "aws.auth#sigv4": { + "name": "autoscaling" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon EC2 Auto Scaling\n\n \n \n \n \n \n \n \n \n \n \n\n \n

Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances\n based on user-defined scaling policies, scheduled actions, and health checks.

\n

For more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.

", + "smithy.api#title": "Auto Scaling", + "smithy.api#xmlNamespace": { + "uri": "http://autoscaling.amazonaws.com/doc/2011-01-01/" + } + } }, "com.amazonaws.autoscaling#AvailabilityZones": { "type": "list", @@ -1275,21 +1261,14 @@ } }, "com.amazonaws.autoscaling#BlockDeviceEbsDeleteOnTermination": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#BlockDeviceEbsIops": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100, "max": 20000 @@ -1299,7 +1278,6 @@ "com.amazonaws.autoscaling#BlockDeviceEbsThroughput": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 125, "max": 1000 @@ -1309,7 +1287,6 @@ "com.amazonaws.autoscaling#BlockDeviceEbsVolumeSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 16384 @@ -1452,15 +1429,11 @@ } }, "com.amazonaws.autoscaling#CapacityRebalanceEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#CheckpointDelay": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 172800 @@ -1542,10 +1515,7 @@ "type": "string" }, "com.amazonaws.autoscaling#Cooldown": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#CpuManufacturer": { "type": "string", @@ -1985,10 +1955,7 @@ } }, "com.amazonaws.autoscaling#DefaultInstanceWarmup": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#DeleteAutoScalingGroup": { "type": "operation", @@ -3464,10 +3431,7 @@ } }, "com.amazonaws.autoscaling#DisableScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#Ebs": { "type": "structure", @@ -3520,10 +3484,7 @@ } }, "com.amazonaws.autoscaling#EbsOptimized": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#EnableMetricsCollection": { "type": "operation", @@ -3647,10 +3608,7 @@ } }, "com.amazonaws.autoscaling#EstimatedInstanceWarmup": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#ExcludedInstance": { "type": "string", @@ -3836,10 +3794,7 @@ } }, "com.amazonaws.autoscaling#ForceDelete": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#GetPredictiveScalingForecast": { "type": "operation", @@ -3918,34 +3873,19 @@ } }, "com.amazonaws.autoscaling#GlobalTimeout": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#HealthCheckGracePeriod": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#HeartbeatTimeout": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#HonorCooldown": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#IncludeDeletedGroups": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#Instance": { "type": "structure", @@ -4059,7 +3999,6 @@ "com.amazonaws.autoscaling#InstanceMetadataHttpPutResponseHopLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -4122,10 +4061,7 @@ } }, "com.amazonaws.autoscaling#InstanceProtected": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#InstanceRefresh": { "type": "structure", @@ -4521,7 +4457,6 @@ "com.amazonaws.autoscaling#InstancesToUpdate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4530,7 +4465,6 @@ "com.amazonaws.autoscaling#IntPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -5250,35 +5184,22 @@ "com.amazonaws.autoscaling#MaxGroupPreparedCapacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1 } } }, "com.amazonaws.autoscaling#MaxInstanceLifetime": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MaxNumberOfAutoScalingGroups": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MaxNumberOfLaunchConfigurations": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MaxRecords": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MemoryGiBPerVCpuRequest": { "type": "structure", @@ -5475,10 +5396,7 @@ "type": "string" }, "com.amazonaws.autoscaling#MetricScale": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.autoscaling#MetricStat": { "type": "structure", @@ -5568,15 +5486,11 @@ } }, "com.amazonaws.autoscaling#MinAdjustmentMagnitude": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#MinAdjustmentStep": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#deprecated": {} } }, @@ -5610,10 +5524,7 @@ } }, "com.amazonaws.autoscaling#MonitoringEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#NetworkInterfaceCountRequest": { "type": "structure", @@ -5636,15 +5547,11 @@ } }, "com.amazonaws.autoscaling#NoDevice": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#NonZeroIntPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5694,15 +5601,11 @@ } }, "com.amazonaws.autoscaling#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#NullablePositiveDouble": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5711,35 +5614,22 @@ "com.amazonaws.autoscaling#NullablePositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.autoscaling#NumberOfAutoScalingGroups": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#NumberOfLaunchConfigurations": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#OnDemandBaseCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#OnDemandPercentageAboveBaseCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#Overrides": { "type": "list", @@ -5785,10 +5675,7 @@ } }, "com.amazonaws.autoscaling#PolicyIncrement": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#PolicyNames": { "type": "list", @@ -6006,7 +5893,6 @@ "com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBuffer": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -6151,7 +6037,6 @@ "com.amazonaws.autoscaling#PredictiveScalingSchedulingBufferTime": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6196,19 +6081,16 @@ } }, "com.amazonaws.autoscaling#Progress": { - "type": "integer" - }, - "com.amazonaws.autoscaling#PropagateAtLaunch": { - "type": "boolean", + "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.autoscaling#PropagateAtLaunch": { + "type": "boolean" + }, "com.amazonaws.autoscaling#ProtectedFromScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#PutLifecycleHook": { "type": "operation", @@ -6657,7 +6539,6 @@ "com.amazonaws.autoscaling#RefreshInstanceWarmup": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6783,16 +6664,10 @@ } }, "com.amazonaws.autoscaling#ReturnData": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ReuseOnScaleIn": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ScalingActivityInProgressFault": { "type": "structure", @@ -6980,10 +6855,7 @@ } }, "com.amazonaws.autoscaling#ScalingPolicyEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ScalingProcessQuery": { "type": "structure", @@ -7330,28 +7202,16 @@ } }, "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#ShouldRespectGracePeriod": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#SkipMatching": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.autoscaling#SpotInstancePools": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#SpotPrice": { "type": "string", @@ -7961,17 +7821,13 @@ "com.amazonaws.autoscaling#WarmPoolMinSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.autoscaling#WarmPoolSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.autoscaling#WarmPoolState": { "type": "string", diff --git a/codegen/sdk/aws-models/backup-gateway.json b/codegen/sdk/aws-models/backup-gateway.json index d843aa3f665..a6c2cf4c6f1 100644 --- a/codegen/sdk/aws-models/backup-gateway.json +++ b/codegen/sdk/aws-models/backup-gateway.json @@ -1880,4 +1880,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/backup.json b/codegen/sdk/aws-models/backup.json index 884ed9c8b1f..eecb589da0f 100644 --- a/codegen/sdk/aws-models/backup.json +++ b/codegen/sdk/aws-models/backup.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -833,6 +833,7 @@ "NumberOfRecoveryPoints": { "target": "com.amazonaws.backup#Long2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of recovery points that are stored in a backup vault.

" } }, @@ -872,14 +873,14 @@ } }, "com.amazonaws.backup#Boolean": { + "type": "boolean" + }, + "com.amazonaws.backup#Boolean2": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.backup#Boolean2": { - "type": "boolean" - }, "com.amazonaws.backup#CalculatedLifecycle": { "type": "structure", "members": { @@ -1716,21 +1717,6 @@ }, "com.amazonaws.backup#CryoControllerUserManager": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Backup", - "arnNamespace": "backup", - "cloudFormationName": "Backup", - "cloudTrailEventSource": "backup.amazonaws.com", - "endpointPrefix": "backup" - }, - "aws.auth#sigv4": { - "name": "backup" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Backup\n

Backup is a unified backup service designed to protect Amazon Web Services\n services and their associated data. Backup simplifies the creation, migration,\n restoration, and deletion of backups, while also providing reporting and\n auditing.

", - "smithy.api#title": "AWS Backup" - }, "version": "2018-11-15", "operations": [ { @@ -1931,7 +1917,22 @@ { "target": "com.amazonaws.backup#UpdateReportPlan" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Backup", + "arnNamespace": "backup", + "cloudFormationName": "Backup", + "cloudTrailEventSource": "backup.amazonaws.com", + "endpointPrefix": "backup" + }, + "aws.auth#sigv4": { + "name": "backup" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Backup\n

Backup is a unified backup service designed to protect Amazon Web Services\n services and their associated data. Backup simplifies the creation, migration,\n restoration, and deletion of backups, while also providing reporting and\n auditing.

", + "smithy.api#title": "AWS Backup" + } }, "com.amazonaws.backup#DeleteBackupPlan": { "type": "operation", @@ -2681,6 +2682,7 @@ "NumberOfRecoveryPoints": { "target": "com.amazonaws.backup#Long2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of recovery points that are stored in a backup vault.

" } }, @@ -3132,6 +3134,7 @@ "IsEncrypted": { "target": "com.amazonaws.backup#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that is returned as TRUE if the specified recovery point is\n encrypted, or FALSE if the recovery point is not encrypted.

" } }, @@ -3573,6 +3576,7 @@ "NumberOfControls": { "target": "com.amazonaws.backup#integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of controls contained by the framework.

" } }, @@ -4317,7 +4321,10 @@ } }, "com.amazonaws.backup#IsEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.backup#Lifecycle": { "type": "structure", @@ -5716,18 +5723,17 @@ } }, "com.amazonaws.backup#Long": { + "type": "long" + }, + "com.amazonaws.backup#Long2": { "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, - "com.amazonaws.backup#Long2": { - "type": "long" - }, "com.amazonaws.backup#MaxFrameworkInputs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -5737,7 +5743,6 @@ "com.amazonaws.backup#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -6105,6 +6110,7 @@ "IsEncrypted": { "target": "com.amazonaws.backup#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that is returned as TRUE if the specified recovery point is\n encrypted, or FALSE if the recovery point is not encrypted.

" } }, @@ -6455,6 +6461,7 @@ "NumberOfFrameworks": { "target": "com.amazonaws.backup#integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of frameworks a report covers.

" } } @@ -7702,13 +7709,13 @@ } }, "com.amazonaws.backup#WindowMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.backup#integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.backup#string": { "type": "string" diff --git a/codegen/sdk/aws-models/backupstorage.json b/codegen/sdk/aws-models/backupstorage.json index d6396719347..9d6ca5c8058 100644 --- a/codegen/sdk/aws-models/backupstorage.json +++ b/codegen/sdk/aws-models/backupstorage.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -99,6 +99,7 @@ "Index": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Chunk index", "smithy.api#required": {} } @@ -106,6 +107,7 @@ "Length": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Chunk length", "smithy.api#required": {} } @@ -144,21 +146,6 @@ }, "com.amazonaws.backupstorage#CryoStorageFrontendService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "BackupStorage", - "arnNamespace": "backup-storage", - "cloudFormationName": "BackupStorage", - "cloudTrailEventSource": "backupstorage.amazonaws.com", - "endpointPrefix": "backupstorage" - }, - "aws.auth#sigv4": { - "name": "backup-storage" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "The frontend service for Cryo Storage.", - "smithy.api#title": "AWS Backup Storage" - }, "version": "2018-04-10", "operations": [ { @@ -188,7 +175,22 @@ { "target": "com.amazonaws.backupstorage#StartObject" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "BackupStorage", + "arnNamespace": "backup-storage", + "cloudFormationName": "BackupStorage", + "cloudTrailEventSource": "backupstorage.amazonaws.com", + "endpointPrefix": "backupstorage" + }, + "aws.auth#sigv4": { + "name": "backup-storage" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "The frontend service for Cryo Storage.", + "smithy.api#title": "AWS Backup Storage" + } }, "com.amazonaws.backupstorage#DataAlreadyExistsException": { "type": "structure", @@ -362,6 +364,7 @@ "Length": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Data length", "smithy.api#httpHeader": "x-amz-data-length", "smithy.api#required": {} @@ -462,6 +465,7 @@ "MetadataBlob": { "target": "com.amazonaws.backupstorage#PayloadBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Metadata blob.", "smithy.api#httpPayload": {} } @@ -469,6 +473,7 @@ "MetadataBlobLength": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of MetadataBlob.", "smithy.api#httpHeader": "x-amz-data-length" } @@ -579,6 +584,7 @@ "MaxResults": { "target": "com.amazonaws.backupstorage#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of chunks", "smithy.api#httpQuery": "max-results" } @@ -686,6 +692,7 @@ "MaxResults": { "target": "com.amazonaws.backupstorage#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum objects count", "smithy.api#httpQuery": "max-results" } @@ -734,6 +741,7 @@ "com.amazonaws.backupstorage#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -851,6 +859,7 @@ "MetadataBlob": { "target": "com.amazonaws.backupstorage#PayloadBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Optional metadata associated with an Object. Maximum length is 4MB.", "smithy.api#httpPayload": {} } @@ -858,6 +867,7 @@ "MetadataBlobLength": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The size of MetadataBlob.", "smithy.api#httpQuery": "metadata-blob-length" } @@ -904,10 +914,7 @@ } }, "com.amazonaws.backupstorage#OptionalLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.backupstorage#PayloadBlob": { "type": "blob", @@ -984,6 +991,7 @@ "ChunkIndex": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Describes this chunk's position relative to the other chunks", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -1000,6 +1008,7 @@ "Length": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Data length", "smithy.api#httpQuery": "length", "smithy.api#required": {} @@ -1118,6 +1127,7 @@ "InlineChunk": { "target": "com.amazonaws.backupstorage#PayloadBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "Inline chunk data to be uploaded.", "smithy.api#httpPayload": {} } @@ -1125,6 +1135,7 @@ "InlineChunkLength": { "target": "com.amazonaws.backupstorage#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Length of the inline chunk data.", "smithy.api#httpQuery": "length" } @@ -1160,6 +1171,7 @@ "ThrowOnDuplicate": { "target": "com.amazonaws.backupstorage#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Throw an exception if Object name is already exist.", "smithy.api#httpQuery": "throwOnDuplicate" } @@ -1319,6 +1331,7 @@ "ThrowOnDuplicate": { "target": "com.amazonaws.backupstorage#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Throw an exception if Object name is already exist." } } @@ -1361,10 +1374,16 @@ } }, "com.amazonaws.backupstorage#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.backupstorage#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.backupstorage#string": { "type": "string" diff --git a/codegen/sdk/aws-models/batch.json b/codegen/sdk/aws-models/batch.json index 716964b4756..68ca12f2d08 100644 --- a/codegen/sdk/aws-models/batch.json +++ b/codegen/sdk/aws-models/batch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.batch#AWSBatchV20160810": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Batch", - "arnNamespace": "batch", - "cloudFormationName": "Batch", - "cloudTrailEventSource": "batch.amazonaws.com", - "endpointPrefix": "batch" - }, - "aws.auth#sigv4": { - "name": "batch" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Batch\n

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

\n

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

", - "smithy.api#title": "AWS Batch", - "smithy.api#xmlNamespace": { - "uri": "http://batch.amazonaws.com/doc/2016-08-10/" - } - }, "version": "2016-08-10", "operations": [ { @@ -123,7 +105,25 @@ { "target": "com.amazonaws.batch#UpdateSchedulingPolicy" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Batch", + "arnNamespace": "batch", + "cloudFormationName": "Batch", + "cloudTrailEventSource": "batch.amazonaws.com", + "endpointPrefix": "batch" + }, + "aws.auth#sigv4": { + "name": "batch" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Batch\n

Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

\n

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

", + "smithy.api#title": "AWS Batch", + "smithy.api#xmlNamespace": { + "uri": "http://batch.amazonaws.com/doc/2016-08-10/" + } + } }, "com.amazonaws.batch#ArrayJobDependency": { "type": "string", @@ -307,10 +307,7 @@ } }, "com.amazonaws.batch#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.batch#CEState": { "type": "string", @@ -2229,10 +2226,7 @@ } }, "com.amazonaws.batch#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.batch#Host": { "type": "structure", @@ -2267,10 +2261,7 @@ } }, "com.amazonaws.batch#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.batch#JQState": { "type": "string", @@ -2628,6 +2619,7 @@ "com.amazonaws.batch#JobExecutionTimeoutMinutes": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 360 @@ -3251,10 +3243,7 @@ } }, "com.amazonaws.batch#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.batch#MountPoint": { "type": "structure", @@ -4464,6 +4453,7 @@ "jobExecutionTimeoutMinutes": { "target": "com.amazonaws.batch#JobExecutionTimeoutMinutes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the job timeout, in minutes, when the compute environment infrastructure is updated. The default value\n is 30.

" } } diff --git a/codegen/sdk/aws-models/billingconductor.json b/codegen/sdk/aws-models/billingconductor.json index 1dc76414fb2..c32faf3532b 100644 --- a/codegen/sdk/aws-models/billingconductor.json +++ b/codegen/sdk/aws-models/billingconductor.json @@ -1,8 +1,40 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.billingconductor#AWSBillingConductor": { "type": "service", + "version": "2021-07-30", + "operations": [ + { + "target": "com.amazonaws.billingconductor#ListAccountAssociations" + }, + { + "target": "com.amazonaws.billingconductor#ListBillingGroupCostReports" + }, + { + "target": "com.amazonaws.billingconductor#ListTagsForResource" + }, + { + "target": "com.amazonaws.billingconductor#TagResource" + }, + { + "target": "com.amazonaws.billingconductor#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.billingconductor#BillingGroup" + }, + { + "target": "com.amazonaws.billingconductor#CustomLineItem" + }, + { + "target": "com.amazonaws.billingconductor#PricingPlan" + }, + { + "target": "com.amazonaws.billingconductor#PricingRule" + } + ], "traits": { "aws.api#service": { "sdkId": "billingconductor", @@ -36,39 +68,7 @@ }, "smithy.api#documentation": "

Amazon Web Services Billing Conductor is a fully managed service that you can use\n to customize a pro forma version of your billing data each month, to accurately show or chargeback\n your end customers. Amazon Web Services Billing Conductor doesn't change the way\n you're billed by Amazon Web Services each month by design. Instead, it provides you with a\n mechanism to configure, generate, and display rates to certain customers over a given billing\n period. You can also analyze the difference between the rates you apply to your accounting\n groupings relative to your actual rates from Amazon Web Services. As a result of your Amazon Web Services Billing Conductor configuration, the payer account can also see the\n custom rate applied on the billing details page of the Amazon Web Services Billing console, or configure a cost and usage report per\n billing group.

\n

This documentation shows how you can configure Amazon Web Services Billing Conductor using its\n API. For more information about using the Amazon Web Services\n Billing Conductor user interface, see the Amazon Web Services Enterprise\n Billing Console User Guide.

", "smithy.api#title": "AWSBillingConductor" - }, - "version": "2021-07-30", - "operations": [ - { - "target": "com.amazonaws.billingconductor#ListAccountAssociations" - }, - { - "target": "com.amazonaws.billingconductor#ListBillingGroupCostReports" - }, - { - "target": "com.amazonaws.billingconductor#ListTagsForResource" - }, - { - "target": "com.amazonaws.billingconductor#TagResource" - }, - { - "target": "com.amazonaws.billingconductor#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.billingconductor#BillingGroup" - }, - { - "target": "com.amazonaws.billingconductor#CustomLineItem" - }, - { - "target": "com.amazonaws.billingconductor#PricingPlan" - }, - { - "target": "com.amazonaws.billingconductor#PricingRule" - } - ] + } }, "com.amazonaws.billingconductor#AWSCost": { "type": "string" @@ -717,18 +717,21 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAccounts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of accounts in the particular billing group.\n

" } }, "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The time the billing group was created.\n

" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the billing group was modified.\n

" } }, @@ -1434,7 +1437,6 @@ "com.amazonaws.billingconductor#CustomLineItemChargeValue": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -1520,18 +1522,21 @@ "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The time created.\n

" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the custom line item was modified.\n

" } }, "AssociationSize": { "target": "com.amazonaws.billingconductor#NumberOfAssociations", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of resources that are associated to the custom line item.\n

" } } @@ -1587,7 +1592,6 @@ "com.amazonaws.billingconductor#CustomLineItemPercentageChargeValue": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 10000 @@ -2028,7 +2032,10 @@ } }, "com.amazonaws.billingconductor#Instant": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.billingconductor#InternalServerException": { "type": "structure", @@ -2042,6 +2049,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.billingconductor#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of seconds you can retry after the call.\n

", "smithy.api#httpHeader": "Retry-After" } @@ -3178,7 +3186,6 @@ "com.amazonaws.billingconductor#MaxBillingGroupResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3188,7 +3195,6 @@ "com.amazonaws.billingconductor#MaxCustomLineItemResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3198,7 +3204,6 @@ "com.amazonaws.billingconductor#MaxPricingPlanResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3208,7 +3213,6 @@ "com.amazonaws.billingconductor#MaxPricingRuleResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3218,7 +3222,6 @@ "com.amazonaws.billingconductor#ModifierPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -3227,6 +3230,7 @@ "com.amazonaws.billingconductor#NumberOfAccounts": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3235,6 +3239,7 @@ "com.amazonaws.billingconductor#NumberOfAssociatedPricingRules": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -3243,6 +3248,7 @@ "com.amazonaws.billingconductor#NumberOfAssociations": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3251,6 +3257,7 @@ "com.amazonaws.billingconductor#NumberOfPricingPlansAssociatedWith": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3361,18 +3368,21 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAssociatedPricingRules", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The pricing rules count currently associated with this pricing plan list element.\n

" } }, "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The time the pricing plan was created.\n

" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the pricing plan was modified.\n

" } } @@ -3531,18 +3541,21 @@ "AssociatedPricingPlanCount": { "target": "com.amazonaws.billingconductor#NumberOfPricingPlansAssociatedWith", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The pricing plans count that this pricing rule is associated with.\n

" } }, "CreationTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The time the pricing rule was created.\n

" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the pricing rule was modified.\n

" } } @@ -3626,7 +3639,10 @@ } }, "com.amazonaws.billingconductor#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.billingconductor#Service": { "type": "string", @@ -3831,6 +3847,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.billingconductor#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of seconds you can safely retry after the call.\n

", "smithy.api#httpHeader": "Retry-After" } @@ -4047,12 +4064,14 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAccounts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of accounts in the particular billing group.\n

" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the billing group was modified.\n

" } }, @@ -4209,12 +4228,14 @@ "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the custom line item was modified.\n

" } }, "AssociationSize": { "target": "com.amazonaws.billingconductor#NumberOfAssociations", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of resources that are associated to the custom line item.\n

" } } @@ -4321,12 +4342,14 @@ "Size": { "target": "com.amazonaws.billingconductor#NumberOfAssociatedPricingRules", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The pricing rules count currently associated with this pricing plan list.\n

" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the pricing plan was modified.\n

" } } @@ -4454,12 +4477,14 @@ "AssociatedPricingPlanCount": { "target": "com.amazonaws.billingconductor#NumberOfPricingPlansAssociatedWith", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The pricing plans count that this pricing rule is associated with.\n

" } }, "LastModifiedTime": { "target": "com.amazonaws.billingconductor#Instant", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The most recent time the pricing rule was modified.\n

" } } @@ -4705,4 +4730,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/braket.json b/codegen/sdk/aws-models/braket.json index ade9884b412..18e998216ff 100644 --- a/codegen/sdk/aws-models/braket.json +++ b/codegen/sdk/aws-models/braket.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.braket#AccessDeniedException": { "type": "structure", @@ -36,6 +36,29 @@ }, "com.amazonaws.braket#Braket": { "type": "service", + "version": "2019-09-01", + "operations": [ + { + "target": "com.amazonaws.braket#ListTagsForResource" + }, + { + "target": "com.amazonaws.braket#TagResource" + }, + { + "target": "com.amazonaws.braket#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.braket#DeviceResource" + }, + { + "target": "com.amazonaws.braket#JobResource" + }, + { + "target": "com.amazonaws.braket#QuantumTaskResource" + } + ], "traits": { "aws.api#service": { "sdkId": "Braket", @@ -66,30 +89,7 @@ }, "smithy.api#documentation": "

The Amazon Braket API Reference provides information about the operations and structures\n supported in Amazon Braket.

\n

Additional Resources:

\n ", "smithy.api#title": "Braket" - }, - "version": "2019-09-01", - "operations": [ - { - "target": "com.amazonaws.braket#ListTagsForResource" - }, - { - "target": "com.amazonaws.braket#TagResource" - }, - { - "target": "com.amazonaws.braket#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.braket#DeviceResource" - }, - { - "target": "com.amazonaws.braket#JobResource" - }, - { - "target": "com.amazonaws.braket#QuantumTaskResource" - } - ] + } }, "com.amazonaws.braket#CancelJob": { "type": "operation", @@ -2664,4 +2664,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/budgets.json b/codegen/sdk/aws-models/budgets.json index a8cd739853d..390bb603889 100644 --- a/codegen/sdk/aws-models/budgets.json +++ b/codegen/sdk/aws-models/budgets.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.budgets#AWSBudgetServiceGateway": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Budgets", - "arnNamespace": "budgets", - "cloudFormationName": "Budgets", - "cloudTrailEventSource": "budgets.amazonaws.com", - "endpointPrefix": "budgets" - }, - "aws.auth#sigv4": { - "name": "budgets" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature.

\n\t\t

Budgets provide you with a way to see the following information:

\n\t\t \n\t\t

Amazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:

\n\t\t \n\t\t

Service Endpoint

\n\t

The Amazon Web Services Budgets API provides the following endpoint:

\n\t\t \n\t

For information about costs that are associated with the Amazon Web Services Budgets API, see Amazon Web Services Cost Management Pricing.

", - "smithy.api#title": "AWS Budgets" - }, "version": "2016-10-20", "operations": [ { @@ -117,7 +102,22 @@ { "target": "com.amazonaws.budgets#UpdateSubscriber" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Budgets", + "arnNamespace": "budgets", + "cloudFormationName": "Budgets", + "cloudTrailEventSource": "budgets.amazonaws.com", + "endpointPrefix": "budgets" + }, + "aws.auth#sigv4": { + "name": "budgets" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Use the Amazon Web Services Budgets API to plan your service usage, service costs, and instance reservations. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for the Amazon Web Services Budgets feature.

\n\t\t

Budgets provide you with a way to see the following information:

\n\t\t \n\t\t

Amazon Web Services updates your budget status several times a day. Budgets track your unblended costs, subscriptions, refunds, and RIs. You can create the following types of budgets:

\n\t\t \n\t\t

Service Endpoint

\n\t

The Amazon Web Services Budgets API provides the following endpoint:

\n\t\t \n\t

For information about costs that are associated with the Amazon Web Services Budgets API, see Amazon Web Services Cost Management Pricing.

", + "smithy.api#title": "AWS Budgets" + } }, "com.amazonaws.budgets#AccessDeniedException": { "type": "structure", @@ -364,6 +364,7 @@ "ActionThresholdValue": { "target": "com.amazonaws.budgets#NotificationThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, @@ -412,7 +413,6 @@ "com.amazonaws.budgets#AdjustmentPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 60 @@ -2639,7 +2639,6 @@ "com.amazonaws.budgets#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

An integer that represents how many entries a paginated response contains. The maximum is 100.

", "smithy.api#range": { "min": 1, @@ -2650,7 +2649,6 @@ "com.amazonaws.budgets#MaxResultsBudgetNotifications": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2690,6 +2688,7 @@ "Threshold": { "target": "com.amazonaws.budgets#NotificationThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The threshold that's associated with a notification. Thresholds are always a percentage, and\n\t\t\tmany customers find value being alerted between 50% - 200% of the budgeted amount. The\n\t\t\tmaximum limit for your threshold is 1,000,000% above the budgeted amount.

", "smithy.api#required": {} } @@ -2729,6 +2728,7 @@ "com.amazonaws.budgets#NotificationThreshold": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The threshold of a notification.

", "smithy.api#range": { "min": 0, @@ -2797,10 +2797,7 @@ } }, "com.amazonaws.budgets#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.budgets#NumericValue": { "type": "string", diff --git a/codegen/sdk/aws-models/chime-sdk-identity.json b/codegen/sdk/aws-models/chime-sdk-identity.json index be921a78b93..66b03ee2792 100644 --- a/codegen/sdk/aws-models/chime-sdk-identity.json +++ b/codegen/sdk/aws-models/chime-sdk-identity.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -423,21 +423,6 @@ }, "com.amazonaws.chimesdkidentity#ChimeIdentityService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Identity", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKIdentity", - "cloudTrailEventSource": "chimesdkidentity.amazonaws.com", - "endpointPrefix": "identity-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to Amazon Chime SDK identity.

", - "smithy.api#title": "Amazon Chime SDK Identity" - }, "version": "2021-04-20", "operations": [ { @@ -512,7 +497,22 @@ { "target": "com.amazonaws.chimesdkidentity#UpdateAppInstanceUserEndpoint" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Identity", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKIdentity", + "cloudTrailEventSource": "chimesdkidentity.amazonaws.com", + "endpointPrefix": "identity-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to Amazon Chime SDK identity.

", + "smithy.api#title": "Amazon Chime SDK Identity" + } }, "com.amazonaws.chimesdkidentity#ClientRequestToken": { "type": "string", @@ -812,6 +812,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeleteAppInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -849,6 +852,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeleteAppInstanceAdminRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -923,6 +929,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeleteAppInstanceUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -976,6 +985,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#DeregisterAppInstanceUserEndpointRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -1943,7 +1955,6 @@ "com.amazonaws.chimesdkidentity#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2212,7 +2223,6 @@ "com.amazonaws.chimesdkidentity#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5475 @@ -2348,6 +2358,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" @@ -2449,6 +2462,9 @@ "input": { "target": "com.amazonaws.chimesdkidentity#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chimesdkidentity#BadRequestException" diff --git a/codegen/sdk/aws-models/chime-sdk-media-pipelines.json b/codegen/sdk/aws-models/chime-sdk-media-pipelines.json index 218f3580d15..1ca0fd5cea8 100644 --- a/codegen/sdk/aws-models/chime-sdk-media-pipelines.json +++ b/codegen/sdk/aws-models/chime-sdk-media-pipelines.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -288,21 +288,6 @@ }, "com.amazonaws.chimesdkmediapipelines#ChimeSDKMediaPipelinesService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Media Pipelines", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKMediaPipelines", - "cloudTrailEventSource": "chimesdkmediapipelines.amazonaws.com", - "endpointPrefix": "media-pipelines-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The Amazon Chime SDK media pipeline APIs in this section allow software developers to\n create Amazon Chime SDK media pipelines that capture, concatenate, or stream your Amazon Chime SDK meetings. For more information about media pipleines, see Amazon Chime SDK media pipelines.

", - "smithy.api#title": "Amazon Chime SDK Media Pipelines" - }, "version": "2021-07-15", "operations": [ { @@ -341,7 +326,22 @@ { "target": "com.amazonaws.chimesdkmediapipelines#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Media Pipelines", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKMediaPipelines", + "cloudTrailEventSource": "chimesdkmediapipelines.amazonaws.com", + "endpointPrefix": "media-pipelines-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The Amazon Chime SDK media pipeline APIs in this section allow software developers to\n create Amazon Chime SDK media pipelines that capture, concatenate, or stream your Amazon Chime SDK meetings. For more information about media pipleines, see Amazon Chime SDK media pipelines.

", + "smithy.api#title": "Amazon Chime SDK Media Pipelines" + } }, "com.amazonaws.chimesdkmediapipelines#ChimeSdkMeetingConcatenationConfiguration": { "type": "structure", @@ -2054,7 +2054,6 @@ "com.amazonaws.chimesdkmediapipelines#ResultMax": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/chime-sdk-meetings.json b/codegen/sdk/aws-models/chime-sdk-meetings.json index aa03ffc6198..688c6e87d37 100644 --- a/codegen/sdk/aws-models/chime-sdk-meetings.json +++ b/codegen/sdk/aws-models/chime-sdk-meetings.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -334,25 +334,13 @@ } }, "com.amazonaws.chimesdkmeetings#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.chimesdkmeetings#ChimeMeetingsSDKService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Meetings", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKMeetings", - "cloudTrailEventSource": "chimesdkmeetings.amazonaws.com", - "endpointPrefix": "meetings-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and \n receive meeting notifications. For more information about the meeting APIs, see Amazon Chime SDK meetings.

", - "smithy.api#title": "Amazon Chime SDK Meetings" - }, "version": "2021-07-15", "operations": [ { @@ -403,7 +391,22 @@ { "target": "com.amazonaws.chimesdkmeetings#UpdateAttendeeCapabilities" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Meetings", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKMeetings", + "cloudTrailEventSource": "chimesdkmeetings.amazonaws.com", + "endpointPrefix": "meetings-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The Amazon Chime SDK meetings APIs in this section allow software developers to create Amazon Chime SDK meetings, set the AWS Regions for meetings, create and manage users, and send and \n receive meeting notifications. For more information about the meeting APIs, see Amazon Chime SDK meetings.

", + "smithy.api#title": "Amazon Chime SDK Meetings" + } }, "com.amazonaws.chimesdkmeetings#ClientRequestToken": { "type": "string", @@ -1036,6 +1039,7 @@ "EnablePartialResultsStabilization": { "target": "com.amazonaws.chimesdkmeetings#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Generates partial transcription results that are less likely to change as meeting attendees speak. It does so by only allowing the last few words from the partial results to change.

" } }, @@ -1072,6 +1076,7 @@ "IdentifyLanguage": { "target": "com.amazonaws.chimesdkmeetings#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Automatically identifies the language spoken in media files.

" } }, @@ -1710,7 +1715,6 @@ "com.amazonaws.chimesdkmeetings#ResultMax": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/chime-sdk-messaging.json b/codegen/sdk/aws-models/chime-sdk-messaging.json index c299faa4b0a..d96f72c49bd 100644 --- a/codegen/sdk/aws-models/chime-sdk-messaging.json +++ b/codegen/sdk/aws-models/chime-sdk-messaging.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -610,6 +610,7 @@ "DeleteResource": { "target": "com.amazonaws.chimesdkmessaging#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When a processor determines that a message needs to be DENIED, pass this parameter with a value of true.

" } }, @@ -642,7 +643,6 @@ "com.amazonaws.chimesdkmessaging#ChannelFlowExecutionOrder": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3 @@ -889,6 +889,7 @@ "Redacted": { "target": "com.amazonaws.chimesdkmessaging#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Hides the content of a message.

" } }, @@ -1078,6 +1079,7 @@ "Redacted": { "target": "com.amazonaws.chimesdkmessaging#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a message was redacted.

" } }, @@ -1295,21 +1297,6 @@ }, "com.amazonaws.chimesdkmessaging#ChimeMessagingService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime SDK Messaging", - "arnNamespace": "chime", - "cloudFormationName": "ChimeSDKMessaging", - "cloudTrailEventSource": "chimesdkmessaging.amazonaws.com", - "endpointPrefix": "messaging-chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see Amazon Chime SDK messaging.

", - "smithy.api#title": "Amazon Chime SDK Messaging" - }, "version": "2021-05-15", "operations": [ { @@ -1453,7 +1440,22 @@ { "target": "com.amazonaws.chimesdkmessaging#UpdateChannelReadMarker" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime SDK Messaging", + "arnNamespace": "chime", + "cloudFormationName": "ChimeSDKMessaging", + "cloudTrailEventSource": "chimesdkmessaging.amazonaws.com", + "endpointPrefix": "messaging-chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see Amazon Chime SDK messaging.

", + "smithy.api#title": "Amazon Chime SDK Messaging" + } }, "com.amazonaws.chimesdkmessaging#ClientRequestToken": { "type": "string", @@ -4591,7 +4593,6 @@ "com.amazonaws.chimesdkmessaging#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4601,7 +4602,6 @@ "com.amazonaws.chimesdkmessaging#MaximumSubChannels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2 } @@ -4626,10 +4626,7 @@ } }, "com.amazonaws.chimesdkmessaging#MembershipCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.chimesdkmessaging#MessageAttributeMap": { "type": "map", @@ -4720,7 +4717,6 @@ "com.amazonaws.chimesdkmessaging#MinimumMembershipPercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 40 @@ -4760,7 +4756,10 @@ } }, "com.amazonaws.chimesdkmessaging#NonNullableBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.chimesdkmessaging#NotFoundException": { "type": "structure", @@ -5697,7 +5696,6 @@ "com.amazonaws.chimesdkmessaging#TargetMembershipsPerSubChannel": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2 } diff --git a/codegen/sdk/aws-models/chime.json b/codegen/sdk/aws-models/chime.json index abcb2b00de9..82e4ebbae1e 100644 --- a/codegen/sdk/aws-models/chime.json +++ b/codegen/sdk/aws-models/chime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1679,10 +1679,7 @@ } }, "com.amazonaws.chime#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.chime#Bot": { "type": "structure", @@ -2169,6 +2166,7 @@ "Redacted": { "target": "com.amazonaws.chime#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Hides the content of a message.

" } }, @@ -2252,6 +2250,7 @@ "Redacted": { "target": "com.amazonaws.chime#NonNullableBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a message was redacted.

" } } @@ -2582,7 +2581,6 @@ "com.amazonaws.chime#CpsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4843,7 +4841,6 @@ "com.amazonaws.chime#DataRetentionInHours": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4914,6 +4911,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -4951,6 +4951,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceAdminRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5025,6 +5028,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceStreamingConfigurationsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5075,6 +5081,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAppInstanceUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5125,6 +5134,9 @@ "input": { "target": "com.amazonaws.chime#DeleteAttendeeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5183,6 +5195,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5220,6 +5235,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelBanRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5285,6 +5303,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelMembershipRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5353,6 +5374,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelMessageRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5418,6 +5442,9 @@ "input": { "target": "com.amazonaws.chime#DeleteChannelModeratorRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5503,6 +5530,9 @@ "input": { "target": "com.amazonaws.chime#DeleteEventsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5558,6 +5588,9 @@ "input": { "target": "com.amazonaws.chime#DeleteMediaCapturePipelineRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5608,6 +5641,9 @@ "input": { "target": "com.amazonaws.chime#DeleteMeetingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5658,6 +5694,9 @@ "input": { "target": "com.amazonaws.chime#DeletePhoneNumberRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5708,6 +5747,9 @@ "input": { "target": "com.amazonaws.chime#DeleteProxySessionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5766,6 +5808,9 @@ "input": { "target": "com.amazonaws.chime#DeleteRoomRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5803,6 +5848,9 @@ "input": { "target": "com.amazonaws.chime#DeleteRoomMembershipRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5890,6 +5938,9 @@ "input": { "target": "com.amazonaws.chime#DeleteSipMediaApplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5943,6 +5994,9 @@ "input": { "target": "com.amazonaws.chime#DeleteSipRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -5996,6 +6050,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6036,6 +6093,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorEmergencyCallingConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6086,6 +6146,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6139,6 +6202,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorOriginationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6189,6 +6255,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorProxyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6252,6 +6321,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorStreamingConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6302,6 +6374,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorTerminationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -6339,6 +6414,9 @@ "input": { "target": "com.amazonaws.chime#DeleteVoiceConnectorTerminationCredentialsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -8278,6 +8356,9 @@ }, "com.amazonaws.chime#GetGlobalSettings": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.chime#GetGlobalSettingsResponse" }, @@ -8637,6 +8718,9 @@ }, "com.amazonaws.chime#GetPhoneNumberSettings": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.chime#GetPhoneNumberSettingsResponse" }, @@ -9839,10 +9923,7 @@ } }, "com.amazonaws.chime#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.chime#Invite": { "type": "structure", @@ -12764,7 +12845,6 @@ "com.amazonaws.chime#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -13269,7 +13349,10 @@ } }, "com.amazonaws.chime#NonNullableBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.chime#NotFoundException": { "type": "structure", @@ -13307,10 +13390,7 @@ } }, "com.amazonaws.chime#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.chime#NumberSelectionBehavior": { "type": "string", @@ -13439,7 +13519,6 @@ "com.amazonaws.chime#OriginationRoutePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -13464,7 +13543,6 @@ "com.amazonaws.chime#OriginationRouteWeight": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -13765,7 +13843,6 @@ "com.amazonaws.chime#PhoneNumberMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -13927,7 +14004,6 @@ "com.amazonaws.chime#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -13937,7 +14013,6 @@ "com.amazonaws.chime#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -13946,7 +14021,6 @@ "com.amazonaws.chime#ProfileServiceMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -14910,6 +14984,9 @@ "input": { "target": "com.amazonaws.chime#PutVoiceConnectorTerminationCredentialsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -15480,7 +15557,6 @@ "com.amazonaws.chime#ResultMax": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 99 @@ -15490,7 +15566,6 @@ "com.amazonaws.chime#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5475 @@ -15984,7 +16059,6 @@ "com.amazonaws.chime#SipApplicationPriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -16500,6 +16574,9 @@ "input": { "target": "com.amazonaws.chime#TagAttendeeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -16602,6 +16679,9 @@ "input": { "target": "com.amazonaws.chime#TagMeetingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -16662,6 +16742,9 @@ "input": { "target": "com.amazonaws.chime#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -17151,21 +17234,6 @@ }, "com.amazonaws.chime#UCBuzzConsoleService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Chime", - "arnNamespace": "chime", - "cloudFormationName": "Chime", - "cloudTrailEventSource": "chime.amazonaws.com", - "endpointPrefix": "chime" - }, - "aws.auth#sigv4": { - "name": "chime" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The Amazon Chime API (application programming interface) is designed for developers to\n perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice\n Connectors. This guide provides detailed information about the Amazon Chime API,\n including operations, types, inputs and outputs, and error codes. It also includes API actions for use with the Amazon Chime SDK, which developers use to build their own communication applications. For more information about the\n Amazon Chime SDK, see \n Using the Amazon Chime SDK\n in the Amazon Chime Developer Guide.

\n

You can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API to make API calls. We recommend using an AWS SDK or the \n AWS CLI. Each API operation includes links to information about using it with a language-specific AWS SDK or the AWS CLI.

\n
\n
Using an AWS SDK
\n
\n

\nYou don't need to write code to calculate a signature for request authentication. The SDK clients authenticate your requests by using access keys that you provide. For more information about AWS SDKs, see the \nAWS Developer Center.\n

\n
\n
Using the AWS CLI
\n
\n

Use your access keys with the AWS CLI to make API calls. For information about setting up the AWS CLI, see \nInstalling the AWS Command Line Interface\nin the AWS Command Line Interface User Guide. For a list of available Amazon Chime commands, see the \nAmazon Chime commands in the \n AWS CLI Command Reference.\n

\n
\n
Using REST APIs
\n
\n

If you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Chime supports signature version 4. For more information, see \nSignature Version 4 Signing Process\nin the Amazon Web Services General Reference.

\n\n

When making REST API calls, use the service name chime and REST endpoint https://service.chime.aws.amazon.com.

\n
\n
\n\n

Administrative permissions are controlled using AWS Identity and Access Management (IAM). For more information, see \nIdentity and Access Management for Amazon Chime\nin the Amazon Chime Administration Guide.

", - "smithy.api#title": "Amazon Chime" - }, "version": "2018-05-01", "operations": [ { @@ -17741,7 +17809,22 @@ { "target": "com.amazonaws.chime#ValidateE911Address" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Chime", + "arnNamespace": "chime", + "cloudFormationName": "Chime", + "cloudTrailEventSource": "chime.amazonaws.com", + "endpointPrefix": "chime" + }, + "aws.auth#sigv4": { + "name": "chime" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The Amazon Chime API (application programming interface) is designed for developers to\n perform key tasks, such as creating and managing Amazon Chime accounts, users, and Voice\n Connectors. This guide provides detailed information about the Amazon Chime API,\n including operations, types, inputs and outputs, and error codes. It also includes API actions for use with the Amazon Chime SDK, which developers use to build their own communication applications. For more information about the\n Amazon Chime SDK, see \n Using the Amazon Chime SDK\n in the Amazon Chime Developer Guide.

\n

You can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API to make API calls. We recommend using an AWS SDK or the \n AWS CLI. Each API operation includes links to information about using it with a language-specific AWS SDK or the AWS CLI.

\n
\n
Using an AWS SDK
\n
\n

\nYou don't need to write code to calculate a signature for request authentication. The SDK clients authenticate your requests by using access keys that you provide. For more information about AWS SDKs, see the \nAWS Developer Center.\n

\n
\n
Using the AWS CLI
\n
\n

Use your access keys with the AWS CLI to make API calls. For information about setting up the AWS CLI, see \nInstalling the AWS Command Line Interface\nin the AWS Command Line Interface User Guide. For a list of available Amazon Chime commands, see the \nAmazon Chime commands in the \n AWS CLI Command Reference.\n

\n
\n
Using REST APIs
\n
\n

If you use REST to make API calls, you must authenticate your request by providing a signature. Amazon Chime supports signature version 4. For more information, see \nSignature Version 4 Signing Process\nin the Amazon Web Services General Reference.

\n\n

When making REST API calls, use the service name chime and REST endpoint https://service.chime.aws.amazon.com.

\n
\n
\n\n

Administrative permissions are controlled using AWS Identity and Access Management (IAM). For more information, see \nIdentity and Access Management for Amazon Chime\nin the Amazon Chime Administration Guide.

", + "smithy.api#title": "Amazon Chime" + } }, "com.amazonaws.chime#UnauthorizedClientException": { "type": "structure", @@ -17780,6 +17863,9 @@ "input": { "target": "com.amazonaws.chime#UntagAttendeeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -17845,6 +17931,9 @@ "input": { "target": "com.amazonaws.chime#UntagMeetingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -17902,6 +17991,9 @@ "input": { "target": "com.amazonaws.chime#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -18604,6 +18696,9 @@ "input": { "target": "com.amazonaws.chime#UpdateGlobalSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -18767,6 +18862,9 @@ "input": { "target": "com.amazonaws.chime#UpdatePhoneNumberSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -19444,6 +19542,9 @@ "input": { "target": "com.amazonaws.chime#UpdateUserSettingsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.chime#BadRequestException" @@ -19982,6 +20083,7 @@ "ValidationResult": { "target": "com.amazonaws.chime#ValidationResult", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number indicating the result of address validation. \n 0 means the address was perfect as is and successfully validated.\n 1 means the address was corrected. 2 means the address sent was \n not close enough and was not validated.

" } }, @@ -20008,6 +20110,7 @@ "com.amazonaws.chime#ValidationResult": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 2 @@ -20207,7 +20310,6 @@ "com.amazonaws.chime#VoiceConnectorItemPriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 99 diff --git a/codegen/sdk/aws-models/cloud9.json b/codegen/sdk/aws-models/cloud9.json index 069e0d2d895..1207a6fc0f4 100644 --- a/codegen/sdk/aws-models/cloud9.json +++ b/codegen/sdk/aws-models/cloud9.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -92,7 +92,6 @@ "com.amazonaws.cloud9#AutomaticStopTimeMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 20160 } @@ -108,7 +107,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -144,7 +146,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -162,7 +167,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -975,7 +983,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -1003,7 +1014,10 @@ } }, "com.amazonaws.cloud9#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloud9#InternalServerErrorException": { "type": "structure", @@ -1015,7 +1029,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -1033,7 +1050,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -1230,7 +1250,6 @@ "com.amazonaws.cloud9#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 25 @@ -1262,7 +1281,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -1271,10 +1293,7 @@ } }, "com.amazonaws.cloud9#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloud9#Permissions": { "type": "string", @@ -1445,7 +1464,10 @@ "target": "com.amazonaws.cloud9#String" }, "code": { - "target": "com.amazonaws.cloud9#Integer" + "target": "com.amazonaws.cloud9#Integer", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { diff --git a/codegen/sdk/aws-models/cloudcontrol.json b/codegen/sdk/aws-models/cloudcontrol.json index aacad96cbdb..b38efd8bf3e 100644 --- a/codegen/sdk/aws-models/cloudcontrol.json +++ b/codegen/sdk/aws-models/cloudcontrol.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.cloudcontrol#AlreadyExistsException": { "type": "structure", @@ -88,19 +88,6 @@ }, "com.amazonaws.cloudcontrol#CloudApiService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudControl", - "cloudTrailEventSource": "cloudcontrolapi.amazonaws.com", - "endpointPrefix": "cloudcontrolapi" - }, - "aws.auth#sigv4": { - "name": "cloudcontrolapi" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User\n Guide.

", - "smithy.api#title": "AWS Cloud Control API" - }, "version": "2021-09-30", "operations": [ { @@ -127,7 +114,20 @@ { "target": "com.amazonaws.cloudcontrol#UpdateResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudControl", + "cloudTrailEventSource": "cloudcontrolapi.amazonaws.com", + "endpointPrefix": "cloudcontrolapi" + }, + "aws.auth#sigv4": { + "name": "cloudcontrolapi" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

For more information about Amazon Web Services Cloud Control API, see the Amazon Web Services Cloud Control API User\n Guide.

", + "smithy.api#title": "AWS Cloud Control API" + } }, "com.amazonaws.cloudcontrol#ConcurrentModificationException": { "type": "structure", @@ -976,7 +976,6 @@ "com.amazonaws.cloudcontrol#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1582,4 +1581,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/clouddirectory.json b/codegen/sdk/aws-models/clouddirectory.json index 351dbafe88f..968c9bfdeae 100644 --- a/codegen/sdk/aws-models/clouddirectory.json +++ b/codegen/sdk/aws-models/clouddirectory.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1118,6 +1118,7 @@ "IsUnique": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the attribute that is being indexed has unique values or\n not.

", "smithy.api#required": {} } @@ -2031,7 +2032,10 @@ } }, "com.amazonaws.clouddirectory#BatchOperationIndex": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.clouddirectory#BatchRead": { "type": "operation", @@ -2550,7 +2554,10 @@ "type": "structure", "members": { "Index": { - "target": "com.amazonaws.clouddirectory#BatchOperationIndex" + "target": "com.amazonaws.clouddirectory#BatchOperationIndex", + "traits": { + "smithy.api#default": 0 + } }, "Type": { "target": "com.amazonaws.clouddirectory#BatchWriteExceptionType" @@ -2886,14 +2893,14 @@ "type": "blob" }, "com.amazonaws.clouddirectory#Bool": { - "type": "boolean" - }, - "com.amazonaws.clouddirectory#BooleanAttributeValue": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.clouddirectory#BooleanAttributeValue": { + "type": "boolean" + }, "com.amazonaws.clouddirectory#CannotListParentOfRootException": { "type": "structure", "members": { @@ -3182,6 +3189,7 @@ "IsUnique": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the attribute that is being indexed has unique values or\n not.

", "smithy.api#required": {} } @@ -4052,6 +4060,9 @@ "input": { "target": "com.amazonaws.clouddirectory#DetachTypedLinkRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.clouddirectory#AccessDeniedException" @@ -4462,6 +4473,7 @@ "IsImmutable": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the attribute is mutable or not.

" } }, @@ -6793,6 +6805,7 @@ "IncludeAllLinksToEachParent": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to True, returns all ListObjectParentsResponse$ParentLinks. There could be multiple links between a parent-child pair.

" } } @@ -7669,7 +7682,6 @@ "com.amazonaws.clouddirectory#NumberResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8517,7 +8529,6 @@ "com.amazonaws.clouddirectory#TagsNumberResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50 } @@ -8621,6 +8632,7 @@ "IsImmutable": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the attribute is mutable or not.

" } }, @@ -9381,6 +9393,7 @@ "DryRun": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.

" } } @@ -9476,6 +9489,7 @@ "DryRun": { "target": "com.amazonaws.clouddirectory#Bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.

" } } diff --git a/codegen/sdk/aws-models/cloudformation.json b/codegen/sdk/aws-models/cloudformation.json index 87d72749f95..3f3c5842f2f 100644 --- a/codegen/sdk/aws-models/cloudformation.json +++ b/codegen/sdk/aws-models/cloudformation.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -30,10 +30,7 @@ }, "shapes": { "com.amazonaws.cloudformation#AcceptTermsAndConditions": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#Account": { "type": "string", @@ -292,16 +289,10 @@ } }, "com.amazonaws.cloudformation#AutoDeploymentNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#AutoUpdate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#BatchDescribeTypeConfigurations": { "type": "operation", @@ -388,15 +379,11 @@ } }, "com.amazonaws.cloudformation#BoxedInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudformation#BoxedMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -953,24 +940,6 @@ }, "com.amazonaws.cloudformation#CloudFormation": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudFormation", - "arnNamespace": "cloudformation", - "cloudFormationName": "CloudFormation", - "cloudTrailEventSource": "cloudformation.amazonaws.com", - "endpointPrefix": "cloudformation" - }, - "aws.auth#sigv4": { - "name": "cloudformation" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "CloudFormation\n

CloudFormation allows you to create and manage Amazon Web Services infrastructure\n deployments predictably and repeatedly. You can use CloudFormation to leverage\n Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store,\n Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly\n reliable, highly scalable, cost-effective applications without creating or configuring the\n underlying Amazon Web Services infrastructure.

\n

With CloudFormation, you declare all your resources and dependencies in a template\n file. The template defines a collection of resources as a single unit called a stack.\n CloudFormation creates and deletes all member resources of the stack together and\n manages all dependencies between the resources for you.

\n

For more information about CloudFormation, see the CloudFormation product page.

\n

CloudFormation makes use of other Amazon Web Services products. If you need\n additional technical information about a specific Amazon Web Services product, you can find\n the product's technical documentation at \n docs.aws.amazon.com\n .

", - "smithy.api#title": "AWS CloudFormation", - "smithy.api#xmlNamespace": { - "uri": "http://cloudformation.amazonaws.com/doc/2010-05-15/" - } - }, "version": "2010-05-15", "operations": [ { @@ -1171,7 +1140,25 @@ { "target": "com.amazonaws.cloudformation#ValidateTemplate" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudFormation", + "arnNamespace": "cloudformation", + "cloudFormationName": "CloudFormation", + "cloudTrailEventSource": "cloudformation.amazonaws.com", + "endpointPrefix": "cloudformation" + }, + "aws.auth#sigv4": { + "name": "cloudformation" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "CloudFormation\n

CloudFormation allows you to create and manage Amazon Web Services infrastructure\n deployments predictably and repeatedly. You can use CloudFormation to leverage\n Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store,\n Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly\n reliable, highly scalable, cost-effective applications without creating or configuring the\n underlying Amazon Web Services infrastructure.

\n

With CloudFormation, you declare all your resources and dependencies in a template\n file. The template defines a collection of resources as a single unit called a stack.\n CloudFormation creates and deletes all member resources of the stack together and\n manages all dependencies between the resources for you.

\n

For more information about CloudFormation, see the CloudFormation product page.

\n

CloudFormation makes use of other Amazon Web Services products. If you need\n additional technical information about a specific Amazon Web Services product, you can find\n the product's technical documentation at \n docs.aws.amazon.com\n .

", + "smithy.api#title": "AWS CloudFormation", + "smithy.api#xmlNamespace": { + "uri": "http://cloudformation.amazonaws.com/doc/2010-05-15/" + } + } }, "com.amazonaws.cloudformation#ConfigurationSchema": { "type": "string", @@ -2016,6 +2003,7 @@ "RetainStacks": { "target": "com.amazonaws.cloudformation#RetainStacks", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Removes the stack instances from the specified stack set, but doesn't delete the stacks.\n You can't reassociate a retained stack or add an existing, saved stack to a new stack\n set.

\n

For more information, see Stack set operation options.

", "smithy.api#required": {} } @@ -3961,24 +3949,19 @@ } }, "com.amazonaws.cloudformation#DisableRollback": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#DriftedStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.cloudformation#EnableTerminationProtection": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#ErrorCode": { "type": "string", @@ -4216,6 +4199,7 @@ "com.amazonaws.cloudformation#FailedStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4224,7 +4208,6 @@ "com.amazonaws.cloudformation#FailureToleranceCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4233,7 +4216,6 @@ "com.amazonaws.cloudformation#FailureTolerancePercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4558,7 +4540,6 @@ "com.amazonaws.cloudformation#HookInvocationCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4787,6 +4768,7 @@ "com.amazonaws.cloudformation#InProgressStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4795,16 +4777,14 @@ "com.amazonaws.cloudformation#InSyncStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.cloudformation#IncludeNestedStacks": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#InsufficientCapabilitiesException": { "type": "structure", @@ -4875,22 +4855,13 @@ } }, "com.amazonaws.cloudformation#IsActivated": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#IsDefaultConfiguration": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#IsDefaultVersion": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#Key": { "type": "string" @@ -4919,10 +4890,7 @@ "type": "string" }, "com.amazonaws.cloudformation#LimitValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudformation#ListChangeSets": { "type": "operation", @@ -5805,7 +5773,6 @@ "com.amazonaws.cloudformation#MajorVersion": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100000 @@ -5827,15 +5794,11 @@ } }, "com.amazonaws.cloudformation#ManagedExecutionNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#MaxConcurrentCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5844,7 +5807,6 @@ "com.amazonaws.cloudformation#MaxConcurrentPercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5854,7 +5816,6 @@ "com.amazonaws.cloudformation#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5887,7 +5848,6 @@ "com.amazonaws.cloudformation#MonitoringTimeInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 180 @@ -5921,10 +5881,7 @@ } }, "com.amazonaws.cloudformation#NoEcho": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#NotificationARN": { "type": "string" @@ -7276,19 +7233,16 @@ } }, "com.amazonaws.cloudformation#RetainStacks": { - "type": "boolean" - }, - "com.amazonaws.cloudformation#RetainStacksNullable": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.cloudformation#RetainStacksNullable": { + "type": "boolean" + }, "com.amazonaws.cloudformation#RetainStacksOnAccountRemovalNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#RoleARN": { "type": "string", @@ -8893,30 +8847,35 @@ "TotalStackInstancesCount": { "target": "com.amazonaws.cloudformation#TotalStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of stack instances belonging to this stack set.

\n

The total number of stack instances is equal to the total of:

\n " } }, "DriftedStackInstancesCount": { "target": "com.amazonaws.cloudformation#DriftedStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances that have drifted from the expected template and parameter\n configuration of the stack set. A stack instance is considered to have drifted if one or\n more of the resources in the associated stack don't match their expected\n configuration.

" } }, "InSyncStackInstancesCount": { "target": "com.amazonaws.cloudformation#InSyncStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances which match the expected template and parameter\n configuration of the stack set.

" } }, "InProgressStackInstancesCount": { "target": "com.amazonaws.cloudformation#InProgressStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances that are currently being checked for drift.

" } }, "FailedStackInstancesCount": { "target": "com.amazonaws.cloudformation#FailedStackInstancesCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of stack instances for which the drift detection operation failed.

" } } @@ -9698,7 +9657,6 @@ "com.amazonaws.cloudformation#SupportedMajorVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -9935,7 +9893,6 @@ "com.amazonaws.cloudformation#TimeoutMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -9964,6 +9921,7 @@ "com.amazonaws.cloudformation#TotalStackInstancesCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -10875,16 +10833,10 @@ "type": "string" }, "com.amazonaws.cloudformation#UsePreviousTemplate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#UsePreviousValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudformation#ValidateTemplate": { "type": "operation", diff --git a/codegen/sdk/aws-models/cloudfront.json b/codegen/sdk/aws-models/cloudfront.json index ea82f6c56ae..237d1996840 100644 --- a/codegen/sdk/aws-models/cloudfront.json +++ b/codegen/sdk/aws-models/cloudfront.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -981,24 +981,6 @@ }, "com.amazonaws.cloudfront#Cloudfront2020_05_31": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudFront", - "arnNamespace": "cloudfront", - "cloudFormationName": "CloudFront", - "cloudTrailEventSource": "cloudfront.amazonaws.com", - "endpointPrefix": "cloudfront" - }, - "aws.auth#sigv4": { - "name": "cloudfront" - }, - "aws.protocols#restXml": {}, - "smithy.api#documentation": "Amazon CloudFront\n\t\t

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

", - "smithy.api#title": "Amazon CloudFront", - "smithy.api#xmlNamespace": { - "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" - } - }, "version": "2020-05-31", "operations": [ { @@ -1295,7 +1277,25 @@ { "target": "com.amazonaws.cloudfront#UpdateStreamingDistribution" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudFront", + "arnNamespace": "cloudfront", + "cloudFormationName": "CloudFront", + "cloudTrailEventSource": "cloudfront.amazonaws.com", + "endpointPrefix": "cloudfront" + }, + "aws.auth#sigv4": { + "name": "cloudfront" + }, + "aws.protocols#restXml": {}, + "smithy.api#documentation": "Amazon CloudFront\n\t\t

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

", + "smithy.api#title": "Amazon CloudFront", + "smithy.api#xmlNamespace": { + "uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/" + } + } }, "com.amazonaws.cloudfront#CommentType": { "type": "string", @@ -12266,7 +12266,6 @@ "com.amazonaws.cloudfront#SamplingRate": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 100.0 @@ -15270,10 +15269,7 @@ } }, "com.amazonaws.cloudfront#boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudfront#distributionIdString": { "type": "string", @@ -15285,25 +15281,18 @@ } }, "com.amazonaws.cloudfront#integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudfront#listConflictingAliasesMaxItemsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } } }, "com.amazonaws.cloudfront#long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cloudfront#sensitiveStringType": { "type": "string", diff --git a/codegen/sdk/aws-models/cloudhsm-v2.json b/codegen/sdk/aws-models/cloudhsm-v2.json index 9b7d777e822..d4ddf37234a 100644 --- a/codegen/sdk/aws-models/cloudhsm-v2.json +++ b/codegen/sdk/aws-models/cloudhsm-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -194,7 +194,6 @@ "com.amazonaws.cloudhsmv2#BackupsMaxSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -268,10 +267,7 @@ } }, "com.amazonaws.cloudhsmv2#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudhsmv2#Cert": { "type": "string", @@ -549,7 +545,6 @@ "com.amazonaws.cloudhsmv2#ClustersMaxSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -1433,7 +1428,6 @@ "com.amazonaws.cloudhsmv2#MaxSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/cloudhsm.json b/codegen/sdk/aws-models/cloudhsm.json index ae7fefa6e94..cddc11b89d6 100644 --- a/codegen/sdk/aws-models/cloudhsm.json +++ b/codegen/sdk/aws-models/cloudhsm.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -96,7 +96,10 @@ } }, "com.amazonaws.cloudhsm#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudhsm#Certificate": { "type": "string", @@ -246,6 +249,7 @@ "retryable": { "target": "com.amazonaws.cloudhsm#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the action can be retried.

" } } @@ -286,6 +290,7 @@ "retryable": { "target": "com.amazonaws.cloudhsm#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the action can be retried.

" } } @@ -1185,6 +1190,7 @@ "retryable": { "target": "com.amazonaws.cloudhsm#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the action can be retried.

" } } diff --git a/codegen/sdk/aws-models/cloudsearch-domain.json b/codegen/sdk/aws-models/cloudsearch-domain.json index 0a247cdc13e..f73e28bd158 100644 --- a/codegen/sdk/aws-models/cloudsearch-domain.json +++ b/codegen/sdk/aws-models/cloudsearch-domain.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -30,7 +30,10 @@ }, "shapes": { "com.amazonaws.cloudsearchdomain#Adds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#AmazonCloudSearch2013": { "type": "service", @@ -83,6 +86,7 @@ "count": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of hits that contain the facet value in the specified facet field.

" } } @@ -130,7 +134,10 @@ "type": "string" }, "com.amazonaws.cloudsearchdomain#Deletes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#DocumentServiceException": { "type": "structure", @@ -174,7 +181,10 @@ } }, "com.amazonaws.cloudsearchdomain#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Expr": { "type": "string" @@ -218,24 +228,28 @@ "count": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of documents that contain a value in the specified field in the result set.

" } }, "missing": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of documents that do not contain a value in the specified field in the result set.

" } }, "sum": { "target": "com.amazonaws.cloudsearchdomain#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The sum of the field values across the documents in the result set. null for date fields.

" } }, "sumOfSquares": { "target": "com.amazonaws.cloudsearchdomain#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The sum of all field values in the result set squared.

" } }, @@ -248,6 +262,7 @@ "stddev": { "target": "com.amazonaws.cloudsearchdomain#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The standard deviation of the values in the specified field in the result set.

" } } @@ -330,12 +345,14 @@ "found": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of documents that match the search request.

" } }, "start": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The index of the first matching document.

" } }, @@ -357,10 +374,16 @@ } }, "com.amazonaws.cloudsearchdomain#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Partial": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudsearchdomain#Query": { "type": "string" @@ -472,6 +495,7 @@ "partial": { "target": "com.amazonaws.cloudsearchdomain#Partial", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables partial results to be returned if one or more index partitions are unavailable. When your search index is partitioned across multiple search instances, by default Amazon CloudSearch only returns results if every partition can be queried. This means that the failure of a single search instance can result in 5xx (internal server) errors. When you enable partial results, Amazon CloudSearch returns whatever results are available and includes the percentage of documents searched in the search results (percent-searched). This enables you to more gracefully degrade your users' search experience. For example, rather than displaying no results, you could display the partial results and a message indicating that the results might be incomplete due to a temporary system outage.

", "smithy.api#httpQuery": "partial" } @@ -508,6 +532,7 @@ "size": { "target": "com.amazonaws.cloudsearchdomain#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the maximum number of search hits to include in the response.

", "smithy.api#httpQuery": "size" } @@ -522,6 +547,7 @@ "start": { "target": "com.amazonaws.cloudsearchdomain#Start", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the offset of the first search hit you want to return. Note that the result set is zero-based; the first result is at index 0. You can specify either the start or cursor parameter in a request, they are mutually exclusive.

\n

For more information, see Paginating Results in the Amazon CloudSearch Developer Guide.

", "smithy.api#httpQuery": "start" } @@ -576,6 +602,7 @@ "timems": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

How long it took to process the request, in milliseconds.

" } }, @@ -591,13 +618,19 @@ } }, "com.amazonaws.cloudsearchdomain#Size": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Sort": { "type": "string" }, "com.amazonaws.cloudsearchdomain#Start": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#Stat": { "type": "string" @@ -651,6 +684,7 @@ "found": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of documents that were found to match the query string.

" } }, @@ -687,6 +721,7 @@ "size": { "target": "com.amazonaws.cloudsearchdomain#SuggestionsSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the maximum number of suggestions to return.

", "smithy.api#httpQuery": "size" } @@ -722,6 +757,7 @@ "timems": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

How long it took to process the request, in milliseconds.

" } }, @@ -751,6 +787,7 @@ "score": { "target": "com.amazonaws.cloudsearchdomain#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The relevance score of a suggested match.

" } }, @@ -772,7 +809,10 @@ } }, "com.amazonaws.cloudsearchdomain#SuggestionsSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudsearchdomain#UploadDocuments": { "type": "operation", @@ -832,12 +872,14 @@ "adds": { "target": "com.amazonaws.cloudsearchdomain#Adds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of documents that were added to the search domain.

" } }, "deletes": { "target": "com.amazonaws.cloudsearchdomain#Deletes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of documents that were deleted from the search domain.

" } }, diff --git a/codegen/sdk/aws-models/cloudsearch.json b/codegen/sdk/aws-models/cloudsearch.json index a324ecb25bf..b63abcf8298 100644 --- a/codegen/sdk/aws-models/cloudsearch.json +++ b/codegen/sdk/aws-models/cloudsearch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -430,6 +430,7 @@ "Options": { "target": "com.amazonaws.cloudsearch#MultiAZ", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The availability options configured for the domain.

", "smithy.api#required": {} } @@ -461,10 +462,7 @@ } }, "com.amazonaws.cloudsearch#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudsearch#BuildSuggesters": { "type": "operation", @@ -1966,12 +1964,14 @@ "SearchPartitionCount": { "target": "com.amazonaws.cloudsearch#PartitionCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of partitions across which the search index is spread.

" } }, "SearchInstanceCount": { "target": "com.amazonaws.cloudsearch#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of search instances that are available to process search requests.

" } }, @@ -1993,10 +1993,7 @@ } }, "com.amazonaws.cloudsearch#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudsearch#DoubleArrayOptions": { "type": "structure", @@ -2396,6 +2393,7 @@ "com.amazonaws.cloudsearch#InstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2590,12 +2588,14 @@ "MaximumReplicationCount": { "target": "com.amazonaws.cloudsearch#MaximumReplicationCount", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } }, "MaximumPartitionCount": { "target": "com.amazonaws.cloudsearch#MaximumPartitionCount", "traits": { + "smithy.api#default": 0, "smithy.api#required": {} } } @@ -2603,6 +2603,9 @@ }, "com.amazonaws.cloudsearch#ListDomainNames": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.cloudsearch#ListDomainNamesResponse" }, @@ -2709,14 +2712,12 @@ } }, "com.amazonaws.cloudsearch#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cloudsearch#MaximumPartitionCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2725,13 +2726,17 @@ "com.amazonaws.cloudsearch#MaximumReplicationCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.cloudsearch#MultiAZ": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudsearch#OptionState": { "type": "string", @@ -2777,6 +2782,7 @@ "UpdateVersion": { "target": "com.amazonaws.cloudsearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A unique integer that indicates when this option was last updated.

" } }, @@ -2801,6 +2807,7 @@ "com.amazonaws.cloudsearch#PartitionCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of partitions used to hold the domain's index.

", "smithy.api#range": { "min": 1 @@ -2941,12 +2948,14 @@ "DesiredReplicationCount": { "target": "com.amazonaws.cloudsearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of replicas you want to preconfigure for each index partition.

" } }, "DesiredPartitionCount": { "target": "com.amazonaws.cloudsearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of partitions you want to preconfigure for your domain. Only valid when\n you select m2.2xlarge as the desired instance type.

" } } @@ -3184,6 +3193,7 @@ "com.amazonaws.cloudsearch#UIntValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/cloudtrail.json b/codegen/sdk/aws-models/cloudtrail.json index d2d24863079..edcac279c2b 100644 --- a/codegen/sdk/aws-models/cloudtrail.json +++ b/codegen/sdk/aws-models/cloudtrail.json @@ -925,16 +925,12 @@ "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the trail is created in the current region or in all regions. The default is false, which creates a trail only in the region where you are signed in. As a best practice, consider\n creating trails that log events in all regions.

" } }, "EnableLogFileValidation": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether log file integrity validation is enabled. The default is false.

\n \n

When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail does \n not create digest files for log files that were delivered during a period in which log file integrity validation was disabled. \n For example, if you enable log file integrity validation at noon on January 1, disable it at noon on January 2, and re-enable \n it at noon on January 10, digest files will not be created for the log files delivered from noon on January 2 to noon on \n January 10. The same applies whenever you stop CloudTrail logging or delete a trail.

\n
" } }, @@ -959,8 +955,6 @@ "IsOrganizationTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the trail is created for all accounts in an organization in Organizations, or only for the current Amazon Web Services account. \n The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in \n Organizations.

" } }, @@ -1338,8 +1332,6 @@ "includeShadowTrails": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Specifies whether to include shadow trails in the response. A shadow trail is the replication in a region of a trail that was created in a different region,\n or in the case of an organization trail, the replication of an organization trail in member accounts. If you do not include shadow trails, organization trails in a member account\n and region replication trails will not be returned. The default is true.

" } } @@ -4310,8 +4302,6 @@ "MaxResults": { "target": "com.amazonaws.cloudtrail#MaxResults", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 50, "smithy.api#documentation": "

The number of events to return. Possible values are 1 through 50. The default is 50.

" } }, @@ -6380,16 +6370,12 @@ "IsMultiRegionTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the trail applies only to the current region or to all regions. The default is false. If the trail exists only in the current region and this value is set to true, \n shadow trails (replications of the trail) will be created in the other regions. If the trail exists in all regions and this value is set to false, the trail will remain in the region \n where it was created, and its shadow trails in other regions will be deleted. As a best practice, consider\n using trails that log events in all regions.

" } }, "EnableLogFileValidation": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether log file validation is enabled. The default is false.

\n \n

When you disable log file integrity validation, the chain of digest files is broken after one hour. CloudTrail \n does not create digest files for log files that were delivered during a period in which log file integrity validation \n was disabled. For example, if you enable log file integrity validation at noon on January 1, disable it at noon on \n January 2, and re-enable it at noon on January 10, digest files will not be created for the log files delivered from noon \n on January 2 to noon on January 10. The same applies whenever you stop CloudTrail logging or delete a trail.

\n
" } }, @@ -6414,8 +6400,6 @@ "IsOrganizationTrail": { "target": "com.amazonaws.cloudtrail#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the trail is applied to all accounts in an organization in Organizations, or only for the current Amazon Web Services account. \n The default is false, and cannot be true unless the call is made on behalf of an Amazon Web Services account that is the management account for an organization in \n Organizations. If the trail is not an organization trail and this is set to true, the trail will be created in all Amazon Web Services accounts that belong\n to the organization. If the trail is an organization trail and this is set to false, the trail will remain in the current Amazon Web Services account but be \n deleted from all member accounts in the organization.

" } } diff --git a/codegen/sdk/aws-models/cloudwatch-events.json b/codegen/sdk/aws-models/cloudwatch-events.json index d00958280c4..49ece7e6466 100644 --- a/codegen/sdk/aws-models/cloudwatch-events.json +++ b/codegen/sdk/aws-models/cloudwatch-events.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -231,6 +231,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#ActivateEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -384,7 +387,6 @@ "com.amazonaws.cloudwatchevents#ApiDestinationInvocationRateLimitPerSecond": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -457,12 +459,14 @@ "SizeBytes": { "target": "com.amazonaws.cloudwatchevents#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the archive, in bytes.

" } }, "EventCount": { "target": "com.amazonaws.cloudwatchevents#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of events in the archive.

" } }, @@ -621,6 +625,7 @@ "Size": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the array, if this is an array batch job. Valid values are integers between 2\n and 10,000.

" } } @@ -669,6 +674,7 @@ "Attempts": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times to attempt to retry, if the job fails. Valid values are 1–10.

" } } @@ -678,7 +684,10 @@ } }, "com.amazonaws.cloudwatchevents#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudwatchevents#CancelReplay": { "type": "operation", @@ -775,12 +784,14 @@ "weight": { "target": "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemWeight", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The weight value designates the relative percentage of the total number of tasks launched\n that should use the specified capacity provider. The weight value is taken into consideration\n after the base value, if defined, is satisfied.

" } }, "base": { "target": "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemBase", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The base value designates how many tasks, at a minimum, to run on the specified capacity\n provider. Only one capacity provider in a capacity provider strategy can have a base defined.\n If no value is specified, the default value of 0 is used.

" } } @@ -792,6 +803,7 @@ "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemBase": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100000 @@ -801,6 +813,7 @@ "com.amazonaws.cloudwatchevents#CapacityProviderStrategyItemWeight": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -1011,6 +1024,7 @@ "IsValueSecret": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specified whether the value is secret.

" } } @@ -1059,6 +1073,7 @@ "IsValueSecret": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specified whether the value is a secret.

" } } @@ -1198,6 +1213,7 @@ "IsValueSecret": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the value is secret.

" } } @@ -1845,6 +1861,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeactivateEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2115,6 +2134,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeleteEventBusRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2144,6 +2166,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeletePartnerEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2183,6 +2208,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DeleteRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -2220,6 +2248,7 @@ "Force": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to delete the rule. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.

" } } @@ -2411,12 +2440,14 @@ "SizeBytes": { "target": "com.amazonaws.cloudwatchevents#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the archive in bytes.

" } }, "EventCount": { "target": "com.amazonaws.cloudwatchevents#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of events in the archive.

" } }, @@ -2930,6 +2961,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#DisableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -3015,12 +3049,14 @@ "EnableECSManagedTags": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the task. For more information,\n see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer\n Guide.

" } }, "EnableExecuteCommand": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not to enable the execute command functionality for the containers in this\n task. If true, this enables execute command functionality on all containers in the\n task.

" } }, @@ -3064,6 +3100,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#EnableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -3374,7 +3413,10 @@ } }, "com.amazonaws.cloudwatchevents#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchevents#InternalException": { "type": "structure", @@ -3461,7 +3503,6 @@ "com.amazonaws.cloudwatchevents#LimitMax100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3471,7 +3512,6 @@ "com.amazonaws.cloudwatchevents#LimitMin1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4230,7 +4270,10 @@ } }, "com.amazonaws.cloudwatchevents#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchevents#ManagedBy": { "type": "string", @@ -4256,7 +4299,6 @@ "com.amazonaws.cloudwatchevents#MaximumEventAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 @@ -4266,7 +4308,6 @@ "com.amazonaws.cloudwatchevents#MaximumRetryAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 185 @@ -4663,6 +4704,7 @@ "FailedEntryCount": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed entries.

" } }, @@ -4794,6 +4836,7 @@ "FailedEntryCount": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of events from this operation that could not be written to the partner event\n bus.

" } }, @@ -4842,6 +4885,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#PutPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -5061,6 +5107,7 @@ "FailedEntryCount": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed entries.

" } }, @@ -5171,6 +5218,7 @@ "WithEvent": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to send an event back to EventBridge after the SQL statement\n runs.

" } } @@ -5203,6 +5251,9 @@ "input": { "target": "com.amazonaws.cloudwatchevents#RemovePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cloudwatchevents#ConcurrentModificationException" @@ -5233,6 +5284,7 @@ "RemoveAllPermissions": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to remove all permissions.

" } }, @@ -5296,6 +5348,7 @@ "Force": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to remove targets. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.

" } } @@ -5307,6 +5360,7 @@ "FailedEntryCount": { "target": "com.amazonaws.cloudwatchevents#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed entries.

" } }, @@ -5552,7 +5606,6 @@ "com.amazonaws.cloudwatchevents#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6347,6 +6400,7 @@ "Result": { "target": "com.amazonaws.cloudwatchevents#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the event matches the event pattern.

" } } diff --git a/codegen/sdk/aws-models/cloudwatch-logs.json b/codegen/sdk/aws-models/cloudwatch-logs.json index b1c88ea1e07..8ba441dc133 100644 --- a/codegen/sdk/aws-models/cloudwatch-logs.json +++ b/codegen/sdk/aws-models/cloudwatch-logs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -333,15 +333,11 @@ "com.amazonaws.cloudwatchlogs#Days": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The number of days to retain the log events in the specified log group.\n Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 2192, 2557, 2922, 3288, and 3653.

\n

To set a log group to never have log events expire, use\n DeleteRetentionPolicy.\n

" } }, "com.amazonaws.cloudwatchlogs#DefaultValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatchlogs#DeleteDestination": { "type": "operation", @@ -550,6 +546,7 @@ "success": { "target": "com.amazonaws.cloudwatchlogs#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value of TRUE indicates that the operation succeeded. FALSE indicates that the operation\n failed.

" } } @@ -673,10 +670,7 @@ } }, "com.amazonaws.cloudwatchlogs#Descending": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#DescribeDestinations": { "type": "operation", @@ -807,7 +801,6 @@ "com.amazonaws.cloudwatchlogs#DescribeLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -1072,7 +1065,6 @@ "com.amazonaws.cloudwatchlogs#DescribeQueriesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1455,12 +1447,14 @@ } }, "com.amazonaws.cloudwatchlogs#EventNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchlogs#EventsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1652,10 +1646,7 @@ "type": "string" }, "com.amazonaws.cloudwatchlogs#FilterCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatchlogs#FilterLogEvents": { "type": "operation", @@ -1836,10 +1827,7 @@ } }, "com.amazonaws.cloudwatchlogs#ForceUpdate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#GetLogEvents": { "type": "operation", @@ -2151,10 +2139,7 @@ } }, "com.amazonaws.cloudwatchlogs#Interleaved": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#InvalidOperationException": { "type": "structure", @@ -2260,10 +2245,7 @@ } }, "com.amazonaws.cloudwatchlogs#LogEventIndex": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatchlogs#LogGroup": { "type": "structure", @@ -2324,6 +2306,7 @@ "percent": { "target": "com.amazonaws.cloudwatchlogs#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of log events queried that contained the field.

" } } @@ -2442,10 +2425,7 @@ } }, "com.amazonaws.cloudwatchlogs#LogStreamSearchedCompletely": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#LogStreams": { "type": "list", @@ -2455,24 +2435,6 @@ }, "com.amazonaws.cloudwatchlogs#Logs_20140328": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudWatch Logs", - "arnNamespace": "logs", - "cloudFormationName": "Logs", - "cloudTrailEventSource": "cloudwatchlogs.amazonaws.com", - "endpointPrefix": "logs" - }, - "aws.auth#sigv4": { - "name": "logs" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

You can use Amazon CloudWatch Logs to monitor, store, and access your log files from\n EC2 instances, CloudTrail, and other sources. You can then retrieve the associated\n log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the\n Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.

\n

You can use CloudWatch Logs to:

\n ", - "smithy.api#title": "Amazon CloudWatch Logs", - "smithy.api#xmlNamespace": { - "uri": "http://monitoring.amazonaws.com/doc/2014-03-28/" - } - }, "version": "2014-03-28", "operations": [ { @@ -2601,7 +2563,25 @@ { "target": "com.amazonaws.cloudwatchlogs#UntagLogGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudWatch Logs", + "arnNamespace": "logs", + "cloudFormationName": "Logs", + "cloudTrailEventSource": "cloudwatchlogs.amazonaws.com", + "endpointPrefix": "logs" + }, + "aws.auth#sigv4": { + "name": "logs" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

You can use Amazon CloudWatch Logs to monitor, store, and access your log files from\n EC2 instances, CloudTrail, and other sources. You can then retrieve the associated\n log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the\n Amazon Web Services CLI, CloudWatch Logs API, or CloudWatch Logs SDK.

\n

You can use CloudWatch Logs to:

\n ", + "smithy.api#title": "Amazon CloudWatch Logs", + "smithy.api#xmlNamespace": { + "uri": "http://monitoring.amazonaws.com/doc/2014-03-28/" + } + } }, "com.amazonaws.cloudwatchlogs#MalformedQueryException": { "type": "structure", @@ -2662,6 +2642,7 @@ "eventNumber": { "target": "com.amazonaws.cloudwatchlogs#EventNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The event number.

" } }, @@ -2855,6 +2836,7 @@ "com.amazonaws.cloudwatchlogs#Percentage": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -3362,10 +3344,7 @@ } }, "com.amazonaws.cloudwatchlogs#QueryCharOffset": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatchlogs#QueryCompileError": { "type": "structure", @@ -3526,7 +3505,6 @@ "com.amazonaws.cloudwatchlogs#QueryListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3545,18 +3523,21 @@ "recordsMatched": { "target": "com.amazonaws.cloudwatchlogs#StatsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of log events that matched the query string.

" } }, "recordsScanned": { "target": "com.amazonaws.cloudwatchlogs#StatsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of log events scanned during the query.

" } }, "bytesScanned": { "target": "com.amazonaws.cloudwatchlogs#StatsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of bytes in the log events scanned during the query.

" } } @@ -3887,10 +3868,7 @@ } }, "com.amazonaws.cloudwatchlogs#StartFromHead": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatchlogs#StartQuery": { "type": "operation", @@ -3977,7 +3955,10 @@ } }, "com.amazonaws.cloudwatchlogs#StatsValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatchlogs#StopQuery": { "type": "operation", @@ -4020,6 +4001,7 @@ "success": { "target": "com.amazonaws.cloudwatchlogs#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This is true if the query was stopped by the StopQuery operation.

" } } @@ -4028,7 +4010,6 @@ "com.amazonaws.cloudwatchlogs#StoredBytes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4085,7 +4066,10 @@ } }, "com.amazonaws.cloudwatchlogs#Success": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudwatchlogs#TagKey": { "type": "string", @@ -4244,7 +4228,6 @@ "com.amazonaws.cloudwatchlogs#Timestamp": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/cloudwatch.json b/codegen/sdk/aws-models/cloudwatch.json index e268b7f1388..d90e0e46630 100644 --- a/codegen/sdk/aws-models/cloudwatch.json +++ b/codegen/sdk/aws-models/cloudwatch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -48,10 +48,7 @@ } }, "com.amazonaws.cloudwatch#ActionsEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatch#ActionsSuppressedBy": { "type": "string", @@ -615,6 +612,7 @@ "Size": { "target": "com.amazonaws.cloudwatch#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the dashboard, in bytes.

" } } @@ -761,10 +759,7 @@ } }, "com.amazonaws.cloudwatch#DatapointValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatch#DatapointValueMap": { "type": "map", @@ -790,7 +785,6 @@ "com.amazonaws.cloudwatch#DatapointsToAlarm": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1722,7 +1716,6 @@ "com.amazonaws.cloudwatch#EvaluationPeriods": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2007,10 +2000,7 @@ "type": "string" }, "com.amazonaws.cloudwatch#GetMetricDataMaxDatapoints": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatch#GetMetricDataOutput": { "type": "structure", @@ -2297,24 +2287,6 @@ }, "com.amazonaws.cloudwatch#GraniteServiceVersion20100801": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CloudWatch", - "arnNamespace": "monitoring", - "cloudFormationName": "CloudWatch", - "cloudTrailEventSource": "cloudwatch.amazonaws.com", - "endpointPrefix": "monitoring" - }, - "aws.auth#sigv4": { - "name": "monitoring" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "

Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the\n\t\t\tapplications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track\n\t\t\tmetrics, which are the variables you want to measure for your resources and\n\t\t\tapplications.

\n\n\t\t

CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules\n\t\t\tthat you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2\n\t\t\tinstances. Then, use this data to determine whether you should launch\n\t\t\tadditional instances to handle increased load. You can also use this data to stop\n\t\t\tunder-used instances to save\n\t\t\tmoney.

\n\n\t\t

In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor\n\t\t\tyour own custom metrics. With CloudWatch, you gain system-wide visibility into resource\n\t\t\tutilization, application performance, and operational health.

", - "smithy.api#title": "Amazon CloudWatch", - "smithy.api#xmlNamespace": { - "uri": "http://monitoring.amazonaws.com/doc/2010-08-01/" - } - }, "version": "2010-08-01", "operations": [ { @@ -2431,7 +2403,25 @@ { "target": "com.amazonaws.cloudwatch#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CloudWatch", + "arnNamespace": "monitoring", + "cloudFormationName": "CloudWatch", + "cloudTrailEventSource": "cloudwatch.amazonaws.com", + "endpointPrefix": "monitoring" + }, + "aws.auth#sigv4": { + "name": "monitoring" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "

Amazon CloudWatch monitors your Amazon Web Services (Amazon Web Services) resources and the\n\t\t\tapplications you run on Amazon Web Services in real time. You can use CloudWatch to collect and track\n\t\t\tmetrics, which are the variables you want to measure for your resources and\n\t\t\tapplications.

\n\n\t\t

CloudWatch alarms send notifications or automatically change the resources you are monitoring based on rules\n\t\t\tthat you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon EC2\n\t\t\tinstances. Then, use this data to determine whether you should launch\n\t\t\tadditional instances to handle increased load. You can also use this data to stop\n\t\t\tunder-used instances to save\n\t\t\tmoney.

\n\n\t\t

In addition to monitoring the built-in metrics that come with Amazon Web Services, you can monitor\n\t\t\tyour own custom metrics. With CloudWatch, you gain system-wide visibility into resource\n\t\t\tutilization, application performance, and operational health.

", + "smithy.api#title": "Amazon CloudWatch", + "smithy.api#xmlNamespace": { + "uri": "http://monitoring.amazonaws.com/doc/2010-08-01/" + } + } }, "com.amazonaws.cloudwatch#HistoryData": { "type": "string", @@ -2504,6 +2494,7 @@ "ManagedRule": { "target": "com.amazonaws.cloudwatch#InsightRuleIsManaged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n\t\t\tAn optional built-in rule that Amazon Web Services manages.\n\t\t

" } } @@ -2607,12 +2598,14 @@ } }, "com.amazonaws.cloudwatch#InsightRuleIsManaged": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cloudwatch#InsightRuleMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -2738,22 +2731,13 @@ } }, "com.amazonaws.cloudwatch#InsightRuleUnboundDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatch#InsightRuleUnboundInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatch#InsightRuleUnboundLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cloudwatch#InsightRules": { "type": "list", @@ -3094,7 +3078,6 @@ "com.amazonaws.cloudwatch#ListMetricStreamsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -3332,7 +3315,6 @@ "com.amazonaws.cloudwatch#MaxRecords": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3342,7 +3324,6 @@ "com.amazonaws.cloudwatch#MaxReturnedResultsCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4101,7 +4082,6 @@ "com.amazonaws.cloudwatch#Period": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4843,10 +4823,7 @@ "type": "string" }, "com.amazonaws.cloudwatch#ReturnData": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cloudwatch#ScanBy": { "type": "string", @@ -4948,7 +4925,10 @@ } }, "com.amazonaws.cloudwatch#Size": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cloudwatch#StandardUnit": { "type": "string", @@ -5280,17 +5260,13 @@ "com.amazonaws.cloudwatch#StorageResolution": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.cloudwatch#SuppressorPeriod": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.cloudwatch#Tag": { "type": "structure", @@ -5404,10 +5380,7 @@ } }, "com.amazonaws.cloudwatch#Threshold": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.cloudwatch#Timestamp": { "type": "timestamp" diff --git a/codegen/sdk/aws-models/codeartifact.json b/codegen/sdk/aws-models/codeartifact.json index 57161996ee4..b8089436bda 100644 --- a/codegen/sdk/aws-models/codeartifact.json +++ b/codegen/sdk/aws-models/codeartifact.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -243,7 +243,6 @@ "com.amazonaws.codeartifact#AuthorizationTokenDurationSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 43200 @@ -251,28 +250,10 @@ } }, "com.amazonaws.codeartifact#BooleanOptional": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.codeartifact#CodeArtifactControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "codeartifact", - "arnNamespace": "codeartifact", - "cloudFormationName": "Codeartifact", - "cloudTrailEventSource": "codeartifact.amazonaws.com", - "endpointPrefix": "codeartifact" - }, - "aws.auth#sigv4": { - "name": "codeartifact" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.

\n \n

\n CodeArtifact Components\n

\n

Use the information in this guide to help you work with the following CodeArtifact components:

\n \n \n \n

CodeArtifact supports these operations:

\n ", - "smithy.api#title": "CodeArtifact" - }, "version": "2018-09-22", "operations": [ { @@ -383,7 +364,22 @@ { "target": "com.amazonaws.codeartifact#UpdateRepository" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "codeartifact", + "arnNamespace": "codeartifact", + "cloudFormationName": "Codeartifact", + "cloudTrailEventSource": "codeartifact.amazonaws.com", + "endpointPrefix": "codeartifact" + }, + "aws.auth#sigv4": { + "name": "codeartifact" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

CodeArtifact is a fully managed artifact repository compatible with language-native\n package managers and build tools such as npm, Apache Maven, pip, and dotnet. You can use CodeArtifact to\n share packages with development teams and pull packages. Packages can be pulled from both\n public and CodeArtifact repositories. You can also create an upstream relationship between a CodeArtifact\n repository and another repository, which effectively merges their contents from the point of\n view of a package manager client.

\n \n

\n CodeArtifact Components\n

\n

Use the information in this guide to help you work with the following CodeArtifact components:

\n \n \n \n

CodeArtifact supports these operations:

\n ", + "smithy.api#title": "CodeArtifact" + } }, "com.amazonaws.codeartifact#ConflictException": { "type": "structure", @@ -1746,12 +1742,14 @@ "repositoryCount": { "target": "com.amazonaws.codeartifact#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of repositories in the domain.\n

" } }, "assetSizeBytes": { "target": "com.amazonaws.codeartifact#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The total size of all assets in the domain.\n

" } }, @@ -2145,6 +2143,7 @@ "asset": { "target": "com.amazonaws.codeartifact#Asset", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The binary file, or asset, that is downloaded.

", "smithy.api#httpPayload": {} } @@ -2494,7 +2493,10 @@ } }, "com.amazonaws.codeartifact#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codeartifact#InternalServerException": { "type": "structure", @@ -2578,7 +2580,6 @@ "com.amazonaws.codeartifact#ListDomainsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2662,7 +2663,6 @@ "com.amazonaws.codeartifact#ListPackageVersionAssetsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2979,7 +2979,6 @@ "com.amazonaws.codeartifact#ListPackageVersionsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3156,7 +3155,6 @@ "com.amazonaws.codeartifact#ListPackagesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3337,7 +3335,6 @@ "com.amazonaws.codeartifact#ListRepositoriesInDomainMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3412,7 +3409,6 @@ "com.amazonaws.codeartifact#ListRepositoriesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3518,14 +3514,14 @@ } }, "com.amazonaws.codeartifact#Long": { - "type": "long" - }, - "com.amazonaws.codeartifact#LongOptional": { "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.codeartifact#LongOptional": { + "type": "long" + }, "com.amazonaws.codeartifact#PackageDependency": { "type": "structure", "members": { @@ -4558,10 +4554,7 @@ } }, "com.amazonaws.codeartifact#RetryAfterSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codeartifact#ServiceQuotaExceededException": { "type": "structure", diff --git a/codegen/sdk/aws-models/codebuild.json b/codegen/sdk/aws-models/codebuild.json index e0df2495fef..c40416e396e 100644 --- a/codegen/sdk/aws-models/codebuild.json +++ b/codegen/sdk/aws-models/codebuild.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -421,7 +421,10 @@ } }, "com.amazonaws.codebuild#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codebuild#BucketOwnerAccess": { "type": "string", @@ -581,6 +584,7 @@ "buildComplete": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the build is complete. True if complete; otherwise, false.

" } }, @@ -822,6 +826,7 @@ "complete": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the batch build is complete.

" } }, @@ -1013,6 +1018,7 @@ "ignoreFailure": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if failures in this build group can be ignored.

" } }, @@ -2088,6 +2094,7 @@ "deleteReports": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, deletes any reports that belong to a report group before deleting\n the report group.

\n

If false, you must delete any reports in the report group. Use ListReportsForReportGroup to get the reports in a report group. Use DeleteReport to delete the reports. If you call\n DeleteReportGroup for a report group that contains one or more reports,\n an exception is thrown.

" } } @@ -2710,7 +2717,6 @@ "com.amazonaws.codebuild#GitCloneDepth": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -3802,7 +3808,6 @@ "com.amazonaws.codebuild#NonNegativeInt": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -3823,7 +3828,6 @@ "com.amazonaws.codebuild#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3833,7 +3837,6 @@ "com.amazonaws.codebuild#Percentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4158,6 +4161,7 @@ "badgeEnabled": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set this to true to generate a publicly accessible URL for your project's build\n badge.

" } }, @@ -6194,7 +6198,6 @@ "com.amazonaws.codebuild#TimeOut": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 480 @@ -6525,6 +6528,7 @@ "rotateSecret": { "target": "com.amazonaws.codebuild#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that specifies whether the associated GitHub repository's secret\n token should be updated. If you use Bitbucket for your repository,\n rotateSecret is ignored.

" } }, @@ -6714,22 +6718,13 @@ } }, "com.amazonaws.codebuild#WrapperBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.codebuild#WrapperInt": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codebuild#WrapperLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" } } } diff --git a/codegen/sdk/aws-models/codecommit.json b/codegen/sdk/aws-models/codecommit.json index 8a7bfb25188..1d1cb06859b 100644 --- a/codegen/sdk/aws-models/codecommit.json +++ b/codegen/sdk/aws-models/codecommit.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -495,7 +495,10 @@ } }, "com.amazonaws.codecommit#Approved": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#Arn": { "type": "string" @@ -505,6 +508,9 @@ "input": { "target": "com.amazonaws.codecommit#AssociateApprovalRuleTemplateWithRepositoryInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#ApprovalRuleTemplateDoesNotExistException" @@ -1422,10 +1428,7 @@ } }, "com.amazonaws.codecommit#CapitalBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.codecommit#ChangeTypeEnum": { "type": "string", @@ -1767,6 +1770,7 @@ "deleted": { "target": "com.amazonaws.codecommit#IsCommentDeleted", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating whether the comment has been deleted.

" } }, @@ -2263,6 +2267,7 @@ "numberOfConflicts": { "target": "com.amazonaws.codecommit#NumberOfConflicts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of conflicts, including both hunk conflicts and metadata conflicts.

" } }, @@ -2275,18 +2280,21 @@ "contentConflict": { "target": "com.amazonaws.codecommit#IsContentConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether there are conflicts in the content of a file.

" } }, "fileModeConflict": { "target": "com.amazonaws.codecommit#IsFileModeConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether there are conflicts in the file mode of a file.

" } }, "objectTypeConflict": { "target": "com.amazonaws.codecommit#IsObjectTypeConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.

" } }, @@ -2366,10 +2374,7 @@ "type": "string" }, "com.amazonaws.codecommit#Count": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#CreateApprovalRuleTemplate": { "type": "operation", @@ -2448,6 +2453,9 @@ "input": { "target": "com.amazonaws.codecommit#CreateBranchInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#BranchNameExistsException" @@ -2697,6 +2705,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a ..gitkeep file is created for empty folders.\n The default is false.

" } }, @@ -3268,6 +3277,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If this is specified as true, a .gitkeep file is\n created for empty folders. The default is false.

" } }, @@ -3631,6 +3641,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If a file is the only object in the folder or directory, specifies whether to delete\n the folder or directory that contains the file. By default, empty folders are deleted.\n This includes empty folders that are part of the directory structure. For example, if\n the path to a file is dir1/dir2/dir3/dir4, and dir2 and dir3 are empty, deleting the\n last file in dir4 also deletes the empty folders dir4, dir3, and dir2.

" } }, @@ -4202,6 +4213,9 @@ "input": { "target": "com.amazonaws.codecommit#DisassociateApprovalRuleTemplateFromRepositoryInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#ApprovalRuleTemplateDoesNotExistException" @@ -4428,12 +4442,14 @@ "approved": { "target": "com.amazonaws.codecommit#Approved", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the state of the pull request is approved.

" } }, "overridden": { "target": "com.amazonaws.codecommit#Overridden", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.

" } }, @@ -4705,7 +4721,10 @@ } }, "com.amazonaws.codecommit#FileSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codecommit#FileSizes": { "type": "structure", @@ -4713,18 +4732,21 @@ "source": { "target": "com.amazonaws.codecommit#FileSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of a file in the source of a merge or pull request.

" } }, "destination": { "target": "com.amazonaws.codecommit#FileSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of a file in the destination of a merge or pull request.

" } }, "base": { "target": "com.amazonaws.codecommit#FileSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of a file in the base of a merge or pull request.

" } } @@ -5756,6 +5778,7 @@ "fileSize": { "target": "com.amazonaws.codecommit#ObjectSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the contents of the file, in bytes.

", "smithy.api#required": {} } @@ -6164,6 +6187,7 @@ "mergeable": { "target": "com.amazonaws.codecommit#IsMergeable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether the code is mergeable by the specified merge option.

", "smithy.api#required": {} } @@ -6541,6 +6565,7 @@ "overridden": { "target": "com.amazonaws.codecommit#Overridden", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).

" } }, @@ -7682,46 +7707,67 @@ } }, "com.amazonaws.codecommit#IsCommentDeleted": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsContentConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsFileModeConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsHunkConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsMergeable": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsMerged": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsMove": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#IsObjectTypeConflict": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#KeepEmptyFolders": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#LastModifiedDate": { "type": "timestamp" }, "com.amazonaws.codecommit#Limit": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#LineNumber": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#ListApprovalRuleTemplates": { "type": "operation", @@ -8338,10 +8384,7 @@ } }, "com.amazonaws.codecommit#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codecommit#MaximumBranchesExceededException": { "type": "structure", @@ -8807,6 +8850,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If this is specified as true, a .gitkeep file is\n created for empty folders. The default is false.

" } }, @@ -9029,6 +9073,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a .gitkeep file is created for empty folders.\n The default is false.

" } }, @@ -9063,6 +9108,7 @@ "isConflict": { "target": "com.amazonaws.codecommit#IsHunkConflict", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating whether a combination of hunks contains a conflict.\n Conflicts occur when the same file or the same lines in a file were modified in both the\n source and destination of a merge or pull request. Valid values include true, false, and\n null. True when the hunk represents a conflict and one or more files contains a line\n conflict. File mode conflicts in a merge do not set this to true.

" } }, @@ -9127,6 +9173,7 @@ "isMerged": { "target": "com.amazonaws.codecommit#IsMerged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating whether the merge has been made.

" } }, @@ -9504,6 +9551,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a .gitkeep file is created for empty folders.\n The default is false.

" } }, @@ -9707,6 +9755,7 @@ "keepEmptyFolders": { "target": "com.amazonaws.codecommit#KeepEmptyFolders", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the commit contains deletions, whether to keep a folder or folder structure if the\n changes leave the folders empty. If true, a .gitkeep file is created for empty folders.\n The default is false.

" } }, @@ -9799,7 +9848,10 @@ } }, "com.amazonaws.codecommit#NumberOfConflicts": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codecommit#NumberOfRuleTemplatesExceededException": { "type": "structure", @@ -9835,7 +9887,10 @@ "type": "string" }, "com.amazonaws.codecommit#ObjectSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codecommit#ObjectTypeEnum": { "type": "string", @@ -9922,7 +9977,10 @@ } }, "com.amazonaws.codecommit#Overridden": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codecommit#OverrideAlreadySetException": { "type": "structure", @@ -9944,6 +10002,9 @@ "input": { "target": "com.amazonaws.codecommit#OverridePullRequestApprovalRulesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#EncryptionIntegrityChecksFailedException" @@ -10136,10 +10197,7 @@ } }, "com.amazonaws.codecommit#Position": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.codecommit#PostCommentForComparedCommit": { "type": "operation", @@ -11071,6 +11129,9 @@ "input": { "target": "com.amazonaws.codecommit#PutCommentReactionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#CommentDeletedException" @@ -12352,6 +12413,7 @@ "isMove": { "target": "com.amazonaws.codecommit#IsMove", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to remove the source file from the parent commit.

" } } @@ -12480,6 +12542,9 @@ "input": { "target": "com.amazonaws.codecommit#TagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#InvalidRepositoryNameException" @@ -12822,6 +12887,9 @@ "input": { "target": "com.amazonaws.codecommit#UntagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#InvalidRepositoryNameException" @@ -13126,6 +13194,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdateDefaultBranchInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#BranchDoesNotExistException" @@ -13298,6 +13369,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdatePullRequestApprovalStateInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#ApprovalStateRequiredException" @@ -13584,6 +13658,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdateRepositoryDescriptionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#EncryptionIntegrityChecksFailedException" @@ -13643,6 +13720,9 @@ "input": { "target": "com.amazonaws.codecommit#UpdateRepositoryNameInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codecommit#InvalidRepositoryNameException" diff --git a/codegen/sdk/aws-models/codedeploy.json b/codegen/sdk/aws-models/codedeploy.json index db62fdcc7e7..7dad6bc962b 100644 --- a/codegen/sdk/aws-models/codedeploy.json +++ b/codegen/sdk/aws-models/codedeploy.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,6 +34,9 @@ "input": { "target": "com.amazonaws.codedeploy#AddTagsToOnPremisesInstancesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#InstanceLimitExceededException" @@ -86,7 +89,9 @@ "com.amazonaws.codedeploy#AdditionalDeploymentStatusInfo": { "type": "string", "traits": { - "smithy.api#deprecated": {} + "smithy.api#deprecated": { + "message": "AdditionalDeploymentStatusInfo is deprecated, use DeploymentStatusMessageList instead." + } } }, "com.amazonaws.codedeploy#Alarm": { @@ -109,24 +114,26 @@ "enabled": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the alarm configuration is enabled.

" } }, "ignorePollAlarmFailure": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a deployment should continue if information about the current state\n of alarms cannot be retrieved from Amazon CloudWatch. The default value is false.

\n " } }, "alarms": { "target": "com.amazonaws.codedeploy#AlarmList", "traits": { - "smithy.api#documentation": "

A list of alarms configured for the deployment group. A maximum of 10 alarms can be\n added to a deployment group.

" + "smithy.api#documentation": "

A list of alarms configured for the deployment or deployment group. A maximum of 10\n alarms can be added.

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

Information about alarms associated with the deployment group.

" + "smithy.api#documentation": "

Information about alarms associated with a deployment or deployment group.

" } }, "com.amazonaws.codedeploy#AlarmList": { @@ -144,7 +151,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -159,7 +166,7 @@ "content": { "target": "com.amazonaws.codedeploy#RawStringContent", "traits": { - "smithy.api#documentation": "

The YAML-formatted or JSON-formatted revision string.

\n

For an AWS Lambda deployment, the content includes a Lambda function name, the alias\n for its original version, and the alias for its replacement version. The deployment\n shifts traffic from the original version of the Lambda function to the replacement\n version.

\n

For an Amazon ECS deployment, the content includes the task name, information about\n the load balancer that serves traffic to the container, and more.

\n

For both types of deployments, the content can specify Lambda functions that run at\n specified hooks, such as BeforeInstall, during a deployment.

" + "smithy.api#documentation": "

The YAML-formatted or JSON-formatted revision string.

\n

For an Lambda deployment, the content includes a Lambda\n function name, the alias for its original version, and the alias for its replacement\n version. The deployment shifts traffic from the original version of the Lambda function to the replacement version.

\n

For an Amazon ECS deployment, the content includes the task name, information\n about the load balancer that serves traffic to the container, and more.

\n

For both types of deployments, the content can specify Lambda functions\n that run at specified hooks, such as BeforeInstall, during a deployment.\n

" } }, "sha256": { @@ -170,7 +177,7 @@ } }, "traits": { - "smithy.api#documentation": "

A revision for an AWS Lambda or Amazon ECS deployment that is a YAML-formatted or\n JSON-formatted string. For AWS Lambda and Amazon ECS deployments, the revision is the\n same as the AppSpec file. This method replaces the deprecated RawString\n data type.

" + "smithy.api#documentation": "

A revision for an Lambda or Amazon ECS deployment that is a\n YAML-formatted or JSON-formatted string. For Lambda and Amazon ECS deployments, the revision is the same as the AppSpec file. This method replaces the\n deprecated RawString data type.

" } }, "com.amazonaws.codedeploy#ApplicationAlreadyExistsException": { @@ -179,12 +186,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

An application with the specified name with the IAM user or AWS account already\n exists.

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

An application with the specified name with the IAM user or Amazon Web Services account already exists.

", "smithy.api#error": "client" } }, @@ -194,12 +201,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The application does not exist with the IAM user or AWS account.

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

The application does not exist with the IAM user or Amazon Web Services account.

", "smithy.api#error": "client" } }, @@ -230,6 +237,7 @@ "linkedToGitHub": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the user has authenticated with GitHub for the specified application.\n Otherwise, false.

" } }, @@ -242,7 +250,7 @@ "computePlatform": { "target": "com.amazonaws.codedeploy#ComputePlatform", "traits": { - "smithy.api#documentation": "

The destination platform type for deployment of the application (Lambda\n or Server).

" + "smithy.api#documentation": "

The destination platform type for deployment of the application (Lambda or Server).

" } } }, @@ -256,7 +264,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -280,7 +288,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -290,22 +298,26 @@ } }, "com.amazonaws.codedeploy#ApplicationRevisionSortBy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "registerTime", - "name": "RegisterTime" - }, - { - "value": "firstUsedTime", - "name": "FirstUsedTime" - }, - { - "value": "lastUsedTime", - "name": "LastUsedTime" + "type": "enum", + "members": { + "RegisterTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "registerTime" + } + }, + "FirstUsedTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "firstUsedTime" } - ] + }, + "LastUsedTime": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lastUsedTime" + } + } } }, "com.amazonaws.codedeploy#ApplicationsInfoList": { @@ -335,7 +347,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -350,6 +362,7 @@ "enabled": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a defined automatic rollback configuration is currently\n enabled.

" } }, @@ -365,22 +378,26 @@ } }, "com.amazonaws.codedeploy#AutoRollbackEvent": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEPLOYMENT_FAILURE", - "name": "DEPLOYMENT_FAILURE" - }, - { - "value": "DEPLOYMENT_STOP_ON_ALARM", - "name": "DEPLOYMENT_STOP_ON_ALARM" - }, - { - "value": "DEPLOYMENT_STOP_ON_REQUEST", - "name": "DEPLOYMENT_STOP_ON_REQUEST" + "type": "enum", + "members": { + "DEPLOYMENT_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_FAILURE" + } + }, + "DEPLOYMENT_STOP_ON_ALARM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_STOP_ON_ALARM" + } + }, + "DEPLOYMENT_STOP_ON_REQUEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_STOP_ON_REQUEST" } - ] + } } }, "com.amazonaws.codedeploy#AutoRollbackEventsList": { @@ -465,7 +482,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application about which to get revision\n information.

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

The name of an CodeDeploy application about which to get revision\n information.

", "smithy.api#required": {} } }, @@ -603,7 +620,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the applicable IAM user or\n AWS account.

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

The name of an CodeDeploy application associated with the applicable\n IAM or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -674,7 +691,7 @@ "smithy.api#deprecated": { "message": "This operation is deprecated, use BatchGetDeploymentTargets instead." }, - "smithy.api#documentation": "\n

This method works, but is deprecated. Use BatchGetDeploymentTargets\n instead.

\n
\n

Returns an array of one or more instances associated with a deployment. This method\n works with EC2/On-premises and AWS Lambda compute platforms. The newer\n BatchGetDeploymentTargets works with all compute platforms. The maximum\n number of instances that can be returned is 25.

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

This method works, but is deprecated. Use BatchGetDeploymentTargets\n instead.

\n
\n

Returns an array of one or more instances associated with a deployment. This method\n works with EC2/On-premises and Lambda compute platforms. The newer\n BatchGetDeploymentTargets works with all compute platforms. The maximum\n number of instances that can be returned is 25.

" } }, "com.amazonaws.codedeploy#BatchGetDeploymentInstancesInput": { @@ -757,7 +774,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns an array of one or more targets associated with a deployment. This method\n works with all compute types and should be used instead of the deprecated\n BatchGetDeploymentInstances. The maximum number of targets that can be\n returned is 25.

\n

The type of targets returned depends on the deployment's compute platform or\n deployment method:

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

Returns an array of one or more targets associated with a deployment. This method\n works with all compute types and should be used instead of the deprecated\n BatchGetDeploymentInstances. The maximum number of targets that can be\n returned is 25.

\n

The type of targets returned depends on the deployment's compute platform or\n deployment method:

\n " } }, "com.amazonaws.codedeploy#BatchGetDeploymentTargetsInput": { @@ -772,7 +789,7 @@ "targetIds": { "target": "com.amazonaws.codedeploy#TargetIdList", "traits": { - "smithy.api#documentation": "

The unique IDs of the deployment targets. The compute platform of the deployment\n determines the type of the targets and their formats. The maximum number of deployment\n target IDs you can specify is 25.

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

The unique IDs of the deployment targets. The compute platform of the deployment\n determines the type of the targets and their formats. The maximum number of deployment\n target IDs you can specify is 25.

\n " } } } @@ -783,7 +800,7 @@ "deploymentTargets": { "target": "com.amazonaws.codedeploy#DeploymentTargetList", "traits": { - "smithy.api#documentation": "

A list of target objects for a deployment. Each target object contains details about\n the target, such as its status and lifecycle events. The type of the target objects\n depends on the deployment' compute platform.

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

A list of target objects for a deployment. Each target object contains details about\n the target, such as its status and lifecycle events. The type of the target objects\n depends on the deployment' compute platform.

\n " } } } @@ -898,7 +915,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -945,7 +962,8 @@ "terminationWaitTimeInMinutes": { "target": "com.amazonaws.codedeploy#Duration", "traits": { - "smithy.api#documentation": "

For an Amazon EC2 deployment, the number of minutes to wait after a successful\n blue/green deployment before terminating instances from the original environment.

\n\n

For an Amazon ECS deployment, the number of minutes before deleting the original\n (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the\n original (blue) task set to a replacement (green) task set.

\n\n

The maximum setting is 2880 minutes (2 days).

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

For an Amazon EC2 deployment, the number of minutes to wait after a successful\n blue/green deployment before terminating instances from the original environment.

\n\n

For an Amazon ECS deployment, the number of minutes before deleting the\n original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts\n traffic from the original (blue) task set to a replacement (green) task set.

\n\n

The maximum setting is 2880 minutes (2 days).

" } } }, @@ -954,7 +972,10 @@ } }, "com.amazonaws.codedeploy#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codedeploy#BucketNameFilterRequiredException": { "type": "structure", @@ -962,7 +983,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -972,30 +993,38 @@ } }, "com.amazonaws.codedeploy#BundleType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "tar", - "name": "Tar" - }, - { - "value": "tgz", - "name": "TarGZip" - }, - { - "value": "zip", - "name": "Zip" - }, - { - "value": "YAML", - "name": "YAML" - }, - { - "value": "JSON", - "name": "JSON" - } - ] + "type": "enum", + "members": { + "Tar": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tar" + } + }, + "TarGZip": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tgz" + } + }, + "Zip": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zip" + } + }, + "YAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YAML" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + } } }, "com.amazonaws.codedeploy#CloudFormationResourceType": { @@ -1007,7 +1036,7 @@ "deploymentId": { "target": "com.amazonaws.codedeploy#DeploymentId", "traits": { - "smithy.api#documentation": "

The unique ID of an AWS CloudFormation blue/green deployment.

" + "smithy.api#documentation": "

The unique ID of an CloudFormation blue/green deployment.

" } }, "targetId": { @@ -1019,36 +1048,37 @@ "lastUpdatedAt": { "target": "com.amazonaws.codedeploy#Time", "traits": { - "smithy.api#documentation": "

The date and time when the target application was updated by an AWS CloudFormation\n blue/green deployment.

" + "smithy.api#documentation": "

The date and time when the target application was updated by an CloudFormation\n blue/green deployment.

" } }, "lifecycleEvents": { "target": "com.amazonaws.codedeploy#LifecycleEventList", "traits": { - "smithy.api#documentation": "

The lifecycle events of the AWS CloudFormation blue/green deployment to this target\n application.

" + "smithy.api#documentation": "

The lifecycle events of the CloudFormation blue/green deployment to this target\n application.

" } }, "status": { "target": "com.amazonaws.codedeploy#TargetStatus", "traits": { - "smithy.api#documentation": "

The status of an AWS CloudFormation blue/green deployment's target application.\n

" + "smithy.api#documentation": "

The status of an CloudFormation blue/green deployment's target application.\n

" } }, "resourceType": { "target": "com.amazonaws.codedeploy#CloudFormationResourceType", "traits": { - "smithy.api#documentation": "

The resource type for the AWS CloudFormation blue/green deployment.

" + "smithy.api#documentation": "

The resource type for the CloudFormation blue/green deployment.

" } }, "targetVersionWeight": { "target": "com.amazonaws.codedeploy#TrafficWeight", "traits": { - "smithy.api#documentation": "

The percentage of production traffic that the target version of an AWS CloudFormation\n blue/green deployment receives.

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

The percentage of production traffic that the target version of an CloudFormation\n blue/green deployment receives.

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

Information about the target to be updated by an AWS CloudFormation blue/green\n deployment. This target type is used for all deployments initiated by a CloudFormation\n stack update.

" + "smithy.api#documentation": "

Information about the target to be updated by an CloudFormation blue/green\n deployment. This target type is used for all deployments initiated by a CloudFormation stack update.

" } }, "com.amazonaws.codedeploy#CodeDeploy_20141006": { @@ -1209,7 +1239,7 @@ "name": "codedeploy" }, "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS CodeDeploy\n

AWS CodeDeploy is a deployment service that automates application deployments to\n Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS\n Lambda functions, or applications in an Amazon ECS service.

\n

You can deploy a nearly unlimited variety of application content, such as an updated\n Lambda function, updated applications in an Amazon ECS service, code, web and\n configuration files, executables, packages, scripts, multimedia files, and so on. AWS\n CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub\n repositories, or Bitbucket repositories. You do not need to make changes to your\n existing code before you can use AWS CodeDeploy.

\n

AWS CodeDeploy makes it easier for you to rapidly release new features, helps you\n avoid downtime during application deployment, and handles the complexity of updating\n your applications, without many of the risks associated with error-prone manual\n deployments.

\n

\n AWS CodeDeploy Components\n

\n

Use the information in this guide to help you work with the following AWS CodeDeploy\n components:

\n \n

This guide also contains information to help you get details about the instances in\n your deployments, to make on-premises instances available for AWS CodeDeploy\n deployments, to get details about a Lambda function deployment, and to get details about\n Amazon ECS service deployments.

\n

\n AWS CodeDeploy Information Resources\n

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

CodeDeploy is a deployment service that automates application deployments\n to Amazon EC2 instances, on-premises instances running in your own facility,\n serverless Lambda functions, or applications in an Amazon ECS\n service.

\n

You can deploy a nearly unlimited variety of application content, such as an updated\n Lambda function, updated applications in an Amazon ECS service,\n code, web and configuration files, executables, packages, scripts, multimedia files, and\n so on. CodeDeploy can deploy application content stored in Amazon S3\n buckets, GitHub repositories, or Bitbucket repositories. You do not need to make changes\n to your existing code before you can use CodeDeploy.

\n

CodeDeploy makes it easier for you to rapidly release new features, helps\n you avoid downtime during application deployment, and handles the complexity of updating\n your applications, without many of the risks associated with error-prone manual\n deployments.

\n

\n CodeDeploy Components\n

\n

Use the information in this guide to help you work with the following CodeDeploy components:

\n \n

This guide also contains information to help you get details about the instances in\n your deployments, to make on-premises instances available for CodeDeploy\n deployments, to get details about a Lambda function deployment, and to get\n details about Amazon ECS service deployments.

\n

\n CodeDeploy Information Resources\n

\n ", "smithy.api#title": "AWS CodeDeploy", "smithy.api#xmlNamespace": { "uri": "http://codedeploy.amazonaws.com/doc/2014-10-06/" @@ -1220,22 +1250,26 @@ "type": "string" }, "com.amazonaws.codedeploy#ComputePlatform": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Server", - "name": "SERVER" - }, - { - "value": "Lambda", - "name": "LAMBDA" - }, - { - "value": "ECS", - "name": "ECS" + "type": "enum", + "members": { + "SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Server" + } + }, + "LAMBDA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Lambda" + } + }, + "ECS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECS" } - ] + } } }, "com.amazonaws.codedeploy#ContinueDeployment": { @@ -1243,6 +1277,9 @@ "input": { "target": "com.amazonaws.codedeploy#ContinueDeploymentInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException" @@ -1328,7 +1365,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of the application. This name must be unique with the applicable IAM user or\n AWS account.

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

The name of the application. This name must be unique with the applicable IAM or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -1372,6 +1409,9 @@ "target": "com.amazonaws.codedeploy#CreateDeploymentOutput" }, "errors": [ + { + "target": "com.amazonaws.codedeploy#AlarmsLimitExceededException" + }, { "target": "com.amazonaws.codedeploy#ApplicationDoesNotExistException" }, @@ -1393,6 +1433,9 @@ { "target": "com.amazonaws.codedeploy#DescriptionTooLongException" }, + { + "target": "com.amazonaws.codedeploy#InvalidAlarmConfigException" + }, { "target": "com.amazonaws.codedeploy#InvalidApplicationNameException" }, @@ -1497,7 +1540,7 @@ "minimumHealthyHosts": { "target": "com.amazonaws.codedeploy#MinimumHealthyHosts", "traits": { - "smithy.api#documentation": "

The minimum number of healthy instances that should be available at any time during\n the deployment. There are two parameters expected in the input: type and value.

\n

The type parameter takes either of the following values:

\n \n

The value parameter takes an integer.

\n

For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT\n and a value of 95.

" + "smithy.api#documentation": "

The minimum number of healthy instances that should be available at any time during\n the deployment. There are two parameters expected in the input: type and value.

\n

The type parameter takes either of the following values:

\n \n

The value parameter takes an integer.

\n

For example, to set a minimum of 95% healthy instance, specify a type of FLEET_PERCENT\n and a value of 95.

" } }, "trafficRoutingConfig": { @@ -1650,7 +1693,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -1664,13 +1707,13 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "

If specified, the deployment configuration name can be either one of the predefined\n configurations provided with AWS CodeDeploy or a custom deployment configuration that\n you create by calling the create deployment configuration operation.

\n

\n CodeDeployDefault.OneAtATime is the default deployment configuration. It\n is used if a configuration isn't specified for the deployment or deployment\n group.

\n

For more information about the predefined deployment configurations in AWS CodeDeploy,\n see Working with\n Deployment Configurations in CodeDeploy in the AWS CodeDeploy User\n Guide.

" + "smithy.api#documentation": "

If specified, the deployment configuration name can be either one of the predefined\n configurations provided with CodeDeploy or a custom deployment configuration\n that you create by calling the create deployment configuration operation.

\n

\n CodeDeployDefault.OneAtATime is the default deployment configuration. It\n is used if a configuration isn't specified for the deployment or deployment\n group.

\n

For more information about the predefined deployment configurations in CodeDeploy, see Working with\n Deployment Configurations in CodeDeploy in the CodeDeploy User Guide.

" } }, "ec2TagFilters": { "target": "com.amazonaws.codedeploy#EC2TagFilterList", "traits": { - "smithy.api#documentation": "

The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances\n with any of the specified tags. Cannot be used in the same call as ec2TagSet.

" + "smithy.api#documentation": "

The Amazon EC2 tags on which to filter. The deployment group includes Amazon EC2 instances with any of the specified tags. Cannot be used in the same call\n as ec2TagSet.

" } }, "onPremisesInstanceTagFilters": { @@ -1688,14 +1731,14 @@ "serviceRoleArn": { "target": "com.amazonaws.codedeploy#Role", "traits": { - "smithy.api#documentation": "

A service role Amazon Resource Name (ARN) that allows AWS CodeDeploy to act on the\n user's behalf when interacting with AWS services.

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

A service role Amazon Resource Name (ARN) that allows CodeDeploy to act on\n the user's behalf when interacting with Amazon Web Services services.

", "smithy.api#required": {} } }, "triggerConfigurations": { "target": "com.amazonaws.codedeploy#TriggerConfigList", "traits": { - "smithy.api#documentation": "

Information about triggers to create when the deployment group is created. For\n examples, see Create a Trigger for an\n AWS CodeDeploy Event in the AWS CodeDeploy User\n Guide.

" + "smithy.api#documentation": "

Information about triggers to create when the deployment group is created. For\n examples, see Create a Trigger for an\n CodeDeploy Event in the CodeDeploy\n User Guide.

" } }, "alarmConfiguration": { @@ -1713,7 +1756,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "

Indicates what happens when new EC2 instances are launched mid-deployment and do not\n receive the deployed application revision.

\n

If this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new EC2 instances.

\n

If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new EC2 instances. This may result in instances having\n different revisions.

" + "smithy.api#documentation": "

Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.

\n

If this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.

\n

If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.

" } }, "deploymentStyle": { @@ -1737,13 +1780,13 @@ "ec2TagSet": { "target": "com.amazonaws.codedeploy#EC2TagSet", "traits": { - "smithy.api#documentation": "

Information about groups of tags applied to EC2 instances. The deployment group\n includes only EC2 instances identified by all the tag groups. Cannot be used in the same\n call as ec2TagFilters.

" + "smithy.api#documentation": "

Information about groups of tags applied to Amazon EC2 instances. The\n deployment group includes only Amazon EC2 instances identified by all the tag\n groups. Cannot be used in the same call as ec2TagFilters.

" } }, "ecsServices": { "target": "com.amazonaws.codedeploy#ECSServiceList", "traits": { - "smithy.api#documentation": "

The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service\n is specified as an Amazon ECS cluster and service name pair using the format\n :.

" + "smithy.api#documentation": "

The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name\n pair using the format :.

" } }, "onPremisesTagSet": { @@ -1783,7 +1826,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -1802,7 +1845,7 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "

The name of a deployment configuration associated with the IAM user or AWS\n account.

\n

If not specified, the value configured in the deployment group is used as the default.\n If the deployment group does not have a deployment configuration associated with it,\n CodeDeployDefault.OneAtATime is used by default.

" + "smithy.api#documentation": "

The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.

\n

If not specified, the value configured in the deployment group is used as the default.\n If the deployment group does not have a deployment configuration associated with it,\n CodeDeployDefault.OneAtATime is used by default.

" } }, "description": { @@ -1814,7 +1857,8 @@ "ignoreApplicationStopFailures": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { - "smithy.api#documentation": "

If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with\n DownloadBundle. If BeforeBlockTraffic fails, the\n deployment continues with BlockTraffic. If AfterBlockTraffic\n fails, the deployment continues with ApplicationStop.

\n\n

If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.

\n\n

During a deployment, the AWS CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.

\n\n

If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.

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

If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with\n DownloadBundle. If BeforeBlockTraffic fails, the\n deployment continues with BlockTraffic. If AfterBlockTraffic\n fails, the deployment continues with ApplicationStop.

\n\n

If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.

\n\n

During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.

\n\n

If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.

" } }, "targetInstances": { @@ -1832,13 +1876,20 @@ "updateOutdatedInstancesOnly": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to deploy to all instances or only to instances that are not\n running the latest application revision.

" } }, "fileExistsBehavior": { "target": "com.amazonaws.codedeploy#FileExistsBehavior", "traits": { - "smithy.api#documentation": "

Information about how AWS CodeDeploy handles files that already exist in a deployment\n target location but weren't part of the previous successful deployment.

\n

The fileExistsBehavior parameter takes any of the following\n values:

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

Information about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.

\n

The fileExistsBehavior parameter takes any of the following\n values:

\n " + } + }, + "overrideAlarmConfiguration": { + "target": "com.amazonaws.codedeploy#AlarmConfiguration", + "traits": { + "smithy.api#documentation": "

Allows you to specify information about alarms associated with a deployment. The alarm\n configuration that you specify here will override the alarm configuration at the\n deployment group level. Consider overriding the alarm configuration if you have set up\n alarms at the deployment group level that are causing deployment failures. In this case,\n you would call CreateDeployment to create a new deployment that uses a\n previous application revision that is known to work, and set its alarm configuration to\n turn off alarm polling. Turning off alarm polling ensures that the new deployment\n proceeds without being blocked by the alarm that was generated by the previous, failed,\n deployment.

\n \n

If you specify an overrideAlarmConfiguration, you need the\n UpdateDeploymentGroup IAM permission when calling\n CreateDeployment.

\n
" } } }, @@ -1865,6 +1916,9 @@ "input": { "target": "com.amazonaws.codedeploy#DeleteApplicationInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#ApplicationNameRequiredException" @@ -1886,7 +1940,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } } @@ -1900,6 +1954,9 @@ "input": { "target": "com.amazonaws.codedeploy#DeleteDeploymentConfigInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#DeploymentConfigInUseException" @@ -1924,7 +1981,7 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "

The name of a deployment configuration associated with the IAM user or AWS\n account.

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

The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.

", "smithy.api#required": {} } } @@ -1968,7 +2025,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -1990,7 +2047,7 @@ "hooksNotCleanedUp": { "target": "com.amazonaws.codedeploy#AutoScalingGroupList", "traits": { - "smithy.api#documentation": "

If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto\n Scaling lifecycle event hooks from the Amazon EC2 instances in the Auto Scaling group.\n If the output contains data, AWS CodeDeploy could not remove some Auto Scaling lifecycle\n event hooks from the Amazon EC2 instances in the Auto Scaling group.

" + "smithy.api#documentation": "

If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, CodeDeploy successfully removed all\n corresponding Auto Scaling lifecycle event hooks from the Amazon EC2\n instances in the Auto Scaling group. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from\n the Amazon EC2 instances in the Auto Scaling group.

" } } }, @@ -2073,7 +2130,7 @@ "externalId": { "target": "com.amazonaws.codedeploy#ExternalId", "traits": { - "smithy.api#documentation": "

The unique ID of an external resource (for example, a CloudFormation stack ID) that is\n linked to one or more CodeDeploy resources.

" + "smithy.api#documentation": "

The unique ID of an external resource (for example, a CloudFormation stack\n ID) that is linked to one or more CodeDeploy resources.

" } } } @@ -2088,7 +2145,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2103,12 +2160,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

A deployment configuration with the specified name with the IAM user or AWS account\n already exists.

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

A deployment configuration with the specified name with the IAM user or\n Amazon Web Services account already exists.

", "smithy.api#error": "client" } }, @@ -2118,12 +2175,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The deployment configuration does not exist with the IAM user or AWS account.

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

The deployment configuration does not exist with the IAM user or\n Amazon Web Services account.

", "smithy.api#error": "client" } }, @@ -2136,7 +2193,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2181,7 +2238,7 @@ "trafficRoutingConfig": { "target": "com.amazonaws.codedeploy#TrafficRoutingConfig", "traits": { - "smithy.api#documentation": "

The configuration that specifies how the deployment traffic is routed. Used for\n deployments with a Lambda or ECS compute platform only.

" + "smithy.api#documentation": "

The configuration that specifies how the deployment traffic is routed. Used for\n deployments with a Lambda or Amazon ECS compute platform\n only.

" } } }, @@ -2195,7 +2252,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2219,7 +2276,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2235,38 +2292,50 @@ } }, "com.amazonaws.codedeploy#DeploymentCreator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "user", - "name": "User" - }, - { - "value": "autoscaling", - "name": "Autoscaling" - }, - { - "value": "codeDeployRollback", - "name": "CodeDeployRollback" - }, - { - "value": "CodeDeploy", - "name": "CodeDeploy" - }, - { - "value": "CodeDeployAutoUpdate", - "name": "CodeDeployAutoUpdate" - }, - { - "value": "CloudFormation", - "name": "CloudFormation" - }, - { - "value": "CloudFormationRollback", - "name": "CloudFormationRollback" - } - ] + "type": "enum", + "members": { + "User": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "user" + } + }, + "Autoscaling": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "autoscaling" + } + }, + "CodeDeployRollback": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "codeDeployRollback" + } + }, + "CodeDeploy": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeDeploy" + } + }, + "CodeDeployAutoUpdate": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeDeployAutoUpdate" + } + }, + "CloudFormation": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudFormation" + } + }, + "CloudFormationRollback": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudFormationRollback" + } + } } }, "com.amazonaws.codedeploy#DeploymentDoesNotExistException": { @@ -2275,12 +2344,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The deployment with the IAM user or AWS account does not exist.

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

The deployment with the IAM user or Amazon Web Services account does not\n exist.

", "smithy.api#error": "client" } }, @@ -2290,12 +2359,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

A deployment group with the specified name with the IAM user or AWS account already\n exists.

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

A deployment group with the specified name with the IAM user or Amazon Web Services account already exists.

", "smithy.api#error": "client" } }, @@ -2305,12 +2374,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The named deployment group with the IAM user or AWS account does not exist.

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

The named deployment group with the IAM user or Amazon Web Services account does not exist.

", "smithy.api#error": "client" } }, @@ -2347,7 +2416,7 @@ "ec2TagFilters": { "target": "com.amazonaws.codedeploy#EC2TagFilterList", "traits": { - "smithy.api#documentation": "

The Amazon EC2 tags on which to filter. The deployment group includes EC2 instances\n with any of the specified tags.

" + "smithy.api#documentation": "

The Amazon EC2 tags on which to filter. The deployment group includes EC2\n instances with any of the specified tags.

" } }, "onPremisesInstanceTagFilters": { @@ -2365,7 +2434,7 @@ "serviceRoleArn": { "target": "com.amazonaws.codedeploy#Role", "traits": { - "smithy.api#documentation": "

A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make\n calls to AWS services on your behalf. For more information, see Create a\n Service Role for AWS CodeDeploy in the AWS CodeDeploy User\n Guide.

" + "smithy.api#documentation": "

A service role Amazon Resource Name (ARN) that grants CodeDeploy permission to make\n calls to Amazon Web Services services on your behalf. For more information, see Create a\n Service Role for CodeDeploy in the CodeDeploy User Guide.

" } }, "targetRevision": { @@ -2401,7 +2470,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "

Indicates what happens when new EC2 instances are launched mid-deployment and do not\n receive the deployed application revision.

\n

If this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new EC2 instances.

\n

If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new EC2 instances. This may result in instances having\n different revisions.

" + "smithy.api#documentation": "

Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.

\n

If this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.

\n

If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.

" } }, "blueGreenDeploymentConfiguration": { @@ -2431,7 +2500,7 @@ "ec2TagSet": { "target": "com.amazonaws.codedeploy#EC2TagSet", "traits": { - "smithy.api#documentation": "

Information about groups of tags applied to an EC2 instance. The deployment group\n includes only EC2 instances identified by all of the tag groups. Cannot be used in the\n same call as ec2TagFilters.

" + "smithy.api#documentation": "

Information about groups of tags applied to an Amazon EC2 instance. The\n deployment group includes only Amazon EC2 instances identified by all of the tag\n groups. Cannot be used in the same call as ec2TagFilters.

" } }, "onPremisesTagSet": { @@ -2449,7 +2518,7 @@ "ecsServices": { "target": "com.amazonaws.codedeploy#ECSServiceList", "traits": { - "smithy.api#documentation": "

The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service\n is specified as an Amazon ECS cluster and service name pair using the format\n :.

" + "smithy.api#documentation": "

The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name\n pair using the format :.

" } } }, @@ -2469,7 +2538,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2493,7 +2562,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2517,7 +2586,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2610,13 +2679,14 @@ "creator": { "target": "com.amazonaws.codedeploy#DeploymentCreator", "traits": { - "smithy.api#documentation": "

The means by which the deployment was created:

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

The means by which the deployment was created:

\n " } }, "ignoreApplicationStopFailures": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { - "smithy.api#documentation": "

If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with DownloadBundle. If\n BeforeBlockTraffic fails, the deployment continues with\n BlockTraffic. If AfterBlockTraffic fails, the deployment\n continues with ApplicationStop.

\n\n

If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.

\n\n

During a deployment, the AWS CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.

\n\n

If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.

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

If true, then if an ApplicationStop, BeforeBlockTraffic, or\n AfterBlockTraffic deployment lifecycle event to an instance fails, then\n the deployment continues to the next deployment lifecycle event. For example, if\n ApplicationStop fails, the deployment continues with DownloadBundle. If\n BeforeBlockTraffic fails, the deployment continues with\n BlockTraffic. If AfterBlockTraffic fails, the deployment\n continues with ApplicationStop.

\n\n

If false or not specified, then if a lifecycle event fails during a deployment to an\n instance, that deployment fails. If deployment to that instance is part of an overall\n deployment and the number of healthy hosts is not less than the minimum number of\n healthy hosts, then a deployment to the next instance is attempted.

\n\n

During a deployment, the CodeDeploy agent runs the scripts specified for\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic in the AppSpec file from the previous successful\n deployment. (All other scripts are run from the AppSpec file in the current deployment.)\n If one of these scripts contains an error and does not run successfully, the deployment\n can fail.

\n\n

If the cause of the failure is a script from the last successful deployment that will\n never run successfully, create a new deployment and use\n ignoreApplicationStopFailures to specify that the\n ApplicationStop, BeforeBlockTraffic, and\n AfterBlockTraffic failures should be ignored.

" } }, "autoRollbackConfiguration": { @@ -2628,6 +2698,7 @@ "updateOutdatedInstancesOnly": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether only instances that are not running the latest application revision\n are to be deployed to.

" } }, @@ -2652,6 +2723,7 @@ "instanceTerminationWaitTimeStarted": { "target": "com.amazonaws.codedeploy#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the wait period set for the termination of instances in the original\n environment has started. Status is 'false' if the KEEP_ALIVE option is specified.\n Otherwise, 'true' as soon as the termination wait period starts.

" } }, @@ -2676,7 +2748,7 @@ "fileExistsBehavior": { "target": "com.amazonaws.codedeploy#FileExistsBehavior", "traits": { - "smithy.api#documentation": "

Information about how AWS CodeDeploy handles files that already exist in a deployment\n target location but weren't part of the previous successful deployment.

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

Information about how CodeDeploy handles files that already exist in a\n deployment target location but weren't part of the previous successful\n deployment.

\n " } }, "deploymentStatusMessages": { @@ -2694,11 +2766,14 @@ "externalId": { "target": "com.amazonaws.codedeploy#ExternalId", "traits": { - "smithy.api#documentation": "

The unique ID for an external resource (for example, a CloudFormation stack ID) that\n is linked to this deployment.

" + "smithy.api#documentation": "

The unique ID for an external resource (for example, a CloudFormation stack\n ID) that is linked to this deployment.

" } }, "relatedDeployments": { "target": "com.amazonaws.codedeploy#RelatedDeployments" + }, + "overrideAlarmConfiguration": { + "target": "com.amazonaws.codedeploy#AlarmConfiguration" } }, "traits": { @@ -2711,7 +2786,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2726,7 +2801,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2741,7 +2816,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2751,18 +2826,20 @@ } }, "com.amazonaws.codedeploy#DeploymentOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "WITH_TRAFFIC_CONTROL", - "name": "WITH_TRAFFIC_CONTROL" - }, - { - "value": "WITHOUT_TRAFFIC_CONTROL", - "name": "WITHOUT_TRAFFIC_CONTROL" + "type": "enum", + "members": { + "WITH_TRAFFIC_CONTROL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WITH_TRAFFIC_CONTROL" + } + }, + "WITHOUT_TRAFFIC_CONTROL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WITHOUT_TRAFFIC_CONTROL" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentOverview": { @@ -2771,36 +2848,42 @@ "Pending": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances in the deployment in a pending state.

" } }, "InProgress": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances in which the deployment is in progress.

" } }, "Succeeded": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances in the deployment to which revisions have been successfully\n deployed.

" } }, "Failed": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances in the deployment in a failed state.

" } }, "Skipped": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances in the deployment in a skipped state.

" } }, "Ready": { "target": "com.amazonaws.codedeploy#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances in a replacement environment ready to receive traffic in a\n blue/green deployment.

" } } @@ -2810,18 +2893,20 @@ } }, "com.amazonaws.codedeploy#DeploymentReadyAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONTINUE_DEPLOYMENT", - "name": "CONTINUE_DEPLOYMENT" - }, - { - "value": "STOP_DEPLOYMENT", - "name": "STOP_DEPLOYMENT" + "type": "enum", + "members": { + "CONTINUE_DEPLOYMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUE_DEPLOYMENT" + } + }, + "STOP_DEPLOYMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOP_DEPLOYMENT" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentReadyOption": { @@ -2836,6 +2921,7 @@ "waitTimeInMinutes": { "target": "com.amazonaws.codedeploy#Duration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of minutes to wait before the status of a blue/green deployment is changed\n to Stopped if rerouting is not started manually. Applies only to the\n STOP_DEPLOYMENT option for actionOnTimeout.

" } } @@ -2845,42 +2931,56 @@ } }, "com.amazonaws.codedeploy#DeploymentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Created", - "name": "CREATED" - }, - { - "value": "Queued", - "name": "QUEUED" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Baking", - "name": "BAKING" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Stopped", - "name": "STOPPED" - }, - { - "value": "Ready", - "name": "READY" - } - ] + "type": "enum", + "members": { + "CREATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Created" + } + }, + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Queued" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "BAKING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Baking" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "STOPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Stopped" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ready" + } + } } }, "com.amazonaws.codedeploy#DeploymentStatusList": { @@ -2933,13 +3033,13 @@ "lambdaTarget": { "target": "com.amazonaws.codedeploy#LambdaTarget", "traits": { - "smithy.api#documentation": "

Information about the target for a deployment that uses the AWS Lambda compute\n platform.

" + "smithy.api#documentation": "

Information about the target for a deployment that uses the Lambda\n compute platform.

" } }, "ecsTarget": { "target": "com.amazonaws.codedeploy#ECSTarget", "traits": { - "smithy.api#documentation": "

Information about the target for a deployment that uses the Amazon ECS compute\n platform.

" + "smithy.api#documentation": "

Information about the target for a deployment that uses the Amazon ECS\n compute platform.

" } }, "cloudFormationTarget": { @@ -2956,7 +3056,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2971,7 +3071,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -2992,66 +3092,76 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The maximum number of targets that can be associated with an Amazon ECS or AWS Lambda\n deployment was exceeded. The target list of both types of deployments must have exactly\n one item. This exception does not apply to EC2/On-premises deployments.

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

The maximum number of targets that can be associated with an Amazon ECS or\n Lambda deployment was exceeded. The target list of both types of\n deployments must have exactly one item. This exception does not apply to EC2/On-premises\n deployments.

", "smithy.api#error": "client" } }, "com.amazonaws.codedeploy#DeploymentTargetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InstanceTarget", - "name": "INSTANCE_TARGET" - }, - { - "value": "LambdaTarget", - "name": "LAMBDA_TARGET" - }, - { - "value": "ECSTarget", - "name": "ECS_TARGET" - }, - { - "value": "CloudFormationTarget", - "name": "CLOUDFORMATION_TARGET" - } - ] + "type": "enum", + "members": { + "INSTANCE_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceTarget" + } + }, + "LAMBDA_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LambdaTarget" + } + }, + "ECS_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECSTarget" + } + }, + "CLOUDFORMATION_TARGET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudFormationTarget" + } + } } }, "com.amazonaws.codedeploy#DeploymentType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IN_PLACE", - "name": "IN_PLACE" - }, - { - "value": "BLUE_GREEN", - "name": "BLUE_GREEN" + "type": "enum", + "members": { + "IN_PLACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PLACE" + } + }, + "BLUE_GREEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLUE_GREEN" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentWaitType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "READY_WAIT", - "name": "READY_WAIT" - }, - { - "value": "TERMINATION_WAIT", - "name": "TERMINATION_WAIT" + "type": "enum", + "members": { + "READY_WAIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY_WAIT" + } + }, + "TERMINATION_WAIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATION_WAIT" } - ] + } } }, "com.amazonaws.codedeploy#DeploymentsInfoList": { @@ -3071,6 +3181,9 @@ "input": { "target": "com.amazonaws.codedeploy#DeregisterOnPremisesInstanceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#InstanceNameRequiredException" @@ -3107,7 +3220,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -3140,7 +3253,7 @@ "logTail": { "target": "com.amazonaws.codedeploy#LogTail", "traits": { - "smithy.api#documentation": "

The last portion of the diagnostic log.

\n

If available, AWS CodeDeploy returns up to the last 4 KB of the diagnostic log.

" + "smithy.api#documentation": "

The last portion of the diagnostic log.

\n

If available, CodeDeploy returns up to the last 4 KB of the diagnostic\n log.

" } } }, @@ -3149,7 +3262,10 @@ } }, "com.amazonaws.codedeploy#Duration": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#EC2TagFilter": { "type": "structure", @@ -3184,22 +3300,26 @@ } }, "com.amazonaws.codedeploy#EC2TagFilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KEY_ONLY", - "name": "KEY_ONLY" - }, - { - "value": "VALUE_ONLY", - "name": "VALUE_ONLY" - }, - { - "value": "KEY_AND_VALUE", - "name": "KEY_AND_VALUE" + "type": "enum", + "members": { + "KEY_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_ONLY" } - ] + }, + "VALUE_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALUE_ONLY" + } + }, + "KEY_AND_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_AND_VALUE" + } + } } }, "com.amazonaws.codedeploy#EC2TagSet": { @@ -3208,12 +3328,12 @@ "ec2TagSetList": { "target": "com.amazonaws.codedeploy#EC2TagSetList", "traits": { - "smithy.api#documentation": "

A list that contains other lists of EC2 instance tag groups. For an instance to be\n included in the deployment group, it must be identified by all of the tag groups in the\n list.

" + "smithy.api#documentation": "

A list that contains other lists of Amazon EC2 instance tag groups. For an\n instance to be included in the deployment group, it must be identified by all of the tag\n groups in the list.

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

Information about groups of EC2 instance tags.

" + "smithy.api#documentation": "

Information about groups of Amazon EC2 instance tags.

" } }, "com.amazonaws.codedeploy#EC2TagSetList": { @@ -3237,12 +3357,12 @@ "clusterName": { "target": "com.amazonaws.codedeploy#ECSClusterName", "traits": { - "smithy.api#documentation": "

The name of the cluster that the Amazon ECS service is associated with.

" + "smithy.api#documentation": "

The name of the cluster that the Amazon ECS service is associated with.\n

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

Contains the service and cluster names used to identify an Amazon ECS deployment's\n target.

" + "smithy.api#documentation": "

Contains the service and cluster names used to identify an Amazon ECS\n deployment's target.

" } }, "com.amazonaws.codedeploy#ECSServiceList": { @@ -3257,12 +3377,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The Amazon ECS service is associated with more than one deployment groups. An Amazon\n ECS service can be associated with only one deployment group.

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

The Amazon ECS service is associated with more than one deployment groups. An\n Amazon ECS service can be associated with only one deployment group.

", "smithy.api#error": "client" } }, @@ -3293,13 +3413,13 @@ "lastUpdatedAt": { "target": "com.amazonaws.codedeploy#Time", "traits": { - "smithy.api#documentation": "

The date and time when the target Amazon ECS application was updated by a deployment.\n

" + "smithy.api#documentation": "

The date and time when the target Amazon ECS application was updated by a\n deployment.

" } }, "lifecycleEvents": { "target": "com.amazonaws.codedeploy#LifecycleEventList", "traits": { - "smithy.api#documentation": "

The lifecycle events of the deployment to this target Amazon ECS application.

" + "smithy.api#documentation": "

The lifecycle events of the deployment to this target Amazon ECS application.\n

" } }, "status": { @@ -3331,19 +3451,22 @@ "desiredCount": { "target": "com.amazonaws.codedeploy#ECSTaskSetCount", "traits": { - "smithy.api#documentation": "

The number of tasks in a task set. During a deployment that uses the Amazon ECS\n compute type, CodeDeploy instructs Amazon ECS to create a new task set and uses this\n value to determine how many tasks to create. After the updated task set is created,\n CodeDeploy shifts traffic to the new task set.

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

The number of tasks in a task set. During a deployment that uses the Amazon ECS compute type, CodeDeploy instructs Amazon ECS to create a new task set and\n uses this value to determine how many tasks to create. After the updated task set is\n created, CodeDeploy shifts traffic to the new task set.

" } }, "pendingCount": { "target": "com.amazonaws.codedeploy#ECSTaskSetCount", "traits": { - "smithy.api#documentation": "

The number of tasks in the task set that are in the PENDING status\n during an Amazon ECS deployment. A task in the PENDING state is preparing\n to enter the RUNNING state. A task set enters the PENDING\n status when it launches for the first time, or when it is restarted after being in the\n STOPPED state.

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

The number of tasks in the task set that are in the PENDING status\n during an Amazon ECS deployment. A task in the PENDING state is\n preparing to enter the RUNNING state. A task set enters the\n PENDING status when it launches for the first time, or when it is\n restarted after being in the STOPPED state.

" } }, "runningCount": { "target": "com.amazonaws.codedeploy#ECSTaskSetCount", "traits": { - "smithy.api#documentation": "

The number of tasks in the task set that are in the RUNNING status\n during an Amazon ECS deployment. A task in the RUNNING state is running and\n ready for use.

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

The number of tasks in the task set that are in the RUNNING status\n during an Amazon ECS deployment. A task in the RUNNING state is\n running and ready for use.

" } }, "status": { @@ -3355,13 +3478,14 @@ "trafficWeight": { "target": "com.amazonaws.codedeploy#TrafficWeight", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of traffic served by this task set.

" } }, "targetGroup": { "target": "com.amazonaws.codedeploy#TargetGroupInfo", "traits": { - "smithy.api#documentation": "

The target group associated with the task set. The target group is used by AWS\n CodeDeploy to manage traffic to a task set.

" + "smithy.api#documentation": "

The target group associated with the task set. The target group is used by CodeDeploy to manage traffic to a task set.

" } }, "taskSetLabel": { @@ -3372,11 +3496,14 @@ } }, "traits": { - "smithy.api#documentation": "

Information about a set of Amazon ECS tasks in an AWS CodeDeploy deployment. An\n Amazon ECS task set includes details such as the desired number of tasks, how many tasks\n are running, and whether the task set serves production traffic. An AWS CodeDeploy\n application that uses the Amazon ECS compute platform deploys a containerized\n application in an Amazon ECS service as a task set.

" + "smithy.api#documentation": "

Information about a set of Amazon ECS tasks in an CodeDeploy\n deployment. An Amazon ECS task set includes details such as the desired number\n of tasks, how many tasks are running, and whether the task set serves production\n traffic. An CodeDeploy application that uses the Amazon ECS compute\n platform deploys a containerized application in an Amazon ECS service as a task\n set.

" } }, "com.amazonaws.codedeploy#ECSTaskSetCount": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#ECSTaskSetIdentifier": { "type": "string" @@ -3417,146 +3544,212 @@ "type": "string" }, "com.amazonaws.codedeploy#ErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AGENT_ISSUE", - "name": "AGENT_ISSUE" - }, - { - "value": "ALARM_ACTIVE", - "name": "ALARM_ACTIVE" - }, - { - "value": "APPLICATION_MISSING", - "name": "APPLICATION_MISSING" - }, - { - "value": "AUTOSCALING_VALIDATION_ERROR", - "name": "AUTOSCALING_VALIDATION_ERROR" - }, - { - "value": "AUTO_SCALING_CONFIGURATION", - "name": "AUTO_SCALING_CONFIGURATION" - }, - { - "value": "AUTO_SCALING_IAM_ROLE_PERMISSIONS", - "name": "AUTO_SCALING_IAM_ROLE_PERMISSIONS" - }, - { - "value": "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND", - "name": "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" - }, - { - "value": "CUSTOMER_APPLICATION_UNHEALTHY", - "name": "CUSTOMER_APPLICATION_UNHEALTHY" - }, - { - "value": "DEPLOYMENT_GROUP_MISSING", - "name": "DEPLOYMENT_GROUP_MISSING" - }, - { - "value": "ECS_UPDATE_ERROR", - "name": "ECS_UPDATE_ERROR" - }, - { - "value": "ELASTIC_LOAD_BALANCING_INVALID", - "name": "ELASTIC_LOAD_BALANCING_INVALID" - }, - { - "value": "ELB_INVALID_INSTANCE", - "name": "ELB_INVALID_INSTANCE" - }, - { - "value": "HEALTH_CONSTRAINTS", - "name": "HEALTH_CONSTRAINTS" - }, - { - "value": "HEALTH_CONSTRAINTS_INVALID", - "name": "HEALTH_CONSTRAINTS_INVALID" - }, - { - "value": "HOOK_EXECUTION_FAILURE", - "name": "HOOK_EXECUTION_FAILURE" - }, - { - "value": "IAM_ROLE_MISSING", - "name": "IAM_ROLE_MISSING" - }, - { - "value": "IAM_ROLE_PERMISSIONS", - "name": "IAM_ROLE_PERMISSIONS" - }, - { - "value": "INTERNAL_ERROR", - "name": "INTERNAL_ERROR" - }, - { - "value": "INVALID_ECS_SERVICE", - "name": "INVALID_ECS_SERVICE" - }, - { - "value": "INVALID_LAMBDA_CONFIGURATION", - "name": "INVALID_LAMBDA_CONFIGURATION" - }, - { - "value": "INVALID_LAMBDA_FUNCTION", - "name": "INVALID_LAMBDA_FUNCTION" - }, - { - "value": "INVALID_REVISION", - "name": "INVALID_REVISION" - }, - { - "value": "MANUAL_STOP", - "name": "MANUAL_STOP" - }, - { - "value": "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION", - "name": "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" - }, - { - "value": "MISSING_ELB_INFORMATION", - "name": "MISSING_ELB_INFORMATION" - }, - { - "value": "MISSING_GITHUB_TOKEN", - "name": "MISSING_GITHUB_TOKEN" - }, - { - "value": "NO_EC2_SUBSCRIPTION", - "name": "NO_EC2_SUBSCRIPTION" - }, - { - "value": "NO_INSTANCES", - "name": "NO_INSTANCES" - }, - { - "value": "OVER_MAX_INSTANCES", - "name": "OVER_MAX_INSTANCES" - }, - { - "value": "RESOURCE_LIMIT_EXCEEDED", - "name": "RESOURCE_LIMIT_EXCEEDED" - }, - { - "value": "REVISION_MISSING", - "name": "REVISION_MISSING" - }, - { - "value": "THROTTLED", - "name": "THROTTLED" - }, - { - "value": "TIMEOUT", - "name": "TIMEOUT" - }, - { - "value": "CLOUDFORMATION_STACK_FAILURE", - "name": "CLOUDFORMATION_STACK_FAILURE" - } - ] + "type": "enum", + "members": { + "AGENT_ISSUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_ISSUE" + } + }, + "ALARM_ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALARM_ACTIVE" + } + }, + "APPLICATION_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION_MISSING" + } + }, + "AUTOSCALING_VALIDATION_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTOSCALING_VALIDATION_ERROR" + } + }, + "AUTO_SCALING_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_SCALING_CONFIGURATION" + } + }, + "AUTO_SCALING_IAM_ROLE_PERMISSIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_SCALING_IAM_ROLE_PERMISSIONS" + } + }, + "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CODEDEPLOY_RESOURCE_CANNOT_BE_FOUND" + } + }, + "CUSTOMER_APPLICATION_UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_APPLICATION_UNHEALTHY" + } + }, + "DEPLOYMENT_GROUP_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT_GROUP_MISSING" + } + }, + "ECS_UPDATE_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECS_UPDATE_ERROR" + } + }, + "ELASTIC_LOAD_BALANCING_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTIC_LOAD_BALANCING_INVALID" + } + }, + "ELB_INVALID_INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELB_INVALID_INSTANCE" + } + }, + "HEALTH_CONSTRAINTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTH_CONSTRAINTS" + } + }, + "HEALTH_CONSTRAINTS_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTH_CONSTRAINTS_INVALID" + } + }, + "HOOK_EXECUTION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOOK_EXECUTION_FAILURE" + } + }, + "IAM_ROLE_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ROLE_MISSING" + } + }, + "IAM_ROLE_PERMISSIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ROLE_PERMISSIONS" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_ERROR" + } + }, + "INVALID_ECS_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_ECS_SERVICE" + } + }, + "INVALID_LAMBDA_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_LAMBDA_CONFIGURATION" + } + }, + "INVALID_LAMBDA_FUNCTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_LAMBDA_FUNCTION" + } + }, + "INVALID_REVISION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_REVISION" + } + }, + "MANUAL_STOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL_STOP" + } + }, + "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_BLUE_GREEN_DEPLOYMENT_CONFIGURATION" + } + }, + "MISSING_ELB_INFORMATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_ELB_INFORMATION" + } + }, + "MISSING_GITHUB_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_GITHUB_TOKEN" + } + }, + "NO_EC2_SUBSCRIPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_EC2_SUBSCRIPTION" + } + }, + "NO_INSTANCES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_INSTANCES" + } + }, + "OVER_MAX_INSTANCES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVER_MAX_INSTANCES" + } + }, + "RESOURCE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_LIMIT_EXCEEDED" + } + }, + "REVISION_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REVISION_MISSING" + } + }, + "THROTTLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THROTTLED" + } + }, + "TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMEOUT" + } + }, + "CLOUDFORMATION_STACK_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUDFORMATION_STACK_FAILURE" + } + } } }, "com.amazonaws.codedeploy#ErrorInformation": { @@ -3565,7 +3758,7 @@ "code": { "target": "com.amazonaws.codedeploy#ErrorCode", "traits": { - "smithy.api#documentation": "

For more information, see Error Codes for AWS\n CodeDeploy in the AWS CodeDeploy User Guide.

\n

The error code:

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

For more information, see Error Codes for CodeDeploy in the CodeDeploy User Guide.

\n

The error code:

\n " } }, "message": { @@ -3586,22 +3779,26 @@ "type": "string" }, "com.amazonaws.codedeploy#FileExistsBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISALLOW", - "name": "DISALLOW" - }, - { - "value": "OVERWRITE", - "name": "OVERWRITE" - }, - { - "value": "RETAIN", - "name": "RETAIN" + "type": "enum", + "members": { + "DISALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISALLOW" + } + }, + "OVERWRITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OVERWRITE" + } + }, + "RETAIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETAIN" } - ] + } } }, "com.amazonaws.codedeploy#FilterValue": { @@ -3631,19 +3828,19 @@ "firstUsedTime": { "target": "com.amazonaws.codedeploy#Timestamp", "traits": { - "smithy.api#documentation": "

When the revision was first used by AWS CodeDeploy.

" + "smithy.api#documentation": "

When the revision was first used by CodeDeploy.

" } }, "lastUsedTime": { "target": "com.amazonaws.codedeploy#Timestamp", "traits": { - "smithy.api#documentation": "

When the revision was last used by AWS CodeDeploy.

" + "smithy.api#documentation": "

When the revision was last used by CodeDeploy.

" } }, "registerTime": { "target": "com.amazonaws.codedeploy#Timestamp", "traits": { - "smithy.api#documentation": "

When the revision was registered with AWS CodeDeploy.

" + "smithy.api#documentation": "

When the revision was registered with CodeDeploy.

" } } }, @@ -3680,7 +3877,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } } @@ -3875,7 +4072,7 @@ "deploymentConfigName": { "target": "com.amazonaws.codedeploy#DeploymentConfigName", "traits": { - "smithy.api#documentation": "

The name of a deployment configuration associated with the IAM user or AWS\n account.

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

The name of a deployment configuration associated with the IAM user or\n Amazon Web Services account.

", "smithy.api#required": {} } } @@ -3939,7 +4136,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -3975,7 +4172,7 @@ "deploymentId": { "target": "com.amazonaws.codedeploy#DeploymentId", "traits": { - "smithy.api#documentation": "

The unique ID of a deployment associated with the IAM user or AWS account.

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

The unique ID of a deployment associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } } @@ -4196,7 +4393,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4220,7 +4417,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4250,18 +4447,20 @@ } }, "com.amazonaws.codedeploy#GreenFleetProvisioningAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DISCOVER_EXISTING", - "name": "DISCOVER_EXISTING" - }, - { - "value": "COPY_AUTO_SCALING_GROUP", - "name": "COPY_AUTO_SCALING_GROUP" + "type": "enum", + "members": { + "DISCOVER_EXISTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCOVER_EXISTING" + } + }, + "COPY_AUTO_SCALING_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COPY_AUTO_SCALING_GROUP" } - ] + } } }, "com.amazonaws.codedeploy#GreenFleetProvisioningOption": { @@ -4270,7 +4469,7 @@ "action": { "target": "com.amazonaws.codedeploy#GreenFleetProvisioningAction", "traits": { - "smithy.api#documentation": "

The method used to add instances to a replacement environment.

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

The method used to add instances to a replacement environment.

\n " } } }, @@ -4284,12 +4483,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

No IAM ARN was included in the request. You must use an IAM session ARN or IAM user\n ARN in the request.

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

No IAM ARN was included in the request. You must use an IAM session ARN or IAM user ARN in the request.

", "smithy.api#error": "client" } }, @@ -4302,12 +4501,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The request included an IAM session ARN that has already been used to register a\n different instance.

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

The request included an IAM session ARN that has already been used to\n register a different instance.

", "smithy.api#error": "client" } }, @@ -4320,12 +4519,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The specified IAM user ARN is already registered with an on-premises instance.

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

The specified IAM user ARN is already registered with an on-premises\n instance.

", "smithy.api#error": "client" } }, @@ -4335,7 +4534,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4345,25 +4544,30 @@ } }, "com.amazonaws.codedeploy#InstanceAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TERMINATE", - "name": "TERMINATE" - }, - { - "value": "KEEP_ALIVE", - "name": "KEEP_ALIVE" + "type": "enum", + "members": { + "TERMINATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERMINATE" } - ] + }, + "KEEP_ALIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEEP_ALIVE" + } + } } }, "com.amazonaws.codedeploy#InstanceArn": { "type": "string" }, "com.amazonaws.codedeploy#InstanceCount": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#InstanceDoesNotExistException": { "type": "structure", @@ -4371,7 +4575,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4392,7 +4596,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4466,7 +4670,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4484,7 +4688,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4505,66 +4709,80 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

An on-premises instance name was not specified.

", + "smithy.api#error": "client" + } + }, + "com.amazonaws.codedeploy#InstanceNotRegisteredException": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.codedeploy#Message", + "traits": { + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The specified on-premises instance is not registered.

", + "smithy.api#error": "client" + } + }, + "com.amazonaws.codedeploy#InstanceStatus": { + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SKIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Skipped" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unknown" } - } - }, - "traits": { - "smithy.api#documentation": "

An on-premises instance name was not specified.

", - "smithy.api#error": "client" - } - }, - "com.amazonaws.codedeploy#InstanceNotRegisteredException": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.codedeploy#Message", + }, + "READY": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

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

The specified on-premises instance is not registered.

", - "smithy.api#error": "client" - } - }, - "com.amazonaws.codedeploy#InstanceStatus": { - "type": "string", "traits": { "smithy.api#deprecated": { "message": "InstanceStatus is deprecated, use TargetStatus instead." - }, - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Skipped", - "name": "SKIPPED" - }, - { - "value": "Unknown", - "name": "UNKNOWN" - }, - { - "value": "Ready", - "name": "READY" - } - ] + } } }, "com.amazonaws.codedeploy#InstanceStatusList": { @@ -4677,18 +4895,20 @@ } }, "com.amazonaws.codedeploy#InstanceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Blue", - "name": "BLUE" - }, - { - "value": "Green", - "name": "GREEN" + "type": "enum", + "members": { + "BLUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Blue" + } + }, + "GREEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Green" } - ] + } } }, "com.amazonaws.codedeploy#InstanceTypeList": { @@ -4709,7 +4929,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4724,7 +4944,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4739,7 +4959,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4754,7 +4974,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4769,12 +4989,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The Auto Scaling group was specified in an invalid format or does not exist.

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

The Auto Scaling group was specified in an invalid format or does not\n exist.

", "smithy.api#error": "client" } }, @@ -4784,7 +5004,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4799,7 +5019,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4814,12 +5034,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The computePlatform is invalid. The computePlatform should be Lambda,\n Server, or ECS.

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

The computePlatform is invalid. The computePlatform should be Lambda, Server, or ECS.

", "smithy.api#error": "client" } }, @@ -4829,7 +5049,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4844,7 +5064,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4859,7 +5079,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4874,7 +5094,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4889,7 +5109,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4904,7 +5124,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4919,7 +5139,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4934,7 +5154,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4949,7 +5169,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4964,7 +5184,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4979,7 +5199,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -4994,7 +5214,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5009,7 +5229,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5024,12 +5244,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy\n handles files or directories that already exist in a deployment target location, but\n weren't part of the previous successful deployment. Valid values include \"DISALLOW,\"\n \"OVERWRITE,\" and \"RETAIN.\"

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

An invalid fileExistsBehavior option was specified to determine how CodeDeploy handles files or directories that already exist in a deployment\n target location, but weren't part of the previous successful deployment. Valid values\n include \"DISALLOW,\" \"OVERWRITE,\" and \"RETAIN.\"

", "smithy.api#error": "client" } }, @@ -5039,7 +5259,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5054,7 +5274,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5069,7 +5289,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5084,7 +5304,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5099,12 +5319,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments,\n false is expected. For EC2/On-premises deployments, true\n or false is expected.

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

The IgnoreApplicationStopFailures value is invalid. For Lambda\n deployments, false is expected. For EC2/On-premises deployments,\n true or false is expected.

", "smithy.api#error": "client" } }, @@ -5114,7 +5334,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5129,7 +5349,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5144,7 +5364,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5159,7 +5379,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5174,7 +5394,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5189,7 +5409,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5204,12 +5424,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The result of a Lambda validation function that verifies a lifecycle event is invalid.\n It should return Succeeded or Failed.

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

The result of a Lambda validation function that verifies a lifecycle event\n is invalid. It should return Succeeded or Failed.

", "smithy.api#error": "client" } }, @@ -5219,7 +5439,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5234,7 +5454,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5249,7 +5469,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5264,7 +5484,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5279,7 +5499,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5294,7 +5514,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5309,7 +5529,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5324,12 +5544,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The service role ARN was specified in an invalid format. Or, if an Auto Scaling group\n was specified, the specified service role does not grant the appropriate permissions to\n Amazon EC2 Auto Scaling.

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

The service role ARN was specified in an invalid format. Or, if an Auto Scaling\n group was specified, the specified service role does not grant the appropriate\n permissions to Amazon EC2 Auto Scaling.

", "smithy.api#error": "client" } }, @@ -5339,7 +5559,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5354,7 +5574,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5369,7 +5589,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5384,7 +5604,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5399,7 +5619,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5414,7 +5634,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5429,7 +5649,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5444,7 +5664,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5459,7 +5679,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5474,7 +5694,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5489,7 +5709,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5504,12 +5724,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments,\n false is expected. For EC2/On-premises deployments, true\n or false is expected.

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

The UpdateOutdatedInstancesOnly value is invalid. For Lambda\n deployments, false is expected. For EC2/On-premises deployments,\n true or false is expected.

", "smithy.api#error": "client" } }, @@ -5531,25 +5751,26 @@ "functionAlias": { "target": "com.amazonaws.codedeploy#LambdaFunctionAlias", "traits": { - "smithy.api#documentation": "

The alias of a Lambda function. For more information, see AWS Lambda Function Aliases in the\n AWS Lambda Developer Guide.

" + "smithy.api#documentation": "

The alias of a Lambda function. For more information, see Lambda Function Aliases in the Lambda Developer\n Guide.

" } }, "currentVersion": { "target": "com.amazonaws.codedeploy#Version", "traits": { - "smithy.api#documentation": "

The version of a Lambda function that production traffic points to.

" + "smithy.api#documentation": "

The version of a Lambda function that production traffic points to.\n

" } }, "targetVersion": { "target": "com.amazonaws.codedeploy#Version", "traits": { - "smithy.api#documentation": "

The version of a Lambda function that production traffic points to after the Lambda\n function is deployed.

" + "smithy.api#documentation": "

The version of a Lambda function that production traffic points to after\n the Lambda function is deployed.

" } }, "targetVersionWeight": { "target": "com.amazonaws.codedeploy#TrafficWeight", "traits": { - "smithy.api#documentation": "

The percentage of production traffic that the target version of a Lambda function\n receives.

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

The percentage of production traffic that the target version of a Lambda\n function receives.

" } } }, @@ -5584,30 +5805,30 @@ "status": { "target": "com.amazonaws.codedeploy#TargetStatus", "traits": { - "smithy.api#documentation": "

The status an AWS Lambda deployment's target Lambda function.

" + "smithy.api#documentation": "

The status an Lambda deployment's target Lambda function.\n

" } }, "lastUpdatedAt": { "target": "com.amazonaws.codedeploy#Time", "traits": { - "smithy.api#documentation": "

The date and time when the target Lambda function was updated by a deployment.\n

" + "smithy.api#documentation": "

The date and time when the target Lambda function was updated by a\n deployment.

" } }, "lifecycleEvents": { "target": "com.amazonaws.codedeploy#LifecycleEventList", "traits": { - "smithy.api#documentation": "

The lifecycle events of the deployment to this target Lambda function.

" + "smithy.api#documentation": "

The lifecycle events of the deployment to this target Lambda function.\n

" } }, "lambdaFunctionInfo": { "target": "com.amazonaws.codedeploy#LambdaFunctionInfo", "traits": { - "smithy.api#documentation": "

A LambdaFunctionInfo object that describes a target Lambda function.\n

" + "smithy.api#documentation": "

A LambdaFunctionInfo object that describes a target Lambda\n function.

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

Information about the target AWS Lambda function during an AWS Lambda deployment.\n

" + "smithy.api#documentation": "

Information about the target Lambda function during an Lambda deployment.

" } }, "com.amazonaws.codedeploy#LastDeploymentInfo": { @@ -5643,34 +5864,44 @@ } }, "com.amazonaws.codedeploy#LifecycleErrorCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Success", - "name": "SUCCESS" - }, - { - "value": "ScriptMissing", - "name": "SCRIPT_MISSING" - }, - { - "value": "ScriptNotExecutable", - "name": "SCRIPT_NOT_EXECUTABLE" - }, - { - "value": "ScriptTimedOut", - "name": "SCRIPT_TIMED_OUT" - }, - { - "value": "ScriptFailed", - "name": "SCRIPT_FAILED" - }, - { - "value": "UnknownError", - "name": "UNKNOWN_ERROR" - } - ] + "type": "enum", + "members": { + "SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Success" + } + }, + "SCRIPT_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptMissing" + } + }, + "SCRIPT_NOT_EXECUTABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptNotExecutable" + } + }, + "SCRIPT_TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptTimedOut" + } + }, + "SCRIPT_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ScriptFailed" + } + }, + "UNKNOWN_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UnknownError" + } + } } }, "com.amazonaws.codedeploy#LifecycleEvent": { @@ -5717,7 +5948,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5739,34 +5970,44 @@ "type": "string" }, "com.amazonaws.codedeploy#LifecycleEventStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Skipped", - "name": "SKIPPED" - }, - { - "value": "Unknown", - "name": "UNKNOWN" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SKIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Skipped" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unknown" + } + } } }, "com.amazonaws.codedeploy#LifecycleHookLimitExceededException": { @@ -5775,7 +6016,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -5842,14 +6083,14 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } }, "sortBy": { "target": "com.amazonaws.codedeploy#ApplicationRevisionSortBy", "traits": { - "smithy.api#documentation": "

The column name to use to sort the list results:

\n \n

If not specified or set to null, the results are returned in an arbitrary order.\n

" + "smithy.api#documentation": "

The column name to use to sort the list results:

\n \n

If not specified or set to null, the results are returned in an arbitrary order.\n

" } }, "sortOrder": { @@ -5867,7 +6108,7 @@ "s3KeyPrefix": { "target": "com.amazonaws.codedeploy#S3Key", "traits": { - "smithy.api#documentation": "

A key prefix for the set of Amazon S3 objects to limit the search for revisions.\n

" + "smithy.api#documentation": "

A key prefix for the set of Amazon S3 objects to limit the search for\n revisions.

" } }, "deployed": { @@ -5921,7 +6162,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the applications registered with the IAM user or AWS account.

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

Lists the applications registered with the IAM user or Amazon Web Services account.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -5977,7 +6218,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the deployment configurations with the IAM user or AWS account.

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

Lists the deployment configurations with the IAM user or Amazon Web Services account.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6042,7 +6283,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the deployment groups for an application registered with the IAM user or AWS\n account.

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

Lists the deployment groups for an application registered with the IAM\n user or Amazon Web Services account.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6056,7 +6297,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -6141,7 +6382,7 @@ "smithy.api#deprecated": { "message": "This operation is deprecated, use ListDeploymentTargets instead." }, - "smithy.api#documentation": "\n

The newer BatchGetDeploymentTargets should be used instead because\n it works with all compute types. ListDeploymentInstances throws an\n exception if it is used with a compute platform other than EC2/On-premises or AWS\n Lambda.

\n
\n

Lists the instance for a deployment associated with the IAM user or AWS account.

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

The newer BatchGetDeploymentTargets should be used instead because\n it works with all compute types. ListDeploymentInstances throws an\n exception if it is used with a compute platform other than EC2/On-premises or\n Lambda.

\n
\n

Lists the instance for a deployment associated with the IAM user or\n Amazon Web Services account.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6324,7 +6565,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the deployments in a deployment group for an application registered with the IAM\n user or AWS account.

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

Lists the deployments in a deployment group for an application registered with the\n IAM user or Amazon Web Services account.

", "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", @@ -6338,7 +6579,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

\n \n

If applicationName is specified, then\n deploymentGroupName must be specified. If it is not specified, then\n deploymentGroupName must not be specified.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

\n \n

If applicationName is specified, then\n deploymentGroupName must be specified. If it is not specified, then\n deploymentGroupName must not be specified.

\n
" } }, "deploymentGroupName": { @@ -6523,22 +6764,26 @@ } }, "com.amazonaws.codedeploy#ListStateFilterAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "include", - "name": "Include" - }, - { - "value": "exclude", - "name": "Exclude" - }, - { - "value": "ignore", - "name": "Ignore" + "type": "enum", + "members": { + "Include": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "include" + } + }, + "Exclude": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "exclude" } - ] + }, + "Ignore": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ignore" + } + } } }, "com.amazonaws.codedeploy#ListTagsForResource": { @@ -6646,12 +6891,13 @@ "type": { "target": "com.amazonaws.codedeploy#MinimumHealthyHostsType", "traits": { - "smithy.api#documentation": "

The minimum healthy instance type:

\n \n

In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to\n three instances at a time. The deployment is successful if six or more instances are\n deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is\n specified, deploy to up to five instances at a time. The deployment is successful if\n four or more instances are deployed to successfully. Otherwise, the deployment\n fails.

\n \n

In a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime\n returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This\n means a deployment to only one instance at a time. (You cannot set the type to\n MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with\n CodeDeployDefault.OneAtATime, AWS CodeDeploy attempts to ensure that all instances\n but one are kept in a healthy state during the deployment. Although this allows one\n instance at a time to be taken offline for a new deployment, it also means that if\n the deployment to the last instance fails, the overall deployment is still\n successful.

\n
\n

For more information, see AWS CodeDeploy Instance\n Health in the AWS CodeDeploy User Guide.

" + "smithy.api#documentation": "

The minimum healthy instance type:

\n \n

In an example of nine instances, if a HOST_COUNT of six is specified, deploy to up to\n three instances at a time. The deployment is successful if six or more instances are\n deployed to successfully. Otherwise, the deployment fails. If a FLEET_PERCENT of 40 is\n specified, deploy to up to five instances at a time. The deployment is successful if\n four or more instances are deployed to successfully. Otherwise, the deployment\n fails.

\n \n

In a call to the GetDeploymentConfig, CodeDeployDefault.OneAtATime\n returns a minimum healthy instance type of MOST_CONCURRENCY and a value of 1. This\n means a deployment to only one instance at a time. (You cannot set the type to\n MOST_CONCURRENCY, only to HOST_COUNT or FLEET_PERCENT.) In addition, with\n CodeDeployDefault.OneAtATime, CodeDeploy attempts to ensure that all\n instances but one are kept in a healthy state during the deployment. Although this\n allows one instance at a time to be taken offline for a new deployment, it also\n means that if the deployment to the last instance fails, the overall deployment is\n still successful.

\n
\n

For more information, see CodeDeploy\n Instance Health in the CodeDeploy User\n Guide.

" } }, "value": { "target": "com.amazonaws.codedeploy#MinimumHealthyHostsValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum healthy instance value.

" } } @@ -6661,22 +6907,27 @@ } }, "com.amazonaws.codedeploy#MinimumHealthyHostsType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HOST_COUNT", - "name": "HOST_COUNT" - }, - { - "value": "FLEET_PERCENT", - "name": "FLEET_PERCENT" + "type": "enum", + "members": { + "HOST_COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOST_COUNT" } - ] + }, + "FLEET_PERCENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLEET_PERCENT" + } + } } }, "com.amazonaws.codedeploy#MinimumHealthyHostsValue": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#MultipleIamArnsProvidedException": { "type": "structure", @@ -6684,12 +6935,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

Both an IAM user ARN and an IAM session ARN were included in the request. Use only one\n ARN type.

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

Both an IAM user ARN and an IAM session ARN were\n included in the request. Use only one ARN type.

", "smithy.api#error": "client" } }, @@ -6697,10 +6948,7 @@ "type": "string" }, "com.amazonaws.codedeploy#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.codedeploy#OnPremisesTagSet": { "type": "structure", @@ -6728,7 +6976,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -6738,22 +6986,27 @@ } }, "com.amazonaws.codedeploy#OutdatedInstancesStrategy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UPDATE", - "name": "Update" - }, - { - "value": "IGNORE", - "name": "Ignore" + "type": "enum", + "members": { + "Update": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE" + } + }, + "Ignore": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IGNORE" } - ] + } } }, "com.amazonaws.codedeploy#Percentage": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#PutLifecycleEventHookExecutionStatus": { "type": "operation", @@ -6787,7 +7040,7 @@ } ], "traits": { - "smithy.api#documentation": "

Sets the result of a Lambda validation function. The function validates lifecycle\n hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For\n AWS Lambda deployments, the available lifecycle hooks are\n BeforeAllowTraffic and AfterAllowTraffic. For Amazon ECS\n deployments, the available lifecycle hooks are BeforeInstall,\n AfterInstall, AfterAllowTestTraffic,\n BeforeAllowTraffic, and AfterAllowTraffic. Lambda\n validation functions return Succeeded or Failed. For more\n information, see AppSpec 'hooks' Section for an AWS Lambda Deployment and AppSpec 'hooks' Section for an Amazon ECS Deployment.

" + "smithy.api#documentation": "

Sets the result of a Lambda validation function. The function validates\n lifecycle hooks during a deployment that uses the Lambda or Amazon ECS compute platform. For Lambda deployments, the available\n lifecycle hooks are BeforeAllowTraffic and AfterAllowTraffic.\n For Amazon ECS deployments, the available lifecycle hooks are\n BeforeInstall, AfterInstall,\n AfterAllowTestTraffic, BeforeAllowTraffic, and\n AfterAllowTraffic. Lambda validation functions return\n Succeeded or Failed. For more information, see AppSpec 'hooks' Section for an Lambda Deployment and\n AppSpec 'hooks' Section for an Amazon ECS Deployment.

" } }, "com.amazonaws.codedeploy#PutLifecycleEventHookExecutionStatusInput": { @@ -6796,7 +7049,7 @@ "deploymentId": { "target": "com.amazonaws.codedeploy#DeploymentId", "traits": { - "smithy.api#documentation": "

The unique ID of a deployment. Pass this ID to a Lambda function that validates a\n deployment lifecycle event.

" + "smithy.api#documentation": "

The unique ID of a deployment. Pass this ID to a Lambda function that\n validates a deployment lifecycle event.

" } }, "lifecycleEventHookExecutionId": { @@ -6808,7 +7061,7 @@ "status": { "target": "com.amazonaws.codedeploy#LifecycleEventStatus", "traits": { - "smithy.api#documentation": "

The result of a Lambda function that validates a deployment lifecycle event.\n Succeeded and Failed are the only valid values for\n status.

" + "smithy.api#documentation": "

The result of a Lambda function that validates a deployment lifecycle\n event. The values listed in Valid Values are valid for\n lifecycle statuses in general; however, only Succeeded and\n Failed can be passed successfully in your API call.

" } } } @@ -6830,7 +7083,7 @@ "content": { "target": "com.amazonaws.codedeploy#RawStringContent", "traits": { - "smithy.api#documentation": "

The YAML-formatted or JSON-formatted revision string. It includes information about\n which Lambda function to update and optional Lambda functions that validate deployment\n lifecycle events.

" + "smithy.api#documentation": "

The YAML-formatted or JSON-formatted revision string. It includes information about\n which Lambda function to update and optional Lambda functions\n that validate deployment lifecycle events.

" } }, "sha256": { @@ -6844,7 +7097,7 @@ "smithy.api#deprecated": { "message": "RawString and String revision type are deprecated, use AppSpecContent type instead." }, - "smithy.api#documentation": "

A revision for an AWS Lambda deployment that is a YAML-formatted or JSON-formatted\n string. For AWS Lambda deployments, the revision is the same as the AppSpec file.

" + "smithy.api#documentation": "

A revision for an Lambda deployment that is a YAML-formatted or\n JSON-formatted string. For Lambda deployments, the revision is the same\n as the AppSpec file.

" } }, "com.amazonaws.codedeploy#RawStringContent": { @@ -6858,6 +7111,9 @@ "input": { "target": "com.amazonaws.codedeploy#RegisterApplicationRevisionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#ApplicationDoesNotExistException" @@ -6879,7 +7135,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers with AWS CodeDeploy a revision for the specified application.

" + "smithy.api#documentation": "

Registers with CodeDeploy a revision for the specified application.

" } }, "com.amazonaws.codedeploy#RegisterApplicationRevisionInput": { @@ -6888,7 +7144,7 @@ "applicationName": { "target": "com.amazonaws.codedeploy#ApplicationName", "traits": { - "smithy.api#documentation": "

The name of an AWS CodeDeploy application associated with the IAM user or AWS\n account.

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

The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.

", "smithy.api#required": {} } }, @@ -6915,6 +7171,9 @@ "input": { "target": "com.amazonaws.codedeploy#RegisterOnPremisesInstanceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#IamArnRequiredException" @@ -6948,7 +7207,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers an on-premises instance.

\n \n

Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request.\n You cannot use both.

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

Registers an on-premises instance.

\n \n

Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.

\n
" } }, "com.amazonaws.codedeploy#RegisterOnPremisesInstanceInput": { @@ -6964,13 +7223,13 @@ "iamSessionArn": { "target": "com.amazonaws.codedeploy#IamSessionArn", "traits": { - "smithy.api#documentation": "

The ARN of the IAM session to associate with the on-premises instance.

" + "smithy.api#documentation": "

The ARN of the IAM session to associate with the on-premises\n instance.

" } }, "iamUserArn": { "target": "com.amazonaws.codedeploy#IamUserArn", "traits": { - "smithy.api#documentation": "

The ARN of the IAM user to associate with the on-premises instance.

" + "smithy.api#documentation": "

The ARN of the IAM user to associate with the on-premises\n instance.

" } } }, @@ -6979,18 +7238,20 @@ } }, "com.amazonaws.codedeploy#RegistrationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Registered", - "name": "Registered" - }, - { - "value": "Deregistered", - "name": "Deregistered" + "type": "enum", + "members": { + "Registered": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Registered" } - ] + }, + "Deregistered": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Deregistered" + } + } } }, "com.amazonaws.codedeploy#RelatedDeployments": { @@ -7018,6 +7279,9 @@ "input": { "target": "com.amazonaws.codedeploy#RemoveTagsFromOnPremisesInstancesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#InstanceLimitExceededException" @@ -7076,7 +7340,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7091,7 +7355,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7106,12 +7370,12 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

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

The named revision does not exist with the IAM user or AWS account.

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

The named revision does not exist with the IAM user or Amazon Web Services account.

", "smithy.api#error": "client" } }, @@ -7147,7 +7411,7 @@ "revisionType": { "target": "com.amazonaws.codedeploy#RevisionLocationType", "traits": { - "smithy.api#documentation": "

The type of application revision:

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

The type of application revision:

\n " } }, "s3Location": { @@ -7165,13 +7429,13 @@ "string": { "target": "com.amazonaws.codedeploy#RawString", "traits": { - "smithy.api#documentation": "

Information about the location of an AWS Lambda deployment revision stored as a\n RawString.

" + "smithy.api#documentation": "

Information about the location of an Lambda deployment revision stored\n as a RawString.

" } }, "appSpecContent": { "target": "com.amazonaws.codedeploy#AppSpecContent", "traits": { - "smithy.api#documentation": "

The content of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The\n content is formatted as JSON or YAML and stored as a RawString.

" + "smithy.api#documentation": "

The content of an AppSpec file for an Lambda or Amazon ECS\n deployment. The content is formatted as JSON or YAML and stored as a RawString.

" } } }, @@ -7186,26 +7450,32 @@ } }, "com.amazonaws.codedeploy#RevisionLocationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "S3", - "name": "S3" - }, - { - "value": "GitHub", - "name": "GitHub" - }, - { - "value": "String", - "name": "String" - }, - { - "value": "AppSpecContent", - "name": "AppSpecContent" - } - ] + "type": "enum", + "members": { + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "GitHub": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHub" + } + }, + "String": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "String" + } + }, + "AppSpecContent": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AppSpecContent" + } + } } }, "com.amazonaws.codedeploy#RevisionRequiredException": { @@ -7214,7 +7484,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7232,7 +7502,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7279,7 +7549,7 @@ "bucket": { "target": "com.amazonaws.codedeploy#S3Bucket", "traits": { - "smithy.api#documentation": "

The name of the Amazon S3 bucket where the application revision is stored.

" + "smithy.api#documentation": "

The name of the Amazon S3 bucket where the application revision is\n stored.

" } }, "key": { @@ -7297,7 +7567,7 @@ "version": { "target": "com.amazonaws.codedeploy#VersionId", "traits": { - "smithy.api#documentation": "

A specific version of the Amazon S3 object that represents the bundled artifacts for\n the application revision.

\n

If the version is not specified, the system uses the most recent version by\n default.

" + "smithy.api#documentation": "

A specific version of the Amazon S3 object that represents the bundled\n artifacts for the application revision.

\n

If the version is not specified, the system uses the most recent version by\n default.

" } }, "eTag": { @@ -7319,6 +7589,9 @@ "input": { "target": "com.amazonaws.codedeploy#SkipWaitTimeForInstanceTerminationInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#DeploymentAlreadyCompletedException" @@ -7358,18 +7631,20 @@ } }, "com.amazonaws.codedeploy#SortOrder": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ascending", - "name": "Ascending" - }, - { - "value": "descending", - "name": "Descending" + "type": "enum", + "members": { + "Ascending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ascending" + } + }, + "Descending": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "descending" } - ] + } } }, "com.amazonaws.codedeploy#StopDeployment": { @@ -7446,18 +7721,20 @@ } }, "com.amazonaws.codedeploy#StopStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" } - ] + } } }, "com.amazonaws.codedeploy#Tag": { @@ -7513,22 +7790,26 @@ } }, "com.amazonaws.codedeploy#TagFilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KEY_ONLY", - "name": "KEY_ONLY" - }, - { - "value": "VALUE_ONLY", - "name": "VALUE_ONLY" - }, - { - "value": "KEY_AND_VALUE", - "name": "KEY_AND_VALUE" + "type": "enum", + "members": { + "KEY_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_ONLY" + } + }, + "VALUE_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALUE_ONLY" + } + }, + "KEY_AND_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEY_AND_VALUE" } - ] + } } }, "com.amazonaws.codedeploy#TagKeyList": { @@ -7543,7 +7824,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7564,7 +7845,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7640,7 +7921,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7653,18 +7934,20 @@ "type": "string" }, "com.amazonaws.codedeploy#TargetFilterName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TargetStatus", - "name": "TARGET_STATUS" - }, - { - "value": "ServerInstanceLabel", - "name": "SERVER_INSTANCE_LABEL" + "type": "enum", + "members": { + "TARGET_STATUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TargetStatus" + } + }, + "SERVER_INSTANCE_LABEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ServerInstanceLabel" } - ] + } } }, "com.amazonaws.codedeploy#TargetFilters": { @@ -7711,18 +7994,18 @@ "prodTrafficRoute": { "target": "com.amazonaws.codedeploy#TrafficRoute", "traits": { - "smithy.api#documentation": "

The path used by a load balancer to route production traffic when an Amazon ECS\n deployment is complete.

" + "smithy.api#documentation": "

The path used by a load balancer to route production traffic when an Amazon ECS deployment is complete.

" } }, "testTrafficRoute": { "target": "com.amazonaws.codedeploy#TrafficRoute", "traits": { - "smithy.api#documentation": "

An optional path used by a load balancer to route test traffic after an Amazon ECS\n deployment. Validation can occur while test traffic is served during a deployment.\n

" + "smithy.api#documentation": "

An optional path used by a load balancer to route test traffic after an Amazon ECS deployment. Validation can occur while test traffic is served during a\n deployment.

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

Information about two target groups and how traffic is routed during an Amazon ECS\n deployment. An optional test traffic route can be specified.

" + "smithy.api#documentation": "

Information about two target groups and how traffic is routed during an Amazon ECS deployment. An optional test traffic route can be specified.

" } }, "com.amazonaws.codedeploy#TargetGroupPairInfoList": { @@ -7752,13 +8035,13 @@ "autoScalingGroups": { "target": "com.amazonaws.codedeploy#AutoScalingGroupNameList", "traits": { - "smithy.api#documentation": "

The names of one or more Auto Scaling groups to identify a replacement environment for\n a blue/green deployment.

" + "smithy.api#documentation": "

The names of one or more Auto Scaling groups to identify a replacement\n environment for a blue/green deployment.

" } }, "ec2TagSet": { "target": "com.amazonaws.codedeploy#EC2TagSet", "traits": { - "smithy.api#documentation": "

Information about the groups of EC2 instance tags that an instance must be identified\n by in order for it to be included in the replacement environment for a blue/green\n deployment. Cannot be used in the same call as tagFilters.

" + "smithy.api#documentation": "

Information about the groups of Amazon EC2 instance tags that an instance must\n be identified by in order for it to be included in the replacement environment for a\n blue/green deployment. Cannot be used in the same call as\n tagFilters.

" } } }, @@ -7767,53 +8050,67 @@ } }, "com.amazonaws.codedeploy#TargetLabel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Blue", - "name": "BLUE" - }, - { - "value": "Green", - "name": "GREEN" + "type": "enum", + "members": { + "BLUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Blue" + } + }, + "GREEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Green" } - ] + } } }, "com.amazonaws.codedeploy#TargetStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Skipped", - "name": "SKIPPED" - }, - { - "value": "Unknown", - "name": "UNKNOWN" - }, - { - "value": "Ready", - "name": "READY" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "SKIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Skipped" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unknown" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Ready" + } + } } }, "com.amazonaws.codedeploy#ThrottlingException": { @@ -7822,7 +8119,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -7840,18 +8137,20 @@ "canaryPercentage": { "target": "com.amazonaws.codedeploy#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of traffic to shift in the first increment of a\n TimeBasedCanary deployment.

" } }, "canaryInterval": { "target": "com.amazonaws.codedeploy#WaitTimeInMins", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of minutes between the first and second traffic shifts of a\n TimeBasedCanary deployment.

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

A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in two increments. The original and target Lambda function versions or\n ECS task sets are specified in the deployment's AppSpec file.

" + "smithy.api#documentation": "

A configuration that shifts traffic from one version of a Lambda function\n or Amazon ECS task set to another in two increments. The original and target\n Lambda function versions or ECS task sets are specified in the\n deployment's AppSpec file.

" } }, "com.amazonaws.codedeploy#TimeBasedLinear": { @@ -7860,18 +8159,20 @@ "linearPercentage": { "target": "com.amazonaws.codedeploy#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of traffic that is shifted at the start of each increment of a\n TimeBasedLinear deployment.

" } }, "linearInterval": { "target": "com.amazonaws.codedeploy#WaitTimeInMins", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of minutes between each incremental traffic shift of a\n TimeBasedLinear deployment.

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

A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in equal increments, with an equal number of minutes between each\n increment. The original and target Lambda function versions or ECS task sets are\n specified in the deployment's AppSpec file.

" + "smithy.api#documentation": "

A configuration that shifts traffic from one version of a Lambda function\n or ECS task set to another in equal increments, with an equal number of minutes between\n each increment. The original and target Lambda function versions or ECS task\n sets are specified in the deployment's AppSpec file.

" } }, "com.amazonaws.codedeploy#TimeRange": { @@ -7923,41 +8224,48 @@ "timeBasedCanary": { "target": "com.amazonaws.codedeploy#TimeBasedCanary", "traits": { - "smithy.api#documentation": "

A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in two increments. The original and target Lambda function versions or\n ECS task sets are specified in the deployment's AppSpec file.

" + "smithy.api#documentation": "

A configuration that shifts traffic from one version of a Lambda function\n or ECS task set to another in two increments. The original and target Lambda\n function versions or ECS task sets are specified in the deployment's AppSpec\n file.

" } }, "timeBasedLinear": { "target": "com.amazonaws.codedeploy#TimeBasedLinear", "traits": { - "smithy.api#documentation": "

A configuration that shifts traffic from one version of a Lambda function or ECS task\n set to another in equal increments, with an equal number of minutes between each\n increment. The original and target Lambda function versions or ECS task sets are\n specified in the deployment's AppSpec file.

" + "smithy.api#documentation": "

A configuration that shifts traffic from one version of a Lambda function\n or Amazon ECS task set to another in equal increments, with an equal number of\n minutes between each increment. The original and target Lambda function\n versions or Amazon ECS task sets are specified in the deployment's AppSpec\n file.

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

The configuration that specifies how traffic is shifted from one version of a Lambda\n function to another version during an AWS Lambda deployment, or from one Amazon ECS task\n set to another during an Amazon ECS deployment.

" + "smithy.api#documentation": "

The configuration that specifies how traffic is shifted from one version of a Lambda function to another version during an Lambda deployment,\n or from one Amazon ECS task set to another during an Amazon ECS\n deployment.

" } }, "com.amazonaws.codedeploy#TrafficRoutingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TimeBasedCanary", - "name": "TimeBasedCanary" - }, - { - "value": "TimeBasedLinear", - "name": "TimeBasedLinear" - }, - { - "value": "AllAtOnce", - "name": "AllAtOnce" + "type": "enum", + "members": { + "TimeBasedCanary": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimeBasedCanary" + } + }, + "TimeBasedLinear": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimeBasedLinear" + } + }, + "AllAtOnce": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AllAtOnce" } - ] + } } }, "com.amazonaws.codedeploy#TrafficWeight": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.codedeploy#TriggerConfig": { "type": "structure", @@ -7992,50 +8300,68 @@ } }, "com.amazonaws.codedeploy#TriggerEventType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DeploymentStart", - "name": "DEPLOYMENT_START" - }, - { - "value": "DeploymentSuccess", - "name": "DEPLOYMENT_SUCCESS" - }, - { - "value": "DeploymentFailure", - "name": "DEPLOYMENT_FAILURE" - }, - { - "value": "DeploymentStop", - "name": "DEPLOYMENT_STOP" - }, - { - "value": "DeploymentRollback", - "name": "DEPLOYMENT_ROLLBACK" - }, - { - "value": "DeploymentReady", - "name": "DEPLOYMENT_READY" - }, - { - "value": "InstanceStart", - "name": "INSTANCE_START" - }, - { - "value": "InstanceSuccess", - "name": "INSTANCE_SUCCESS" - }, - { - "value": "InstanceFailure", - "name": "INSTANCE_FAILURE" - }, - { - "value": "InstanceReady", - "name": "INSTANCE_READY" - } - ] + "type": "enum", + "members": { + "DEPLOYMENT_START": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentStart" + } + }, + "DEPLOYMENT_SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentSuccess" + } + }, + "DEPLOYMENT_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentFailure" + } + }, + "DEPLOYMENT_STOP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentStop" + } + }, + "DEPLOYMENT_ROLLBACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentRollback" + } + }, + "DEPLOYMENT_READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DeploymentReady" + } + }, + "INSTANCE_START": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceStart" + } + }, + "INSTANCE_SUCCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceSuccess" + } + }, + "INSTANCE_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceFailure" + } + }, + "INSTANCE_READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceReady" + } + } } }, "com.amazonaws.codedeploy#TriggerEventTypeList": { @@ -8056,7 +8382,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -8071,7 +8397,7 @@ "message": { "target": "com.amazonaws.codedeploy#Message", "traits": { - "smithy.api#documentation": "

The message that corresponds to the exception thrown by AWS CodeDeploy.

" + "smithy.api#documentation": "

The message that corresponds to the exception thrown by CodeDeploy.

" } } }, @@ -8146,6 +8472,9 @@ "input": { "target": "com.amazonaws.codedeploy#UpdateApplicationInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codedeploy#ApplicationAlreadyExistsException" @@ -8323,7 +8652,7 @@ "ec2TagFilters": { "target": "com.amazonaws.codedeploy#EC2TagFilterList", "traits": { - "smithy.api#documentation": "

The replacement set of Amazon EC2 tags on which to filter, if you want to change them.\n To keep the existing tags, enter their names. To remove tags, do not enter any tag\n names.

" + "smithy.api#documentation": "

The replacement set of Amazon EC2 tags on which to filter, if you want to\n change them. To keep the existing tags, enter their names. To remove tags, do not enter\n any tag names.

" } }, "onPremisesInstanceTagFilters": { @@ -8335,7 +8664,7 @@ "autoScalingGroups": { "target": "com.amazonaws.codedeploy#AutoScalingGroupNameList", "traits": { - "smithy.api#documentation": "

The replacement list of Auto Scaling groups to be included in the deployment group, if\n you want to change them. To keep the Auto Scaling groups, enter their names. To remove\n Auto Scaling groups, do not enter any Auto Scaling group names.

" + "smithy.api#documentation": "

The replacement list of Auto Scaling groups to be included in the deployment\n group, if you want to change them.

\n " } }, "serviceRoleArn": { @@ -8347,7 +8676,7 @@ "triggerConfigurations": { "target": "com.amazonaws.codedeploy#TriggerConfigList", "traits": { - "smithy.api#documentation": "

Information about triggers to change when the deployment group is updated. For\n examples, see Edit a Trigger in a\n CodeDeploy Deployment Group in the AWS CodeDeploy User\n Guide.

" + "smithy.api#documentation": "

Information about triggers to change when the deployment group is updated. For\n examples, see Edit a Trigger in a\n CodeDeploy Deployment Group in the CodeDeploy User\n Guide.

" } }, "alarmConfiguration": { @@ -8365,7 +8694,7 @@ "outdatedInstancesStrategy": { "target": "com.amazonaws.codedeploy#OutdatedInstancesStrategy", "traits": { - "smithy.api#documentation": "

Indicates what happens when new EC2 instances are launched mid-deployment and do not\n receive the deployed application revision.

\n

If this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new EC2 instances.

\n

If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new EC2 instances. This may result in instances having\n different revisions.

" + "smithy.api#documentation": "

Indicates what happens when new Amazon EC2 instances are launched\n mid-deployment and do not receive the deployed application revision.

\n

If this option is set to UPDATE or is unspecified, CodeDeploy initiates\n one or more 'auto-update outdated instances' deployments to apply the deployed\n application revision to the new Amazon EC2 instances.

\n

If this option is set to IGNORE, CodeDeploy does not initiate a\n deployment to update the new Amazon EC2 instances. This may result in instances\n having different revisions.

" } }, "deploymentStyle": { @@ -8389,13 +8718,13 @@ "ec2TagSet": { "target": "com.amazonaws.codedeploy#EC2TagSet", "traits": { - "smithy.api#documentation": "

Information about groups of tags applied to on-premises instances. The deployment\n group includes only EC2 instances identified by all the tag groups.

" + "smithy.api#documentation": "

Information about groups of tags applied to on-premises instances. The deployment\n group includes only Amazon EC2 instances identified by all the tag\n groups.

" } }, "ecsServices": { "target": "com.amazonaws.codedeploy#ECSServiceList", "traits": { - "smithy.api#documentation": "

The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service\n is specified as an Amazon ECS cluster and service name pair using the format\n :.

" + "smithy.api#documentation": "

The target Amazon ECS services in the deployment group. This applies only to\n deployment groups that use the Amazon ECS compute platform. A target Amazon ECS service is specified as an Amazon ECS cluster and service name\n pair using the format :.

" } }, "onPremisesTagSet": { @@ -8415,7 +8744,7 @@ "hooksNotCleanedUp": { "target": "com.amazonaws.codedeploy#AutoScalingGroupList", "traits": { - "smithy.api#documentation": "

If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, AWS CodeDeploy successfully removed all corresponding Auto\n Scaling lifecycle event hooks from the AWS account. If the output contains data, AWS\n CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the AWS\n account.

" + "smithy.api#documentation": "

If the output contains no data, and the corresponding deployment group contained at\n least one Auto Scaling group, CodeDeploy successfully removed all\n corresponding Auto Scaling lifecycle event hooks from the Amazon Web Services account. If the output contains data, CodeDeploy could not remove some Auto Scaling lifecycle event hooks from the Amazon Web Services account.

" } } }, @@ -8433,7 +8762,10 @@ "type": "string" }, "com.amazonaws.codedeploy#WaitTimeInMins": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/codeguru-reviewer.json b/codegen/sdk/aws-models/codeguru-reviewer.json index 69f19e0b0c9..fe6b8c30ed7 100644 --- a/codegen/sdk/aws-models/codeguru-reviewer.json +++ b/codegen/sdk/aws-models/codeguru-reviewer.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.codegurureviewer#AWSGuruFrontendService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "CodeGuru Reviewer", - "arnNamespace": "codeguru-reviewer", - "cloudFormationName": "CodeGuruReviewer", - "cloudTrailEventSource": "codegurureviewer.amazonaws.com", - "endpointPrefix": "codeguru-reviewer" - }, - "aws.auth#sigv4": { - "name": "codeguru-reviewer" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a\n service that uses program analysis and machine learning to detect potential defects that\n are difficult for developers to find and recommends fixes in your Java and Python\n code.

\n\n

By proactively detecting and providing recommendations for addressing code defects and\n implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of\n your code base during the code review stage. For more information about CodeGuru Reviewer, see the\n \n Amazon CodeGuru Reviewer User Guide.\n

\n\n

To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection\n between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For\n more information, see CodeGuru Reviewer and interface VPC\n endpoints (Amazon Web Services PrivateLink) in the Amazon CodeGuru Reviewer User\n Guide.

", - "smithy.api#title": "Amazon CodeGuru Reviewer" - }, "version": "2019-09-19", "operations": [ { @@ -90,7 +75,22 @@ { "target": "com.amazonaws.codegurureviewer#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "CodeGuru Reviewer", + "arnNamespace": "codeguru-reviewer", + "cloudFormationName": "CodeGuruReviewer", + "cloudTrailEventSource": "codegurureviewer.amazonaws.com", + "endpointPrefix": "codeguru-reviewer" + }, + "aws.auth#sigv4": { + "name": "codeguru-reviewer" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

This section provides documentation for the Amazon CodeGuru Reviewer API operations. CodeGuru Reviewer is a\n service that uses program analysis and machine learning to detect potential defects that\n are difficult for developers to find and recommends fixes in your Java and Python\n code.

\n\n

By proactively detecting and providing recommendations for addressing code defects and\n implementing best practices, CodeGuru Reviewer improves the overall quality and maintainability of\n your code base during the code review stage. For more information about CodeGuru Reviewer, see the\n \n Amazon CodeGuru Reviewer User Guide.\n

\n\n

To improve the security of your CodeGuru Reviewer API calls, you can establish a private connection\n between your VPC and CodeGuru Reviewer by creating an interface VPC endpoint. For\n more information, see CodeGuru Reviewer and interface VPC\n endpoints (Amazon Web Services PrivateLink) in the Amazon CodeGuru Reviewer User\n Guide.

", + "smithy.api#title": "Amazon CodeGuru Reviewer" + } }, "com.amazonaws.codegurureviewer#AccessDeniedException": { "type": "structure", @@ -106,18 +106,20 @@ } }, "com.amazonaws.codegurureviewer#AnalysisType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Security", - "name": "SECURITY" - }, - { - "value": "CodeQuality", - "name": "CODE_QUALITY" + "type": "enum", + "members": { + "SECURITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Security" + } + }, + "CODE_QUALITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeQuality" } - ] + } } }, "com.amazonaws.codegurureviewer#AnalysisTypes": { @@ -301,7 +303,7 @@ "BuildArtifactsObjectKey": { "target": "com.amazonaws.codegurureviewer#BuildArtifactsObjectKey", "traits": { - "smithy.api#documentation": "

The S3 object key for a build artifacts .zip file that contains .jar or .class files.\n This is required for a code review with security analysis. For more information, see Create\n code reviews with security analysis in the Amazon CodeGuru Reviewer User\n Guide.

" + "smithy.api#documentation": "

The S3 object key for a build artifacts .zip file that contains .jar or .class files.\n This is required for a code review with security analysis. For more information, see Create\n code reviews with GitHub Actions in the Amazon CodeGuru Reviewer User\n Guide.

" } } }, @@ -578,22 +580,26 @@ } }, "com.amazonaws.codegurureviewer#ConfigFileState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Present", - "name": "PRESENT" - }, - { - "value": "Absent", - "name": "ABSENT" - }, - { - "value": "PresentWithErrors", - "name": "PRESENT_WITH_ERRORS" + "type": "enum", + "members": { + "PRESENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Present" + } + }, + "ABSENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Absent" + } + }, + "PRESENT_WITH_ERRORS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PresentWithErrors" } - ] + } } }, "com.amazonaws.codegurureviewer#ConflictException": { @@ -1036,18 +1042,20 @@ } }, "com.amazonaws.codegurureviewer#EncryptionOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_OWNED_CMK", - "name": "AoCmk" - }, - { - "value": "CUSTOMER_MANAGED_CMK", - "name": "CmCmk" + "type": "enum", + "members": { + "AoCmk": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_OWNED_CMK" + } + }, + "CmCmk": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_MANAGED_CMK" } - ] + } } }, "com.amazonaws.codegurureviewer#ErrorMessage": { @@ -1103,10 +1111,7 @@ } }, "com.amazonaws.codegurureviewer#FindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.codegurureviewer#InternalServerException": { "type": "structure", @@ -1122,26 +1127,32 @@ } }, "com.amazonaws.codegurureviewer#JobState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Completed", - "name": "COMPLETED" - }, - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Deleting", - "name": "DELETING" - } - ] + "type": "enum", + "members": { + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Completed" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Deleting" + } + } } }, "com.amazonaws.codegurureviewer#JobStates": { @@ -1187,16 +1198,10 @@ } }, "com.amazonaws.codegurureviewer#LineNumber": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.codegurureviewer#LinesOfCodeCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.codegurureviewer#ListCodeReviews": { "type": "operation", @@ -1237,7 +1242,6 @@ "com.amazonaws.codegurureviewer#ListCodeReviewsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1448,7 +1452,6 @@ "com.amazonaws.codegurureviewer#ListRecommendationsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 300 @@ -1662,7 +1665,6 @@ "com.amazonaws.codegurureviewer#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1788,30 +1790,38 @@ } }, "com.amazonaws.codegurureviewer#ProviderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CodeCommit", - "name": "CODE_COMMIT" - }, - { - "value": "GitHub", - "name": "GIT_HUB" - }, - { - "value": "Bitbucket", - "name": "BITBUCKET" - }, - { - "value": "GitHubEnterpriseServer", - "name": "GIT_HUB_ENTERPRISE_SERVER" - }, - { - "value": "S3Bucket", - "name": "S3_BUCKET" - } - ] + "type": "enum", + "members": { + "CODE_COMMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeCommit" + } + }, + "GIT_HUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHub" + } + }, + "BITBUCKET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Bitbucket" + } + }, + "GIT_HUB_ENTERPRISE_SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHubEnterpriseServer" + } + }, + "S3_BUCKET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3Bucket" + } + } } }, "com.amazonaws.codegurureviewer#ProviderTypes": { @@ -1900,18 +1910,20 @@ "members": {} }, "com.amazonaws.codegurureviewer#Reaction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ThumbsUp", - "name": "THUMBS_UP" - }, - { - "value": "ThumbsDown", - "name": "THUMBS_DOWN" + "type": "enum", + "members": { + "THUMBS_UP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ThumbsUp" } - ] + }, + "THUMBS_DOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ThumbsDown" + } + } } }, "com.amazonaws.codegurureviewer#Reactions": { @@ -1927,54 +1939,74 @@ } }, "com.amazonaws.codegurureviewer#RecommendationCategory": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWSBestPractices", - "name": "AWS_BEST_PRACTICES" - }, - { - "value": "AWSCloudFormationIssues", - "name": "AWS_CLOUDFORMATION_ISSUES" - }, - { - "value": "DuplicateCode", - "name": "DUPLICATE_CODE" - }, - { - "value": "CodeMaintenanceIssues", - "name": "CODE_MAINTENANCE_ISSUES" - }, - { - "value": "ConcurrencyIssues", - "name": "CONCURRENCY_ISSUES" - }, - { - "value": "InputValidations", - "name": "INPUT_VALIDATIONS" - }, - { - "value": "PythonBestPractices", - "name": "PYTHON_BEST_PRACTICES" - }, - { - "value": "JavaBestPractices", - "name": "JAVA_BEST_PRACTICES" - }, - { - "value": "ResourceLeaks", - "name": "RESOURCE_LEAKS" - }, - { - "value": "SecurityIssues", - "name": "SECURITY_ISSUES" - }, - { - "value": "CodeInconsistencies", - "name": "CODE_INCONSISTENCIES" - } - ] + "type": "enum", + "members": { + "AWS_BEST_PRACTICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWSBestPractices" + } + }, + "AWS_CLOUDFORMATION_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWSCloudFormationIssues" + } + }, + "DUPLICATE_CODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DuplicateCode" + } + }, + "CODE_MAINTENANCE_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeMaintenanceIssues" + } + }, + "CONCURRENCY_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ConcurrencyIssues" + } + }, + "INPUT_VALIDATIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InputValidations" + } + }, + "PYTHON_BEST_PRACTICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PythonBestPractices" + } + }, + "JAVA_BEST_PRACTICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JavaBestPractices" + } + }, + "RESOURCE_LEAKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceLeaks" + } + }, + "SECURITY_ISSUES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SecurityIssues" + } + }, + "CODE_INCONSISTENCIES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CodeInconsistencies" + } + } } }, "com.amazonaws.codegurureviewer#RecommendationFeedback": { @@ -2260,30 +2292,38 @@ } }, "com.amazonaws.codegurureviewer#RepositoryAssociationState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Associated", - "name": "ASSOCIATED" - }, - { - "value": "Associating", - "name": "ASSOCIATING" - }, - { - "value": "Failed", - "name": "FAILED" - }, - { - "value": "Disassociating", - "name": "DISASSOCIATING" - }, - { - "value": "Disassociated", - "name": "DISASSOCIATED" - } - ] + "type": "enum", + "members": { + "ASSOCIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Associated" + } + }, + "ASSOCIATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Associating" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "DISASSOCIATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disassociating" + } + }, + "DISASSOCIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disassociated" + } + } } }, "com.amazonaws.codegurureviewer#RepositoryAssociationStates": { @@ -2605,30 +2645,38 @@ } }, "com.amazonaws.codegurureviewer#Severity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Info", - "name": "INFO" - }, - { - "value": "Low", - "name": "LOW" - }, - { - "value": "Medium", - "name": "MEDIUM" - }, - { - "value": "High", - "name": "HIGH" - }, - { - "value": "Critical", - "name": "CRITICAL" - } - ] + "type": "enum", + "members": { + "INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Info" + } + }, + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Low" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "High" + } + }, + "CRITICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Critical" + } + } } }, "com.amazonaws.codegurureviewer#ShortDescription": { @@ -2847,18 +2895,20 @@ "type": "timestamp" }, "com.amazonaws.codegurureviewer#Type": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PullRequest", - "name": "PULL_REQUEST" - }, - { - "value": "RepositoryAnalysis", - "name": "REPOSITORY_ANALYSIS" + "type": "enum", + "members": { + "PULL_REQUEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PullRequest" + } + }, + "REPOSITORY_ANALYSIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RepositoryAnalysis" } - ] + } } }, "com.amazonaws.codegurureviewer#UntagResource": { @@ -2949,22 +2999,26 @@ } }, "com.amazonaws.codegurureviewer#VendorName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GitHub", - "name": "GITHUB" - }, - { - "value": "GitLab", - "name": "GITLAB" - }, - { - "value": "NativeS3", - "name": "NATIVE_S3" - } - ] + "type": "enum", + "members": { + "GITHUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitHub" + } + }, + "GITLAB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GitLab" + } + }, + "NATIVE_S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NativeS3" + } + } } } } diff --git a/codegen/sdk/aws-models/codeguruprofiler.json b/codegen/sdk/aws-models/codeguruprofiler.json index 68b2066e3cc..d3a76ed76e2 100644 --- a/codegen/sdk/aws-models/codeguruprofiler.json +++ b/codegen/sdk/aws-models/codeguruprofiler.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.codeguruprofiler#ActionGroup": { "type": "string", @@ -474,7 +474,7 @@ } }, "com.amazonaws.codeguruprofiler#Channels": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.codeguruprofiler#Channel" }, @@ -482,7 +482,8 @@ "smithy.api#length": { "min": 1, "max": 2 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.codeguruprofiler#ClientToken": { @@ -879,7 +880,7 @@ } }, "com.amazonaws.codeguruprofiler#EventPublishers": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.codeguruprofiler#EventPublisher" }, @@ -887,7 +888,8 @@ "smithy.api#length": { "min": 1, "max": 1 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.codeguruprofiler#FeedbackType": { @@ -1023,10 +1025,7 @@ } }, "com.amazonaws.codeguruprofiler#FrameMetricValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.codeguruprofiler#FrameMetricValues": { "type": "list", @@ -1917,7 +1916,6 @@ "com.amazonaws.codeguruprofiler#MaxDepth": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1927,7 +1925,6 @@ "com.amazonaws.codeguruprofiler#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2113,6 +2110,7 @@ "thresholdPercent": { "target": "com.amazonaws.codeguruprofiler#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The percentage of time an application spends in one method that triggers \n a recommendation. The percentage of time is the same as the percentage of \n the total gathered sample counts during analysis.\n

" } }, @@ -2130,6 +2128,7 @@ "com.amazonaws.codeguruprofiler#Percentage": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -3174,4 +3173,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/codepipeline.json b/codegen/sdk/aws-models/codepipeline.json index e72120c1add..03e617a4590 100644 --- a/codegen/sdk/aws-models/codepipeline.json +++ b/codegen/sdk/aws-models/codepipeline.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -284,6 +284,7 @@ "required": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the configuration property is a required value.

", "smithy.api#required": {} } @@ -291,6 +292,7 @@ "key": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the configuration property is a key.

", "smithy.api#required": {} } @@ -298,6 +300,7 @@ "secret": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the configuration property is secret. Secrets are hidden from all calls\n except for GetJobDetails, GetThirdPartyJobDetails,\n PollForJobs, and PollForThirdPartyJobs.

\n

When updating a pipeline, passing * * * * * without changing any other values of\n the action preserves the previous value of the secret.

", "smithy.api#required": {} } @@ -305,6 +308,7 @@ "queryable": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the property is used with PollForJobs. When creating a\n custom action, an action can have up to one queryable property. If it has one, that\n property must be both required and not secret.

\n

If you create a pipeline with a custom action type, and that custom action contains\n a queryable property, the value for that configuration property is subject to other\n restrictions. The value must be less than or equal to twenty (20) characters. The value\n can contain only alphanumeric characters, underscores, and hyphens.

" } }, @@ -839,7 +843,6 @@ "com.amazonaws.codepipeline#ActionRunOrder": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999 @@ -937,6 +940,7 @@ "minimumCount": { "target": "com.amazonaws.codepipeline#MinimumActionTypeArtifactCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of artifacts that can be used with the action type. For example,\n you should specify a minimum and maximum of zero input artifacts for an action type with\n a category of source.

", "smithy.api#required": {} } @@ -944,6 +948,7 @@ "maximumCount": { "target": "com.amazonaws.codepipeline#MaximumActionTypeArtifactCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of artifacts that can be used with the actiontype. For example, you\n should specify a minimum and maximum of zero input artifacts for an action type with a\n category of source.

", "smithy.api#required": {} } @@ -1195,6 +1200,7 @@ "optional": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the configuration property is an optional value.

", "smithy.api#required": {} } @@ -1202,6 +1208,7 @@ "key": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the configuration property is a key.

", "smithy.api#required": {} } @@ -1209,6 +1216,7 @@ "noEcho": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to omit the field value entered by the customer in the log. If\n true, the value is not saved in CloudTrail logs for the action\n execution.

", "smithy.api#required": {} } @@ -1216,6 +1224,7 @@ "queryable": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the property is used with polling. An action type can have up to one\n queryable property. If it has one, that property must be both required and not\n secret.

" } }, @@ -1437,6 +1446,7 @@ "minimumCount": { "target": "com.amazonaws.codepipeline#MinimumArtifactCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of artifacts allowed for the action type.

", "smithy.api#required": {} } @@ -1444,6 +1454,7 @@ "maximumCount": { "target": "com.amazonaws.codepipeline#MaximumArtifactCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of artifacts allowed for the action type.

", "smithy.api#required": {} } @@ -1651,7 +1662,10 @@ } }, "com.amazonaws.codepipeline#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codepipeline#ClientId": { "type": "string", @@ -2091,6 +2105,9 @@ "input": { "target": "com.amazonaws.codepipeline#DeleteCustomActionTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#ConcurrentModificationException" @@ -2137,6 +2154,9 @@ "input": { "target": "com.amazonaws.codepipeline#DeletePipelineInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#ConcurrentModificationException" @@ -2249,6 +2269,9 @@ "input": { "target": "com.amazonaws.codepipeline#DisableStageTransitionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#PipelineNotFoundException" @@ -2327,6 +2350,9 @@ "input": { "target": "com.amazonaws.codepipeline#EnableStageTransitionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#PipelineNotFoundException" @@ -2372,7 +2398,10 @@ } }, "com.amazonaws.codepipeline#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codepipeline#EncryptionKey": { "type": "structure", @@ -3375,7 +3404,6 @@ "com.amazonaws.codepipeline#JobTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 43200 @@ -3944,7 +3972,6 @@ "com.amazonaws.codepipeline#MaxBatchSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3953,7 +3980,6 @@ "com.amazonaws.codepipeline#MaxPipelines": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3963,7 +3989,6 @@ "com.amazonaws.codepipeline#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3973,6 +3998,7 @@ "com.amazonaws.codepipeline#MaximumActionTypeArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -3982,6 +4008,7 @@ "com.amazonaws.codepipeline#MaximumArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 5 @@ -4000,6 +4027,7 @@ "com.amazonaws.codepipeline#MinimumActionTypeArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -4009,6 +4037,7 @@ "com.amazonaws.codepipeline#MinimumArtifactCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 5 @@ -4102,7 +4131,6 @@ "com.amazonaws.codepipeline#Percentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4484,7 +4512,6 @@ "com.amazonaws.codepipeline#PipelineVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4731,6 +4758,7 @@ "newRevision": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the artifact revision was previously used in an execution of the\n specified pipeline.

" } }, @@ -4839,6 +4867,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutJobFailureResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidJobStateException" @@ -4881,6 +4912,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutJobSuccessResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidJobStateException" @@ -4943,6 +4977,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutThirdPartyJobFailureResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidClientTokenException" @@ -4995,6 +5032,9 @@ "input": { "target": "com.amazonaws.codepipeline#PutThirdPartyJobSuccessResultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#InvalidClientTokenException" @@ -5793,6 +5833,7 @@ "abandon": { "target": "com.amazonaws.codepipeline#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Use this option to stop the pipeline execution by abandoning, rather than finishing,\n in-progress actions.

\n \n

This option can lead to failed or out-of-sequence tasks.

\n
" } }, @@ -6075,6 +6116,7 @@ "enabled": { "target": "com.amazonaws.codepipeline#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the transition between stages is enabled (true) or disabled\n (false).

" } }, @@ -6198,6 +6240,9 @@ "input": { "target": "com.amazonaws.codepipeline#UpdateActionTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.codepipeline#ActionTypeNotFoundException" diff --git a/codegen/sdk/aws-models/codestar-connections.json b/codegen/sdk/aws-models/codestar-connections.json index 2f3f22e6dad..a455e556ba1 100644 --- a/codegen/sdk/aws-models/codestar-connections.json +++ b/codegen/sdk/aws-models/codestar-connections.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -670,6 +670,7 @@ "MaxResults": { "target": "com.amazonaws.codestarconnections#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.

" } }, @@ -721,6 +722,7 @@ "MaxResults": { "target": "com.amazonaws.codestarconnections#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.

" } }, @@ -792,6 +794,7 @@ "com.amazonaws.codestarconnections#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 diff --git a/codegen/sdk/aws-models/codestar-notifications.json b/codegen/sdk/aws-models/codestar-notifications.json index de6398b04cc..01351a84c6a 100644 --- a/codegen/sdk/aws-models/codestar-notifications.json +++ b/codegen/sdk/aws-models/codestar-notifications.json @@ -229,8 +229,6 @@ "Status": { "target": "com.amazonaws.codestarnotifications#NotificationRuleStatus", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "ENABLED", "smithy.api#documentation": "

The status of the notification rule. The default value is ENABLED. If the status is\n set to DISABLED, notifications aren't sent for the notification rule.

" } } diff --git a/codegen/sdk/aws-models/codestar.json b/codegen/sdk/aws-models/codestar.json index d6241981e0c..2056af6858d 100644 --- a/codegen/sdk/aws-models/codestar.json +++ b/codegen/sdk/aws-models/codestar.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -97,7 +97,7 @@ "remoteAccessAllowed": { "target": "com.amazonaws.codestar#RemoteAccessAllowed", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether the team member is allowed to use an SSH public/private key pair to remotely\n access project resources, for example Amazon EC2 instances.

" } } @@ -550,6 +550,7 @@ "deleteStack": { "target": "com.amazonaws.codestar#DeleteStack", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to send a delete request for the primary stack in AWS CloudFormation originally\n used to generate the project and its resources. This option will delete all AWS resources for\n the project (except for any buckets in Amazon S3) as well as deleting the project itself.\n Recommended for most use cases.

" } } @@ -573,7 +574,10 @@ } }, "com.amazonaws.codestar#DeleteStack": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#DeleteUserProfile": { "type": "operation", @@ -885,6 +889,7 @@ "privateRepository": { "target": "com.amazonaws.codestar#RepositoryIsPrivate", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the GitHub repository is to be a private repository.

", "smithy.api#required": {} } @@ -892,6 +897,7 @@ "issuesEnabled": { "target": "com.amazonaws.codestar#RepositoryEnableIssues", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable issues for the GitHub repository.

", "smithy.api#required": {} } @@ -991,7 +997,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of data that can be contained in a single set of results.

" } } @@ -1057,7 +1063,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of data that can be contained in a single set of results.

" } } @@ -1122,7 +1128,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Reserved for future use.

" } } @@ -1187,7 +1193,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of team members you want returned in a response.

" } } @@ -1243,7 +1249,7 @@ "maxResults": { "target": "com.amazonaws.codestar#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return in a response.

" } } @@ -1270,6 +1276,7 @@ "com.amazonaws.codestar#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1451,7 +1458,10 @@ } }, "com.amazonaws.codestar#RemoteAccessAllowed": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#RepositoryDescription": { "type": "string", @@ -1464,10 +1474,16 @@ } }, "com.amazonaws.codestar#RepositoryEnableIssues": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#RepositoryIsPrivate": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.codestar#RepositoryName": { "type": "string", @@ -1699,7 +1715,7 @@ "remoteAccessAllowed": { "target": "com.amazonaws.codestar#RemoteAccessAllowed", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether the user is allowed to remotely access project resources using an SSH\n public/private key pair.

" } } @@ -1976,7 +1992,7 @@ "remoteAccessAllowed": { "target": "com.amazonaws.codestar#RemoteAccessAllowed", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether a team member is allowed to remotely access project resources using the SSH\n public key associated with the user's profile. Even if this is set to True, the user must\n associate a public key with their profile before the user can access resources.

" } } @@ -2000,7 +2016,7 @@ "remoteAccessAllowed": { "target": "com.amazonaws.codestar#RemoteAccessAllowed", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether a team member is allowed to remotely access project resources using the SSH\n public key associated with the user's profile.

" } } diff --git a/codegen/sdk/aws-models/cognito-identity-provider.json b/codegen/sdk/aws-models/cognito-identity-provider.json index cbf650413f8..809822da606 100644 --- a/codegen/sdk/aws-models/cognito-identity-provider.json +++ b/codegen/sdk/aws-models/cognito-identity-provider.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,24 +34,6 @@ }, "com.amazonaws.cognitoidentityprovider#AWSCognitoIdentityProviderService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Cognito Identity Provider", - "arnNamespace": "cognito-idp", - "cloudFormationName": "Cognito", - "cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com", - "endpointPrefix": "cognito-idp" - }, - "aws.auth#sigv4": { - "name": "cognito-idp" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Using the Amazon Cognito user pools API, you can create a user pool to manage directories and\n users. You can authenticate a user to obtain tokens related to user identity and access\n policies.

\n

This API reference provides information about user pools in Amazon Cognito user pools.

\n

For more information, see the Amazon Cognito\n Documentation.

", - "smithy.api#title": "Amazon Cognito Identity Provider", - "smithy.api#xmlNamespace": { - "uri": "http://cognito-idp.amazonaws.com/doc/2016-04-18/" - } - }, "version": "2016-04-18", "operations": [ { @@ -357,12 +339,29 @@ { "target": "com.amazonaws.cognitoidentityprovider#VerifyUserAttribute" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Cognito Identity Provider", + "arnNamespace": "cognito-idp", + "cloudFormationName": "Cognito", + "cloudTrailEventSource": "cognitoidentityprovider.amazonaws.com", + "endpointPrefix": "cognito-idp" + }, + "aws.auth#sigv4": { + "name": "cognito-idp" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Using the Amazon Cognito user pools API, you can create a user pool to manage directories and\n users. You can authenticate a user to obtain tokens related to user identity and access\n policies.

\n

This API reference provides information about user pools in Amazon Cognito user pools.

\n

For more information, see the Amazon Cognito\n Documentation.

", + "smithy.api#title": "Amazon Cognito Identity Provider", + "smithy.api#xmlNamespace": { + "uri": "http://cognito-idp.amazonaws.com/doc/2016-04-18/" + } + } }, "com.amazonaws.cognitoidentityprovider#AccessTokenValidityType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 86400 @@ -384,7 +383,10 @@ } }, "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionNotifyType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionType": { "type": "structure", @@ -392,6 +394,7 @@ "Notify": { "target": "com.amazonaws.cognitoidentityprovider#AccountTakeoverActionNotifyType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag specifying whether to send a notification.

", "smithy.api#required": {} } @@ -747,12 +750,14 @@ "AllowAdminCreateUserOnly": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to True if only the administrator is allowed to create user profiles.\n Set to False if users can sign themselves up via an app.

" } }, "UnusedAccountValidityDays": { "target": "com.amazonaws.cognitoidentityprovider#AdminCreateUserUnusedAccountValidityDaysType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The user account expiration limit, in days, after which a new account that hasn't\n signed in is no longer usable. To reset the account after that time limit, you must call\n AdminCreateUser again, specifying \"RESEND\" for the\n MessageAction parameter. The default value for this parameter is 7.

\n \n

If you set a value for TemporaryPasswordValidityDays in\n PasswordPolicy, that value will be used, and\n UnusedAccountValidityDays will be no longer be an available\n parameter for that user pool.

\n
" } }, @@ -805,6 +810,7 @@ "ForceAliasCreation": { "target": "com.amazonaws.cognitoidentityprovider#ForceAliasCreation", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This parameter is used only if the phone_number_verified or\n email_verified attribute is set to True. Otherwise, it is\n ignored.

\n

If this parameter is set to True and the phone number or email address\n specified in the UserAttributes parameter already exists as an alias with a different\n user, the API call will migrate the alias from the previous user to the newly created\n user. The previous user will no longer be able to log in using that alias.

\n

If this parameter is set to False, the API throws an\n AliasExistsException error if the alias already exists. The default\n value is False.

" } }, @@ -848,6 +854,7 @@ "com.amazonaws.cognitoidentityprovider#AdminCreateUserUnusedAccountValidityDaysType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 365 @@ -1381,6 +1388,7 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the status is enabled.

" } }, @@ -2329,6 +2337,7 @@ "Permanent": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n True if the password is permanent, False if it is\n temporary.

" } } @@ -2798,6 +2807,7 @@ "UserDataShared": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If UserDataShared is true, Amazon Cognito includes user data in the\n events that it publishes to Amazon Pinpoint analytics.

" } } @@ -3111,7 +3121,6 @@ "com.amazonaws.cognitoidentityprovider#AuthSessionValidityType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 3, "max": 15 @@ -3130,6 +3139,7 @@ "ExpiresIn": { "target": "com.amazonaws.cognitoidentityprovider#IntegerType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expiration period of the authentication result in seconds.

" } }, @@ -3175,7 +3185,10 @@ } }, "com.amazonaws.cognitoidentityprovider#BooleanType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentityprovider#CSSType": { "type": "string" @@ -3691,6 +3704,7 @@ "UserConfirmationNecessary": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the user confirmation must confirm the device response.

" } } @@ -3924,6 +3938,7 @@ "ForceAliasCreation": { "target": "com.amazonaws.cognitoidentityprovider#ForceAliasCreation", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean to be specified to force user confirmation irrespective of existing alias. By\n default set to False. If this parameter is set to True and the\n phone number/email used for sign up confirmation already exists as an alias with a\n different user, the API call will migrate the alias from the previous user to the newly\n created user being confirmed. If set to False, the API will throw an\n AliasExistsException error.

" } }, @@ -4437,12 +4452,14 @@ "GenerateSecret": { "target": "com.amazonaws.cognitoidentityprovider#GenerateSecret", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean to specify whether you want to generate a secret for the user pool client\n being created.

" } }, "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.

\n

The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.

" } }, @@ -4521,6 +4538,7 @@ "AllowedOAuthFlowsUserPoolClient": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.

" } }, @@ -5796,12 +5814,14 @@ "ChallengeRequiredOnNewDevice": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, a remembered device can sign in with device authentication instead of SMS\n and time-based one-time password (TOTP) factors for multi-factor authentication\n (MFA).

\n \n

Whether or not ChallengeRequiredOnNewDevice is true, users who sign in\n with devices that have not been confirmed or remembered must still provide a second\n factor in a user pool that requires MFA.

\n
" } }, "DeviceOnlyRememberedOnUserPrompt": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a\n \n ConfirmDevice API request. In your app, create a prompt for\n your user to choose whether they want to remember their device. Return the user's choice\n in an \n UpdateDeviceStatus API request.

\n

When DeviceOnlyRememberedOnUserPrompt is false, Amazon\n Cognito immediately remembers devices that you register in a ConfirmDevice\n API request.

" } } @@ -6421,7 +6441,10 @@ } }, "com.amazonaws.cognitoidentityprovider#ForceAliasCreation": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentityprovider#ForgetDevice": { "type": "operation", @@ -6610,7 +6633,10 @@ } }, "com.amazonaws.cognitoidentityprovider#GenerateSecret": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentityprovider#GetCSVHeader": { "type": "operation", @@ -7431,7 +7457,6 @@ "com.amazonaws.cognitoidentityprovider#IdTokenValidityType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 86400 @@ -7693,7 +7718,10 @@ } }, "com.amazonaws.cognitoidentityprovider#IntegerType": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cognitoidentityprovider#InternalErrorException": { "type": "structure", @@ -8190,7 +8218,6 @@ "com.amazonaws.cognitoidentityprovider#ListProvidersLimitType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 60 @@ -8235,6 +8262,7 @@ "com.amazonaws.cognitoidentityprovider#ListResourceServersLimitType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -8254,6 +8282,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#ListResourceServersLimitType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of resource servers to return.

" } }, @@ -8377,6 +8406,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of import jobs you want the request to return.

", "smithy.api#required": {} } @@ -8460,6 +8490,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user\n pool clients.

" } }, @@ -8538,6 +8569,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results you want the request to return when listing the user\n pools.

", "smithy.api#required": {} } @@ -8757,7 +8789,10 @@ } }, "com.amazonaws.cognitoidentityprovider#LongType": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cognitoidentityprovider#MFAMethodNotFoundException": { "type": "structure", @@ -9025,6 +9060,7 @@ "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 6, "max": 99 @@ -9037,36 +9073,42 @@ "MinimumLength": { "target": "com.amazonaws.cognitoidentityprovider#PasswordPolicyMinLengthType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum length of the password in the policy that you have set. This value can't\n be less than 6.

" } }, "RequireUppercase": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one uppercase letter in their password.

" } }, "RequireLowercase": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one lowercase letter in their password.

" } }, "RequireNumbers": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one number in their password.

" } }, "RequireSymbols": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

In the password policy that you have set, refers to whether you have required users to\n use at least one symbol in their password.

" } }, "TemporaryPasswordValidityDays": { "target": "com.amazonaws.cognitoidentityprovider#TemporaryPasswordValidityDaysType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days a temporary password is valid in the password policy. If the user\n doesn't sign in during this time, an administrator must reset their password.

\n \n

When you set TemporaryPasswordValidityDays for a user pool, you can\n no longer set a value for the legacy UnusedAccountValidityDays\n parameter in that user pool.

\n
" } } @@ -9105,6 +9147,7 @@ "com.amazonaws.cognitoidentityprovider#PoolQueryLimitType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 @@ -9123,7 +9166,6 @@ "com.amazonaws.cognitoidentityprovider#PrecedenceType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -9163,6 +9205,7 @@ "com.amazonaws.cognitoidentityprovider#PriorityType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2 @@ -9271,6 +9314,7 @@ "com.amazonaws.cognitoidentityprovider#QueryLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 @@ -9280,7 +9324,6 @@ "com.amazonaws.cognitoidentityprovider#QueryLimitType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 60 @@ -9324,6 +9367,7 @@ "Priority": { "target": "com.amazonaws.cognitoidentityprovider#PriorityType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A positive integer specifying priority of a method with 1 being the highest\n priority.

", "smithy.api#required": {} } @@ -9353,6 +9397,7 @@ "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 315360000 @@ -9971,12 +10016,14 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether SMS text message MFA is activated. If an MFA type is activated for a\n user, the user will be prompted for MFA during all sign-in attempts, unless device\n tracking is turned on and the device has been trusted.

" } }, "PreferredMfa": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether SMS is the preferred MFA method.

" } } @@ -10003,21 +10050,21 @@ "DeveloperOnlyAttribute": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "\n

You should use WriteAttributes in the user pool client to control how attributes can\n be mutated for new use cases instead of using\n DeveloperOnlyAttribute.

\n
\n

Specifies whether the attribute type is developer only. This attribute can only be\n modified by an administrator. Users won't be able to modify this attribute using their\n access token. For example, DeveloperOnlyAttribute can be modified using\n AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.

" } }, "Mutable": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether the value of the attribute can be changed.

\n

For any user pool attribute that is mapped to an IdP attribute, you must set this\n parameter to true. Amazon Cognito updates mapped attributes when users sign in to\n your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error\n when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User\n Pool.

" } }, "Required": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies whether a user pool attribute is required. If the attribute is required and\n the user doesn't provide a value, registration or sign-in will fail.

" } }, @@ -10642,6 +10689,7 @@ "UserConfirmed": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A response from the server indicating that a user registration has been\n confirmed.

", "smithy.api#required": {} } @@ -10762,6 +10810,7 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether software token MFA is activated.

" } } @@ -10776,12 +10825,14 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether software token MFA is activated. If an MFA type is activated for a\n user, the user will be prompted for MFA during all sign-in attempts, unless device\n tracking is turned on and the device has been trusted.

" } }, "PreferredMfa": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether software token MFA is the preferred MFA method.

" } } @@ -11043,6 +11094,7 @@ "com.amazonaws.cognitoidentityprovider#TemporaryPasswordValidityDaysType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 365 @@ -11938,6 +11990,7 @@ "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.

\n

The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.

" } }, @@ -12016,6 +12069,7 @@ "AllowedOAuthFlowsUserPoolClient": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.

" } }, @@ -12442,18 +12496,21 @@ "ImportedUsers": { "target": "com.amazonaws.cognitoidentityprovider#LongType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of users that were successfully imported.

" } }, "SkippedUsers": { "target": "com.amazonaws.cognitoidentityprovider#LongType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of users that were skipped.

" } }, "FailedUsers": { "target": "com.amazonaws.cognitoidentityprovider#LongType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of users that couldn't be imported.

" } }, @@ -12636,6 +12693,7 @@ "RefreshTokenValidity": { "target": "com.amazonaws.cognitoidentityprovider#RefreshTokenValidityType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The refresh token time limit. After this limit expires, your user can't use \n their refresh token. To specify the time unit for RefreshTokenValidity as \n seconds, minutes, hours, or days, \n set a TokenValidityUnits value in your API request.

\n

For example, when you set RefreshTokenValidity as 10 and\n TokenValidityUnits as days, your user can refresh their session\n and retrieve new access and ID tokens for 10 days.

\n

The default time unit for RefreshTokenValidity in an API request is days. \n You can't set RefreshTokenValidity to 0. If you do, Amazon Cognito overrides the \n value with the default value of 30 days. Valid range is displayed below \n in seconds.

" } }, @@ -12714,7 +12772,7 @@ "AllowedOAuthFlowsUserPoolClient": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Set to true if the client is allowed to follow the OAuth protocol when interacting\n with Amazon Cognito user pools.

" } }, @@ -13004,6 +13062,7 @@ "EstimatedNumberOfUsers": { "target": "com.amazonaws.cognitoidentityprovider#IntegerType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A number estimating the size of the user pool.

" } }, @@ -13149,6 +13208,7 @@ "Enabled": { "target": "com.amazonaws.cognitoidentityprovider#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the user is enabled.

" } }, @@ -13510,10 +13570,7 @@ } }, "com.amazonaws.cognitoidentityprovider#WrappedBooleanType": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" } } } diff --git a/codegen/sdk/aws-models/cognito-identity.json b/codegen/sdk/aws-models/cognito-identity.json index 9ce6655178c..6c4ef533f6b 100644 --- a/codegen/sdk/aws-models/cognito-identity.json +++ b/codegen/sdk/aws-models/cognito-identity.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -179,10 +179,7 @@ } }, "com.amazonaws.cognitoidentity#ClassicFlow": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.cognitoidentity#CognitoIdentityProvider": { "type": "structure", @@ -202,7 +199,7 @@ "ServerSideTokenCheck": { "target": "com.amazonaws.cognitoidentity#CognitoIdentityProviderTokenCheck", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

TRUE if server-side token validation is enabled for the identity provider’s\n token.

\n

Once you set ServerSideTokenCheck to TRUE for an identity pool, that\n identity pool will check with the integrated user pools to make sure that the user has not\n been globally signed out or deleted before the identity pool provides an OIDC token or AWS\n credentials for the user.

\n

If the user is signed out or deleted, the identity pool will return a 400 Not\n Authorized error.

" } } @@ -238,7 +235,10 @@ } }, "com.amazonaws.cognitoidentity#CognitoIdentityProviderTokenCheck": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentity#ConcurrentModificationException": { "type": "structure", @@ -301,6 +301,7 @@ "AllowUnauthenticatedIdentities": { "target": "com.amazonaws.cognitoidentity#IdentityPoolUnauthenticated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

TRUE if the identity pool supports unauthenticated logins.

", "smithy.api#required": {} } @@ -444,6 +445,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#DeleteIdentityPoolInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#InternalErrorException" @@ -1132,7 +1136,10 @@ } }, "com.amazonaws.cognitoidentity#HideDisabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentity#IdentitiesList": { "type": "list", @@ -1214,6 +1221,7 @@ "AllowUnauthenticatedIdentities": { "target": "com.amazonaws.cognitoidentity#IdentityPoolUnauthenticated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

TRUE if the identity pool supports unauthenticated logins.

", "smithy.api#required": {} } @@ -1321,7 +1329,10 @@ } }, "com.amazonaws.cognitoidentity#IdentityPoolUnauthenticated": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitoidentity#IdentityPoolsList": { "type": "list", @@ -1477,6 +1488,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of identities to return.

", "smithy.api#required": {} } @@ -1490,6 +1502,7 @@ "HideDisabled": { "target": "com.amazonaws.cognitoidentity#HideDisabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

An optional boolean parameter that allows you to hide disabled identities. If\n omitted, the ListIdentities API will include disabled identities in the response.

" } } @@ -1565,6 +1578,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of identities to return.

", "smithy.api#required": {} } @@ -1730,6 +1744,7 @@ "MaxResults": { "target": "com.amazonaws.cognitoidentity#QueryLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of identities to return.

" } }, @@ -1994,6 +2009,7 @@ "com.amazonaws.cognitoidentity#QueryLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60 @@ -2146,6 +2162,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#SetIdentityPoolRolesInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#ConcurrentModificationException" @@ -2366,7 +2385,6 @@ "com.amazonaws.cognitoidentity#TokenDuration": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 86400 @@ -2394,6 +2412,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#UnlinkDeveloperIdentityInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#InternalErrorException" @@ -2459,6 +2480,9 @@ "input": { "target": "com.amazonaws.cognitoidentity#UnlinkIdentityInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitoidentity#ExternalServiceException" @@ -2640,10 +2664,7 @@ } }, "com.amazonaws.cognitoidentity#UseDefaults": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" } } } diff --git a/codegen/sdk/aws-models/cognito-sync.json b/codegen/sdk/aws-models/cognito-sync.json index 0570ffe3eca..270bfbc4959 100644 --- a/codegen/sdk/aws-models/cognito-sync.json +++ b/codegen/sdk/aws-models/cognito-sync.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -144,7 +144,10 @@ } }, "com.amazonaws.cognitosync#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.cognitosync#BulkPublish": { "type": "operation", @@ -1004,6 +1007,7 @@ "DatasetCount": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of datasets for the\n identity." } }, @@ -1019,10 +1023,16 @@ } }, "com.amazonaws.cognitosync#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cognitosync#IntegerString": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.cognitosync#InternalErrorException": { "type": "structure", @@ -1188,6 +1198,7 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to be\n returned.", "smithy.api#httpQuery": "maxResults" } @@ -1209,6 +1220,7 @@ "Count": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of datasets returned." } }, @@ -1267,6 +1279,7 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to\n be returned.", "smithy.api#httpQuery": "maxResults" } @@ -1288,12 +1301,14 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to\n be returned." } }, "Count": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of identities for the\n identity pool." } }, @@ -1383,6 +1398,7 @@ "MaxResults": { "target": "com.amazonaws.cognitosync#IntegerString", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of results to be\n returned.", "smithy.api#httpQuery": "maxResults" } @@ -1417,6 +1433,7 @@ "Count": { "target": "com.amazonaws.cognitosync#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Total number of records." } }, @@ -1441,12 +1458,14 @@ "DatasetExists": { "target": "com.amazonaws.cognitosync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether the dataset\n exists." } }, "DatasetDeletedAfterRequestedSyncCount": { "target": "com.amazonaws.cognitosync#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "A boolean value\n specifying whether to delete the dataset locally." } }, @@ -1462,10 +1481,7 @@ } }, "com.amazonaws.cognitosync#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.cognitosync#MergedDatasetNameList": { "type": "list", @@ -1794,6 +1810,9 @@ "input": { "target": "com.amazonaws.cognitosync#SetCognitoEventsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.cognitosync#InternalErrorException" diff --git a/codegen/sdk/aws-models/comprehend.json b/codegen/sdk/aws-models/comprehend.json index 5b9154538f4..afd5ffa201e 100644 --- a/codegen/sdk/aws-models/comprehend.json +++ b/codegen/sdk/aws-models/comprehend.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -906,21 +906,6 @@ }, "com.amazonaws.comprehend#Comprehend_20171127": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Comprehend", - "arnNamespace": "comprehend", - "cloudFormationName": "Comprehend", - "cloudTrailEventSource": "comprehend.amazonaws.com", - "endpointPrefix": "comprehend" - }, - "aws.auth#sigv4": { - "name": "comprehend" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon Comprehend is an AWS service for gaining insight into the content of documents.\n Use these actions to determine the topics contained in your documents, the topics they\n discuss, the predominant sentiment expressed in them, the predominant language used, and\n more.

", - "smithy.api#title": "Amazon Comprehend" - }, "version": "2017-11-27", "operations": [ { @@ -1142,7 +1127,22 @@ { "target": "com.amazonaws.comprehend#UpdateEndpoint" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Comprehend", + "arnNamespace": "comprehend", + "cloudFormationName": "Comprehend", + "cloudTrailEventSource": "comprehend.amazonaws.com", + "endpointPrefix": "comprehend" + }, + "aws.auth#sigv4": { + "name": "comprehend" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon Comprehend is an AWS service for gaining insight into the content of documents.\n Use these actions to determine the topics contained in your documents, the topics they\n discuss, the predominant sentiment expressed in them, the predominant language used, and\n more.

", + "smithy.api#title": "Amazon Comprehend" + } }, "com.amazonaws.comprehend#ConcurrentModificationException": { "type": "structure", @@ -3527,10 +3527,7 @@ } }, "com.amazonaws.comprehend#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.comprehend#EndpointFilter": { "type": "structure", @@ -4514,10 +4511,7 @@ } }, "com.amazonaws.comprehend#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.comprehend#IamRoleArn": { "type": "string", @@ -4626,7 +4620,6 @@ "com.amazonaws.comprehend#InferenceUnitsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4675,10 +4668,7 @@ } }, "com.amazonaws.comprehend#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.comprehend#InternalServerException": { "type": "structure", @@ -6175,7 +6165,6 @@ "com.amazonaws.comprehend#MaxResultsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -6237,7 +6226,6 @@ "com.amazonaws.comprehend#NumberOfTopicsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/comprehendmedical.json b/codegen/sdk/aws-models/comprehendmedical.json index 12a8c69d09f..cd41587db61 100644 --- a/codegen/sdk/aws-models/comprehendmedical.json +++ b/codegen/sdk/aws-models/comprehendmedical.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -294,21 +294,6 @@ }, "com.amazonaws.comprehendmedical#ComprehendMedical_20181030": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ComprehendMedical", - "arnNamespace": "comprehendmedical", - "cloudFormationName": "ComprehendMedical", - "cloudTrailEventSource": "comprehendmedical.amazonaws.com", - "endpointPrefix": "comprehendmedical" - }, - "aws.auth#sigv4": { - "name": "comprehendmedical" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions\n to gain insight in your documents.

", - "smithy.api#title": "AWS Comprehend Medical" - }, "version": "2018-10-30", "operations": [ { @@ -389,7 +374,22 @@ { "target": "com.amazonaws.comprehendmedical#StopSNOMEDCTInferenceJob" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ComprehendMedical", + "arnNamespace": "comprehendmedical", + "cloudFormationName": "ComprehendMedical", + "cloudTrailEventSource": "comprehendmedical.amazonaws.com", + "endpointPrefix": "comprehendmedical" + }, + "aws.auth#sigv4": { + "name": "comprehendmedical" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Comprehend Medical; extracts structured information from unstructured clinical text. Use these actions\n to gain insight in your documents.

", + "smithy.api#title": "AWS Comprehend Medical" + } }, "com.amazonaws.comprehendmedical#DescribeEntitiesDetectionV2Job": { "type": "operation", @@ -1114,10 +1114,7 @@ } }, "com.amazonaws.comprehendmedical#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.comprehendmedical#ICD10CMAttribute": { "type": "structure", @@ -1672,10 +1669,7 @@ } }, "com.amazonaws.comprehendmedical#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.comprehendmedical#InternalServerException": { "type": "structure", @@ -2131,7 +2125,6 @@ "com.amazonaws.comprehendmedical#MaxResultsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 diff --git a/codegen/sdk/aws-models/compute-optimizer.json b/codegen/sdk/aws-models/compute-optimizer.json index 29b2f0fa737..9ad806f8c87 100644 --- a/codegen/sdk/aws-models/compute-optimizer.json +++ b/codegen/sdk/aws-models/compute-optimizer.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -104,18 +104,21 @@ "desiredCapacity": { "target": "com.amazonaws.computeoptimizer#DesiredCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The desired capacity, or number of instances, for the Auto Scaling group.

" } }, "minSize": { "target": "com.amazonaws.computeoptimizer#MinSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum size, or minimum number of instances, for the Auto Scaling\n group.

" } }, "maxSize": { "target": "com.amazonaws.computeoptimizer#MaxSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size, or maximum number of instances, for the Auto Scaling\n group.

" } }, @@ -169,6 +172,7 @@ "lookBackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which utilization metrics were analyzed for the Auto Scaling group.

" } }, @@ -231,12 +235,14 @@ "performanceRisk": { "target": "com.amazonaws.computeoptimizer#PerformanceRisk", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The performance risk of the Auto Scaling group configuration\n recommendation.

\n

Performance risk indicates the likelihood of the recommended instance type not meeting\n the resource needs of your workload. Compute Optimizer calculates an individual\n performance risk score for each specification of the recommended instance, including\n CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput,\n and network PPS.\n The performance\n risk of the recommended instance is calculated as the maximum performance risk score\n across the analyzed resource specifications.

\n

The value ranges from 0 - 4, with 0 meaning\n that the recommended resource is predicted to always provide enough hardware capability.\n The higher the performance risk is, the more likely you should validate whether the\n recommendation will meet the performance requirements of your workload before migrating\n your resource.

" } }, "rank": { "target": "com.amazonaws.computeoptimizer#Rank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rank of the Auto Scaling group recommendation option.

\n

The top recommendation option is ranked as 1.

" } }, @@ -274,21 +280,6 @@ }, "com.amazonaws.computeoptimizer#ComputeOptimizerService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Compute Optimizer", - "arnNamespace": "compute-optimizer", - "cloudFormationName": "ComputeOptimizer", - "cloudTrailEventSource": "computeoptimizer.amazonaws.com", - "endpointPrefix": "compute-optimizer" - }, - "aws.auth#sigv4": { - "name": "compute-optimizer" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

Compute Optimizer is a service that analyzes the configuration and utilization\n metrics of your Amazon Web Services compute resources, such as Amazon EC2\n instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates\n optimization recommendations to reduce the cost and improve the performance of your\n workloads. Compute Optimizer also provides recent utilization metric data, in addition\n to projected utilization metric data for the recommendations, which you can use to\n evaluate which recommendation provides the best price-performance trade-off. The\n analysis of your usage patterns can help you decide when to move or resize your running\n resources, and still meet your performance and capacity requirements. For more\n information about Compute Optimizer, including the required permissions to use the\n service, see the Compute Optimizer User Guide.

", - "smithy.api#title": "AWS Compute Optimizer" - }, "version": "2019-11-01", "operations": [ { @@ -345,7 +336,22 @@ { "target": "com.amazonaws.computeoptimizer#UpdateEnrollmentStatus" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Compute Optimizer", + "arnNamespace": "compute-optimizer", + "cloudFormationName": "ComputeOptimizer", + "cloudTrailEventSource": "computeoptimizer.amazonaws.com", + "endpointPrefix": "compute-optimizer" + }, + "aws.auth#sigv4": { + "name": "compute-optimizer" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

Compute Optimizer is a service that analyzes the configuration and utilization\n metrics of your Amazon Web Services compute resources, such as Amazon EC2\n instances, Amazon EC2 Auto Scaling groups, Lambda functions, and Amazon EBS volumes. It reports whether your resources are optimal, and generates\n optimization recommendations to reduce the cost and improve the performance of your\n workloads. Compute Optimizer also provides recent utilization metric data, in addition\n to projected utilization metric data for the recommendations, which you can use to\n evaluate which recommendation provides the best price-performance trade-off. The\n analysis of your usage patterns can help you decide when to move or resize your running\n resources, and still meet your performance and capacity requirements. For more\n information about Compute Optimizer, including the required permissions to use the\n service, see the Compute Optimizer User Guide.

", + "smithy.api#title": "AWS Compute Optimizer" + } }, "com.amazonaws.computeoptimizer#CpuVendorArchitecture": { "type": "string", @@ -418,24 +424,28 @@ "high": { "target": "com.amazonaws.computeoptimizer#High", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A count of the applicable resource types with a high performance risk rating.

" } }, "medium": { "target": "com.amazonaws.computeoptimizer#Medium", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A count of the applicable resource types with a medium performance risk rating.

" } }, "low": { "target": "com.amazonaws.computeoptimizer#Low", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A count of the applicable resource types with a low performance risk rating.

" } }, "veryLow": { "target": "com.amazonaws.computeoptimizer#VeryLow", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A count of the applicable resource types with a very low performance risk\n rating.

" } } @@ -596,7 +606,10 @@ } }, "com.amazonaws.computeoptimizer#DesiredCapacity": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#DestinationBucket": { "type": "string" @@ -700,6 +713,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#MetricValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the utilization metric.

" } } @@ -807,6 +821,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#Value", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the estimated monthly savings.

" } } @@ -890,6 +905,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.

\n

The member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.

\n

Recommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.

\n

This parameter cannot be specified together with the account IDs parameter. The\n parameters are mutually exclusive.

\n

Recommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.

" } }, @@ -1006,6 +1022,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.

\n

The member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.

\n

Recommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.

\n

This parameter cannot be specified together with the account IDs parameter. The\n parameters are mutually exclusive.

\n

Recommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.

" } } @@ -1100,6 +1117,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.

\n

The member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.

\n

Recommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.

\n

Recommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.

" } }, @@ -1202,6 +1220,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to include recommendations for resources in all member accounts of\n the organization if your account is the management account of an organization.

\n

The member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.

\n

Recommendations for member accounts of the organization are not included in the export\n file if this parameter is omitted.

\n

This parameter cannot be specified together with the account IDs parameter. The\n parameters are mutually exclusive.

\n

Recommendations for member accounts are not included in the export if this parameter,\n or the account IDs parameter, is omitted.

" } } @@ -2389,6 +2408,7 @@ "period": { "target": "com.amazonaws.computeoptimizer#Period", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The granularity, in seconds, of the projected metrics data points.

", "smithy.api#required": {} } @@ -2541,6 +2561,7 @@ "memberAccountsEnrolled": { "target": "com.amazonaws.computeoptimizer#MemberAccountsEnrolled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Confirms the enrollment status of member accounts of the organization, if the account\n is a management account of an organization.

" } }, @@ -2913,13 +2934,19 @@ } }, "com.amazonaws.computeoptimizer#High": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Identifier": { "type": "string" }, "com.amazonaws.computeoptimizer#IncludeMemberAccounts": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.computeoptimizer#InferredWorkloadType": { "type": "string", @@ -3037,6 +3064,7 @@ "lookBackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which utilization metrics were analyzed for the\n instance.

" } }, @@ -3182,12 +3210,14 @@ "performanceRisk": { "target": "com.amazonaws.computeoptimizer#PerformanceRisk", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The performance risk of the instance recommendation option.

\n

Performance risk indicates the likelihood of the recommended instance type not meeting\n the resource needs of your workload. Compute Optimizer calculates an individual\n performance risk score for each specification of the recommended instance, including\n CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput,\n and network PPS.\n The performance\n risk of the recommended instance is calculated as the maximum performance risk score\n across the analyzed resource specifications.

\n

The value ranges from 0 - 4, with 0 meaning\n that the recommended resource is predicted to always provide enough hardware capability.\n The higher the performance risk is, the more likely you should validate whether the\n recommendation will meet the performance requirements of your workload before migrating\n your resource.

" } }, "rank": { "target": "com.amazonaws.computeoptimizer#Rank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rank of the instance recommendation option.

\n

The top recommendation option is ranked as 1.

" } }, @@ -3364,6 +3394,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#MetricValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The values of the projected utilization metrics.

" } } @@ -3384,12 +3415,14 @@ "rank": { "target": "com.amazonaws.computeoptimizer#Rank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rank of the function recommendation option.

\n

The top recommendation option is ranked as 1.

" } }, "memorySize": { "target": "com.amazonaws.computeoptimizer#MemorySize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The memory size, in MB, of the function recommendation option.

" } }, @@ -3470,12 +3503,14 @@ "currentMemorySize": { "target": "com.amazonaws.computeoptimizer#MemorySize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of memory, in MB, that's allocated to the current function.

" } }, "numberOfInvocations": { "target": "com.amazonaws.computeoptimizer#NumberOfInvocations", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times your function code was applied during the look-back period.

" } }, @@ -3488,6 +3523,7 @@ "lookbackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which utilization metrics were analyzed for the\n function.

" } }, @@ -3639,6 +3675,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#MetricValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the utilization metric.

" } } @@ -3673,28 +3710,43 @@ } }, "com.amazonaws.computeoptimizer#LookBackPeriodInDays": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Low": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MaxResults": { + "type": "integer" + }, + "com.amazonaws.computeoptimizer#MaxSize": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, - "com.amazonaws.computeoptimizer#MaxSize": { - "type": "integer" - }, "com.amazonaws.computeoptimizer#Medium": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MemberAccountsEnrolled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.computeoptimizer#MemorySize": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Message": { "type": "string" @@ -3781,7 +3833,10 @@ } }, "com.amazonaws.computeoptimizer#MetricValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MetricValues": { "type": "list", @@ -3813,7 +3868,10 @@ } }, "com.amazonaws.computeoptimizer#MinSize": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#MissingAuthenticationToken": { "type": "structure", @@ -3832,14 +3890,14 @@ "type": "string" }, "com.amazonaws.computeoptimizer#NumberOfInvocations": { - "type": "long" - }, - "com.amazonaws.computeoptimizer#NumberOfMemberAccountsOptedIn": { - "type": "integer", + "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.computeoptimizer#NumberOfMemberAccountsOptedIn": { + "type": "integer" + }, "com.amazonaws.computeoptimizer#OptInRequiredException": { "type": "structure", "members": { @@ -3856,6 +3914,7 @@ "com.amazonaws.computeoptimizer#PerformanceRisk": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 4 @@ -3863,7 +3922,10 @@ } }, "com.amazonaws.computeoptimizer#Period": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#PlatformDifference": { "type": "string", @@ -4013,7 +4075,10 @@ "members": {} }, "com.amazonaws.computeoptimizer#Rank": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#ReasonCodeSummaries": { "type": "list", @@ -4033,6 +4098,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#SummaryValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the finding reason code summary.

" } } @@ -4287,6 +4353,7 @@ "rank": { "target": "com.amazonaws.computeoptimizer#Rank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rank of the recommendation option projected metric.

\n

The top recommendation option is ranked as 1.

\n

The projected metric rank correlates to the recommendation option rank. For example,\n the projected metric ranked as 1 is related to the recommendation option\n that is also ranked as 1 in the same response.

" } }, @@ -4402,6 +4469,7 @@ "savingsOpportunityPercentage": { "target": "com.amazonaws.computeoptimizer#SavingsOpportunityPercentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated monthly savings possible as a percentage of monthly cost by adopting\n Compute Optimizer recommendations for a given resource.

" } }, @@ -4417,7 +4485,10 @@ } }, "com.amazonaws.computeoptimizer#SavingsOpportunityPercentage": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#Scope": { "type": "structure", @@ -4518,6 +4589,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#SummaryValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the recommendation summary.

" } }, @@ -4533,7 +4605,10 @@ } }, "com.amazonaws.computeoptimizer#SummaryValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#ThrottlingException": { "type": "structure", @@ -4605,6 +4680,7 @@ "includeMemberAccounts": { "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to enroll member accounts of the organization if the account is the\n management account of an organization.

" } } @@ -4645,6 +4721,7 @@ "value": { "target": "com.amazonaws.computeoptimizer#MetricValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the utilization metric.

" } } @@ -4660,10 +4737,16 @@ } }, "com.amazonaws.computeoptimizer#Value": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VeryLow": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeArn": { "type": "string" @@ -4675,16 +4758,28 @@ } }, "com.amazonaws.computeoptimizer#VolumeBaselineIOPS": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeBaselineThroughput": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeBurstIOPS": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeBurstThroughput": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeConfiguration": { "type": "structure", @@ -4698,30 +4793,35 @@ "volumeSize": { "target": "com.amazonaws.computeoptimizer#VolumeSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiB.

" } }, "volumeBaselineIOPS": { "target": "com.amazonaws.computeoptimizer#VolumeBaselineIOPS", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The baseline IOPS of the volume.

" } }, "volumeBurstIOPS": { "target": "com.amazonaws.computeoptimizer#VolumeBurstIOPS", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The burst IOPS of the volume.

" } }, "volumeBaselineThroughput": { "target": "com.amazonaws.computeoptimizer#VolumeBaselineThroughput", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The baseline throughput of the volume.

" } }, "volumeBurstThroughput": { "target": "com.amazonaws.computeoptimizer#VolumeBurstThroughput", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The burst throughput of the volume.

" } } @@ -4766,6 +4866,7 @@ "lookBackPeriodInDays": { "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which utilization metrics were analyzed for the volume.

" } }, @@ -4804,12 +4905,14 @@ "performanceRisk": { "target": "com.amazonaws.computeoptimizer#PerformanceRisk", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The performance risk of the volume recommendation option.

\n

Performance risk is the likelihood of the recommended volume type meeting the\n performance requirement of your workload.

\n

The value ranges from 0 - 4, with 0 meaning\n that the recommended resource is predicted to always provide enough hardware capability.\n The higher the performance risk is, the more likely you should validate whether the\n recommendation will meet the performance requirements of your workload before migrating\n your resource.

" } }, "rank": { "target": "com.amazonaws.computeoptimizer#Rank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rank of the volume recommendation option.

\n

The top recommendation option is ranked as 1.

" } }, @@ -4837,7 +4940,10 @@ } }, "com.amazonaws.computeoptimizer#VolumeSize": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.computeoptimizer#VolumeType": { "type": "string" diff --git a/codegen/sdk/aws-models/config-service.json b/codegen/sdk/aws-models/config-service.json index b6404b95159..d7e60c5fdc4 100644 --- a/codegen/sdk/aws-models/config-service.json +++ b/codegen/sdk/aws-models/config-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -45,6 +45,7 @@ "AllAwsRegions": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, aggregate existing Config regions and future\n\t\t\tregions.

" } }, @@ -202,18 +203,21 @@ "CompliantRuleCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of compliant Config Rules.

" } }, "NonCompliantRuleCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of noncompliant Config Rules.

" } }, "TotalRuleCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of compliant rules, noncompliant rules, and the rules that do not have any applicable resources to evaluate upon resulting in insufficient data.

" } } @@ -228,12 +232,14 @@ "CompliantConformancePackCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of compliant conformance packs.

" } }, "NonCompliantConformancePackCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of noncompliant conformance packs.

" } } @@ -584,7 +590,10 @@ } }, "com.amazonaws.configservice#AllSupported": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.configservice#AmazonResourceName": { "type": "string", @@ -607,7 +616,6 @@ "com.amazonaws.configservice#AutoRemediationAttemptSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 2678000 @@ -617,7 +625,6 @@ "com.amazonaws.configservice#AutoRemediationAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -849,7 +856,10 @@ } }, "com.amazonaws.configservice#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.configservice#ChannelName": { "type": "string", @@ -959,12 +969,14 @@ "CappedCount": { "target": "com.amazonaws.configservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources or Config rules responsible for\n\t\t\tthe current compliance of the item.

" } }, "CapExceeded": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the maximum count is reached.

" } } @@ -1327,6 +1339,7 @@ "FirstEvaluationStarted": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Config has evaluated your resources\n\t\t\tagainst the rule at least once.

\n\t\t " } }, @@ -1760,6 +1773,7 @@ "recording": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not the recorder is currently\n\t\t\trecording.

" } }, @@ -2383,6 +2397,7 @@ "com.amazonaws.configservice#CosmosPageLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -2409,6 +2424,7 @@ "EnableDebugLogDelivery": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The boolean expression for enabling debug logging for your Config Custom Policy rule. The default value is false.

" } } @@ -3214,6 +3230,7 @@ "Limit": { "target": "com.amazonaws.configservice#GroupByAPILimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of evaluation results returned on each page.\n\t\t\tThe default is\n\t\t\tmaximum.\n\t\t\tIf you specify 0, Config uses the default.

" } }, @@ -3293,6 +3310,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of conformance packs compliance details returned on each page. The default is maximum. If you specify 0, Config uses the default.

" } }, @@ -3356,6 +3374,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of AggregationAuthorizations returned on\n\t\t\teach page. The default is maximum. If you specify 0, Config uses\n\t\t\tthe default.

" } }, @@ -3508,6 +3527,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 10. You cannot specify a number greater than 100. If\n\t\t\tyou specify 0, Config uses the default.

" } }, @@ -3589,6 +3609,7 @@ "Limit": { "target": "com.amazonaws.configservice#RuleLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of rule evaluation results that you want\n\t\t\treturned.

\n\t\t\n\t\t

This parameter is required if the rule limit for your account\n\t\t\tis more than the default of 150 rules.

\n\t\t

For information about requesting a rule limit increase, see\n\t\t\t\tConfig Limits in the Amazon Web Services General\n\t\t\t\tReference Guide.

" } } @@ -3739,6 +3760,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of AggregatorSourceStatus returned on each\n\t\t\tpage. The default is maximum. If you specify 0, Config uses the\n\t\t\tdefault.

" } } @@ -3811,6 +3833,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of configuration aggregators returned on\n\t\t\teach page. The default is maximum. If you specify 0, Config uses\n\t\t\tthe default.

" } } @@ -3960,6 +3983,7 @@ "com.amazonaws.configservice#DescribeConformancePackComplianceLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -3985,6 +4009,7 @@ "Limit": { "target": "com.amazonaws.configservice#DescribeConformancePackComplianceLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of Config rules within a conformance pack are returned on each page.

" } }, @@ -4062,6 +4087,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of conformance packs status returned on each page.

" } }, @@ -4134,6 +4160,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of conformance packs returned on each page.

" } }, @@ -4296,6 +4323,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of OrganizationConfigRuleStatuses returned on each page. If you do no specify a number, Config uses the default. The default is 100.

" } }, @@ -4368,6 +4396,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of organization Config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.

" } }, @@ -4440,6 +4469,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of OrganizationConformancePackStatuses returned on each page. \n\t\t\tIf you do no specify a number, Config uses the default. The default is 100.

" } }, @@ -4512,6 +4542,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of organization config packs returned on each page. If you do no specify a\n\t\t\tnumber, Config uses the default. The default is 100.

" } }, @@ -4572,6 +4603,7 @@ "com.amazonaws.configservice#DescribePendingAggregationRequestsLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -4584,6 +4616,7 @@ "Limit": { "target": "com.amazonaws.configservice#DescribePendingAggregationRequestsLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of evaluation results returned on each page.\n\t\t\tThe default is maximum. If you specify 0, Config uses the\n\t\t\tdefault.

" } }, @@ -4691,6 +4724,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of RemediationExceptionResourceKey returned on each page. The default is 25. If you specify 0, Config uses the default.

" } }, @@ -4767,6 +4801,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of RemediationExecutionStatuses returned on each page. The default is maximum. If you specify 0, Config uses the default.

" } }, @@ -5289,6 +5324,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 50. You cannot specify a number greater than 100. If\n\t\t\tyou specify 0, Config uses the default.

" } }, @@ -5373,6 +5409,7 @@ "Limit": { "target": "com.amazonaws.configservice#GroupByAPILimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 1000. You cannot specify a number greater than 1000.\n\t\t\tIf you specify 0, Config uses the default.

" } }, @@ -5463,6 +5500,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results returned on each page. The default is maximum. If you specify 0, Config uses the default.

" } }, @@ -5553,6 +5591,7 @@ "Limit": { "target": "com.amazonaws.configservice#GroupByAPILimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of GroupedResourceCount objects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, Config uses the default.

" } }, @@ -5570,6 +5609,7 @@ "TotalDiscoveredResources": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of resources that are present in an aggregator with the filters that you provide.

", "smithy.api#required": {} } @@ -5698,6 +5738,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of evaluation results returned on each page.\n\t\t\tThe default is 10. You cannot specify a number greater than 100. If\n\t\t\tyou specify 0, Config uses the default.

" } }, @@ -5916,6 +5957,7 @@ "com.amazonaws.configservice#GetConformancePackComplianceDetailsLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5941,6 +5983,7 @@ "Limit": { "target": "com.amazonaws.configservice#GetConformancePackComplianceDetailsLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of evaluation results returned on each page. If you do no specify a number, Config uses the default. The default is 100.

" } }, @@ -6018,6 +6061,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of conformance packs returned on each page.

" } }, @@ -6125,6 +6169,7 @@ "limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of ResourceCount objects\n\t\t\treturned on each page. The default is 100. You cannot specify a\n\t\t\tnumber greater than 100. If you specify 0, Config uses the\n\t\t\tdefault.

" } }, @@ -6142,6 +6187,7 @@ "totalDiscoveredResources": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of resources that Config is recording in\n\t\t\tthe region for your account. If you specify resource types in the\n\t\t\trequest, Config returns only the total number of resources for\n\t\t\tthose resource types.

\n\n\n\t\t

\n Example\n

\n
    \n
  1. \n\t\t\t\t

    Config is recording three resource types in the US\n\t\t\t\t\tEast (Ohio) Region for your account: 25 EC2 instances, 20\n\t\t\t\t\tIAM users, and 15 S3 buckets, for a total of 60\n\t\t\t\t\tresources.

    \n\t\t\t
  2. \n
  3. \n\t\t\t\t

    You make a call to the\n\t\t\t\t\t\tGetDiscoveredResourceCounts action and\n\t\t\t\t\tspecify the resource type,\n\t\t\t\t\t\t\"AWS::EC2::Instances\", in the\n\t\t\t\t\trequest.

    \n\t\t\t
  4. \n
  5. \n\t\t\t\t

    Config returns 25 for\n\t\t\t\t\t\ttotalDiscoveredResources.

    \n\t\t\t
  6. \n
" } }, @@ -6210,6 +6256,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of OrganizationConfigRuleDetailedStatus returned on each page. If you do not specify a number, Config uses the default. The default is 100.

" } }, @@ -6289,6 +6336,7 @@ "Limit": { "target": "com.amazonaws.configservice#CosmosPageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of OrganizationConformancePackDetailedStatuses returned on each page. \n\t\t\tIf you do not specify a number, Config uses the default. The default is 100.

" } }, @@ -6436,6 +6484,7 @@ "limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of configuration items returned on each\n\t\t\tpage. The default is 10. You cannot specify a number greater than\n\t\t\t100. If you specify 0, Config uses the default.

" } }, @@ -6516,6 +6565,7 @@ "com.amazonaws.configservice#GroupByAPILimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -6535,6 +6585,7 @@ "ResourceCount": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of resources in the group.

", "smithy.api#required": {} } @@ -6551,7 +6602,10 @@ } }, "com.amazonaws.configservice#IncludeGlobalResourceTypes": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.configservice#InsufficientDeliveryPolicyException": { "type": "structure", @@ -6584,7 +6638,10 @@ } }, "com.amazonaws.configservice#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.configservice#InvalidConfigurationRecorderNameException": { "type": "structure", @@ -6805,6 +6862,7 @@ "com.amazonaws.configservice#Limit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -6884,6 +6942,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of resource identifiers returned on each page. You cannot specify a number greater than 100. If you specify 0, Config uses the default.

" } }, @@ -6964,6 +7023,7 @@ "Limit": { "target": "com.amazonaws.configservice#PageSizeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of conformance pack compliance scores returned on each page.

" } }, @@ -7050,12 +7110,14 @@ "limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of resource identifiers returned on each\n\t\t\tpage. The default is 100. You cannot specify a number greater than\n\t\t\t100. If you specify 0, Config uses the default.

" } }, "includeDeletedResources": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Config includes deleted resources in the\n\t\t\tresults. By default, deleted resources are not included.

" } }, @@ -7127,7 +7189,7 @@ "MaxResults": { "target": "com.amazonaws.configservice#Limit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned with a single call.

" } } @@ -7195,6 +7257,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default.

" } }, @@ -7224,7 +7287,10 @@ } }, "com.amazonaws.configservice#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.configservice#MaxActiveResourcesExceededException": { "type": "structure", @@ -7769,6 +7835,7 @@ "AllAwsRegions": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, aggregate existing Config regions and future\n\t\t\tregions.

" } } @@ -8616,6 +8683,7 @@ "com.amazonaws.configservice#PageSizeLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -8669,7 +8737,6 @@ "com.amazonaws.configservice#Percentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -9092,6 +9159,7 @@ "TestMode": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Use this parameter to specify a test run for\n\t\t\tPutEvaluations. You can verify whether your Lambda function will deliver evaluation results to Config. No\n\t\t\tupdates occur to your existing evaluations, and evaluation results\n\t\t\tare not sent to Config.

\n\n\t\t \n\t\t\t

When TestMode is true,\n\t\t\t\t\tPutEvaluations doesn't require a valid value\n\t\t\t\tfor the ResultToken parameter, but the value cannot\n\t\t\t\tbe null.

\n\t\t
" } } @@ -9541,6 +9609,7 @@ "RetentionPeriodInDays": { "target": "com.amazonaws.configservice#RetentionPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of days Config stores your historical\n\t\t\tinformation.

\n\t\t \n\t\t\t

Currently, only applicable to the configuration item\n\t\t\t\thistory.

\n\t\t
", "smithy.api#required": {} } @@ -9708,12 +9777,14 @@ "allSupported": { "target": "com.amazonaws.configservice#AllSupported", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Config records configuration changes for\n\t\t\tevery supported type of regional resource.

\n\t\t

If you set this option to true, when Config\n\t\t\tadds support for a new type of regional resource, it starts\n\t\t\trecording resources of that type automatically.

\n\t\t

If you set this option to true, you cannot\n\t\t\tenumerate a list of resourceTypes.

" } }, "includeGlobalResourceTypes": { "target": "com.amazonaws.configservice#IncludeGlobalResourceTypes", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Config includes all supported types of\n\t\t\tglobal resources (for example, IAM resources) with the resources\n\t\t\tthat it records.

\n\t\t

Before you can set this option to true, you must\n\t\t\tset the allSupported option to\n\t\t\ttrue.

\n\t\t

If you set this option to true, when Config\n\t\t\tadds support for a new type of global resource, it starts recording\n\t\t\tresources of that type automatically.

\n\t\t

The configuration details for any global resource are the same\n\t\t\tin all regions. To prevent duplicate configuration items, you should\n\t\t\tconsider customizing Config in only one region to record global\n\t\t\tresources.

" } }, @@ -9835,6 +9906,7 @@ "Automatic": { "target": "com.amazonaws.configservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The remediation is triggered automatically.

" } }, @@ -10182,6 +10254,7 @@ "count": { "target": "com.amazonaws.configservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of resources.

" } } @@ -11093,6 +11166,7 @@ "RetentionPeriodInDays": { "target": "com.amazonaws.configservice#RetentionPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of days Config stores your historical information.

\n\t\t \n

Currently, only applicable to the configuration item history.

\n
", "smithy.api#required": {} } @@ -11133,6 +11207,7 @@ "com.amazonaws.configservice#RetentionPeriodInDays": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 30, "max": 2557 @@ -11142,6 +11217,7 @@ "com.amazonaws.configservice#RuleLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 50 @@ -11254,12 +11330,14 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of query results returned on each page.

" } }, "MaxResults": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of query results returned on each page. Config also allows the Limit request parameter.

" } }, @@ -11333,6 +11411,7 @@ "Limit": { "target": "com.amazonaws.configservice#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of query results returned on each page.

" } }, @@ -11495,24 +11574,6 @@ }, "com.amazonaws.configservice#StarlingDoveService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Config Service", - "arnNamespace": "config", - "cloudFormationName": "Config", - "cloudTrailEventSource": "configservice.amazonaws.com", - "endpointPrefix": "config" - }, - "aws.auth#sigv4": { - "name": "config" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Config\n\n\t\t

Config provides a way to keep track of the configurations\n\t\t\tof all the Amazon Web Services resources associated with your Amazon Web Services account. You can\n\t\t\tuse Config to get the current and historical configurations of\n\t\t\teach Amazon Web Services resource and also to get information about the relationship\n\t\t\tbetween the resources. An Amazon Web Services resource can be an Amazon Compute\n\t\t\tCloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an\n\t\t\telastic network Interface (ENI), or a security group. For a complete\n\t\t\tlist of resources currently supported by Config, see Supported Amazon Web Services resources.

\n\n\t\t

You can access and manage Config through the Amazon Web Services Management\n\t\t\tConsole, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config\n\t\t\tAPI, or the Amazon Web Services SDKs for Config. This reference guide contains\n\t\t\tdocumentation for the Config API and the Amazon Web Services CLI commands that\n\t\t\tyou can use to manage Config. The Config API uses the\n\t\t\tSignature Version 4 protocol for signing requests. For more\n\t\t\tinformation about how to sign a request with this protocol, see\n\t\t\t\tSignature\n\t\t\t\tVersion 4 Signing Process. For detailed information\n\t\t\tabout Config features and their associated actions or commands,\n\t\t\tas well as how to work with Amazon Web Services Management Console, see What Is Config in the Config Developer\n\t\t\t\tGuide.

", - "smithy.api#title": "AWS Config", - "smithy.api#xmlNamespace": { - "uri": "http://config.amazonaws.com/doc/2014-11-12/" - } - }, "version": "2014-11-12", "operations": [ { @@ -11782,7 +11843,25 @@ { "target": "com.amazonaws.configservice#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Config Service", + "arnNamespace": "config", + "cloudFormationName": "Config", + "cloudTrailEventSource": "configservice.amazonaws.com", + "endpointPrefix": "config" + }, + "aws.auth#sigv4": { + "name": "config" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Config\n\n\t\t

Config provides a way to keep track of the configurations\n\t\t\tof all the Amazon Web Services resources associated with your Amazon Web Services account. You can\n\t\t\tuse Config to get the current and historical configurations of\n\t\t\teach Amazon Web Services resource and also to get information about the relationship\n\t\t\tbetween the resources. An Amazon Web Services resource can be an Amazon Compute\n\t\t\tCloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an\n\t\t\telastic network Interface (ENI), or a security group. For a complete\n\t\t\tlist of resources currently supported by Config, see Supported Amazon Web Services resources.

\n\n\t\t

You can access and manage Config through the Amazon Web Services Management\n\t\t\tConsole, the Amazon Web Services Command Line Interface (Amazon Web Services CLI), the Config\n\t\t\tAPI, or the Amazon Web Services SDKs for Config. This reference guide contains\n\t\t\tdocumentation for the Config API and the Amazon Web Services CLI commands that\n\t\t\tyou can use to manage Config. The Config API uses the\n\t\t\tSignature Version 4 protocol for signing requests. For more\n\t\t\tinformation about how to sign a request with this protocol, see\n\t\t\t\tSignature\n\t\t\t\tVersion 4 Signing Process. For detailed information\n\t\t\tabout Config features and their associated actions or commands,\n\t\t\tas well as how to work with Amazon Web Services Management Console, see What Is Config in the Config Developer\n\t\t\t\tGuide.

", + "smithy.api#title": "AWS Config", + "smithy.api#xmlNamespace": { + "uri": "http://config.amazonaws.com/doc/2014-11-12/" + } + } }, "com.amazonaws.configservice#StartConfigRulesEvaluation": { "type": "operation", diff --git a/codegen/sdk/aws-models/connect-contact-lens.json b/codegen/sdk/aws-models/connect-contact-lens.json index 4e230b1503e..c7b936b4eae 100644 --- a/codegen/sdk/aws-models/connect-contact-lens.json +++ b/codegen/sdk/aws-models/connect-contact-lens.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -119,6 +119,7 @@ "com.amazonaws.connectcontactlens#CharacterOffset": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -130,6 +131,7 @@ "BeginOffsetChar": { "target": "com.amazonaws.connectcontactlens#CharacterOffset", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The beginning of the issue.

", "smithy.api#required": {} } @@ -137,6 +139,7 @@ "EndOffsetChar": { "target": "com.amazonaws.connectcontactlens#CharacterOffset", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The end of the issue.

", "smithy.api#required": {} } @@ -278,6 +281,7 @@ "MaxResults": { "target": "com.amazonaws.connectcontactlens#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximimum number of results to return per page.

" } }, @@ -337,6 +341,7 @@ "com.amazonaws.connectcontactlens#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -359,6 +364,7 @@ "com.amazonaws.connectcontactlens#OffsetMillis": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -390,6 +396,7 @@ "BeginOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The beginning offset in milliseconds where the category rule was detected.

", "smithy.api#required": {} } @@ -397,6 +404,7 @@ "EndOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ending offset in milliseconds where the category rule was detected.

", "smithy.api#required": {} } @@ -532,6 +540,7 @@ "BeginOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The beginning offset in the contact for this transcript.

", "smithy.api#required": {} } @@ -539,6 +548,7 @@ "EndOffsetMillis": { "target": "com.amazonaws.connectcontactlens#OffsetMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The end offset in the contact for this transcript.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/connect.json b/codegen/sdk/aws-models/connect.json index 679c52a12bc..b2e328383aa 100644 --- a/codegen/sdk/aws-models/connect.json +++ b/codegen/sdk/aws-models/connect.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -52,6 +52,7 @@ "com.amazonaws.connect#AfterContactWorkTimeLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -237,7 +238,6 @@ "com.amazonaws.connect#AgentStatusOrderNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -265,18 +265,20 @@ } }, "com.amazonaws.connect#AgentStatusState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.connect#AgentStatusSummary": { @@ -318,22 +320,26 @@ } }, "com.amazonaws.connect#AgentStatusType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROUTABLE", - "name": "ROUTABLE" - }, - { - "value": "CUSTOM", - "name": "CUSTOM" - }, - { - "value": "OFFLINE", - "name": "OFFLINE" + "type": "enum", + "members": { + "ROUTABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROUTABLE" + } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" + } + }, + "OFFLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OFFLINE" } - ] + } } }, "com.amazonaws.connect#AgentStatusTypes": { @@ -368,21 +374,6 @@ }, "com.amazonaws.connect#AmazonConnectService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Connect", - "arnNamespace": "connect", - "cloudFormationName": "Connect", - "cloudTrailEventSource": "connect.amazonaws.com", - "endpointPrefix": "connect" - }, - "aws.auth#sigv4": { - "name": "connect" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer\n contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing.\n You can also resolve customer issues more efficiently by getting customers in touch with the\n appropriate agents.

\n

There are limits to the number of Amazon Connect resources that you can create. There are also limits\n to the number of requests that you can make per second. For more information, see Amazon Connect\n Service Quotas in the Amazon Connect Administrator Guide.

\n

You can connect programmatically to an Amazon Web Services service by using an endpoint. For\n a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

\n \n

Working with flows? Check out the Amazon Connect Flow language.

\n
", - "smithy.api#title": "Amazon Connect Service" - }, "version": "2017-08-08", "operations": [ { @@ -847,7 +838,22 @@ { "target": "com.amazonaws.connect#UpdateUserSecurityProfiles" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Connect", + "arnNamespace": "connect", + "cloudFormationName": "Connect", + "cloudTrailEventSource": "connect.amazonaws.com", + "endpointPrefix": "connect" + }, + "aws.auth#sigv4": { + "name": "connect" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer\n contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing.\n You can also resolve customer issues more efficiently by getting customers in touch with the\n appropriate agents.

\n

There are limits to the number of Amazon Connect resources that you can create. There are also limits\n to the number of requests that you can make per second. For more information, see Amazon Connect\n Service Quotas in the Amazon Connect Administrator Guide.

\n

You can connect programmatically to an Amazon Web Services service by using an endpoint. For\n a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

\n \n

Working with flows? Check out the Amazon Connect Flow language.

\n
", + "smithy.api#title": "Amazon Connect Service" + } }, "com.amazonaws.connect#AnswerMachineDetectionConfig": { "type": "structure", @@ -855,12 +861,14 @@ "EnableAnswerMachineDetection": { "target": "com.amazonaws.connect#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The flag to indicate if answer machine detection analysis needs to be performed for a voice\n call. If set to true, TrafficType must be set as CAMPAIGN.\n

" } }, "AwaitAnswerMachinePrompt": { "target": "com.amazonaws.connect#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Wait for the answering machine prompt.

" } } @@ -870,10 +878,7 @@ } }, "com.amazonaws.connect#ApproximateTotalCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.connect#AssociateApprovedOrigin": { "type": "operation", @@ -1605,7 +1610,10 @@ } }, "com.amazonaws.connect#AutoAccept": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.connect#AvailableNumberSummary": { "type": "structure", @@ -1640,7 +1648,10 @@ } }, "com.amazonaws.connect#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.connect#BotName": { "type": "string", @@ -1670,22 +1681,26 @@ } }, "com.amazonaws.connect#Channel": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VOICE", - "name": "VOICE" - }, - { - "value": "CHAT", - "name": "CHAT" - }, - { - "value": "TASK", - "name": "TASK" + "type": "enum", + "members": { + "VOICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOICE" } - ] + }, + "CHAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHAT" + } + }, + "TASK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TASK" + } + } } }, "com.amazonaws.connect#ChannelToCountMap": { @@ -1730,7 +1745,6 @@ "com.amazonaws.connect#ChatDurationInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 10080 @@ -1956,19 +1970,20 @@ } }, "com.amazonaws.connect#Comparison": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LT", - "name": "LT" + "type": "enum", + "members": { + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LT" } - ] + } } }, "com.amazonaws.connect#Concurrency": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -2247,33 +2262,37 @@ } }, "com.amazonaws.connect#ContactFlowModuleState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "ARCHIVED", - "name": "ARCHIVED" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "ARCHIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARCHIVED" + } + } } }, "com.amazonaws.connect#ContactFlowModuleStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PUBLISHED", - "name": "PUBLISHED" - }, - { - "value": "SAVED", - "name": "SAVED" + "type": "enum", + "members": { + "PUBLISHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUBLISHED" } - ] + }, + "SAVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAVED" + } + } } }, "com.amazonaws.connect#ContactFlowModuleSummary": { @@ -2336,18 +2355,20 @@ } }, "com.amazonaws.connect#ContactFlowState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "ARCHIVED", - "name": "ARCHIVED" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "ARCHIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ARCHIVED" + } + } } }, "com.amazonaws.connect#ContactFlowSummary": { @@ -2395,46 +2416,62 @@ } }, "com.amazonaws.connect#ContactFlowType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONTACT_FLOW", - "name": "CONTACT_FLOW" - }, - { - "value": "CUSTOMER_QUEUE", - "name": "CUSTOMER_QUEUE" - }, - { - "value": "CUSTOMER_HOLD", - "name": "CUSTOMER_HOLD" - }, - { - "value": "CUSTOMER_WHISPER", - "name": "CUSTOMER_WHISPER" - }, - { - "value": "AGENT_HOLD", - "name": "AGENT_HOLD" - }, - { - "value": "AGENT_WHISPER", - "name": "AGENT_WHISPER" - }, - { - "value": "OUTBOUND_WHISPER", - "name": "OUTBOUND_WHISPER" - }, - { - "value": "AGENT_TRANSFER", - "name": "AGENT_TRANSFER" - }, - { - "value": "QUEUE_TRANSFER", - "name": "QUEUE_TRANSFER" - } - ] + "type": "enum", + "members": { + "CONTACT_FLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_FLOW" + } + }, + "CUSTOMER_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_QUEUE" + } + }, + "CUSTOMER_HOLD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_HOLD" + } + }, + "CUSTOMER_WHISPER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_WHISPER" + } + }, + "AGENT_HOLD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_HOLD" + } + }, + "AGENT_WHISPER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_WHISPER" + } + }, + "OUTBOUND_WHISPER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTBOUND_WHISPER" + } + }, + "AGENT_TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_TRANSFER" + } + }, + "QUEUE_TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE_TRANSFER" + } + } } }, "com.amazonaws.connect#ContactFlowTypes": { @@ -2459,34 +2496,44 @@ } }, "com.amazonaws.connect#ContactInitiationMethod": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INBOUND", - "name": "INBOUND" - }, - { - "value": "OUTBOUND", - "name": "OUTBOUND" - }, - { - "value": "TRANSFER", - "name": "TRANSFER" - }, - { - "value": "QUEUE_TRANSFER", - "name": "QUEUE_TRANSFER" - }, - { - "value": "CALLBACK", - "name": "CALLBACK" - }, - { - "value": "API", - "name": "API" - } - ] + "type": "enum", + "members": { + "INBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INBOUND" + } + }, + "OUTBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTBOUND" + } + }, + "TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TRANSFER" + } + }, + "QUEUE_TRANSFER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE_TRANSFER" + } + }, + "CALLBACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CALLBACK" + } + }, + "API": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "API" + } + } } }, "com.amazonaws.connect#ContactNotFoundException": { @@ -2519,46 +2566,62 @@ } }, "com.amazonaws.connect#ContactState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INCOMING", - "name": "INCOMING" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "CONNECTING", - "name": "CONNECTING" - }, - { - "value": "CONNECTED", - "name": "CONNECTED" - }, - { - "value": "CONNECTED_ONHOLD", - "name": "CONNECTED_ONHOLD" - }, - { - "value": "MISSED", - "name": "MISSED" - }, - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "ENDED", - "name": "ENDED" - }, - { - "value": "REJECTED", - "name": "REJECTED" - } - ] + "type": "enum", + "members": { + "INCOMING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCOMING" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "CONNECTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTING" + } + }, + "CONNECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTED" + } + }, + "CONNECTED_ONHOLD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTED_ONHOLD" + } + }, + "MISSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "ENDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENDED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + } } }, "com.amazonaws.connect#ContactStates": { @@ -2673,7 +2736,6 @@ "DisplayOrder": { "target": "com.amazonaws.connect#AgentStatusOrderNumber", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The display order of the status.

" } }, @@ -3300,7 +3362,7 @@ "MaxContacts": { "target": "com.amazonaws.connect#QueueMaxContacts", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of contacts that can be in the queue before it is considered full.

" } }, @@ -4235,7 +4297,6 @@ "Value": { "target": "com.amazonaws.connect#Value", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The value of the metric.

" } } @@ -4251,63 +4312,89 @@ } }, "com.amazonaws.connect#CurrentMetricName": { - "type": "string", + "type": "enum", + "members": { + "AGENTS_ONLINE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ONLINE" + } + }, + "AGENTS_AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_AVAILABLE" + } + }, + "AGENTS_ON_CALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ON_CALL" + } + }, + "AGENTS_NON_PRODUCTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_NON_PRODUCTIVE" + } + }, + "AGENTS_AFTER_CONTACT_WORK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_AFTER_CONTACT_WORK" + } + }, + "AGENTS_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ERROR" + } + }, + "AGENTS_STAFFED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_STAFFED" + } + }, + "CONTACTS_IN_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_IN_QUEUE" + } + }, + "OLDEST_CONTACT_AGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OLDEST_CONTACT_AGE" + } + }, + "CONTACTS_SCHEDULED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_SCHEDULED" + } + }, + "AGENTS_ON_CONTACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENTS_ON_CONTACT" + } + }, + "SLOTS_ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SLOTS_ACTIVE" + } + }, + "SLOTS_AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SLOTS_AVAILABLE" + } + } + }, "traits": { - "smithy.api#documentation": "

The current metric names.

", - "smithy.api#enum": [ - { - "value": "AGENTS_ONLINE", - "name": "AGENTS_ONLINE" - }, - { - "value": "AGENTS_AVAILABLE", - "name": "AGENTS_AVAILABLE" - }, - { - "value": "AGENTS_ON_CALL", - "name": "AGENTS_ON_CALL" - }, - { - "value": "AGENTS_NON_PRODUCTIVE", - "name": "AGENTS_NON_PRODUCTIVE" - }, - { - "value": "AGENTS_AFTER_CONTACT_WORK", - "name": "AGENTS_AFTER_CONTACT_WORK" - }, - { - "value": "AGENTS_ERROR", - "name": "AGENTS_ERROR" - }, - { - "value": "AGENTS_STAFFED", - "name": "AGENTS_STAFFED" - }, - { - "value": "CONTACTS_IN_QUEUE", - "name": "CONTACTS_IN_QUEUE" - }, - { - "value": "OLDEST_CONTACT_AGE", - "name": "OLDEST_CONTACT_AGE" - }, - { - "value": "CONTACTS_SCHEDULED", - "name": "CONTACTS_SCHEDULED" - }, - { - "value": "AGENTS_ON_CONTACT", - "name": "AGENTS_ON_CONTACT" - }, - { - "value": "SLOTS_ACTIVE", - "name": "SLOTS_ACTIVE" - }, - { - "value": "SLOTS_AVAILABLE", - "name": "SLOTS_AVAILABLE" - } - ] + "smithy.api#documentation": "

The current metric names.

" } }, "com.amazonaws.connect#CurrentMetricResult": { @@ -4407,6 +4494,7 @@ "com.amazonaws.connect#Delay": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 9999 @@ -6291,22 +6379,26 @@ } }, "com.amazonaws.connect#DirectoryType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SAML", - "name": "SAML" - }, - { - "value": "CONNECT_MANAGED", - "name": "CONNECT_MANAGED" - }, - { - "value": "EXISTING_DIRECTORY", - "name": "EXISTING_DIRECTORY" + "type": "enum", + "members": { + "SAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAML" + } + }, + "CONNECT_MANAGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECT_MANAGED" + } + }, + "EXISTING_DIRECTORY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXISTING_DIRECTORY" } - ] + } } }, "com.amazonaws.connect#DirectoryUserId": { @@ -6903,14 +6995,14 @@ } }, "com.amazonaws.connect#EncryptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KMS", - "name": "KMS" + "type": "enum", + "members": { + "KMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KMS" } - ] + } } }, "com.amazonaws.connect#Filters": { @@ -7087,7 +7179,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } } @@ -7182,7 +7274,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } } @@ -7359,7 +7451,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } } @@ -7531,18 +7623,20 @@ } }, "com.amazonaws.connect#Grouping": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUEUE", - "name": "QUEUE" - }, - { - "value": "CHANNEL", - "name": "CHANNEL" + "type": "enum", + "members": { + "QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE" + } + }, + "CHANNEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHANNEL" } - ] + } } }, "com.amazonaws.connect#Groupings": { @@ -7625,18 +7719,20 @@ "type": "string" }, "com.amazonaws.connect#HierarchyGroupMatchType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXACT", - "name": "EXACT" - }, - { - "value": "WITH_CHILD_GROUPS", - "name": "WITH_CHILD_GROUPS" + "type": "enum", + "members": { + "EXACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXACT" + } + }, + "WITH_CHILD_GROUPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WITH_CHILD_GROUPS" } - ] + } } }, "com.amazonaws.connect#HierarchyGroupName": { @@ -7937,7 +8033,6 @@ "Value": { "target": "com.amazonaws.connect#Value", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The value of the metric.

" } } @@ -7953,111 +8048,161 @@ } }, "com.amazonaws.connect#HistoricalMetricName": { - "type": "string", + "type": "enum", + "members": { + "CONTACTS_QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_QUEUED" + } + }, + "CONTACTS_HANDLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HANDLED" + } + }, + "CONTACTS_ABANDONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_ABANDONED" + } + }, + "CONTACTS_CONSULTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_CONSULTED" + } + }, + "CONTACTS_AGENT_HUNG_UP_FIRST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_AGENT_HUNG_UP_FIRST" + } + }, + "CONTACTS_HANDLED_INCOMING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HANDLED_INCOMING" + } + }, + "CONTACTS_HANDLED_OUTBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HANDLED_OUTBOUND" + } + }, + "CONTACTS_HOLD_ABANDONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_HOLD_ABANDONS" + } + }, + "CONTACTS_TRANSFERRED_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_IN" + } + }, + "CONTACTS_TRANSFERRED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_OUT" + } + }, + "CONTACTS_TRANSFERRED_IN_FROM_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" + } + }, + "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" + } + }, + "CONTACTS_MISSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTS_MISSED" + } + }, + "CALLBACK_CONTACTS_HANDLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CALLBACK_CONTACTS_HANDLED" + } + }, + "API_CONTACTS_HANDLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "API_CONTACTS_HANDLED" + } + }, + "OCCUPANCY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OCCUPANCY" + } + }, + "HANDLE_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HANDLE_TIME" + } + }, + "AFTER_CONTACT_WORK_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AFTER_CONTACT_WORK_TIME" + } + }, + "QUEUED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED_TIME" + } + }, + "ABANDON_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABANDON_TIME" + } + }, + "QUEUE_ANSWER_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE_ANSWER_TIME" + } + }, + "HOLD_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOLD_TIME" + } + }, + "INTERACTION_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERACTION_TIME" + } + }, + "INTERACTION_AND_HOLD_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERACTION_AND_HOLD_TIME" + } + }, + "SERVICE_LEVEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICE_LEVEL" + } + } + }, "traits": { - "smithy.api#documentation": "

The historical metric names.

", - "smithy.api#enum": [ - { - "value": "CONTACTS_QUEUED", - "name": "CONTACTS_QUEUED" - }, - { - "value": "CONTACTS_HANDLED", - "name": "CONTACTS_HANDLED" - }, - { - "value": "CONTACTS_ABANDONED", - "name": "CONTACTS_ABANDONED" - }, - { - "value": "CONTACTS_CONSULTED", - "name": "CONTACTS_CONSULTED" - }, - { - "value": "CONTACTS_AGENT_HUNG_UP_FIRST", - "name": "CONTACTS_AGENT_HUNG_UP_FIRST" - }, - { - "value": "CONTACTS_HANDLED_INCOMING", - "name": "CONTACTS_HANDLED_INCOMING" - }, - { - "value": "CONTACTS_HANDLED_OUTBOUND", - "name": "CONTACTS_HANDLED_OUTBOUND" - }, - { - "value": "CONTACTS_HOLD_ABANDONS", - "name": "CONTACTS_HOLD_ABANDONS" - }, - { - "value": "CONTACTS_TRANSFERRED_IN", - "name": "CONTACTS_TRANSFERRED_IN" - }, - { - "value": "CONTACTS_TRANSFERRED_OUT", - "name": "CONTACTS_TRANSFERRED_OUT" - }, - { - "value": "CONTACTS_TRANSFERRED_IN_FROM_QUEUE", - "name": "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" - }, - { - "value": "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE", - "name": "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" - }, - { - "value": "CONTACTS_MISSED", - "name": "CONTACTS_MISSED" - }, - { - "value": "CALLBACK_CONTACTS_HANDLED", - "name": "CALLBACK_CONTACTS_HANDLED" - }, - { - "value": "API_CONTACTS_HANDLED", - "name": "API_CONTACTS_HANDLED" - }, - { - "value": "OCCUPANCY", - "name": "OCCUPANCY" - }, - { - "value": "HANDLE_TIME", - "name": "HANDLE_TIME" - }, - { - "value": "AFTER_CONTACT_WORK_TIME", - "name": "AFTER_CONTACT_WORK_TIME" - }, - { - "value": "QUEUED_TIME", - "name": "QUEUED_TIME" - }, - { - "value": "ABANDON_TIME", - "name": "ABANDON_TIME" - }, - { - "value": "QUEUE_ANSWER_TIME", - "name": "QUEUE_ANSWER_TIME" - }, - { - "value": "HOLD_TIME", - "name": "HOLD_TIME" - }, - { - "value": "INTERACTION_TIME", - "name": "INTERACTION_TIME" - }, - { - "value": "INTERACTION_AND_HOLD_TIME", - "name": "INTERACTION_AND_HOLD_TIME" - }, - { - "value": "SERVICE_LEVEL", - "name": "SERVICE_LEVEL" - } - ] + "smithy.api#documentation": "

The historical metric names.

" } }, "com.amazonaws.connect#HistoricalMetricResult": { @@ -8095,6 +8240,7 @@ "com.amazonaws.connect#Hours": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 87600 @@ -8104,6 +8250,7 @@ "com.amazonaws.connect#Hours24Format": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 23 @@ -8202,38 +8349,50 @@ } }, "com.amazonaws.connect#HoursOfOperationDays": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUNDAY", - "name": "SUNDAY" - }, - { - "value": "MONDAY", - "name": "MONDAY" - }, - { - "value": "TUESDAY", - "name": "TUESDAY" - }, - { - "value": "WEDNESDAY", - "name": "WEDNESDAY" - }, - { - "value": "THURSDAY", - "name": "THURSDAY" - }, - { - "value": "FRIDAY", - "name": "FRIDAY" - }, - { - "value": "SATURDAY", - "name": "SATURDAY" - } - ] + "type": "enum", + "members": { + "SUNDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUNDAY" + } + }, + "MONDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MONDAY" + } + }, + "TUESDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TUESDAY" + } + }, + "WEDNESDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WEDNESDAY" + } + }, + "THURSDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THURSDAY" + } + }, + "FRIDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FRIDAY" + } + }, + "SATURDAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SATURDAY" + } + } } }, "com.amazonaws.connect#HoursOfOperationDescription": { @@ -8289,7 +8448,7 @@ "Hours": { "target": "com.amazonaws.connect#Hours24Format", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The hours.

", "smithy.api#required": {} } @@ -8297,7 +8456,7 @@ "Minutes": { "target": "com.amazonaws.connect#MinutesLimit60", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The minutes.

", "smithy.api#required": {} } @@ -8321,10 +8480,7 @@ } }, "com.amazonaws.connect#InboundCallsEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.connect#Instance": { "type": "structure", @@ -8395,46 +8551,62 @@ } }, "com.amazonaws.connect#InstanceAttributeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INBOUND_CALLS", - "name": "INBOUND_CALLS" - }, - { - "value": "OUTBOUND_CALLS", - "name": "OUTBOUND_CALLS" - }, - { - "value": "CONTACTFLOW_LOGS", - "name": "CONTACTFLOW_LOGS" - }, - { - "value": "CONTACT_LENS", - "name": "CONTACT_LENS" - }, - { - "value": "AUTO_RESOLVE_BEST_VOICES", - "name": "AUTO_RESOLVE_BEST_VOICES" - }, - { - "value": "USE_CUSTOM_TTS_VOICES", - "name": "USE_CUSTOM_TTS_VOICES" - }, - { - "value": "EARLY_MEDIA", - "name": "EARLY_MEDIA" - }, - { - "value": "MULTI_PARTY_CONFERENCE", - "name": "MULTI_PARTY_CONFERENCE" - }, - { - "value": "HIGH_VOLUME_OUTBOUND", - "name": "HIGH_VOLUME_OUTBOUND" - } - ] + "type": "enum", + "members": { + "INBOUND_CALLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INBOUND_CALLS" + } + }, + "OUTBOUND_CALLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTBOUND_CALLS" + } + }, + "CONTACTFLOW_LOGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACTFLOW_LOGS" + } + }, + "CONTACT_LENS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_LENS" + } + }, + "AUTO_RESOLVE_BEST_VOICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_RESOLVE_BEST_VOICES" + } + }, + "USE_CUSTOM_TTS_VOICES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USE_CUSTOM_TTS_VOICES" + } + }, + "EARLY_MEDIA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EARLY_MEDIA" + } + }, + "MULTI_PARTY_CONFERENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MULTI_PARTY_CONFERENCE" + } + }, + "HIGH_VOLUME_OUTBOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH_VOLUME_OUTBOUND" + } + } } }, "com.amazonaws.connect#InstanceAttributeValue": { @@ -8456,22 +8628,26 @@ } }, "com.amazonaws.connect#InstanceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATION_IN_PROGRESS", - "name": "CREATION_IN_PROGRESS" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "CREATION_FAILED", - "name": "CREATION_FAILED" + "type": "enum", + "members": { + "CREATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_IN_PROGRESS" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "CREATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_FAILED" } - ] + } } }, "com.amazonaws.connect#InstanceStatusReason": { @@ -8540,38 +8716,50 @@ } }, "com.amazonaws.connect#InstanceStorageResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CHAT_TRANSCRIPTS", - "name": "CHAT_TRANSCRIPTS" - }, - { - "value": "CALL_RECORDINGS", - "name": "CALL_RECORDINGS" - }, - { - "value": "SCHEDULED_REPORTS", - "name": "SCHEDULED_REPORTS" - }, - { - "value": "MEDIA_STREAMS", - "name": "MEDIA_STREAMS" - }, - { - "value": "CONTACT_TRACE_RECORDS", - "name": "CONTACT_TRACE_RECORDS" - }, - { - "value": "AGENT_EVENTS", - "name": "AGENT_EVENTS" - }, - { - "value": "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS", - "name": "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" - } - ] + "type": "enum", + "members": { + "CHAT_TRANSCRIPTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CHAT_TRANSCRIPTS" + } + }, + "CALL_RECORDINGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CALL_RECORDINGS" + } + }, + "SCHEDULED_REPORTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULED_REPORTS" + } + }, + "MEDIA_STREAMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIA_STREAMS" + } + }, + "CONTACT_TRACE_RECORDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_TRACE_RECORDS" + } + }, + "AGENT_EVENTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT_EVENTS" + } + }, + "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" + } + } } }, "com.amazonaws.connect#InstanceSummary": { @@ -8645,7 +8833,6 @@ "com.amazonaws.connect#IntegerCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -8723,30 +8910,44 @@ } }, "com.amazonaws.connect#IntegrationType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EVENT", - "name": "EVENT" - }, - { - "value": "VOICE_ID", - "name": "VOICE_ID" - }, - { - "value": "PINPOINT_APP", - "name": "PINPOINT_APP" - }, - { - "value": "WISDOM_ASSISTANT", - "name": "WISDOM_ASSISTANT" - }, - { - "value": "WISDOM_KNOWLEDGE_BASE", - "name": "WISDOM_KNOWLEDGE_BASE" - } - ] + "type": "enum", + "members": { + "EVENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENT" + } + }, + "VOICE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOICE_ID" + } + }, + "PINPOINT_APP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PINPOINT_APP" + } + }, + "WISDOM_ASSISTANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WISDOM_ASSISTANT" + } + }, + "WISDOM_KNOWLEDGE_BASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WISDOM_KNOWLEDGE_BASE" + } + }, + "CASES_DOMAIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CASES_DOMAIN" + } + } } }, "com.amazonaws.connect#InternalServiceException": { @@ -8898,6 +9099,7 @@ "RetentionPeriodHours": { "target": "com.amazonaws.connect#Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of hours data is retained in the stream. Kinesis Video Streams retains the data\n in a data store that is associated with the stream.

\n

The default value is 0, indicating that the stream does not persist data.

", "smithy.api#required": {} } @@ -8996,18 +9198,20 @@ } }, "com.amazonaws.connect#LexVersion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "V1", - "name": "V1" - }, - { - "value": "V2", - "name": "V2" + "type": "enum", + "members": { + "V1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "V1" + } + }, + "V2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "V2" } - ] + } } }, "com.amazonaws.connect#LimitExceededException": { @@ -9051,7 +9255,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -9183,7 +9387,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -9265,7 +9469,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -9361,7 +9565,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -9460,6 +9664,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -9632,6 +9837,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -9722,6 +9928,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -9806,7 +10013,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult7", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -9899,7 +10106,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -9967,7 +10174,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -10056,7 +10263,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -10141,7 +10348,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -10226,7 +10433,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult25", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. If no value is specified, the default is 10.\n

", "smithy.api#httpQuery": "maxResults" } @@ -10325,6 +10532,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -10450,7 +10658,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -10558,7 +10766,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -10651,7 +10859,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -10743,6 +10951,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -10827,7 +11036,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -10927,7 +11136,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -11012,7 +11221,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -11097,7 +11306,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult2", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -11190,7 +11399,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -11275,7 +11484,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -11418,7 +11627,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

\n \n

It is not expected that you set this.

\n
", "smithy.api#httpQuery": "maxResults" } @@ -11522,7 +11731,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

", "smithy.api#httpQuery": "maxResults" } @@ -11610,7 +11819,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -11695,7 +11904,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult1000", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page. The default MaxResult size is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -11720,14 +11929,12 @@ } }, "com.amazonaws.connect#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.connect#MaxResult10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -11737,6 +11944,7 @@ "com.amazonaws.connect#MaxResult100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -11746,6 +11954,7 @@ "com.amazonaws.connect#MaxResult1000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -11755,6 +11964,7 @@ "com.amazonaws.connect#MaxResult2": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2 @@ -11764,6 +11974,7 @@ "com.amazonaws.connect#MaxResult25": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -11773,6 +11984,7 @@ "com.amazonaws.connect#MaxResult7": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 7 @@ -11798,6 +12010,7 @@ "Concurrency": { "target": "com.amazonaws.connect#Concurrency", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of contacts an agent can have on a channel simultaneously.

\n

Valid Range for VOICE: Minimum value of 1. Maximum value of 1.

\n

Valid Range for CHAT: Minimum value of 1. Maximum value of 10.

\n

Valid Range for TASK: Minimum value of 1. Maximum value of 10.

", "smithy.api#required": {} } @@ -11813,6 +12026,7 @@ "com.amazonaws.connect#MinutesLimit60": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 59 @@ -11911,10 +12125,7 @@ } }, "com.amazonaws.connect#OutboundCallsEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.connect#OutboundContactNotPermittedException": { "type": "structure", @@ -12003,1010 +12214,1482 @@ } }, "com.amazonaws.connect#PhoneNumberCountryCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AF", - "name": "AF" - }, - { - "value": "AL", - "name": "AL" - }, - { - "value": "DZ", - "name": "DZ" - }, - { - "value": "AS", - "name": "AS" - }, - { - "value": "AD", - "name": "AD" - }, - { - "value": "AO", - "name": "AO" - }, - { - "value": "AI", - "name": "AI" - }, - { - "value": "AQ", - "name": "AQ" - }, - { - "value": "AG", - "name": "AG" - }, - { - "value": "AR", - "name": "AR" - }, - { - "value": "AM", - "name": "AM" - }, - { - "value": "AW", - "name": "AW" - }, - { - "value": "AU", - "name": "AU" - }, - { - "value": "AT", - "name": "AT" - }, - { - "value": "AZ", - "name": "AZ" - }, - { - "value": "BS", - "name": "BS" - }, - { - "value": "BH", - "name": "BH" - }, - { - "value": "BD", - "name": "BD" - }, - { - "value": "BB", - "name": "BB" - }, - { - "value": "BY", - "name": "BY" - }, - { - "value": "BE", - "name": "BE" - }, - { - "value": "BZ", - "name": "BZ" - }, - { - "value": "BJ", - "name": "BJ" - }, - { - "value": "BM", - "name": "BM" - }, - { - "value": "BT", - "name": "BT" - }, - { - "value": "BO", - "name": "BO" - }, - { - "value": "BA", - "name": "BA" - }, - { - "value": "BW", - "name": "BW" - }, - { - "value": "BR", - "name": "BR" - }, - { - "value": "IO", - "name": "IO" - }, - { - "value": "VG", - "name": "VG" - }, - { - "value": "BN", - "name": "BN" - }, - { - "value": "BG", - "name": "BG" - }, - { - "value": "BF", - "name": "BF" - }, - { - "value": "BI", - "name": "BI" - }, - { - "value": "KH", - "name": "KH" - }, - { - "value": "CM", - "name": "CM" - }, - { - "value": "CA", - "name": "CA" - }, - { - "value": "CV", - "name": "CV" - }, - { - "value": "KY", - "name": "KY" - }, - { - "value": "CF", - "name": "CF" - }, - { - "value": "TD", - "name": "TD" - }, - { - "value": "CL", - "name": "CL" - }, - { - "value": "CN", - "name": "CN" - }, - { - "value": "CX", - "name": "CX" - }, - { - "value": "CC", - "name": "CC" - }, - { - "value": "CO", - "name": "CO" - }, - { - "value": "KM", - "name": "KM" - }, - { - "value": "CK", - "name": "CK" - }, - { - "value": "CR", - "name": "CR" - }, - { - "value": "HR", - "name": "HR" - }, - { - "value": "CU", - "name": "CU" - }, - { - "value": "CW", - "name": "CW" - }, - { - "value": "CY", - "name": "CY" - }, - { - "value": "CZ", - "name": "CZ" - }, - { - "value": "CD", - "name": "CD" - }, - { - "value": "DK", - "name": "DK" - }, - { - "value": "DJ", - "name": "DJ" - }, - { - "value": "DM", - "name": "DM" - }, - { - "value": "DO", - "name": "DO" - }, - { - "value": "TL", - "name": "TL" - }, - { - "value": "EC", - "name": "EC" - }, - { - "value": "EG", - "name": "EG" - }, - { - "value": "SV", - "name": "SV" - }, - { - "value": "GQ", - "name": "GQ" - }, - { - "value": "ER", - "name": "ER" - }, - { - "value": "EE", - "name": "EE" - }, - { - "value": "ET", - "name": "ET" - }, - { - "value": "FK", - "name": "FK" - }, - { - "value": "FO", - "name": "FO" - }, - { - "value": "FJ", - "name": "FJ" - }, - { - "value": "FI", - "name": "FI" - }, - { - "value": "FR", - "name": "FR" - }, - { - "value": "PF", - "name": "PF" - }, - { - "value": "GA", - "name": "GA" - }, - { - "value": "GM", - "name": "GM" - }, - { - "value": "GE", - "name": "GE" - }, - { - "value": "DE", - "name": "DE" - }, - { - "value": "GH", - "name": "GH" - }, - { - "value": "GI", - "name": "GI" - }, - { - "value": "GR", - "name": "GR" - }, - { - "value": "GL", - "name": "GL" - }, - { - "value": "GD", - "name": "GD" - }, - { - "value": "GU", - "name": "GU" - }, - { - "value": "GT", - "name": "GT" - }, - { - "value": "GG", - "name": "GG" - }, - { - "value": "GN", - "name": "GN" - }, - { - "value": "GW", - "name": "GW" - }, - { - "value": "GY", - "name": "GY" - }, - { - "value": "HT", - "name": "HT" - }, - { - "value": "HN", - "name": "HN" - }, - { - "value": "HK", - "name": "HK" - }, - { - "value": "HU", - "name": "HU" - }, - { - "value": "IS", - "name": "IS" - }, - { - "value": "IN", - "name": "IN" - }, - { - "value": "ID", - "name": "ID" - }, - { - "value": "IR", - "name": "IR" - }, - { - "value": "IQ", - "name": "IQ" - }, - { - "value": "IE", - "name": "IE" - }, - { - "value": "IM", - "name": "IM" - }, - { - "value": "IL", - "name": "IL" - }, - { - "value": "IT", - "name": "IT" - }, - { - "value": "CI", - "name": "CI" - }, - { - "value": "JM", - "name": "JM" - }, - { - "value": "JP", - "name": "JP" - }, - { - "value": "JE", - "name": "JE" - }, - { - "value": "JO", - "name": "JO" - }, - { - "value": "KZ", - "name": "KZ" - }, - { - "value": "KE", - "name": "KE" - }, - { - "value": "KI", - "name": "KI" - }, - { - "value": "KW", - "name": "KW" - }, - { - "value": "KG", - "name": "KG" - }, - { - "value": "LA", - "name": "LA" - }, - { - "value": "LV", - "name": "LV" - }, - { - "value": "LB", - "name": "LB" - }, - { - "value": "LS", - "name": "LS" - }, - { - "value": "LR", - "name": "LR" - }, - { - "value": "LY", - "name": "LY" - }, - { - "value": "LI", - "name": "LI" - }, - { - "value": "LT", - "name": "LT" - }, - { - "value": "LU", - "name": "LU" - }, - { - "value": "MO", - "name": "MO" - }, - { - "value": "MK", - "name": "MK" - }, - { - "value": "MG", - "name": "MG" - }, - { - "value": "MW", - "name": "MW" - }, - { - "value": "MY", - "name": "MY" - }, - { - "value": "MV", - "name": "MV" - }, - { - "value": "ML", - "name": "ML" - }, - { - "value": "MT", - "name": "MT" - }, - { - "value": "MH", - "name": "MH" - }, - { - "value": "MR", - "name": "MR" - }, - { - "value": "MU", - "name": "MU" - }, - { - "value": "YT", - "name": "YT" - }, - { - "value": "MX", - "name": "MX" - }, - { - "value": "FM", - "name": "FM" - }, - { - "value": "MD", - "name": "MD" - }, - { - "value": "MC", - "name": "MC" - }, - { - "value": "MN", - "name": "MN" - }, - { - "value": "ME", - "name": "ME" - }, - { - "value": "MS", - "name": "MS" - }, - { - "value": "MA", - "name": "MA" - }, - { - "value": "MZ", - "name": "MZ" - }, - { - "value": "MM", - "name": "MM" - }, - { - "value": "NA", - "name": "NA" - }, - { - "value": "NR", - "name": "NR" - }, - { - "value": "NP", - "name": "NP" - }, - { - "value": "NL", - "name": "NL" - }, - { - "value": "AN", - "name": "AN" - }, - { - "value": "NC", - "name": "NC" - }, - { - "value": "NZ", - "name": "NZ" - }, - { - "value": "NI", - "name": "NI" - }, - { - "value": "NE", - "name": "NE" - }, - { - "value": "NG", - "name": "NG" - }, - { - "value": "NU", - "name": "NU" - }, - { - "value": "KP", - "name": "KP" - }, - { - "value": "MP", - "name": "MP" - }, - { - "value": "NO", - "name": "NO" - }, - { - "value": "OM", - "name": "OM" - }, - { - "value": "PK", - "name": "PK" - }, - { - "value": "PW", - "name": "PW" - }, - { - "value": "PA", - "name": "PA" - }, - { - "value": "PG", - "name": "PG" - }, - { - "value": "PY", - "name": "PY" - }, - { - "value": "PE", - "name": "PE" - }, - { - "value": "PH", - "name": "PH" - }, - { - "value": "PN", - "name": "PN" - }, - { - "value": "PL", - "name": "PL" - }, - { - "value": "PT", - "name": "PT" - }, - { - "value": "PR", - "name": "PR" - }, - { - "value": "QA", - "name": "QA" - }, - { - "value": "CG", - "name": "CG" - }, - { - "value": "RE", - "name": "RE" - }, - { - "value": "RO", - "name": "RO" - }, - { - "value": "RU", - "name": "RU" - }, - { - "value": "RW", - "name": "RW" - }, - { - "value": "BL", - "name": "BL" - }, - { - "value": "SH", - "name": "SH" - }, - { - "value": "KN", - "name": "KN" - }, - { - "value": "LC", - "name": "LC" - }, - { - "value": "MF", - "name": "MF" - }, - { - "value": "PM", - "name": "PM" - }, - { - "value": "VC", - "name": "VC" - }, - { - "value": "WS", - "name": "WS" - }, - { - "value": "SM", - "name": "SM" - }, - { - "value": "ST", - "name": "ST" - }, - { - "value": "SA", - "name": "SA" - }, - { - "value": "SN", - "name": "SN" - }, - { - "value": "RS", - "name": "RS" - }, - { - "value": "SC", - "name": "SC" - }, - { - "value": "SL", - "name": "SL" - }, - { - "value": "SG", - "name": "SG" - }, - { - "value": "SX", - "name": "SX" - }, - { - "value": "SK", - "name": "SK" - }, - { - "value": "SI", - "name": "SI" - }, - { - "value": "SB", - "name": "SB" - }, - { - "value": "SO", - "name": "SO" - }, - { - "value": "ZA", - "name": "ZA" - }, - { - "value": "KR", - "name": "KR" - }, - { - "value": "ES", - "name": "ES" - }, - { - "value": "LK", - "name": "LK" - }, - { - "value": "SD", - "name": "SD" - }, - { - "value": "SR", - "name": "SR" - }, - { - "value": "SJ", - "name": "SJ" - }, - { - "value": "SZ", - "name": "SZ" - }, - { - "value": "SE", - "name": "SE" - }, - { - "value": "CH", - "name": "CH" - }, - { - "value": "SY", - "name": "SY" - }, - { - "value": "TW", - "name": "TW" - }, - { - "value": "TJ", - "name": "TJ" - }, - { - "value": "TZ", - "name": "TZ" - }, - { - "value": "TH", - "name": "TH" - }, - { - "value": "TG", - "name": "TG" - }, - { - "value": "TK", - "name": "TK" - }, - { - "value": "TO", - "name": "TO" - }, - { - "value": "TT", - "name": "TT" - }, - { - "value": "TN", - "name": "TN" - }, - { - "value": "TR", - "name": "TR" - }, - { - "value": "TM", - "name": "TM" - }, - { - "value": "TC", - "name": "TC" - }, - { - "value": "TV", - "name": "TV" - }, - { - "value": "VI", - "name": "VI" - }, - { - "value": "UG", - "name": "UG" - }, - { - "value": "UA", - "name": "UA" - }, - { - "value": "AE", - "name": "AE" - }, - { - "value": "GB", - "name": "GB" - }, - { - "value": "US", - "name": "US" - }, - { - "value": "UY", - "name": "UY" - }, - { - "value": "UZ", - "name": "UZ" - }, - { - "value": "VU", - "name": "VU" - }, - { - "value": "VA", - "name": "VA" - }, - { - "value": "VE", - "name": "VE" - }, - { - "value": "VN", - "name": "VN" - }, - { - "value": "WF", - "name": "WF" - }, - { - "value": "EH", - "name": "EH" - }, - { - "value": "YE", - "name": "YE" - }, - { - "value": "ZM", - "name": "ZM" - }, - { - "value": "ZW", - "name": "ZW" - } - ] - } - }, - "com.amazonaws.connect#PhoneNumberCountryCodes": { - "type": "list", - "member": { - "target": "com.amazonaws.connect#PhoneNumberCountryCode" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 10 - } - } - }, - "com.amazonaws.connect#PhoneNumberDescription": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 500 - }, - "smithy.api#pattern": "^[\\W\\S_]*$" - } - }, - "com.amazonaws.connect#PhoneNumberId": { - "type": "string" - }, - "com.amazonaws.connect#PhoneNumberPrefix": { - "type": "string", - "traits": { - "smithy.api#pattern": "^\\\\+?[0-9]{1,11}$" - } - }, - "com.amazonaws.connect#PhoneNumberQuickConnectConfig": { - "type": "structure", + "type": "enum", "members": { - "PhoneNumber": { - "target": "com.amazonaws.connect#PhoneNumber", + "AF": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The phone number in E.164 format.

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

Contains information about a phone number for a quick connect.

" - } - }, - "com.amazonaws.connect#PhoneNumberStatus": { - "type": "structure", - "members": { - "Status": { + }, + "AL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AL" + } + }, + "DZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DZ" + } + }, + "AS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AS" + } + }, + "AD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AD" + } + }, + "AO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AO" + } + }, + "AI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AI" + } + }, + "AQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AQ" + } + }, + "AG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AG" + } + }, + "AR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AR" + } + }, + "AM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AM" + } + }, + "AW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AW" + } + }, + "AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AU" + } + }, + "AT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AT" + } + }, + "AZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AZ" + } + }, + "BS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BS" + } + }, + "BH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BH" + } + }, + "BD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BD" + } + }, + "BB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BB" + } + }, + "BY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BY" + } + }, + "BE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BE" + } + }, + "BZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BZ" + } + }, + "BJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BJ" + } + }, + "BM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BM" + } + }, + "BT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BT" + } + }, + "BO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BO" + } + }, + "BA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BA" + } + }, + "BW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BW" + } + }, + "BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BR" + } + }, + "IO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IO" + } + }, + "VG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VG" + } + }, + "BN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BN" + } + }, + "BG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BG" + } + }, + "BF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BF" + } + }, + "BI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BI" + } + }, + "KH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KH" + } + }, + "CM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CM" + } + }, + "CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CA" + } + }, + "CV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CV" + } + }, + "KY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KY" + } + }, + "CF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CF" + } + }, + "TD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TD" + } + }, + "CL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CL" + } + }, + "CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CN" + } + }, + "CX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CX" + } + }, + "CC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CC" + } + }, + "CO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CO" + } + }, + "KM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KM" + } + }, + "CK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CK" + } + }, + "CR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CR" + } + }, + "HR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HR" + } + }, + "CU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CU" + } + }, + "CW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CW" + } + }, + "CY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CY" + } + }, + "CZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CZ" + } + }, + "CD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CD" + } + }, + "DK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DK" + } + }, + "DJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DJ" + } + }, + "DM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DM" + } + }, + "DO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DO" + } + }, + "TL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TL" + } + }, + "EC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC" + } + }, + "EG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EG" + } + }, + "SV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SV" + } + }, + "GQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GQ" + } + }, + "ER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ER" + } + }, + "EE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EE" + } + }, + "ET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ET" + } + }, + "FK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FK" + } + }, + "FO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FO" + } + }, + "FJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FJ" + } + }, + "FI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FI" + } + }, + "FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FR" + } + }, + "PF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PF" + } + }, + "GA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GA" + } + }, + "GM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GM" + } + }, + "GE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GE" + } + }, + "DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DE" + } + }, + "GH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GH" + } + }, + "GI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GI" + } + }, + "GR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GR" + } + }, + "GL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GL" + } + }, + "GD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GD" + } + }, + "GU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GU" + } + }, + "GT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GT" + } + }, + "GG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GG" + } + }, + "GN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GN" + } + }, + "GW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GW" + } + }, + "GY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GY" + } + }, + "HT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HT" + } + }, + "HN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HN" + } + }, + "HK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HK" + } + }, + "HU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HU" + } + }, + "IS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IS" + } + }, + "IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN" + } + }, + "ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ID" + } + }, + "IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IR" + } + }, + "IQ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IQ" + } + }, + "IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IE" + } + }, + "IM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IM" + } + }, + "IL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IL" + } + }, + "IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IT" + } + }, + "CI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CI" + } + }, + "JM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JM" + } + }, + "JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JP" + } + }, + "JE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JE" + } + }, + "JO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JO" + } + }, + "KZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KZ" + } + }, + "KE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KE" + } + }, + "KI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KI" + } + }, + "KW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KW" + } + }, + "KG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KG" + } + }, + "LA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LA" + } + }, + "LV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LV" + } + }, + "LB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LB" + } + }, + "LS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LS" + } + }, + "LR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LR" + } + }, + "LY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LY" + } + }, + "LI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LI" + } + }, + "LT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LT" + } + }, + "LU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LU" + } + }, + "MO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MO" + } + }, + "MK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MK" + } + }, + "MG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MG" + } + }, + "MW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MW" + } + }, + "MY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MY" + } + }, + "MV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MV" + } + }, + "ML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ML" + } + }, + "MT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MT" + } + }, + "MH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MH" + } + }, + "MR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MR" + } + }, + "MU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MU" + } + }, + "YT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YT" + } + }, + "MX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MX" + } + }, + "FM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FM" + } + }, + "MD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MD" + } + }, + "MC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MC" + } + }, + "MN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MN" + } + }, + "ME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ME" + } + }, + "MS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MS" + } + }, + "MA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MA" + } + }, + "MZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MZ" + } + }, + "MM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MM" + } + }, + "NA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NA" + } + }, + "NR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NR" + } + }, + "NP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NP" + } + }, + "NL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NL" + } + }, + "AN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AN" + } + }, + "NC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NC" + } + }, + "NZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NZ" + } + }, + "NI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NI" + } + }, + "NE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NE" + } + }, + "NG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NG" + } + }, + "NU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NU" + } + }, + "KP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KP" + } + }, + "MP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MP" + } + }, + "NO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO" + } + }, + "OM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OM" + } + }, + "PK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PK" + } + }, + "PW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PW" + } + }, + "PA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PA" + } + }, + "PG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PG" + } + }, + "PY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PY" + } + }, + "PE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PE" + } + }, + "PH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PH" + } + }, + "PN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PN" + } + }, + "PL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PL" + } + }, + "PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT" + } + }, + "PR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PR" + } + }, + "QA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QA" + } + }, + "CG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CG" + } + }, + "RE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RE" + } + }, + "RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RO" + } + }, + "RU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RU" + } + }, + "RW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RW" + } + }, + "BL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BL" + } + }, + "SH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SH" + } + }, + "KN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KN" + } + }, + "LC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LC" + } + }, + "MF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MF" + } + }, + "PM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PM" + } + }, + "VC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VC" + } + }, + "WS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WS" + } + }, + "SM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SM" + } + }, + "ST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ST" + } + }, + "SA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SA" + } + }, + "SN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SN" + } + }, + "RS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RS" + } + }, + "SC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SC" + } + }, + "SL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SL" + } + }, + "SG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SG" + } + }, + "SX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SX" + } + }, + "SK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SK" + } + }, + "SI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SI" + } + }, + "SB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SB" + } + }, + "SO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SO" + } + }, + "ZA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZA" + } + }, + "KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KR" + } + }, + "ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES" + } + }, + "LK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LK" + } + }, + "SD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SD" + } + }, + "SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SR" + } + }, + "SJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SJ" + } + }, + "SZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SZ" + } + }, + "SE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SE" + } + }, + "CH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CH" + } + }, + "SY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SY" + } + }, + "TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TW" + } + }, + "TJ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TJ" + } + }, + "TZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TZ" + } + }, + "TH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TH" + } + }, + "TG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TG" + } + }, + "TK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TK" + } + }, + "TO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TO" + } + }, + "TT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TT" + } + }, + "TN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TN" + } + }, + "TR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TR" + } + }, + "TM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TM" + } + }, + "TC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TC" + } + }, + "TV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TV" + } + }, + "VI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VI" + } + }, + "UG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UG" + } + }, + "UA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UA" + } + }, + "AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AE" + } + }, + "GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GB" + } + }, + "US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "US" + } + }, + "UY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UY" + } + }, + "UZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UZ" + } + }, + "VU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VU" + } + }, + "VA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VA" + } + }, + "VE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VE" + } + }, + "VN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VN" + } + }, + "WF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WF" + } + }, + "EH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EH" + } + }, + "YE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YE" + } + }, + "ZM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZM" + } + }, + "ZW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZW" + } + } + } + }, + "com.amazonaws.connect#PhoneNumberCountryCodes": { + "type": "list", + "member": { + "target": "com.amazonaws.connect#PhoneNumberCountryCode" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.connect#PhoneNumberDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 500 + }, + "smithy.api#pattern": "^[\\W\\S_]*$" + } + }, + "com.amazonaws.connect#PhoneNumberId": { + "type": "string" + }, + "com.amazonaws.connect#PhoneNumberPrefix": { + "type": "string", + "traits": { + "smithy.api#pattern": "^\\\\+?[0-9]{1,11}$" + } + }, + "com.amazonaws.connect#PhoneNumberQuickConnectConfig": { + "type": "structure", + "members": { + "PhoneNumber": { + "target": "com.amazonaws.connect#PhoneNumber", + "traits": { + "smithy.api#documentation": "

The phone number in E.164 format.

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

Contains information about a phone number for a quick connect.

" + } + }, + "com.amazonaws.connect#PhoneNumberStatus": { + "type": "structure", + "members": { + "Status": { "target": "com.amazonaws.connect#PhoneNumberWorkflowStatus", "traits": { "smithy.api#documentation": "

The status.

" @@ -13068,18 +13751,20 @@ } }, "com.amazonaws.connect#PhoneNumberType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TOLL_FREE", - "name": "TOLL_FREE" - }, - { - "value": "DID", - "name": "DID" + "type": "enum", + "members": { + "TOLL_FREE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TOLL_FREE" + } + }, + "DID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DID" } - ] + } } }, "com.amazonaws.connect#PhoneNumberTypes": { @@ -13105,37 +13790,43 @@ } }, "com.amazonaws.connect#PhoneNumberWorkflowStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLAIMED", - "name": "Claimed" - }, - { - "value": "IN_PROGRESS", - "name": "InProgress" - }, - { - "value": "FAILED", - "name": "Failed" + "type": "enum", + "members": { + "Claimed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLAIMED" + } + }, + "InProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.connect#PhoneType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SOFT_PHONE", - "name": "SOFT_PHONE" - }, - { - "value": "DESK_PHONE", - "name": "DESK_PHONE" + "type": "enum", + "members": { + "SOFT_PHONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOFT_PHONE" + } + }, + "DESK_PHONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESK_PHONE" } - ] + } } }, "com.amazonaws.connect#Prefix": { @@ -13150,6 +13841,7 @@ "com.amazonaws.connect#Priority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 99 @@ -13296,34 +13988,44 @@ } }, "com.amazonaws.connect#PropertyValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INVALID_FORMAT", - "name": "INVALID_FORMAT" - }, - { - "value": "UNIQUE_CONSTRAINT_VIOLATED", - "name": "UNIQUE_CONSTRAINT_VIOLATED" - }, - { - "value": "REFERENCED_RESOURCE_NOT_FOUND", - "name": "REFERENCED_RESOURCE_NOT_FOUND" - }, - { - "value": "RESOURCE_NAME_ALREADY_EXISTS", - "name": "RESOURCE_NAME_ALREADY_EXISTS" - }, - { - "value": "REQUIRED_PROPERTY_MISSING", - "name": "REQUIRED_PROPERTY_MISSING" - }, - { - "value": "NOT_SUPPORTED", - "name": "NOT_SUPPORTED" - } - ] + "type": "enum", + "members": { + "INVALID_FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_FORMAT" + } + }, + "UNIQUE_CONSTRAINT_VIOLATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNIQUE_CONSTRAINT_VIOLATED" + } + }, + "REFERENCED_RESOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REFERENCED_RESOURCE_NOT_FOUND" + } + }, + "RESOURCE_NAME_ALREADY_EXISTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE_NAME_ALREADY_EXISTS" + } + }, + "REQUIRED_PROPERTY_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUIRED_PROPERTY_MISSING" + } + }, + "NOT_SUPPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOT_SUPPORTED" + } + } } }, "com.amazonaws.connect#PutUserStatus": { @@ -13437,7 +14139,7 @@ "MaxContacts": { "target": "com.amazonaws.connect#QueueMaxContacts", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of contacts that can be in the queue before it is considered full.

" } }, @@ -13493,6 +14195,7 @@ "com.amazonaws.connect#QueueMaxContacts": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -13602,18 +14305,20 @@ } }, "com.amazonaws.connect#QueueStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.connect#QueueSummary": { @@ -13655,18 +14360,20 @@ } }, "com.amazonaws.connect#QueueType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "AGENT", - "name": "AGENT" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + }, + "AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AGENT" } - ] + } } }, "com.amazonaws.connect#QueueTypes": { @@ -13830,22 +14537,26 @@ } }, "com.amazonaws.connect#QuickConnectType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "USER", - "name": "USER" - }, - { - "value": "QUEUE", - "name": "QUEUE" - }, - { - "value": "PHONE_NUMBER", - "name": "PHONE_NUMBER" + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + }, + "QUEUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUE" + } + }, + "PHONE_NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PHONE_NUMBER" } - ] + } } }, "com.amazonaws.connect#QuickConnectTypes": { @@ -13924,18 +14635,20 @@ } }, "com.amazonaws.connect#ReferenceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "APPROVED", - "name": "APPROVED" - }, - { - "value": "REJECTED", - "name": "REJECTED" + "type": "enum", + "members": { + "APPROVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPROVED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" } - ] + } } }, "com.amazonaws.connect#ReferenceSummary": { @@ -13989,34 +14702,44 @@ } }, "com.amazonaws.connect#ReferenceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "URL", - "name": "URL" - }, - { - "value": "ATTACHMENT", - "name": "ATTACHMENT" - }, - { - "value": "NUMBER", - "name": "NUMBER" - }, - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "DATE", - "name": "DATE" - }, - { - "value": "EMAIL", - "name": "EMAIL" - } - ] + "type": "enum", + "members": { + "URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URL" + } + }, + "ATTACHMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ATTACHMENT" + } + }, + "NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMBER" + } + }, + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "DATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATE" + } + }, + "EMAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EMAIL" + } + } } }, "com.amazonaws.connect#ReferenceTypes": { @@ -14176,38 +14899,50 @@ } }, "com.amazonaws.connect#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CONTACT", - "name": "CONTACT" - }, - { - "value": "CONTACT_FLOW", - "name": "CONTACT_FLOW" - }, - { - "value": "INSTANCE", - "name": "INSTANCE" - }, - { - "value": "PARTICIPANT", - "name": "PARTICIPANT" - }, - { - "value": "HIERARCHY_LEVEL", - "name": "HIERARCHY_LEVEL" - }, - { - "value": "HIERARCHY_GROUP", - "name": "HIERARCHY_GROUP" - }, - { - "value": "USER", - "name": "USER" - } - ] + "type": "enum", + "members": { + "CONTACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT" + } + }, + "CONTACT_FLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTACT_FLOW" + } + }, + "INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTANCE" + } + }, + "PARTICIPANT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARTICIPANT" + } + }, + "HIERARCHY_LEVEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIERARCHY_LEVEL" + } + }, + "HIERARCHY_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIERARCHY_GROUP" + } + }, + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + } } }, "com.amazonaws.connect#ResumeContactRecording": { @@ -14376,7 +15111,7 @@ "Priority": { "target": "com.amazonaws.connect#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The order in which contacts are to be handled for the queue. For more information, see\n Queues: priority and\n delay.

", "smithy.api#required": {} } @@ -14384,7 +15119,7 @@ "Delay": { "target": "com.amazonaws.connect#Delay", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The delay, in seconds, a contact should be in the queue before they are routed to an\n available agent. For more information, see Queues: priority and\n delay in the Amazon Connect Administrator Guide.

", "smithy.api#required": {} } @@ -14433,6 +15168,7 @@ "Priority": { "target": "com.amazonaws.connect#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The order in which contacts are to be handled for the queue. For more information, see\n Queues: priority and\n delay.

", "smithy.api#required": {} } @@ -14440,6 +15176,7 @@ "Delay": { "target": "com.amazonaws.connect#Delay", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The delay, in seconds, that a contact should be in the queue before they are routed to an\n available agent. For more information, see Queues: priority and\n delay in the Amazon Connect Administrator Guide.

", "smithy.api#required": {} } @@ -14680,7 +15417,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult10", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -14768,7 +15505,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -14868,7 +15605,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -14968,7 +15705,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -15067,7 +15804,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -15156,6 +15893,7 @@ "MaxResults": { "target": "com.amazonaws.connect#MaxResult100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per page.

" } }, @@ -15203,14 +15941,14 @@ } }, "com.amazonaws.connect#SearchableQueueType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" } - ] + } } }, "com.amazonaws.connect#SecurityKey": { @@ -15486,18 +16224,20 @@ } }, "com.amazonaws.connect#SourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SALESFORCE", - "name": "SALESFORCE" - }, - { - "value": "ZENDESK", - "name": "ZENDESK" + "type": "enum", + "members": { + "SALESFORCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SALESFORCE" } - ] + }, + "ZENDESK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZENDESK" + } + } } }, "com.amazonaws.connect#StartChatContact": { @@ -16005,22 +16745,26 @@ } }, "com.amazonaws.connect#Statistic": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SUM", - "name": "SUM" - }, - { - "value": "MAX", - "name": "MAX" - }, - { - "value": "AVG", - "name": "AVG" + "type": "enum", + "members": { + "SUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUM" + } + }, + "MAX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX" + } + }, + "AVG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVG" } - ] + } } }, "com.amazonaws.connect#StopContact": { @@ -16200,26 +16944,32 @@ "members": {} }, "com.amazonaws.connect#StorageType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "S3", - "name": "S3" - }, - { - "value": "KINESIS_VIDEO_STREAM", - "name": "KINESIS_VIDEO_STREAM" - }, - { - "value": "KINESIS_STREAM", - "name": "KINESIS_STREAM" - }, - { - "value": "KINESIS_FIREHOSE", - "name": "KINESIS_FIREHOSE" - } - ] + "type": "enum", + "members": { + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "KINESIS_VIDEO_STREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS_VIDEO_STREAM" + } + }, + "KINESIS_STREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS_STREAM" + } + }, + "KINESIS_FIREHOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS_FIREHOSE" + } + } } }, "com.amazonaws.connect#StreamingId": { @@ -16235,22 +16985,26 @@ "type": "string" }, "com.amazonaws.connect#StringComparisonType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STARTS_WITH", - "name": "STARTS_WITH" - }, - { - "value": "CONTAINS", - "name": "CONTAINS" - }, - { - "value": "EXACT", - "name": "EXACT" + "type": "enum", + "members": { + "STARTS_WITH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTS_WITH" + } + }, + "CONTAINS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTAINS" + } + }, + "EXACT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXACT" } - ] + } } }, "com.amazonaws.connect#StringCondition": { @@ -16654,58 +17408,80 @@ } }, "com.amazonaws.connect#TaskTemplateFieldType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NAME", - "name": "NAME" - }, - { - "value": "DESCRIPTION", - "name": "DESCRIPTION" - }, - { - "value": "SCHEDULED_TIME", - "name": "SCHEDULED_TIME" - }, - { - "value": "QUICK_CONNECT", - "name": "QUICK_CONNECT" - }, - { - "value": "URL", - "name": "URL" - }, - { - "value": "NUMBER", - "name": "NUMBER" - }, - { - "value": "TEXT", - "name": "TEXT" - }, - { - "value": "TEXT_AREA", - "name": "TEXT_AREA" - }, - { - "value": "DATE_TIME", - "name": "DATE_TIME" - }, - { - "value": "BOOLEAN", - "name": "BOOLEAN" - }, - { - "value": "SINGLE_SELECT", - "name": "SINGLE_SELECT" - }, - { - "value": "EMAIL", - "name": "EMAIL" - } - ] + "type": "enum", + "members": { + "NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAME" + } + }, + "DESCRIPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DESCRIPTION" + } + }, + "SCHEDULED_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULED_TIME" + } + }, + "QUICK_CONNECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICK_CONNECT" + } + }, + "URL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URL" + } + }, + "NUMBER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMBER" + } + }, + "TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEXT" + } + }, + "TEXT_AREA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TEXT_AREA" + } + }, + "DATE_TIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATE_TIME" + } + }, + "BOOLEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOOLEAN" + } + }, + "SINGLE_SELECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_SELECT" + } + }, + "EMAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EMAIL" + } + } } }, "com.amazonaws.connect#TaskTemplateFieldValue": { @@ -16807,18 +17583,20 @@ } }, "com.amazonaws.connect#TaskTemplateStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + } } }, "com.amazonaws.connect#Threshold": { @@ -16833,7 +17611,6 @@ "ThresholdValue": { "target": "com.amazonaws.connect#ThresholdValue", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The threshold value to compare.

" } } @@ -16843,10 +17620,7 @@ } }, "com.amazonaws.connect#ThresholdValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.connect#ThrottlingException": { "type": "structure", @@ -16872,18 +17646,20 @@ "type": "timestamp" }, "com.amazonaws.connect#TrafficType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GENERAL", - "name": "GENERAL" - }, - { - "value": "CAMPAIGN", - "name": "CAMPAIGN" + "type": "enum", + "members": { + "GENERAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERAL" + } + }, + "CAMPAIGN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAMPAIGN" } - ] + } } }, "com.amazonaws.connect#TransferContact": { @@ -16998,22 +17774,26 @@ } }, "com.amazonaws.connect#Unit": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SECONDS", - "name": "SECONDS" - }, - { - "value": "COUNT", - "name": "COUNT" - }, - { - "value": "PERCENT", - "name": "PERCENT" + "type": "enum", + "members": { + "SECONDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SECONDS" + } + }, + "COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNT" + } + }, + "PERCENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERCENT" } - ] + } } }, "com.amazonaws.connect#UntagResource": { @@ -17160,13 +17940,13 @@ "DisplayOrder": { "target": "com.amazonaws.connect#AgentStatusOrderNumber", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The display order of the agent status.

" } }, "ResetOrderNumber": { "target": "com.amazonaws.connect#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A number indicating the reset order of the agent status.

" } } @@ -18164,7 +18944,7 @@ "MaxContacts": { "target": "com.amazonaws.connect#QueueMaxContacts", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of contacts that can be in the queue before it is considered full.

" } } @@ -19495,18 +20275,20 @@ } }, "com.amazonaws.connect#UseCaseType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RULES_EVALUATION", - "name": "RULES_EVALUATION" - }, - { - "value": "CONNECT_CAMPAIGNS", - "name": "CONNECT_CAMPAIGNS" + "type": "enum", + "members": { + "RULES_EVALUATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RULES_EVALUATION" + } + }, + "CONNECT_CAMPAIGNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECT_CAMPAIGNS" } - ] + } } }, "com.amazonaws.connect#User": { @@ -19734,12 +20516,14 @@ "AutoAccept": { "target": "com.amazonaws.connect#AutoAccept", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The Auto accept setting.

" } }, "AfterContactWorkTimeLimit": { "target": "com.amazonaws.connect#AfterContactWorkTimeLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The After Call Work (ACW) timeout setting, in seconds.

" } }, @@ -19949,10 +20733,7 @@ } }, "com.amazonaws.connect#Value": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.connect#Vocabulary": { "type": "structure", @@ -20044,94 +20825,134 @@ } }, "com.amazonaws.connect#VocabularyLanguageCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ar-AE", - "name": "AR_AE" - }, - { - "value": "de-CH", - "name": "DE_CH" - }, - { - "value": "de-DE", - "name": "DE_DE" - }, - { - "value": "en-AB", - "name": "EN_AB" - }, - { - "value": "en-AU", - "name": "EN_AU" - }, - { - "value": "en-GB", - "name": "EN_GB" - }, - { - "value": "en-IE", - "name": "EN_IE" - }, - { - "value": "en-IN", - "name": "EN_IN" - }, - { - "value": "en-US", - "name": "EN_US" - }, - { - "value": "en-WL", - "name": "EN_WL" - }, - { - "value": "es-ES", - "name": "ES_ES" - }, - { - "value": "es-US", - "name": "ES_US" - }, - { - "value": "fr-CA", - "name": "FR_CA" - }, - { - "value": "fr-FR", - "name": "FR_FR" - }, - { - "value": "hi-IN", - "name": "HI_IN" - }, - { - "value": "it-IT", - "name": "IT_IT" - }, - { - "value": "ja-JP", - "name": "JA_JP" - }, - { - "value": "ko-KR", - "name": "KO_KR" - }, - { - "value": "pt-BR", - "name": "PT_BR" - }, - { - "value": "pt-PT", - "name": "PT_PT" - }, - { - "value": "zh-CN", - "name": "ZH_CN" - } - ] + "type": "enum", + "members": { + "AR_AE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ar-AE" + } + }, + "DE_CH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-CH" + } + }, + "DE_DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de-DE" + } + }, + "EN_AB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-AB" + } + }, + "EN_AU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-AU" + } + }, + "EN_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-GB" + } + }, + "EN_IE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IE" + } + }, + "EN_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-IN" + } + }, + "EN_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-US" + } + }, + "EN_WL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en-WL" + } + }, + "ES_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-ES" + } + }, + "ES_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es-US" + } + }, + "FR_CA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-CA" + } + }, + "FR_FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr-FR" + } + }, + "HI_IN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hi-IN" + } + }, + "IT_IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it-IT" + } + }, + "JA_JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ja-JP" + } + }, + "KO_KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ko-KR" + } + }, + "PT_BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-BR" + } + }, + "PT_PT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt-PT" + } + }, + "ZH_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh-CN" + } + } } }, "com.amazonaws.connect#VocabularyLastModifiedTime": { @@ -20158,26 +20979,32 @@ } }, "com.amazonaws.connect#VocabularyState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATION_IN_PROGRESS", - "name": "CREATION_IN_PROGRESS" - }, - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "CREATION_FAILED", - "name": "CREATION_FAILED" - }, - { - "value": "DELETE_IN_PROGRESS", - "name": "DELETE_IN_PROGRESS" - } - ] + "type": "enum", + "members": { + "CREATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_IN_PROGRESS" + } + }, + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "CREATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_FAILED" + } + }, + "DELETE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE_IN_PROGRESS" + } + } } }, "com.amazonaws.connect#VocabularySummary": { @@ -20257,22 +21084,26 @@ } }, "com.amazonaws.connect#VoiceRecordingTrack": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FROM_AGENT", - "name": "FROM_AGENT" - }, - { - "value": "TO_AGENT", - "name": "TO_AGENT" - }, - { - "value": "ALL", - "name": "ALL" - } - ] + "type": "enum", + "members": { + "FROM_AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FROM_AGENT" + } + }, + "TO_AGENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TO_AGENT" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + } } } } diff --git a/codegen/sdk/aws-models/connectcampaigns.json b/codegen/sdk/aws-models/connectcampaigns.json index 5950002188e..fb694cf1527 100644 --- a/codegen/sdk/aws-models/connectcampaigns.json +++ b/codegen/sdk/aws-models/connectcampaigns.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.connectcampaigns#AccessDeniedException": { "type": "structure", @@ -25,19 +25,6 @@ }, "com.amazonaws.connectcampaigns#AmazonConnectCampaignService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ConnectCampaigns", - "arnNamespace": "connect-campaigns", - "cloudTrailEventSource": "connect-campaigns.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "connect-campaigns" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Provide APIs to create and manage Amazon Connect Campaigns.", - "smithy.api#title": "AmazonConnectCampaignService" - }, "version": "2021-01-30", "operations": [ { @@ -106,7 +93,20 @@ { "target": "com.amazonaws.connectcampaigns#UpdateCampaignOutboundCallConfig" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectCampaigns", + "arnNamespace": "connect-campaigns", + "cloudTrailEventSource": "connect-campaigns.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "connect-campaigns" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Provide APIs to create and manage Amazon Connect Campaigns.", + "smithy.api#title": "AmazonConnectCampaignService" + } }, "com.amazonaws.connectcampaigns#AnswerMachineDetectionConfig": { "type": "structure", @@ -171,7 +171,6 @@ "com.amazonaws.connectcampaigns#BandwidthAllocation": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The bandwidth allocation of a queue resource.", "smithy.api#range": { "min": 0, @@ -766,6 +765,7 @@ "com.amazonaws.connectcampaigns#Enabled": { "type": "boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Boolean to indicate if custom encryption has been enabled." } }, @@ -775,6 +775,7 @@ "enabled": { "target": "com.amazonaws.connectcampaigns#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#required": {} } }, @@ -1488,7 +1489,6 @@ "com.amazonaws.connectcampaigns#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "The maximum number of results to return per page.", "smithy.api#range": { "min": 1, @@ -2431,4 +2431,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/connectcases.json b/codegen/sdk/aws-models/connectcases.json new file mode 100644 index 00000000000..f892e0c93bc --- /dev/null +++ b/codegen/sdk/aws-models/connectcases.json @@ -0,0 +1,4279 @@ +{ + "smithy": "2.0", + "shapes": { + "com.amazonaws.connectcases#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

You do not have sufficient access to perform this action.

", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.connectcases#AmazonConnectCases": { + "type": "service", + "version": "2022-10-03", + "operations": [ + { + "target": "com.amazonaws.connectcases#ListTagsForResource" + }, + { + "target": "com.amazonaws.connectcases#TagResource" + }, + { + "target": "com.amazonaws.connectcases#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.connectcases#Case" + }, + { + "target": "com.amazonaws.connectcases#Domain" + }, + { + "target": "com.amazonaws.connectcases#Field" + }, + { + "target": "com.amazonaws.connectcases#Layout" + }, + { + "target": "com.amazonaws.connectcases#Template" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectCases", + "arnNamespace": "cases", + "cloudTrailEventSource": "event-source-placeholder", + "endpointPrefix": "cases" + }, + "aws.auth#sigv4": { + "name": "cases" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

Welcome to the Amazon Connect Cases API Reference. This guide provides information about the\n Amazon Connect Cases API, which you can use to create, update, get, and list Cases domains,\n fields, field options, layouts, templates, cases, related items, and tags.

\n\n

For more information about Amazon Connect Cases, see Amazon Connect Cases in the\n Amazon Connect Administrator Guide.

", + "smithy.api#title": "Amazon Connect Cases" + } + }, + "com.amazonaws.connectcases#Arn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#AssociationTime": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.connectcases#BasicLayout": { + "type": "structure", + "members": { + "topPanel": { + "target": "com.amazonaws.connectcases#LayoutSections", + "traits": { + "smithy.api#documentation": "

This represents sections in a panel of the page layout.

" + } + }, + "moreInfo": { + "target": "com.amazonaws.connectcases#LayoutSections", + "traits": { + "smithy.api#documentation": "

This represents sections in a tab of the page layout.

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

Content specific to BasicLayout type. It configures fields in the top panel\n and More Info tab of agent application.

" + } + }, + "com.amazonaws.connectcases#BatchGetField": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#BatchGetFieldRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#BatchGetFieldResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the description for the list of fields in the request parameters.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields-batch", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#BatchGetFieldErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldError" + } + }, + "com.amazonaws.connectcases#BatchGetFieldIdentifierList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldIdentifier" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.connectcases#BatchGetFieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#GetFieldResponse" + } + }, + "com.amazonaws.connectcases#BatchGetFieldRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#BatchGetFieldIdentifierList", + "traits": { + "smithy.api#documentation": "

A list of unique field identifiers.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#BatchGetFieldResponse": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#BatchGetFieldList", + "traits": { + "smithy.api#documentation": "

A list of detailed field information.

", + "smithy.api#length": { + "max": 50 + }, + "smithy.api#required": {} + } + }, + "errors": { + "target": "com.amazonaws.connectcases#BatchGetFieldErrorList", + "traits": { + "smithy.api#documentation": "

A list of field errors.

", + "smithy.api#length": { + "max": 50 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#BatchPutFieldOptions": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#BatchPutFieldOptionsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#BatchPutFieldOptionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates and updates a set of field options for a single select field in a Cases\n domain.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields/{fieldId}/options", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#BatchPutFieldOptionsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

The unique identifier of a field.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "options": { + "target": "com.amazonaws.connectcases#FieldOptionsList", + "traits": { + "smithy.api#documentation": "

A list of FieldOption objects.

", + "smithy.api#length": { + "max": 50 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#BatchPutFieldOptionsResponse": { + "type": "structure", + "members": { + "errors": { + "target": "com.amazonaws.connectcases#FieldOptionErrorList", + "traits": { + "smithy.api#documentation": "

A list of field errors.

", + "smithy.api#length": { + "max": 50 + } + } + } + } + }, + "com.amazonaws.connectcases#Case": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateCase" + }, + "read": { + "target": "com.amazonaws.connectcases#GetCase" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateCase" + }, + "collectionOperations": [ + { + "target": "com.amazonaws.connectcases#ListCasesForContact" + }, + { + "target": "com.amazonaws.connectcases#SearchCases" + } + ], + "resources": [ + { + "target": "com.amazonaws.connectcases#RelatedItem" + } + ], + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/case/{caseId}" + } + } + }, + "com.amazonaws.connectcases#CaseArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#CaseEventIncludedData": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#FieldIdentifierList", + "traits": { + "smithy.api#documentation": "

List of field identifiers.

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

Details of what case data is published through the case event stream.

" + } + }, + "com.amazonaws.connectcases#CaseFilter": { + "type": "union", + "members": { + "field": { + "target": "com.amazonaws.connectcases#FieldFilter", + "traits": { + "smithy.api#documentation": "

A list of fields to filter on.

" + } + }, + "not": { + "target": "com.amazonaws.connectcases#CaseFilter" + }, + "andAll": { + "target": "com.amazonaws.connectcases#CaseFilterList", + "traits": { + "smithy.api#documentation": "

Provides \"and all\" filtering.

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

A filter for cases. Only one value can be provided.

" + } + }, + "com.amazonaws.connectcases#CaseFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#CaseFilter" + } + }, + "com.amazonaws.connectcases#CaseId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#CaseSummary": { + "type": "structure", + "members": { + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "

A unique identifier of the case.

", + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier of a template.

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

Case summary information.

" + } + }, + "com.amazonaws.connectcases#CaseSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#CaseSummary" + } + }, + "com.amazonaws.connectcases#Channel": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connectcases#ChannelList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Channel" + } + }, + "com.amazonaws.connectcases#CommentBody": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + } + } + }, + "com.amazonaws.connectcases#CommentBodyTextType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Text/Plain", + "name": "PLAINTEXT" + } + ] + } + }, + "com.amazonaws.connectcases#CommentContent": { + "type": "structure", + "members": { + "body": { + "target": "com.amazonaws.connectcases#CommentBody", + "traits": { + "smithy.api#documentation": "

Text in the body of a Comment on a case.

", + "smithy.api#required": {} + } + }, + "contentType": { + "target": "com.amazonaws.connectcases#CommentBodyTextType", + "traits": { + "smithy.api#documentation": "

Type of the text in the box of a Comment on a case.

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

Represents the content of a Comment to be returned to agents.

" + } + }, + "com.amazonaws.connectcases#CommentFilter": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "

A filter for related items of type Comment.

" + } + }, + "com.amazonaws.connectcases#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The requested operation would cause a conflict with the current state of a service\n resource associated with the request. Resolve the conflict before retrying this request. See\n the accompanying error message for details.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.connectcases#ConnectedToSystemTime": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.connectcases#Contact": { + "type": "structure", + "members": { + "contactArn": { + "target": "com.amazonaws.connectcases#ContactArn", + "traits": { + "smithy.api#documentation": "

A unique identifier of a contact in Amazon Connect.

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

An object that represents an Amazon Connect contact object.

" + } + }, + "com.amazonaws.connectcases#ContactArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#ContactContent": { + "type": "structure", + "members": { + "contactArn": { + "target": "com.amazonaws.connectcases#ContactArn", + "traits": { + "smithy.api#documentation": "

A unique identifier of a contact in Amazon Connect.

", + "smithy.api#required": {} + } + }, + "channel": { + "target": "com.amazonaws.connectcases#Channel", + "traits": { + "smithy.api#documentation": "

A list of channels to filter on for related items of type Contact.

", + "smithy.api#required": {} + } + }, + "connectedToSystemTime": { + "target": "com.amazonaws.connectcases#ConnectedToSystemTime", + "traits": { + "smithy.api#documentation": "

The difference between the InitiationTimestamp and the\n DisconnectTimestamp of the contact.

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

An object that represents a content of an Amazon Connect contact object.

" + } + }, + "com.amazonaws.connectcases#ContactFilter": { + "type": "structure", + "members": { + "channel": { + "target": "com.amazonaws.connectcases#ChannelList", + "traits": { + "smithy.api#documentation": "

A list of channels to filter on for related items of type Contact.

", + "smithy.api#length": { + "max": 3 + } + } + }, + "contactArn": { + "target": "com.amazonaws.connectcases#ContactArn", + "traits": { + "smithy.api#documentation": "

A unique identifier of a contact in Amazon Connect.

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

A filter for related items of type Contact.

" + } + }, + "com.amazonaws.connectcases#CreateCase": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateCaseRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateCaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a case in the specified Cases domain. Case system and custom fields are taken\n as an array id/value pairs with a declared data types.

\n \n

\n customer_id is a required field when creating a case.

\n
", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#CreateCaseRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier of a template.

", + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "

An array of objects with field ID (matching ListFields/DescribeField) and value union\n data.

", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#length": { + "max": 64 + } + } + } + } + }, + "com.amazonaws.connectcases#CreateCaseResponse": { + "type": "structure", + "members": { + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "

A unique identifier of the case.

", + "smithy.api#required": {} + } + }, + "caseArn": { + "target": "com.amazonaws.connectcases#CaseArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the case.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateDomainRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a domain, which is a container for all case data, such as cases, fields, templates\n and layouts. Each Amazon Connect instance can be associated with only one Cases\n domain.

\n \n

This will not associate your connect instance to Cases domain. Instead, use the\n Amazon Connect\n CreateIntegrationAssociation API.

\n
", + "smithy.api#http": { + "uri": "/domains", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#CreateDomainRequest": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.connectcases#DomainName", + "traits": { + "smithy.api#documentation": "

The name for your Cases domain. It must be unique for your Amazon Web Services\n account.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateDomainResponse": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#required": {} + } + }, + "domainArn": { + "target": "com.amazonaws.connectcases#DomainArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Cases domain.

", + "smithy.api#required": {} + } + }, + "domainStatus": { + "target": "com.amazonaws.connectcases#DomainStatus", + "traits": { + "smithy.api#documentation": "

The status of the domain.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateField": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateFieldRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateFieldResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a field in the Cases domain. This field is used to define the case object\n model (that is, defines what data can be captured on cases) in a Cases domain.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#CreateFieldRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "

The name of the field.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#FieldType", + "traits": { + "smithy.api#documentation": "

Defines the data type, some system constraints, and default display of the field.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#FieldDescription", + "traits": { + "smithy.api#documentation": "

The description of the field.

" + } + } + } + }, + "com.amazonaws.connectcases#CreateFieldResponse": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

The unique identifier of a field.

", + "smithy.api#required": {} + } + }, + "fieldArn": { + "target": "com.amazonaws.connectcases#FieldArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the field.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateLayout": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateLayoutRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateLayoutResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a layout in the Cases domain. Layouts define the following configuration in\n the top section and More Info tab of the Cases user interface:

\n \n \n

Title and Status fields cannot be part of layouts since they are not\n configurable.

\n
", + "smithy.api#http": { + "uri": "/domains/{domainId}/layouts", + "method": "POST" + } + } + }, + "com.amazonaws.connectcases#CreateLayoutRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "

The name of the layout. It must be unique for the Cases domain.

", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#LayoutContent", + "traits": { + "smithy.api#documentation": "

Information about which fields will be present in the layout, and information about the\n order of the fields.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateLayoutResponse": { + "type": "structure", + "members": { + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the layout.

", + "smithy.api#required": {} + } + }, + "layoutArn": { + "target": "com.amazonaws.connectcases#LayoutArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the newly created layout.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateRelatedItem": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateRelatedItemRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateRelatedItemResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a related item (comments, tasks, and contacts) and associates it with a\n case.

\n \n

A Related Item is a resource that is associated with a case. It may or may not have an\n external identifier linking it to an external resource (for example, a\n contactArn). All Related Items have their own internal identifier, the\n relatedItemArn. Examples of related items include comments and\n contacts.

\n
", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases/{caseId}/related-items/", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#CreateRelatedItemRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "

A unique identifier of the case.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#RelatedItemType", + "traits": { + "smithy.api#documentation": "

The type of a related item.

", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#RelatedItemInputContent", + "traits": { + "smithy.api#documentation": "

The content of a related item to be created.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateRelatedItemResponse": { + "type": "structure", + "members": { + "relatedItemId": { + "target": "com.amazonaws.connectcases#RelatedItemId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the related item.

", + "smithy.api#required": {} + } + }, + "relatedItemArn": { + "target": "com.amazonaws.connectcases#RelatedItemArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the related item.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreateTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#CreateTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#CreateTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a template in the Cases domain. This template is used to define the case\n object model (that is, define what data can be captured on cases) in a Cases domain. A\n template must have a unique name within a domain, and it must reference existing field IDs and layout\n IDs. Additionally, multiple fields with same IDs are not allowed within the same Template.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/templates", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#CreateTemplateRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "

A name for the template. It must be unique per domain.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#TemplateDescription", + "traits": { + "smithy.api#documentation": "

A brief description of the template.

" + } + }, + "layoutConfiguration": { + "target": "com.amazonaws.connectcases#LayoutConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration of layouts associated to the template.

" + } + }, + "requiredFields": { + "target": "com.amazonaws.connectcases#RequiredFieldList", + "traits": { + "smithy.api#documentation": "

A list of fields that must contain a value for a case to be successfully created with this\n template.

" + } + } + } + }, + "com.amazonaws.connectcases#CreateTemplateResponse": { + "type": "structure", + "members": { + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier of a template.

", + "smithy.api#required": {} + } + }, + "templateArn": { + "target": "com.amazonaws.connectcases#TemplateArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the newly created template.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#CreatedTime": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, + "com.amazonaws.connectcases#Domain": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateDomain" + }, + "read": { + "target": "com.amazonaws.connectcases#GetDomain" + }, + "list": { + "target": "com.amazonaws.connectcases#ListDomains" + }, + "operations": [ + { + "target": "com.amazonaws.connectcases#GetCaseEventConfiguration" + }, + { + "target": "com.amazonaws.connectcases#PutCaseEventConfiguration" + } + ], + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}" + } + } + }, + "com.amazonaws.connectcases#DomainArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#DomainId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#DomainName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#DomainStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Active", + "name": "ACTIVE" + }, + { + "value": "CreationInProgress", + "name": "CREATION_IN_PROGRESS" + }, + { + "value": "CreationFailed", + "name": "CREATION_FAILED" + } + ] + } + }, + "com.amazonaws.connectcases#DomainSummary": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the domain.

", + "smithy.api#required": {} + } + }, + "domainArn": { + "target": "com.amazonaws.connectcases#DomainArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the domain.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#DomainName", + "traits": { + "smithy.api#documentation": "

The name of the domain.

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

Object for the summarized details of the domain.

" + } + }, + "com.amazonaws.connectcases#DomainSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#DomainSummary" + } + }, + "com.amazonaws.connectcases#EventBridgeConfiguration": { + "type": "structure", + "members": { + "enabled": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Indicates whether the to broadcast case event data to the customer.

", + "smithy.api#required": {} + } + }, + "includedData": { + "target": "com.amazonaws.connectcases#EventIncludedData", + "traits": { + "smithy.api#documentation": "

Details of what case and related item data is published through the case event\n stream.

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

Configuration to enable EventBridge case event delivery and determine what data is\n delivered.

" + } + }, + "com.amazonaws.connectcases#EventIncludedData": { + "type": "structure", + "members": { + "caseData": { + "target": "com.amazonaws.connectcases#CaseEventIncludedData", + "traits": { + "smithy.api#documentation": "

Details of what case data is published through the case event stream.

" + } + }, + "relatedItemData": { + "target": "com.amazonaws.connectcases#RelatedItemEventIncludedData", + "traits": { + "smithy.api#documentation": "

Details of what related item data is published through the case event stream.

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

Details of what case and related item data is published through the case event\n stream.

" + } + }, + "com.amazonaws.connectcases#Field": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateField" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateField" + }, + "list": { + "target": "com.amazonaws.connectcases#ListFields" + }, + "operations": [ + { + "target": "com.amazonaws.connectcases#BatchPutFieldOptions" + }, + { + "target": "com.amazonaws.connectcases#ListFieldOptions" + } + ], + "collectionOperations": [ + { + "target": "com.amazonaws.connectcases#BatchGetField" + } + ], + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/field/{fieldId}" + } + } + }, + "com.amazonaws.connectcases#FieldArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#FieldDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 255 + } + } + }, + "com.amazonaws.connectcases#FieldError": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

The field identifier that caused the error.

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

The error code from getting a field.

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

The error message from getting a field.

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

Object for errors on fields.

" + } + }, + "com.amazonaws.connectcases#FieldFilter": { + "type": "union", + "members": { + "equalTo": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "

Object containing field identifier and value information.

" + } + }, + "contains": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "

Object containing field identifier and value information.

" + } + }, + "greaterThan": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "

Object containing field identifier and value information.

" + } + }, + "greaterThanOrEqualTo": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "

Object containing field identifier and value information.

" + } + }, + "lessThan": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "

Object containing field identifier and value information.

" + } + }, + "lessThanOrEqualTo": { + "target": "com.amazonaws.connectcases#FieldValue", + "traits": { + "smithy.api#documentation": "

Object containing field identifier and value information.

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

A filter for fields. Only one value can be provided.

" + } + }, + "com.amazonaws.connectcases#FieldGroup": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Name of the field group.

", + "smithy.api#length": { + "max": 100 + } + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldList", + "traits": { + "smithy.api#documentation": "

Represents an ordered list containing field related information.

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

Object for a group of fields and associated properties.

" + } + }, + "com.amazonaws.connectcases#FieldId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#FieldIdentifier": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

Unique identifier of a field.

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

Object for unique identifier of a field.

" + } + }, + "com.amazonaws.connectcases#FieldIdentifierList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldIdentifier" + } + }, + "com.amazonaws.connectcases#FieldItem": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

Unique identifier of a field.

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

Object for field related information.

" + } + }, + "com.amazonaws.connectcases#FieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldItem" + } + }, + "com.amazonaws.connectcases#FieldName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#FieldNamespace": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "System", + "name": "SYSTEM" + }, + { + "value": "Custom", + "name": "CUSTOM" + } + ] + } + }, + "com.amazonaws.connectcases#FieldOption": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.connectcases#FieldOptionName", + "traits": { + "smithy.api#documentation": "

\n FieldOptionName has max length 100 and disallows trailing spaces.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.connectcases#FieldOptionValue", + "traits": { + "smithy.api#documentation": "

\n FieldOptionValue has max length 100 and must be alphanumeric with hyphens and\n underscores.

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

Describes whether the FieldOption is active (displayed) or inactive.

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

Object for field Options information.

" + } + }, + "com.amazonaws.connectcases#FieldOptionError": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Error message from creating or updating field option.

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

Error code from creating or updating field option.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.connectcases#FieldOptionValue", + "traits": { + "smithy.api#documentation": "

The field option value that caused the error.

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

Object for field Options errors.

" + } + }, + "com.amazonaws.connectcases#FieldOptionErrorList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldOptionError" + } + }, + "com.amazonaws.connectcases#FieldOptionName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#FieldOptionValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#FieldOptionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldOption" + } + }, + "com.amazonaws.connectcases#FieldSummary": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

The unique identifier of a field.

", + "smithy.api#required": {} + } + }, + "fieldArn": { + "target": "com.amazonaws.connectcases#FieldArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the field.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "

Name of the field.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#FieldType", + "traits": { + "smithy.api#documentation": "

The type of a field.

", + "smithy.api#required": {} + } + }, + "namespace": { + "target": "com.amazonaws.connectcases#FieldNamespace", + "traits": { + "smithy.api#documentation": "

The namespace of a field.

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

Object for the summarized details of the field.

" + } + }, + "com.amazonaws.connectcases#FieldSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldSummary" + } + }, + "com.amazonaws.connectcases#FieldType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Text", + "name": "TEXT" + }, + { + "value": "Number", + "name": "NUMBER" + }, + { + "value": "Boolean", + "name": "BOOLEAN" + }, + { + "value": "DateTime", + "name": "DATE_TIME" + }, + { + "value": "SingleSelect", + "name": "SINGLE_SELECT" + } + ] + } + }, + "com.amazonaws.connectcases#FieldValue": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

Unique identifier of a field.

", + "smithy.api#required": {} + } + }, + "value": { + "target": "com.amazonaws.connectcases#FieldValueUnion", + "traits": { + "smithy.api#documentation": "

Union of potential field value types.

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

Object for case field values.

" + } + }, + "com.amazonaws.connectcases#FieldValueList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#FieldValue" + } + }, + "com.amazonaws.connectcases#FieldValueUnion": { + "type": "union", + "members": { + "stringValue": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

String value type.

", + "smithy.api#length": { + "max": 500 + } + } + }, + "doubleValue": { + "target": "smithy.api#Double", + "traits": { + "smithy.api#documentation": "

Can be either null, or have a Double number value type. Only one value can be\n provided.

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

Can be either null, or have a Boolean value type. Only one value can be provided.

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

Object to store union of Field values.

" + } + }, + "com.amazonaws.connectcases#GetCase": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetCaseRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetCaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns information about a specific case if it exists.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases/{caseId}", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetCaseEventConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetCaseEventConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetCaseEventConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the case event publishing configuration.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/case-event-configuration", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetCaseEventConfigurationRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetCaseEventConfigurationResponse": { + "type": "structure", + "members": { + "eventBridge": { + "target": "com.amazonaws.connectcases#EventBridgeConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration to enable EventBridge case event delivery and determine what data is\n delivered.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetCaseRequest": { + "type": "structure", + "members": { + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "

A unique identifier of the case.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldIdentifierList", + "traits": { + "smithy.api#documentation": "

A list of unique field identifiers.

", + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

" + } + } + } + }, + "com.amazonaws.connectcases#GetCaseResponse": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "

A list of detailed field information.

", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier of a template.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

" + } + } + } + }, + "com.amazonaws.connectcases#GetDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetDomainRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns information about a specific domain if it exists.

", + "smithy.api#http": { + "uri": "/domains/{domainId}", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetDomainRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetDomainResponse": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#required": {} + } + }, + "domainArn": { + "target": "com.amazonaws.connectcases#DomainArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the Cases domain.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#DomainName", + "traits": { + "smithy.api#documentation": "

The name of the Cases domain.

", + "smithy.api#required": {} + } + }, + "createdTime": { + "target": "com.amazonaws.connectcases#CreatedTime", + "traits": { + "smithy.api#documentation": "

The timestamp when the Cases domain was created.

", + "smithy.api#required": {} + } + }, + "domainStatus": { + "target": "com.amazonaws.connectcases#DomainStatus", + "traits": { + "smithy.api#documentation": "

The status of the Cases domain.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

" + } + } + } + }, + "com.amazonaws.connectcases#GetFieldResponse": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

Unique identifier of the field.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "

Name of the field.

", + "smithy.api#required": {} + } + }, + "fieldArn": { + "target": "com.amazonaws.connectcases#FieldArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the field.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#FieldDescription", + "traits": { + "smithy.api#documentation": "

Description of the field.

" + } + }, + "type": { + "target": "com.amazonaws.connectcases#FieldType", + "traits": { + "smithy.api#documentation": "

Type of the field.

", + "smithy.api#required": {} + } + }, + "namespace": { + "target": "com.amazonaws.connectcases#FieldNamespace", + "traits": { + "smithy.api#documentation": "

Namespace of the field.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

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

Object to store detailed field information.

" + } + }, + "com.amazonaws.connectcases#GetLayout": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetLayoutRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetLayoutResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the details for the requested layout.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/layouts/{layoutId}", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetLayoutRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the layout.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetLayoutResponse": { + "type": "structure", + "members": { + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the layout.

", + "smithy.api#required": {} + } + }, + "layoutArn": { + "target": "com.amazonaws.connectcases#LayoutArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the newly created layout.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "

The name of the layout. It must be unique.

", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#LayoutContent", + "traits": { + "smithy.api#documentation": "

Information about which fields will be present in the layout, the order of the fields, and\n read-only attribute of the field.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

" + } + } + } + }, + "com.amazonaws.connectcases#GetTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#GetTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#GetTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns the details for the requested template.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/templates/{templateId}", + "method": "POST" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#GetTemplateRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier of a template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#GetTemplateResponse": { + "type": "structure", + "members": { + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier of a template.

", + "smithy.api#required": {} + } + }, + "templateArn": { + "target": "com.amazonaws.connectcases#TemplateArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "

The name of the template.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.connectcases#TemplateDescription", + "traits": { + "smithy.api#documentation": "

A brief description of the template.

" + } + }, + "layoutConfiguration": { + "target": "com.amazonaws.connectcases#LayoutConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration of layouts associated to the template.

" + } + }, + "requiredFields": { + "target": "com.amazonaws.connectcases#RequiredFieldList", + "traits": { + "smithy.api#documentation": "

A list of fields that must contain a value for a case to be successfully created with this\n template.

" + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

" + } + } + } + }, + "com.amazonaws.connectcases#InternalServerException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "retryAfterSeconds": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

Advice to clients on when the call can be safely retried.

", + "smithy.api#httpHeader": "Retry-After" + } + } + }, + "traits": { + "smithy.api#documentation": "

We couldn't process your request because of an issue with the server. Try again\n later.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.connectcases#Layout": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateLayout" + }, + "read": { + "target": "com.amazonaws.connectcases#GetLayout" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateLayout" + }, + "list": { + "target": "com.amazonaws.connectcases#ListLayouts" + }, + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/layout/{layoutId}" + } + } + }, + "com.amazonaws.connectcases#LayoutArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#LayoutConfiguration": { + "type": "structure", + "members": { + "defaultLayout": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "

Unique identifier of a layout.

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

Object to store configuration of layouts associated to the template.

" + } + }, + "com.amazonaws.connectcases#LayoutContent": { + "type": "union", + "members": { + "basic": { + "target": "com.amazonaws.connectcases#BasicLayout", + "traits": { + "smithy.api#documentation": "

Content specific to BasicLayout type. It configures fields in the top panel\n and More Info tab of Cases user interface.

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

Object to store union of different versions of layout content.

" + } + }, + "com.amazonaws.connectcases#LayoutId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#LayoutName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#LayoutSections": { + "type": "structure", + "members": { + "sections": { + "target": "com.amazonaws.connectcases#SectionsList" + } + }, + "traits": { + "smithy.api#documentation": "

Ordered list containing different kinds of sections that can be added. A LayoutSections object can only contain one section.

" + } + }, + "com.amazonaws.connectcases#LayoutSummary": { + "type": "structure", + "members": { + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "

The unique identifier for of the layout.

", + "smithy.api#required": {} + } + }, + "layoutArn": { + "target": "com.amazonaws.connectcases#LayoutArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the layout.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "

The name of the layout.

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

Object for the summarized details of the layout.

" + } + }, + "com.amazonaws.connectcases#LayoutSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#LayoutSummary" + } + }, + "com.amazonaws.connectcases#ListCasesForContact": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListCasesForContactRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListCasesForContactResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists cases for a given contact.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/list-cases-for-contact", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListCasesForContactRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "contactArn": { + "target": "com.amazonaws.connectcases#ContactArn", + "traits": { + "smithy.api#documentation": "

A unique identifier of a contact in Amazon Connect.

", + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

" + } + } + } + }, + "com.amazonaws.connectcases#ListCasesForContactResponse": { + "type": "structure", + "members": { + "cases": { + "target": "com.amazonaws.connectcases#CaseSummaryList", + "traits": { + "smithy.api#documentation": "

A list of Case summary information.

", + "smithy.api#length": { + "max": 10 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + } + } + }, + "com.amazonaws.connectcases#ListDomains": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListDomainsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListDomainsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all cases domains in the Amazon Web Services account. Each list item is a condensed\n summary object of the domain.

", + "smithy.api#http": { + "uri": "/domains-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListDomainsRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 10 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListDomainsResponse": { + "type": "structure", + "members": { + "domains": { + "target": "com.amazonaws.connectcases#DomainSummaryList", + "traits": { + "smithy.api#documentation": "

The Cases domain.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + } + } + }, + "com.amazonaws.connectcases#ListFieldOptions": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListFieldOptionsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListFieldOptionsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all of the field options for a field identifier in the domain.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields/{fieldId}/options-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListFieldOptionsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

The unique identifier of a field.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "values": { + "target": "com.amazonaws.connectcases#ValuesList", + "traits": { + "smithy.api#documentation": "

A list of FieldOption values to filter on for\n ListFieldOptions.

", + "smithy.api#httpQuery": "values" + } + } + } + }, + "com.amazonaws.connectcases#ListFieldOptionsResponse": { + "type": "structure", + "members": { + "options": { + "target": "com.amazonaws.connectcases#FieldOptionsList", + "traits": { + "smithy.api#documentation": "

A list of FieldOption objects.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + } + } + }, + "com.amazonaws.connectcases#ListFields": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListFieldsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListFieldsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all fields in a Cases domain.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListFieldsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListFieldsResponse": { + "type": "structure", + "members": { + "fields": { + "target": "com.amazonaws.connectcases#FieldSummaryList", + "traits": { + "smithy.api#documentation": "

List of detailed field information.

", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + } + } + }, + "com.amazonaws.connectcases#ListLayouts": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListLayoutsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListLayoutsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all layouts in the given cases domain. Each list item is a condensed summary object\n of the layout.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/layouts-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListLayoutsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListLayoutsResponse": { + "type": "structure", + "members": { + "layouts": { + "target": "com.amazonaws.connectcases#LayoutSummaryList", + "traits": { + "smithy.api#documentation": "

The layouts for the domain.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + } + } + }, + "com.amazonaws.connectcases#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists tags for a resource.

", + "smithy.api#http": { + "uri": "/tags/{arn}", + "method": "GET" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcases#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN)

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

" + } + } + } + }, + "com.amazonaws.connectcases#ListTemplates": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#ListTemplatesRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#ListTemplatesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists all of the templates in a Cases domain. Each list item is a condensed summary\n object of the template.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/templates-list", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#ListTemplatesRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "com.amazonaws.connectcases#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

", + "smithy.api#httpQuery": "nextToken" + } + } + } + }, + "com.amazonaws.connectcases#ListTemplatesResponse": { + "type": "structure", + "members": { + "templates": { + "target": "com.amazonaws.connectcases#TemplateSummaryList", + "traits": { + "smithy.api#documentation": "

List of template summary objects.

", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + } + } + }, + "com.amazonaws.connectcases#MaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.connectcases#NextToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 9000 + } + } + }, + "com.amazonaws.connectcases#Order": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Asc", + "name": "ASCENDING" + }, + { + "value": "Desc", + "name": "DESCENDING" + } + ] + } + }, + "com.amazonaws.connectcases#PutCaseEventConfiguration": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#PutCaseEventConfigurationRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#PutCaseEventConfigurationResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

API for adding case event publishing configuration

", + "smithy.api#http": { + "uri": "/domains/{domainId}/case-event-configuration", + "method": "PUT" + } + } + }, + "com.amazonaws.connectcases#PutCaseEventConfigurationRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "eventBridge": { + "target": "com.amazonaws.connectcases#EventBridgeConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration to enable EventBridge case event delivery and determine what data is\n delivered.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#PutCaseEventConfigurationResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#RelatedItem": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId" + }, + "relatedItemId": { + "target": "com.amazonaws.connectcases#RelatedItemId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateRelatedItem" + }, + "list": { + "target": "com.amazonaws.connectcases#SearchRelatedItems" + }, + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/case/{caseId}/related-item/{relatedItemId}" + } + } + }, + "com.amazonaws.connectcases#RelatedItemArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#RelatedItemContent": { + "type": "union", + "members": { + "contact": { + "target": "com.amazonaws.connectcases#ContactContent", + "traits": { + "smithy.api#documentation": "

Represents the content of a contact to be returned to agents.

" + } + }, + "comment": { + "target": "com.amazonaws.connectcases#CommentContent", + "traits": { + "smithy.api#documentation": "

Represents the content of a comment to be returned to agents.

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

Represents the content of a particular type of related item.

" + } + }, + "com.amazonaws.connectcases#RelatedItemEventIncludedData": { + "type": "structure", + "members": { + "includeContent": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Details of what related item data is published through the case event stream.

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

Details of what related item data is published through the case event stream.

" + } + }, + "com.amazonaws.connectcases#RelatedItemFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#RelatedItemTypeFilter" + } + }, + "com.amazonaws.connectcases#RelatedItemId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#RelatedItemInputContent": { + "type": "union", + "members": { + "contact": { + "target": "com.amazonaws.connectcases#Contact", + "traits": { + "smithy.api#documentation": "

Object representing a contact in Amazon Connect as an API request field.

" + } + }, + "comment": { + "target": "com.amazonaws.connectcases#CommentContent", + "traits": { + "smithy.api#documentation": "

Represents the content of a comment to be returned to agents.

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

Represents the content of a related item to be created.

" + } + }, + "com.amazonaws.connectcases#RelatedItemType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Contact", + "name": "CONTACT" + }, + { + "value": "Comment", + "name": "COMMENT" + } + ] + } + }, + "com.amazonaws.connectcases#RelatedItemTypeFilter": { + "type": "union", + "members": { + "contact": { + "target": "com.amazonaws.connectcases#ContactFilter", + "traits": { + "smithy.api#documentation": "

A filter for related items of type Contact.

" + } + }, + "comment": { + "target": "com.amazonaws.connectcases#CommentFilter", + "traits": { + "smithy.api#documentation": "

A filter for related items of type Comment.

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

The list of types of related items and their parameters to use for filtering.

" + } + }, + "com.amazonaws.connectcases#RequiredField": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

Unique identifier of a field.

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

List of fields that must have a value provided to create a case.

" + } + }, + "com.amazonaws.connectcases#RequiredFieldList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#RequiredField" + }, + "traits": { + "smithy.api#length": { + "max": 100 + } + } + }, + "com.amazonaws.connectcases#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + }, + "resourceId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

Unique identifier of the resource affected.

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

Type of the resource affected.

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

We couldn't find the requested resource. Check that your resources exists and were created\n in the same Amazon Web Services Region as your request, and try your request again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.connectcases#SearchCases": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#SearchCasesRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#SearchCasesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Searches for cases within their associated Cases domain. Search results are returned\n as a paginated list of abridged case documents.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases-search", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "cases" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#SearchCasesRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The maximum number of cases to return. The current maximum supported value is 25. This is\n also the default value when no other value is provided.

", + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

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

A word or phrase used to perform a quick search.

", + "smithy.api#length": { + "min": 0, + "max": 255 + } + } + }, + "filter": { + "target": "com.amazonaws.connectcases#CaseFilter", + "traits": { + "smithy.api#documentation": "

A list of filter objects.

" + } + }, + "sorts": { + "target": "com.amazonaws.connectcases#SortList", + "traits": { + "smithy.api#documentation": "

A list of sorts where each sort specifies a field and their sort order to be applied to\n the results.

", + "smithy.api#length": { + "min": 0, + "max": 2 + } + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldIdentifierList", + "traits": { + "smithy.api#documentation": "

The list of field identifiers to be returned as part of the response.

", + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + } + } + }, + "com.amazonaws.connectcases#SearchCasesResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + }, + "cases": { + "target": "com.amazonaws.connectcases#SearchCasesResponseItemList", + "traits": { + "smithy.api#documentation": "

A list of case documents where each case contains the properties CaseId and\n Fields where each field is a complex union structure.

", + "smithy.api#length": { + "max": 25 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#SearchCasesResponseItem": { + "type": "structure", + "members": { + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "

A unique identifier of the case.

", + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier of a template.

", + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "

List of case field values.

", + "smithy.api#length": { + "max": 10 + }, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

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

A list of items that represent cases.

" + } + }, + "com.amazonaws.connectcases#SearchCasesResponseItemList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#SearchCasesResponseItem" + }, + "traits": { + "smithy.api#sparse": {} + } + }, + "com.amazonaws.connectcases#SearchRelatedItems": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Searches for related items that are associated with a case.

\n \n

If no filters are provided, this returns all related items associated with a\n case.

\n
", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases/{caseId}/related-items-search", + "method": "POST" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "relatedItems" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.connectcases#SearchRelatedItemsRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "

A unique identifier of the case.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#default": null, + "smithy.api#documentation": "

The maximum number of results to return per page.

", + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. Use the value returned in the previous \nresponse in the next request to retrieve the next set of results.

" + } + }, + "filters": { + "target": "com.amazonaws.connectcases#RelatedItemFilterList", + "traits": { + "smithy.api#documentation": "

The list of types of related items and their parameters to use for filtering.

", + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + } + } + }, + "com.amazonaws.connectcases#SearchRelatedItemsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.connectcases#NextToken", + "traits": { + "smithy.api#documentation": "

The token for the next set of results. This is null if there are no more results to return.

" + } + }, + "relatedItems": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsResponseItemList", + "traits": { + "smithy.api#documentation": "

A list of items related to a case.

", + "smithy.api#length": { + "max": 25 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#SearchRelatedItemsResponseItem": { + "type": "structure", + "members": { + "relatedItemId": { + "target": "com.amazonaws.connectcases#RelatedItemId", + "traits": { + "smithy.api#documentation": "

Unique identifier of a related item.

", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.connectcases#RelatedItemType", + "traits": { + "smithy.api#documentation": "

Type of a related item.

", + "smithy.api#required": {} + } + }, + "associationTime": { + "target": "com.amazonaws.connectcases#AssociationTime", + "traits": { + "smithy.api#documentation": "

Time at which a related item was associated with a case.

", + "smithy.api#required": {} + } + }, + "content": { + "target": "com.amazonaws.connectcases#RelatedItemContent", + "traits": { + "smithy.api#documentation": "

Represents the content of a particular type of related item.

", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

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

A list of items that represent RelatedItems.

" + } + }, + "com.amazonaws.connectcases#SearchRelatedItemsResponseItemList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#SearchRelatedItemsResponseItem" + }, + "traits": { + "smithy.api#sparse": {} + } + }, + "com.amazonaws.connectcases#Section": { + "type": "union", + "members": { + "fieldGroup": { + "target": "com.amazonaws.connectcases#FieldGroup", + "traits": { + "smithy.api#documentation": "

Consists of a group of fields and associated properties.

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

This represents a sections within a panel or tab of the page layout.

" + } + }, + "com.amazonaws.connectcases#SectionsList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Section" + }, + "traits": { + "smithy.api#documentation": "

Ordered list containing different kinds of sections that can be added.

", + "smithy.api#length": { + "max": 1 + } + } + }, + "com.amazonaws.connectcases#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The service quota has been exceeded. For a list of service quotas, see Amazon Connect Service Quotas in the Amazon Connect\n Administrator Guide.

", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.connectcases#Sort": { + "type": "structure", + "members": { + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

Unique identifier of a field.

", + "smithy.api#required": {} + } + }, + "sortOrder": { + "target": "com.amazonaws.connectcases#Order", + "traits": { + "smithy.api#documentation": "

A structured set of sort terms

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

A structured set of sort terms.

" + } + }, + "com.amazonaws.connectcases#SortList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Sort" + }, + "traits": { + "smithy.api#documentation": "/@documentation(\"The templateId\")" + } + }, + "com.amazonaws.connectcases#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^(?!aws:)[a-zA-Z+-=._:/]+$" + } + }, + "com.amazonaws.connectcases#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.connectcases#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#TagResourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Adds tags to a resource.

", + "smithy.api#http": { + "uri": "/tags/{arn}", + "method": "POST" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#TagResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcases#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN)

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.connectcases#Tags", + "traits": { + "smithy.api#documentation": "

A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#Tags": { + "type": "map", + "key": { + "target": "smithy.api#String" + }, + "value": { + "target": "smithy.api#String" + }, + "traits": { + "smithy.api#sparse": {} + } + }, + "com.amazonaws.connectcases#Template": { + "type": "resource", + "identifiers": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId" + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId" + } + }, + "create": { + "target": "com.amazonaws.connectcases#CreateTemplate" + }, + "read": { + "target": "com.amazonaws.connectcases#GetTemplate" + }, + "update": { + "target": "com.amazonaws.connectcases#UpdateTemplate" + }, + "list": { + "target": "com.amazonaws.connectcases#ListTemplates" + }, + "traits": { + "aws.api#arn": { + "template": "domain/{domainId}/template/{templateId}" + } + } + }, + "com.amazonaws.connectcases#TemplateArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#TemplateDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 255 + } + } + }, + "com.amazonaws.connectcases#TemplateId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 500 + } + } + }, + "com.amazonaws.connectcases#TemplateName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + }, + "smithy.api#pattern": "^.*[\\S]$" + } + }, + "com.amazonaws.connectcases#TemplateSummary": { + "type": "structure", + "members": { + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the template.

", + "smithy.api#required": {} + } + }, + "templateArn": { + "target": "com.amazonaws.connectcases#TemplateArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the template.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "

The template name.

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

Template summary information.

" + } + }, + "com.amazonaws.connectcases#TemplateSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#TemplateSummary" + } + }, + "com.amazonaws.connectcases#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The rate has been exceeded for this API. Please try again after a few minutes.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.connectcases#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UntagResourceRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Untags a resource.

", + "smithy.api#http": { + "uri": "/tags/{arn}", + "method": "DELETE" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#UntagResourceRequest": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.connectcases#Arn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN)

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.connectcases#TagKeyList", + "traits": { + "smithy.api#documentation": "

List of tag keys.

", + "smithy.api#httpQuery": "tagKeys", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#UpdateCase": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UpdateCaseRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#UpdateCaseResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the values of fields on a case. Fields to be updated are\n received as an array of id/value pairs identical to the CreateCase input .

\n

If the action is successful, the service sends back an HTTP 200 response with an empty\n HTTP body.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/cases/{caseId}", + "method": "PUT" + } + } + }, + "com.amazonaws.connectcases#UpdateCaseRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "caseId": { + "target": "com.amazonaws.connectcases#CaseId", + "traits": { + "smithy.api#documentation": "

A unique identifier of the case.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fields": { + "target": "com.amazonaws.connectcases#FieldValueList", + "traits": { + "smithy.api#documentation": "

An array of objects with fieldId (matching ListFields/DescribeField) and\n value union data, structured identical to CreateCase.

", + "smithy.api#length": { + "max": 100 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.connectcases#UpdateCaseResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#UpdateField": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UpdateFieldRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#UpdateFieldResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the properties of an existing field.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/fields/{fieldId}", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#UpdateFieldRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "fieldId": { + "target": "com.amazonaws.connectcases#FieldId", + "traits": { + "smithy.api#documentation": "

The unique identifier of a field.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#FieldName", + "traits": { + "smithy.api#documentation": "

The name of the field.

" + } + }, + "description": { + "target": "com.amazonaws.connectcases#FieldDescription", + "traits": { + "smithy.api#documentation": "

The description of a field.

" + } + } + } + }, + "com.amazonaws.connectcases#UpdateFieldResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#UpdateLayout": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UpdateLayoutRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#UpdateLayoutResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the attributes of an existing layout.

\n

If the action is successful, the service sends back an HTTP 200 response with an empty\n HTTP body.

\n

A ValidationException is returned when you add non-existent\n fieldIds to a layout.

\n \n

Title and Status fields cannot be part of layouts because they are not\n configurable.

\n
", + "smithy.api#http": { + "uri": "/domains/{domainId}/layouts/{layoutId}", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#UpdateLayoutRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "layoutId": { + "target": "com.amazonaws.connectcases#LayoutId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the layout.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#LayoutName", + "traits": { + "smithy.api#documentation": "

The name of the layout. It must be unique per domain.

" + } + }, + "content": { + "target": "com.amazonaws.connectcases#LayoutContent", + "traits": { + "smithy.api#documentation": "

Information about which fields will be present in the layout, the order of the fields, and\n a read-only attribute of the field.

" + } + } + } + }, + "com.amazonaws.connectcases#UpdateLayoutResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#UpdateTemplate": { + "type": "operation", + "input": { + "target": "com.amazonaws.connectcases#UpdateTemplateRequest" + }, + "output": { + "target": "com.amazonaws.connectcases#UpdateTemplateResponse" + }, + "errors": [ + { + "target": "com.amazonaws.connectcases#AccessDeniedException" + }, + { + "target": "com.amazonaws.connectcases#ConflictException" + }, + { + "target": "com.amazonaws.connectcases#InternalServerException" + }, + { + "target": "com.amazonaws.connectcases#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.connectcases#ThrottlingException" + }, + { + "target": "com.amazonaws.connectcases#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates the attributes of an existing template. The template attributes that can be\n modified include name, description, layouts,\n and requiredFields. At least one of these\n attributes must not be null. If a null value is provided for a given attribute, that attribute\n is ignored and its current value is preserved.

", + "smithy.api#http": { + "uri": "/domains/{domainId}/templates/{templateId}", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.connectcases#UpdateTemplateRequest": { + "type": "structure", + "members": { + "domainId": { + "target": "com.amazonaws.connectcases#DomainId", + "traits": { + "smithy.api#documentation": "

The unique identifier of the Cases domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "templateId": { + "target": "com.amazonaws.connectcases#TemplateId", + "traits": { + "smithy.api#documentation": "

A unique identifier for the template.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.connectcases#TemplateName", + "traits": { + "smithy.api#documentation": "

The name of the template. It must be unique per domain.

" + } + }, + "description": { + "target": "com.amazonaws.connectcases#TemplateDescription", + "traits": { + "smithy.api#documentation": "

A brief description of the template.

" + } + }, + "layoutConfiguration": { + "target": "com.amazonaws.connectcases#LayoutConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration of layouts associated to the template.

" + } + }, + "requiredFields": { + "target": "com.amazonaws.connectcases#RequiredFieldList", + "traits": { + "smithy.api#documentation": "

A list of fields that must contain a value for a case to be successfully created with this\n template.

" + } + } + } + }, + "com.amazonaws.connectcases#UpdateTemplateResponse": { + "type": "structure", + "members": {} + }, + "com.amazonaws.connectcases#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The request isn't valid. Check the syntax and try again.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.connectcases#Value": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 100 + } + } + }, + "com.amazonaws.connectcases#ValuesList": { + "type": "list", + "member": { + "target": "com.amazonaws.connectcases#Value" + }, + "traits": { + "smithy.api#length": { + "max": 1 + } + } + } + } +} diff --git a/codegen/sdk/aws-models/connectparticipant.json b/codegen/sdk/aws-models/connectparticipant.json index 061b5d6e97c..4576665361c 100644 --- a/codegen/sdk/aws-models/connectparticipant.json +++ b/codegen/sdk/aws-models/connectparticipant.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -47,21 +47,6 @@ }, "com.amazonaws.connectparticipant#AmazonConnectParticipantServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ConnectParticipant", - "arnNamespace": "connect", - "cloudFormationName": "ConnectParticipant", - "cloudTrailEventSource": "connectparticipant.amazonaws.com", - "endpointPrefix": "participant.connect" - }, - "aws.auth#sigv4": { - "name": "execute-api" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage\n a customer contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect enables customer contacts through voice or chat.

\n\n

The APIs described here are used by chat participants, such as agents and\n customers.

", - "smithy.api#title": "Amazon Connect Participant Service" - }, "version": "2018-09-07", "operations": [ { @@ -88,7 +73,22 @@ { "target": "com.amazonaws.connectparticipant#StartAttachmentUpload" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ConnectParticipant", + "arnNamespace": "connect", + "cloudFormationName": "ConnectParticipant", + "cloudTrailEventSource": "connectparticipant.amazonaws.com", + "endpointPrefix": "participant.connect" + }, + "aws.auth#sigv4": { + "name": "execute-api" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage\n a customer contact center and provide reliable customer engagement at any scale.

\n

Amazon Connect enables customer contacts through voice or chat.

\n\n

The APIs described here are used by chat participants, such as agents and\n customers.

", + "smithy.api#title": "Amazon Connect Participant Service" + } }, "com.amazonaws.connectparticipant#ArtifactId": { "type": "string", @@ -174,6 +174,7 @@ "com.amazonaws.connectparticipant#AttachmentSizeInBytes": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -186,10 +187,7 @@ } }, "com.amazonaws.connectparticipant#Bool": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.connectparticipant#ChatContent": { "type": "string", @@ -677,7 +675,7 @@ "MaxResults": { "target": "com.amazonaws.connectparticipant#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return in the page. Default: 10.

" } }, @@ -831,6 +829,7 @@ "com.amazonaws.connectparticipant#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -843,6 +842,7 @@ "com.amazonaws.connectparticipant#MostRecent": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -1187,6 +1187,7 @@ "AttachmentSizeInBytes": { "target": "com.amazonaws.connectparticipant#AttachmentSizeInBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the attachment in bytes.

", "smithy.api#required": {} } @@ -1251,6 +1252,7 @@ "MostRecent": { "target": "com.amazonaws.connectparticipant#MostRecent", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The start position of the most recent message where you want to start.

" } } diff --git a/codegen/sdk/aws-models/controltower.json b/codegen/sdk/aws-models/controltower.json index c5970988a22..a3eabab406b 100644 --- a/codegen/sdk/aws-models/controltower.json +++ b/codegen/sdk/aws-models/controltower.json @@ -1,8 +1,23 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.controltower#AWSControlTowerApis": { "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.controltower#DisableControl" + }, + { + "target": "com.amazonaws.controltower#EnableControl" + }, + { + "target": "com.amazonaws.controltower#GetControlOperation" + }, + { + "target": "com.amazonaws.controltower#ListEnabledControls" + } + ], "traits": { "aws.api#service": { "sdkId": "ControlTower", @@ -36,22 +51,7 @@ }, "smithy.api#documentation": "

These interfaces allow you to apply the AWS library of pre-defined controls to your\norganizational units, programmatically. In this context, controls are the same as AWS Control Tower guardrails.

\n

To call these APIs, you'll need to know:

\n \n

\n To get the ControlARN for your AWS Control Tower guardrail:\n

\n

The ControlARN contains the control name which is specified in each guardrail. For a list of control names for Strongly recommended and Elective guardrails, see Resource identifiers for APIs and guardrails in the Automating tasks section of the AWS Control Tower User Guide. Remember that Mandatory guardrails cannot be added or removed.

\n \n

\n ARN format: \n arn:aws:controltower:{REGION}::control/{CONTROL_NAME}\n

\n

\n Example:\n

\n

\n arn:aws:controltower:us-west-2::control/AWS-GR_AUTOSCALING_LAUNCH_CONFIG_PUBLIC_IP_DISABLED\n

\n
\n

\n To get the ARN for an OU:\n

\n

In the AWS Organizations console, you can find the ARN for the OU on the Organizational unit details page associated with that OU.

\n \n

\n OU ARN format:\n

\n

\n arn:${Partition}:organizations::${MasterAccountId}:ou/o-${OrganizationId}/ou-${OrganizationalUnitId}\n

\n
\n

\n Details and examples\n

\n \n

To view the open source resource repository on GitHub, see aws-cloudformation/aws-cloudformation-resource-providers-controltower\n

\n

\n Recording API Requests\n

\n

AWS Control Tower supports AWS CloudTrail, a service that records AWS API calls for your AWS account and delivers log files to an Amazon S3 bucket. By using information collected by CloudTrail, you can determine which requests the AWS Control Tower service received, who made the request and when, and so on. For more about AWS Control Tower and its support for CloudTrail, see Logging AWS Control Tower Actions with AWS CloudTrail in the AWS Control Tower User Guide. To learn more about CloudTrail, including how to turn it on and find your log files, see the AWS CloudTrail User Guide.

", "smithy.api#title": "AWS Control Tower" - }, - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.controltower#DisableControl" - }, - { - "target": "com.amazonaws.controltower#EnableControl" - }, - { - "target": "com.amazonaws.controltower#GetControlOperation" - }, - { - "target": "com.amazonaws.controltower#ListEnabledControls" - } - ] + } }, "com.amazonaws.controltower#AccessDeniedException": { "type": "structure", @@ -493,7 +493,6 @@ "com.amazonaws.controltower#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -613,4 +612,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/cost-explorer.json b/codegen/sdk/aws-models/cost-explorer.json index 62f63285045..92967a31e98 100644 --- a/codegen/sdk/aws-models/cost-explorer.json +++ b/codegen/sdk/aws-models/cost-explorer.json @@ -3207,8 +3207,6 @@ "Context": { "target": "com.amazonaws.costexplorer#Context", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "COST_AND_USAGE", "smithy.api#documentation": "

The context for the call to GetDimensionValues. This can be RESERVATIONS or COST_AND_USAGE. \n\t\t\tThe default value is COST_AND_USAGE. If the context is set to RESERVATIONS, the resulting dimension values \n\t\t\tcan be used in the GetReservationUtilization operation. If the context is set to COST_AND_USAGE, \n\t\t\tthe resulting dimension values can be used in the GetCostAndUsage operation.

\n\t\t

If you set the context to COST_AND_USAGE, you can use the following \n dimensions for searching:

\n \n

If you set the context to RESERVATIONS, you can use the following \n dimensions for searching:

\n \n

If you set the context to SAVINGS_PLANS, you can use the following dimensions for searching:

\n " } }, @@ -3525,8 +3523,6 @@ "Granularity": { "target": "com.amazonaws.costexplorer#Granularity", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "DAILY", "smithy.api#documentation": "

If GroupBy is set, Granularity can't be set. If Granularity isn't set, \n\t\t\tthe response object doesn't include Granularity, either MONTHLY or DAILY. \n\t\t\tIf both GroupBy and Granularity aren't set, GetReservationUtilization defaults to DAILY.

\n\t\t

The GetReservationUtilization operation supports only DAILY and MONTHLY granularities.

" } }, @@ -5877,8 +5873,6 @@ "RecommendationTarget": { "target": "com.amazonaws.costexplorer#RecommendationTarget", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "SAME_INSTANCE_FAMILY", "smithy.api#documentation": "

The option to see recommendations within the same instance family or recommendations\n for instances across other families. The default value is\n SAME_INSTANCE_FAMILY.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/customer-profiles.json b/codegen/sdk/aws-models/customer-profiles.json index e9318fd1082..f9a4dac6e19 100644 --- a/codegen/sdk/aws-models/customer-profiles.json +++ b/codegen/sdk/aws-models/customer-profiles.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -249,6 +249,7 @@ "RecordsProcessed": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of records processed in APPFLOW_INTEGRATION workflow.

", "smithy.api#required": {} } @@ -256,6 +257,7 @@ "StepsCompleted": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total steps completed in APPFLOW_INTEGRATION workflow.

", "smithy.api#required": {} } @@ -263,6 +265,7 @@ "TotalSteps": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total steps in APPFLOW_INTEGRATION workflow.

", "smithy.api#required": {} } @@ -299,6 +302,7 @@ "RecordsProcessed": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of records processed during execution of workflow step for APPFLOW_INTEGRATION workflow.

", "smithy.api#required": {} } @@ -969,21 +973,6 @@ }, "com.amazonaws.customerprofiles#CustomerProfiles_20200815": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Customer Profiles", - "arnNamespace": "profile", - "cloudFormationName": "CustomerProfiles", - "cloudTrailEventSource": "customerprofiles.amazonaws.com", - "endpointPrefix": "profile" - }, - "aws.auth#sigv4": { - "name": "profile" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Connect Customer Profiles\n

Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information\n about the Amazon Connect Customer Profiles API, including supported operations, data types,\n parameters, and schemas.

\n

Amazon Connect Customer Profiles is a unified customer profile for your contact center that has\n pre-built connectors powered by AppFlow that make it easy to combine customer information\n from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your\n enterprise resource planning (ERP), with contact history from your Amazon Connect contact\n center.

\n

If you're new to Amazon Connect , you might find it helpful to also review the Amazon Connect Administrator Guide.

", - "smithy.api#title": "Amazon Connect Customer Profiles" - }, "version": "2020-08-15", "operations": [ { @@ -1100,7 +1089,22 @@ { "target": "com.amazonaws.customerprofiles#UpdateProfile" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Customer Profiles", + "arnNamespace": "profile", + "cloudFormationName": "CustomerProfiles", + "cloudTrailEventSource": "customerprofiles.amazonaws.com", + "endpointPrefix": "profile" + }, + "aws.auth#sigv4": { + "name": "profile" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Connect Customer Profiles\n

Welcome to the Amazon Connect Customer Profiles API Reference. This guide provides information\n about the Amazon Connect Customer Profiles API, including supported operations, data types,\n parameters, and schemas.

\n

Amazon Connect Customer Profiles is a unified customer profile for your contact center that has\n pre-built connectors powered by AppFlow that make it easy to combine customer information\n from third party applications, such as Salesforce (CRM), ServiceNow (ITSM), and your\n enterprise resource planning (ERP), with contact history from your Amazon Connect contact\n center.

\n

If you're new to Amazon Connect , you might find it helpful to also review the Amazon Connect Administrator Guide.

", + "smithy.api#title": "Amazon Connect Customer Profiles" + } }, "com.amazonaws.customerprofiles#DataPullMode": { "type": "string", @@ -1626,24 +1630,28 @@ "ProfileCount": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of profiles currently in the domain.

" } }, "MeteringProfileCount": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of profiles that you are currently paying for in the domain. If you have more\n than 100 objects associated with a single profile, that profile counts as two profiles. If\n you have more than 200 objects, that profile counts as three, and so on.

" } }, "ObjectCount": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects in domain.

" } }, "TotalSize": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size, in bytes, of all objects in the domain.

" } } @@ -1653,15 +1661,11 @@ } }, "com.amazonaws.customerprofiles#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.customerprofiles#Double0To1": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 1.0 @@ -2040,18 +2044,21 @@ "NumberOfMatchesInSample": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of match groups in the domain that have been reviewed in this preview dry\n run.

" } }, "NumberOfProfilesInSample": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of profiles found in this preview dry run.

" } }, "NumberOfProfilesWillBeMerged": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of profiles that would be merged if this wasn't a preview dry run.

" } } @@ -2592,6 +2599,7 @@ "AllowProfileCreation": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.

" } }, @@ -2704,6 +2712,7 @@ "AllowProfileCreation": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.

" } }, @@ -3150,18 +3159,21 @@ "NumberOfProfilesReviewed": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of profiles reviewed.

" } }, "NumberOfMatchesFound": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of matches found.

" } }, "NumberOfMergesDone": { "target": "com.amazonaws.customerprofiles#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of merges completed.

" } } @@ -5091,6 +5103,7 @@ "AllowProfileCreation": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.

" } }, @@ -5158,6 +5171,7 @@ "AllowProfileCreation": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a profile should be created when data is received if one doesn’t exist\n for an object of this type. The default is FALSE. If the AllowProfileCreation\n flag is set to FALSE, then the service tries to fetch a standard profile and\n associate this object with the profile. If it is set to TRUE, and if no match\n is found, then the service creates a new standard profile.

" } }, @@ -5475,12 +5489,14 @@ "EnableDynamicFieldUpdate": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The flag that enables dynamic fetching of new (recently added) fields in the Salesforce\n objects while running a flow.

" } }, "IncludeDeletedRecords": { "target": "com.amazonaws.customerprofiles#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon AppFlow includes deleted files in the flow run.

" } } @@ -5502,6 +5518,7 @@ "com.amazonaws.customerprofiles#ScheduleOffset": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 36000 @@ -5545,7 +5562,7 @@ "ScheduleOffset": { "target": "com.amazonaws.customerprofiles#ScheduleOffset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Specifies the optional offset that is added to the time interval for a\n schedule-triggered flow.

" } }, @@ -6817,7 +6834,10 @@ } }, "com.amazonaws.customerprofiles#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.customerprofiles#encryptionKey": { "type": "string", @@ -6831,7 +6851,6 @@ "com.amazonaws.customerprofiles#expirationDaysInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1098 @@ -6839,12 +6858,14 @@ } }, "com.amazonaws.customerprofiles#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.customerprofiles#matchesNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6853,7 +6874,6 @@ "com.amazonaws.customerprofiles#maxSize100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -6874,10 +6894,7 @@ } }, "com.amazonaws.customerprofiles#optionalBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.customerprofiles#requestValueList": { "type": "list", diff --git a/codegen/sdk/aws-models/data-pipeline.json b/codegen/sdk/aws-models/data-pipeline.json index c616a05b73c..0de1c8de114 100644 --- a/codegen/sdk/aws-models/data-pipeline.json +++ b/codegen/sdk/aws-models/data-pipeline.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -353,6 +353,9 @@ "input": { "target": "com.amazonaws.datapipeline#DeletePipelineInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.datapipeline#InternalServiceError" @@ -434,6 +437,7 @@ "evaluateExpressions": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.

" } }, @@ -467,6 +471,7 @@ "hasMoreResults": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there are more results to return.

" } } @@ -812,6 +817,7 @@ "hasMoreResults": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there are more results that can be obtained by a subsequent call.

" } } @@ -1234,6 +1240,7 @@ "errored": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there were validation errors, and the pipeline definition is stored but cannot be \n activated until you correct the pipeline and call PutPipelineDefinition to commit the corrected pipeline.

", "smithy.api#required": {} } @@ -1347,6 +1354,7 @@ "hasMoreResults": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there are more results that can be obtained by a subsequent call.

" } } @@ -1466,6 +1474,7 @@ "canceled": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the calling task runner should cancel processing of the task. The task runner does not need to call SetTaskStatus for canceled tasks.

", "smithy.api#required": {} } @@ -1528,6 +1537,7 @@ "terminate": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the calling task runner should terminate.

", "smithy.api#required": {} } @@ -1568,6 +1578,9 @@ "input": { "target": "com.amazonaws.datapipeline#SetStatusInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.datapipeline#InternalServiceError" @@ -1857,6 +1870,7 @@ "errored": { "target": "com.amazonaws.datapipeline#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there were validation errors.

", "smithy.api#required": {} } @@ -1939,14 +1953,14 @@ } }, "com.amazonaws.datapipeline#boolean": { - "type": "boolean" - }, - "com.amazonaws.datapipeline#cancelActive": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.datapipeline#cancelActive": { + "type": "boolean" + }, "com.amazonaws.datapipeline#errorMessage": { "type": "string" }, @@ -1993,10 +2007,7 @@ } }, "com.amazonaws.datapipeline#int": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.datapipeline#longString": { "type": "string", diff --git a/codegen/sdk/aws-models/database-migration-service.json b/codegen/sdk/aws-models/database-migration-service.json index 32459c14cab..a1ae590e147 100644 --- a/codegen/sdk/aws-models/database-migration-service.json +++ b/codegen/sdk/aws-models/database-migration-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -56,12 +56,14 @@ "Used": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount currently used toward the quota maximum.

" } }, "Max": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum allowed value for the quota.

" } } @@ -127,24 +129,6 @@ }, "com.amazonaws.databasemigrationservice#AmazonDMSv20160101": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Database Migration Service", - "arnNamespace": "dms", - "cloudFormationName": "DMS", - "cloudTrailEventSource": "databasemigrationservice.amazonaws.com", - "endpointPrefix": "dms" - }, - "aws.auth#sigv4": { - "name": "dms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Database Migration Service\n

Database Migration Service (DMS) can migrate your data to and from the most\n widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL\n Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise\n (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as\n heterogeneous migrations between different database platforms, such as Oracle to MySQL or\n SQL Server to PostgreSQL.

\n

For more information about DMS, see What Is Database Migration Service?\n in the Database Migration Service User Guide.\n

", - "smithy.api#title": "AWS Database Migration Service", - "smithy.api#xmlNamespace": { - "uri": "http://dms.amazonaws.com/doc/2016-01-01/" - } - }, "version": "2016-01-01", "operations": [ { @@ -342,7 +326,25 @@ { "target": "com.amazonaws.databasemigrationservice#UpdateSubscriptionsToEventBridge" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Database Migration Service", + "arnNamespace": "dms", + "cloudFormationName": "DMS", + "cloudTrailEventSource": "databasemigrationservice.amazonaws.com", + "endpointPrefix": "dms" + }, + "aws.auth#sigv4": { + "name": "dms" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Database Migration Service\n

Database Migration Service (DMS) can migrate your data to and from the most\n widely used commercial and open-source databases such as Oracle, PostgreSQL, Microsoft SQL\n Server, Amazon Redshift, MariaDB, Amazon Aurora, MySQL, and SAP Adaptive Server Enterprise\n (ASE). The service supports homogeneous migrations such as Oracle to Oracle, as well as\n heterogeneous migrations between different database platforms, such as Oracle to MySQL or\n SQL Server to PostgreSQL.

\n

For more information about DMS, see What Is Database Migration Service?\n in the Database Migration Service User Guide.\n

", + "smithy.api#title": "AWS Database Migration Service", + "smithy.api#xmlNamespace": { + "uri": "http://dms.amazonaws.com/doc/2016-01-01/" + } + } }, "com.amazonaws.databasemigrationservice#ApplyPendingMaintenanceAction": { "type": "operation", @@ -465,14 +467,14 @@ } }, "com.amazonaws.databasemigrationservice#Boolean": { - "type": "boolean" - }, - "com.amazonaws.databasemigrationservice#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.databasemigrationservice#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.databasemigrationservice#CancelReplicationTaskAssessmentRun": { "type": "operation", "input": { @@ -4823,10 +4825,7 @@ } }, "com.amazonaws.databasemigrationservice#DoubleOptional": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.databasemigrationservice#DynamoDbSettings": { "type": "structure", @@ -5377,6 +5376,7 @@ "Enabled": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates if the event subscription is enabled.

" } } @@ -5771,7 +5771,10 @@ } }, "com.amazonaws.databasemigrationservice#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databasemigrationservice#IntegerList": { "type": "list", @@ -5780,10 +5783,7 @@ } }, "com.amazonaws.databasemigrationservice#IntegerOptional": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.databasemigrationservice#InvalidCertificateFault": { "type": "structure", @@ -6211,14 +6211,14 @@ } }, "com.amazonaws.databasemigrationservice#Long": { - "type": "long" - }, - "com.amazonaws.databasemigrationservice#LongOptional": { "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.databasemigrationservice#LongOptional": { + "type": "long" + }, "com.amazonaws.databasemigrationservice#MessageFormatValue": { "type": "string", "traits": { @@ -6746,6 +6746,7 @@ "ApplyImmediately": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the changes should be applied immediately or during the next\n maintenance window.

" } }, @@ -6782,6 +6783,7 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that major version upgrades are allowed. Changing this parameter does not\n result in an outage, and the change is asynchronously applied as soon as possible.

\n

This parameter must be set to true when specifying a value for the\n EngineVersion parameter that is a different major version than the\n replication instance's current version.

" } }, @@ -7587,24 +7589,28 @@ "MinAllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of storage (in gigabytes) that can be allocated for the replication\n instance.

" } }, "MaxAllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of storage (in gigabytes) that can be allocated for the replication\n instance.

" } }, "DefaultAllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The default amount of storage (in gigabytes) that is allocated for the replication\n instance.

" } }, "IncludedAllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage (in gigabytes) that is allocated for the replication\n instance.

" } }, @@ -7939,6 +7945,7 @@ "Port": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Transmission Control Protocol (TCP) port for the endpoint.

", "smithy.api#required": {} } @@ -8452,6 +8459,7 @@ "AllocatedStorage": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage (in gigabytes) that is allocated for the replication\n instance.

" } }, @@ -8494,6 +8502,7 @@ "MultiAZ": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the replication instance is a Multi-AZ deployment. You can't set the\n AvailabilityZone parameter if the Multi-AZ parameter is set to\n true.

" } }, @@ -8506,6 +8515,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value indicating if minor version upgrades will be automatically applied to the\n instance.

" } }, @@ -8550,6 +8560,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the accessibility options for the replication instance. A value of\n true represents an instance with a public IP address. A value of\n false represents an instance with a private IP address. The default value\n is true.

" } }, @@ -8615,6 +8626,7 @@ "ReplicationInstanceTaskLogSize": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size, in bytes, of the replication task log.

" } } @@ -8996,12 +9008,14 @@ "IndividualAssessmentCount": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of individual assessments that are specified to run.

" } }, "IndividualAssessmentCompletedCount": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of individual assessments that have completed, successfully or not.

" } } @@ -9069,36 +9083,42 @@ "FullLoadProgressPercent": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percent complete for the full load migration task.

" } }, "ElapsedTimeMillis": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The elapsed time of the task, in milliseconds.

" } }, "TablesLoaded": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tables loaded for this task.

" } }, "TablesLoading": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tables currently loading for this task.

" } }, "TablesQueued": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tables queued for this task.

" } }, "TablesErrored": { "target": "com.amazonaws.databasemigrationservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of errors that have occurred during this task.

" } }, @@ -10155,6 +10175,7 @@ "SupportsCDC": { "target": "com.amazonaws.databasemigrationservice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if change data capture (CDC) is supported.

" } }, @@ -10267,42 +10288,49 @@ "Inserts": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of insert actions performed on a table.

" } }, "Deletes": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of delete actions performed on a table.

" } }, "Updates": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of update actions performed on a table.

" } }, "Ddls": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The data definition language (DDL) used to build and modify the structure of your tables.

" } }, "FullLoadRows": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of rows added during the full load operation.

" } }, "FullLoadCondtnlChkFailedRows": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of rows that failed conditional checks during the full load operation (valid\n only for migrations where DynamoDB is the target).

" } }, "FullLoadErrorRows": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of rows that failed to load during the full load operation (valid only for\n migrations where DynamoDB is the target).

" } }, @@ -10339,18 +10367,21 @@ "ValidationPendingRecords": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of records that have yet to be validated.

" } }, "ValidationFailedRecords": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of records that failed validation.

" } }, "ValidationSuspendedRecords": { "target": "com.amazonaws.databasemigrationservice#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of records that couldn't be validated.

" } }, diff --git a/codegen/sdk/aws-models/databrew.json b/codegen/sdk/aws-models/databrew.json index c8a9dc711cb..ec70aa8e615 100644 --- a/codegen/sdk/aws-models/databrew.json +++ b/codegen/sdk/aws-models/databrew.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.databrew#AWSGlueDataBrew": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DataBrew", - "arnNamespace": "databrew", - "cloudFormationName": "DataBrew", - "cloudTrailEventSource": "databrew.amazonaws.com", - "endpointPrefix": "databrew" - }, - "aws.auth#sigv4": { - "name": "databrew" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew\n simplifies data preparation tasks, targeting data issues that are hard to spot and\n time-consuming to fix. DataBrew empowers users of all technical levels to visualize the\n data and perform one-click data transformations, with no coding required.

", - "smithy.api#title": "AWS Glue DataBrew" - }, "version": "2017-07-25", "operations": [ { @@ -180,7 +165,22 @@ { "target": "com.amazonaws.databrew#UpdateSchedule" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DataBrew", + "arnNamespace": "databrew", + "cloudFormationName": "DataBrew", + "cloudTrailEventSource": "databrew.amazonaws.com", + "endpointPrefix": "databrew" + }, + "aws.auth#sigv4": { + "name": "databrew" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Glue DataBrew is a visual, cloud-scale data-preparation service. DataBrew\n simplifies data preparation tasks, targeting data issues that are hard to spot and\n time-consuming to fix. DataBrew empowers users of all technical levels to visualize the\n data and perform one-click data transformations, with no coding required.

", + "smithy.api#title": "AWS Glue DataBrew" + } }, "com.amazonaws.databrew#AccessDeniedException": { "type": "structure", @@ -205,10 +205,7 @@ } }, "com.amazonaws.databrew#ActionId": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.databrew#AllowedStatisticList": { "type": "list", @@ -261,10 +258,16 @@ } }, "com.amazonaws.databrew#AssumeControl": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#Attempt": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databrew#BatchDeleteRecipeVersion": { "type": "operation", @@ -395,7 +398,6 @@ "com.amazonaws.databrew#ColumnRange": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 20 @@ -575,7 +577,10 @@ } }, "com.amazonaws.databrew#CreateColumn": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#CreateDataset": { "type": "operation", @@ -731,12 +736,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of nodes that DataBrew can use when the job processes data.

" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" } }, @@ -774,6 +781,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" } }, @@ -981,12 +989,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of nodes that DataBrew can consume when the job processes\n data.

" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" } }, @@ -1033,6 +1043,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" } } @@ -1360,6 +1371,7 @@ "Overwrite": { "target": "com.amazonaws.databrew#OverwriteOutput", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that, if true, means that any data in the location specified for output \n is overwritten with new output. Not supported with DatabaseOptions.

" } } @@ -1627,6 +1639,7 @@ "CreateColumn": { "target": "com.amazonaws.databrew#CreateColumn", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean value that defines whether the captured value of this parameter \n should be used to create a new column in a dataset.

" } }, @@ -2237,12 +2250,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of compute nodes that DataBrew can consume when the job processes\n data.

" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" } }, @@ -2306,6 +2321,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" } }, @@ -2369,6 +2385,7 @@ "Attempt": { "target": "com.amazonaws.databrew#Attempt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times that DataBrew has attempted to run the job.

" } }, @@ -2393,6 +2410,7 @@ "ExecutionTime": { "target": "com.amazonaws.databrew#ExecutionTime", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, during which the job run consumed resources.

" } }, @@ -2937,7 +2955,10 @@ } }, "com.amazonaws.databrew#Disabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#EncryptionKeyArn": { "type": "string", @@ -3038,7 +3059,10 @@ } }, "com.amazonaws.databrew#ExecutionTime": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databrew#Expression": { "type": "string", @@ -3056,6 +3080,7 @@ "MaxFiles": { "target": "com.amazonaws.databrew#MaxFiles", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon S3 files to select.

", "smithy.api#required": {} } @@ -3135,10 +3160,7 @@ } }, "com.amazonaws.databrew#HeaderRow": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.databrew#HiddenColumnList": { "type": "list", @@ -3291,12 +3313,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of nodes that can be consumed when the job processes data.

" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" } }, @@ -3345,6 +3369,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" } }, @@ -3404,6 +3429,7 @@ "Attempt": { "target": "com.amazonaws.databrew#Attempt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times that DataBrew has attempted to run the job.

" } }, @@ -3428,6 +3454,7 @@ "ExecutionTime": { "target": "com.amazonaws.databrew#ExecutionTime", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, during which a job run consumed resources.

" } }, @@ -3588,10 +3615,7 @@ } }, "com.amazonaws.databrew#JobSize": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.databrew#JobType": { "type": "string", @@ -3614,6 +3638,7 @@ "MultiLine": { "target": "com.amazonaws.databrew#MultiLine", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether JSON input contains embedded new line\n characters.

" } } @@ -4298,11 +4323,15 @@ } }, "com.amazonaws.databrew#MaxCapacity": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.databrew#MaxFiles": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4311,7 +4340,6 @@ "com.amazonaws.databrew#MaxOutputFiles": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999 @@ -4321,7 +4349,6 @@ "com.amazonaws.databrew#MaxResults100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4331,6 +4358,7 @@ "com.amazonaws.databrew#MaxRetries": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4354,7 +4382,10 @@ } }, "com.amazonaws.databrew#MultiLine": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#NextToken": { "type": "string", @@ -4435,6 +4466,7 @@ "Overwrite": { "target": "com.amazonaws.databrew#OverwriteOutput", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that, if true, means that any data in the location specified for output is\n overwritten with new output.

" } }, @@ -4520,7 +4552,10 @@ } }, "com.amazonaws.databrew#OverwriteOutput": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#ParameterMap": { "type": "map", @@ -4621,7 +4656,10 @@ } }, "com.amazonaws.databrew#Preview": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.databrew#ProfileConfiguration": { "type": "structure", @@ -5088,10 +5126,7 @@ "type": "string" }, "com.amazonaws.databrew#RowRange": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.databrew#Rule": { "type": "structure", @@ -5106,6 +5141,7 @@ "Disabled": { "target": "com.amazonaws.databrew#Disabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether the rule is disabled. Once a rule is \n disabled, a profile job will not validate it during a job run. Default \n value is false.

" } }, @@ -5142,6 +5178,7 @@ "com.amazonaws.databrew#RuleCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -5231,6 +5268,7 @@ "RuleCount": { "target": "com.amazonaws.databrew#RuleCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of rules that are defined in the ruleset.

" } }, @@ -5348,7 +5386,6 @@ "com.amazonaws.databrew#SampleSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -5492,6 +5529,7 @@ "Preview": { "target": "com.amazonaws.databrew#Preview", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the result of the recipe step will be returned, but not applied.

" } }, @@ -5610,7 +5648,6 @@ "com.amazonaws.databrew#SheetIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 200 @@ -5672,7 +5709,6 @@ "com.amazonaws.databrew#StartColumnIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5779,6 +5815,7 @@ "AssumeControl": { "target": "com.amazonaws.databrew#AssumeControl", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that, if true, enables you to take control of a session, even if a different\n client is currently accessing the project.

" } } @@ -5805,7 +5842,6 @@ "com.amazonaws.databrew#StartRowIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5891,7 +5927,6 @@ "com.amazonaws.databrew#StepIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6076,6 +6111,7 @@ "Value": { "target": "com.amazonaws.databrew#ThresholdValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of a threshold.

", "smithy.api#required": {} } @@ -6138,6 +6174,7 @@ "com.amazonaws.databrew#ThresholdValue": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6146,6 +6183,7 @@ "com.amazonaws.databrew#Timeout": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6354,12 +6392,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of compute nodes that DataBrew can use when the job processes\n data.

" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" } }, @@ -6385,6 +6425,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" } }, @@ -6559,12 +6600,14 @@ "MaxCapacity": { "target": "com.amazonaws.databrew#MaxCapacity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of nodes that DataBrew can consume when the job processes\n data.

" } }, "MaxRetries": { "target": "com.amazonaws.databrew#MaxRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times to retry the job after a job run fails.

" } }, @@ -6596,6 +6639,7 @@ "Timeout": { "target": "com.amazonaws.databrew#Timeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The job's timeout in minutes. A job that attempts to run longer than this timeout\n period ends with a status of TIMEOUT.

" } } diff --git a/codegen/sdk/aws-models/dataexchange.json b/codegen/sdk/aws-models/dataexchange.json index 8d318129af2..8a3d5fc417f 100644 --- a/codegen/sdk/aws-models/dataexchange.json +++ b/codegen/sdk/aws-models/dataexchange.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.dataexchange#AccessDeniedException": { "type": "structure", @@ -857,6 +857,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.

" } }, @@ -893,6 +894,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A status indicating that subscribers' access to the revision was revoked.

" } }, @@ -906,20 +908,6 @@ }, "com.amazonaws.dataexchange#DataExchange": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DataExchange", - "arnNamespace": "dataexchange", - "cloudTrailEventSource": "dataexchange.amazonaws.com", - "endpointPrefix": "dataexchange" - }, - "aws.auth#sigv4": { - "name": "dataexchange" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.

\n

As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.

\n

As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.

\n

A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.

", - "smithy.api#title": "AWS Data Exchange" - }, "version": "2017-07-25", "operations": [ { @@ -1009,7 +997,21 @@ { "target": "com.amazonaws.dataexchange#UpdateRevision" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DataExchange", + "arnNamespace": "dataexchange", + "cloudTrailEventSource": "dataexchange.amazonaws.com", + "endpointPrefix": "dataexchange" + }, + "aws.auth#sigv4": { + "name": "dataexchange" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

AWS Data Exchange is a service that makes it easy for AWS customers to exchange data in the cloud. You can use the AWS Data Exchange APIs to create, update, manage, and access file-based data set in the AWS Cloud.

\n

As a subscriber, you can view and access the data sets that you have an entitlement to through a subscription. You can use the APIS to download or copy your entitled data sets to Amazon S3 for use across a variety of AWS analytics and machine learning services.

\n

As a provider, you can create and manage your data sets that you would like to publish to a product. Being able to package and provide your data sets into products requires a few steps to determine eligibility. For more information, visit the AWS Data Exchange User Guide.

\n

A data set is a collection of data that can be changed or updated over time. Data sets can be updated using revisions, which represent a new version or incremental change to a data set. A revision contains one or more assets. An asset in AWS Data Exchange is a piece of data that can be stored as an Amazon S3 object. The asset can be a structured data file, an image file, or some other data file. Jobs are asynchronous import or export operations used to create or copy assets.

", + "smithy.api#title": "AWS Data Exchange" + } }, "com.amazonaws.dataexchange#DataSetEntry": { "type": "structure", @@ -2139,6 +2141,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.

" } }, @@ -2175,6 +2178,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A status indicating that subscribers' access to the revision was revoked.

" } }, @@ -2660,6 +2664,7 @@ "LimitValue": { "target": "com.amazonaws.dataexchange#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the exceeded limit.

" } }, @@ -2872,6 +2877,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results returned by a single call.

", "smithy.api#httpQuery": "maxResults" } @@ -2946,6 +2952,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results returned by a single call.

", "smithy.api#httpQuery": "maxResults" } @@ -3034,6 +3041,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results returned by a single call.

", "smithy.api#httpQuery": "maxResults" } @@ -3115,6 +3123,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results returned by a single call.

", "smithy.api#httpQuery": "maxResults" } @@ -3270,6 +3279,7 @@ "MaxResults": { "target": "com.amazonaws.dataexchange#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results returned by a single call.

", "smithy.api#httpQuery": "maxResults" } @@ -3363,6 +3373,7 @@ "com.amazonaws.dataexchange#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -3663,6 +3674,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.

" } }, @@ -3695,6 +3707,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A status indicating that subscribers' access to the revision was revoked.

" } }, @@ -3819,6 +3832,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.

" } }, @@ -3849,6 +3863,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A status indicating that subscribers' access to the revision was revoked.

" } }, @@ -3866,6 +3881,7 @@ "Size": { "target": "com.amazonaws.dataexchange#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the S3 object that is the object.

", "smithy.api#required": {} } @@ -4022,6 +4038,7 @@ "LimitValue": { "target": "com.amazonaws.dataexchange#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the exceeded limit.

" } }, @@ -4672,6 +4689,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products.

" } }, @@ -4715,6 +4733,7 @@ "Finalized": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

To publish a revision to a data set in a product, the revision must first be finalized. Finalizing a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this read-only state, you can publish the revision to your products. Finalized revisions can be published through the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog API action. When using the API, revisions are uniquely identified by their ARN.

" } }, @@ -4745,6 +4764,7 @@ "Revoked": { "target": "com.amazonaws.dataexchange#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A status indicating that subscribers' access to the revision was revoked.

" } }, @@ -4780,13 +4800,22 @@ } }, "com.amazonaws.dataexchange#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.dataexchange#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.dataexchange#__doubleMin0": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.dataexchange#__string": { "type": "string" @@ -4820,4 +4849,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/datasync.json b/codegen/sdk/aws-models/datasync.json index 215827b4a40..5bb58f94f75 100644 --- a/codegen/sdk/aws-models/datasync.json +++ b/codegen/sdk/aws-models/datasync.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -126,7 +126,6 @@ "com.amazonaws.datasync#BytesPerSecond": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1 } @@ -2260,30 +2259,35 @@ "EstimatedFilesToTransfer": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expected number of files that is to be transferred over the network. This value is\n calculated during the PREPARING phase, before the TRANSFERRING phase. This value is the\n expected number of files to be transferred. It's calculated based on comparing the\n content of the source and destination locations and finding the delta that needs to be\n transferred.

" } }, "EstimatedBytesToTransfer": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated physical number of bytes that is to be transferred over the\n network.

" } }, "FilesTransferred": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The actual number of files that was transferred over the network. This value is\n calculated and updated on an ongoing basis during the TRANSFERRING phase. It's updated\n periodically when each file is read from the source and sent over the network.

\n

If failures occur during a transfer, this value can be less than\n EstimatedFilesToTransfer. This value can also be greater than\n EstimatedFilesTransferred in some cases. This element is\n implementation-specific for some location types, so don't use it as an indicator for a correct\n file number or to monitor your task execution.

" } }, "BytesWritten": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of logical bytes written to the destination Amazon Web Services storage resource.

" } }, "BytesTransferred": { "target": "com.amazonaws.datasync#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The physical number of bytes transferred over the network.

" } }, @@ -2426,7 +2430,6 @@ "com.amazonaws.datasync#Duration": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2636,21 +2639,6 @@ }, "com.amazonaws.datasync#FmrsService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DataSync", - "arnNamespace": "datasync", - "cloudFormationName": "DataSync", - "cloudTrailEventSource": "datasync.amazonaws.com", - "endpointPrefix": "datasync" - }, - "aws.auth#sigv4": { - "name": "datasync" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "DataSync\n\n

DataSync is a managed data transfer service that makes it simpler for you to\n automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)\n or Amazon Elastic File System (Amazon EFS).

\n

This API interface reference for DataSync contains documentation for a\n programming interface that you can use to manage DataSync.

", - "smithy.api#title": "AWS DataSync" - }, "version": "2018-11-09", "operations": [ { @@ -2785,7 +2773,22 @@ { "target": "com.amazonaws.datasync#UpdateTaskExecution" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DataSync", + "arnNamespace": "datasync", + "cloudFormationName": "DataSync", + "cloudTrailEventSource": "datasync.amazonaws.com", + "endpointPrefix": "datasync" + }, + "aws.auth#sigv4": { + "name": "datasync" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "DataSync\n\n

DataSync is a managed data transfer service that makes it simpler for you to\n automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3)\n or Amazon Elastic File System (Amazon EFS).

\n

This API interface reference for DataSync contains documentation for a\n programming interface that you can use to manage DataSync.

", + "smithy.api#title": "AWS DataSync" + } }, "com.amazonaws.datasync#FsxFilesystemArn": { "type": "string", @@ -2940,7 +2943,6 @@ "com.amazonaws.datasync#HdfsBlockSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1048576, "max": 1073741824 @@ -3006,7 +3008,6 @@ "com.amazonaws.datasync#HdfsReplicationFactor": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 512 @@ -3049,7 +3050,6 @@ "com.amazonaws.datasync#HdfsServerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65536 @@ -3656,7 +3656,6 @@ "com.amazonaws.datasync#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -3779,7 +3778,6 @@ "com.amazonaws.datasync#ObjectStorageServerPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65536 @@ -5366,7 +5364,10 @@ } }, "com.amazonaws.datasync#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.datasync#string": { "type": "string" diff --git a/codegen/sdk/aws-models/dax.json b/codegen/sdk/aws-models/dax.json index 0252a8ba2f5..1d75faffebf 100644 --- a/codegen/sdk/aws-models/dax.json +++ b/codegen/sdk/aws-models/dax.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -407,6 +407,7 @@ "ReplicationFactor": { "target": "com.amazonaws.dax#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of nodes in the DAX cluster. A replication factor of 1 will\n create a single-node cluster, without any read replicas. For additional fault tolerance,\n you can create a multiple node cluster with one or more read replicas. To do this, set\n ReplicationFactor to a number between 3 (one primary and two read replicas) and 10 (one primary and nine read replicas). \n If the AvailabilityZones parameter is provided, its length must equal the ReplicationFactor.

\n \n

AWS recommends that you have at least two read replicas per cluster.

\n
", "smithy.api#required": {} } @@ -656,6 +657,7 @@ "NewReplicationFactor": { "target": "com.amazonaws.dax#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new number of nodes for the DAX cluster.

", "smithy.api#required": {} } @@ -1256,6 +1258,7 @@ "Port": { "target": "com.amazonaws.dax#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number that applications should use to connect to the endpoint.

" } }, @@ -1365,6 +1368,7 @@ "NewReplicationFactor": { "target": "com.amazonaws.dax#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new number of nodes for the DAX cluster.

", "smithy.api#required": {} } @@ -1402,14 +1406,14 @@ } }, "com.amazonaws.dax#Integer": { - "type": "integer" - }, - "com.amazonaws.dax#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.dax#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.dax#InvalidARNFault": { "type": "structure", "members": { @@ -2023,10 +2027,7 @@ } }, "com.amazonaws.dax#SSEEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dax#SSESpecification": { "type": "structure", diff --git a/codegen/sdk/aws-models/detective.json b/codegen/sdk/aws-models/detective.json index fd0d91ac747..328a8d1320c 100644 --- a/codegen/sdk/aws-models/detective.json +++ b/codegen/sdk/aws-models/detective.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -174,21 +174,6 @@ }, "com.amazonaws.detective#AmazonDetective": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Detective", - "arnNamespace": "detective", - "cloudFormationName": "Detective", - "cloudTrailEventSource": "detective.amazonaws.com", - "endpointPrefix": "api.detective" - }, - "aws.auth#sigv4": { - "name": "detective" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Detective uses machine learning and purpose-built visualizations to help you to\n analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such\n as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by\n Amazon GuardDuty.

\n

The Detective API primarily supports the creation and management of behavior\n graphs. A behavior graph contains the extracted data from a set of member accounts, and is\n created and managed by an administrator account.

\n

To add a member account to the behavior graph, the administrator account sends an\n invitation to the account. When the account accepts the invitation, it becomes a member\n account in the behavior graph.

\n

Detective is also integrated with Organizations. The organization\n management account designates the Detective administrator account for the\n organization. That account becomes the administrator account for the organization behavior\n graph. The Detective administrator account is also the delegated administrator\n account for Detective in Organizations.

\n

The Detective administrator account can enable any organization account as a\n member account in the organization behavior graph. The organization accounts do not receive\n invitations. The Detective administrator account can also invite other accounts to\n the organization behavior graph.

\n

Every behavior graph is specific to a Region. You can only use the API to manage\n behavior graphs that belong to the Region that is associated with the currently selected\n endpoint.

\n

The administrator account for a behavior graph can use the Detective API to do\n the following:

\n \n

The organization management account can use the Detective API to select the\n delegated administrator for Detective.

\n

The Detective administrator account for an organization can use the Detective API to do the following:

\n \n

An invited member account can use the Detective API to do the following:

\n \n

All API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail.

\n \n

We replaced the term \"master account\" with the term \"administrator account.\" An\n administrator account is used to centrally manage multiple accounts. In the case of\n Detective, the administrator account manages the accounts in their behavior\n graph.

\n
", - "smithy.api#title": "Amazon Detective" - }, "version": "2018-10-26", "operations": [ { @@ -263,7 +248,22 @@ { "target": "com.amazonaws.detective#UpdateOrganizationConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Detective", + "arnNamespace": "detective", + "cloudFormationName": "Detective", + "cloudTrailEventSource": "detective.amazonaws.com", + "endpointPrefix": "api.detective" + }, + "aws.auth#sigv4": { + "name": "detective" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Detective uses machine learning and purpose-built visualizations to help you to\n analyze and investigate security issues across your Amazon Web Services (Amazon Web Services) workloads. Detective automatically extracts time-based events such\n as login attempts, API calls, and network traffic from CloudTrail and Amazon Virtual Private Cloud (Amazon VPC) flow logs. It also extracts findings detected by\n Amazon GuardDuty.

\n

The Detective API primarily supports the creation and management of behavior\n graphs. A behavior graph contains the extracted data from a set of member accounts, and is\n created and managed by an administrator account.

\n

To add a member account to the behavior graph, the administrator account sends an\n invitation to the account. When the account accepts the invitation, it becomes a member\n account in the behavior graph.

\n

Detective is also integrated with Organizations. The organization\n management account designates the Detective administrator account for the\n organization. That account becomes the administrator account for the organization behavior\n graph. The Detective administrator account is also the delegated administrator\n account for Detective in Organizations.

\n

The Detective administrator account can enable any organization account as a\n member account in the organization behavior graph. The organization accounts do not receive\n invitations. The Detective administrator account can also invite other accounts to\n the organization behavior graph.

\n

Every behavior graph is specific to a Region. You can only use the API to manage\n behavior graphs that belong to the Region that is associated with the currently selected\n endpoint.

\n

The administrator account for a behavior graph can use the Detective API to do\n the following:

\n \n

The organization management account can use the Detective API to select the\n delegated administrator for Detective.

\n

The Detective administrator account for an organization can use the Detective API to do the following:

\n \n

An invited member account can use the Detective API to do the following:

\n \n

All API actions are logged as CloudTrail events. See Logging Detective API Calls with CloudTrail.

\n \n

We replaced the term \"master account\" with the term \"administrator account.\" An\n administrator account is used to centrally manage multiple accounts. In the case of\n Detective, the administrator account manages the accounts in their behavior\n graph.

\n
", + "smithy.api#title": "Amazon Detective" + } }, "com.amazonaws.detective#BatchGetGraphMemberDatasources": { "type": "operation", @@ -387,14 +387,14 @@ } }, "com.amazonaws.detective#Boolean": { - "type": "boolean" - }, - "com.amazonaws.detective#ByteValue": { - "type": "long", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.detective#ByteValue": { + "type": "long" + }, "com.amazonaws.detective#ConflictException": { "type": "structure", "members": { @@ -508,6 +508,7 @@ "DisableEmailNotification": { "target": "com.amazonaws.detective#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

if set to true, then the invited accounts do not receive email\n notifications. By default, this is set to false, and the invited accounts\n receive email notifications.

\n

Organization accounts in the organization behavior graph do not receive email\n notifications.

" } }, @@ -803,6 +804,7 @@ "AutoEnable": { "target": "com.amazonaws.detective#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to automatically enable new organization accounts as member accounts\n in the organization behavior graph.

" } } @@ -1646,7 +1648,6 @@ "com.amazonaws.detective#MemberResultsLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -1722,10 +1723,7 @@ } }, "com.amazonaws.detective#Percentage": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.detective#RejectInvitation": { "type": "operation", @@ -2206,6 +2204,7 @@ "AutoEnable": { "target": "com.amazonaws.detective#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to automatically enable new organization accounts as member accounts\n in the organization behavior graph.

" } } diff --git a/codegen/sdk/aws-models/device-farm.json b/codegen/sdk/aws-models/device-farm.json index f07f0c714d6..5c86a1e9eab 100644 --- a/codegen/sdk/aws-models/device-farm.json +++ b/codegen/sdk/aws-models/device-farm.json @@ -80,8 +80,6 @@ "defaultJobTimeoutMinutes": { "target": "com.amazonaws.devicefarm#JobTimeoutMinutes", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 150, "smithy.api#documentation": "

The default number of minutes (at the account level) a test run executes before it times out. The\n default value is 150 minutes.

" } }, @@ -632,8 +630,6 @@ "packageCleanup": { "target": "com.amazonaws.devicefarm#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

When set to true, Device Farm removes app packages after a test run. The default value is\n false for private devices.

" } }, @@ -646,8 +642,6 @@ "rebootAfterUse": { "target": "com.amazonaws.devicefarm#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

When set to true, Device Farm reboots the instance after a test run. The default value is\n true.

" } } @@ -884,8 +878,6 @@ "billingMethod": { "target": "com.amazonaws.devicefarm#BillingMethod", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "METERED", "smithy.api#documentation": "

The billing method for the remote access session.

" } }, @@ -2630,8 +2622,6 @@ "videoCapture": { "target": "com.amazonaws.devicefarm#VideoCapture", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Set to true to enable video capture. Otherwise, set to false. The default is true.

" } }, @@ -3904,8 +3894,6 @@ "packageCleanup": { "target": "com.amazonaws.devicefarm#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

When set to true, Device Farm removes app packages after a test run. The default value is\n false for private devices.

" } }, @@ -3918,8 +3906,6 @@ "rebootAfterUse": { "target": "com.amazonaws.devicefarm#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

When set to true, Device Farm reboots the instance after a test run. The default value is\n true.

" } }, @@ -6383,8 +6369,6 @@ "defaultJobTimeoutMinutes": { "target": "com.amazonaws.devicefarm#JobTimeoutMinutes", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 150, "smithy.api#documentation": "

The default number of minutes (at the project level) a test run executes before it times out. The\n default value is 150 minutes.

" } }, @@ -6656,8 +6640,6 @@ "billingMethod": { "target": "com.amazonaws.devicefarm#BillingMethod", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "METERED", "smithy.api#documentation": "

The billing method of the remote access session. Possible values include METERED or\n UNMETERED. For more information about metered devices, see AWS Device Farm\n terminology.

" } }, @@ -6992,8 +6974,6 @@ "billingMethod": { "target": "com.amazonaws.devicefarm#BillingMethod", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "METERED", "smithy.api#documentation": "

Specifies the billing method for a test run: metered or\n unmetered. If the parameter is not specified, the default value is\n metered.

\n \n

If you have unmetered device slots, you must set this to unmetered to use them.\n Otherwise, the run is counted toward metered device minutes.

\n
" } }, @@ -7338,8 +7318,6 @@ "billingMethod": { "target": "com.amazonaws.devicefarm#BillingMethod", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "METERED", "smithy.api#documentation": "

Specifies the billing method for a test run: metered or\n unmetered. If the parameter is not specified, the default value is\n metered.

\n \n

If you have purchased unmetered device slots, you must set this parameter to unmetered to\n make use of them. Otherwise, your run counts against your metered time.

\n
" } } @@ -8767,8 +8745,6 @@ "packageCleanup": { "target": "com.amazonaws.devicefarm#Boolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

The updated choice for whether you want to specify package cleanup. The default value\n is false for private devices.

" } }, diff --git a/codegen/sdk/aws-models/devops-guru.json b/codegen/sdk/aws-models/devops-guru.json index 2b74ae0132a..754cacfde2d 100644 --- a/codegen/sdk/aws-models/devops-guru.json +++ b/codegen/sdk/aws-models/devops-guru.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -89,12 +89,14 @@ "OpenProactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.

" } }, "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open reactive insights in your Amazon Web Services\n\t\t\taccount.

" } } @@ -205,6 +207,7 @@ "NumberOfLogLinesScanned": { "target": "com.amazonaws.devopsguru#NumberOfLogLinesScanned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n\t\t\tThe number of log lines that were scanned for anomalous log events.\n\t\t

" } }, @@ -239,10 +242,7 @@ } }, "com.amazonaws.devopsguru#AnomalyLimit": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.devopsguru#AnomalyName": { "type": "string" @@ -295,22 +295,26 @@ } }, "com.amazonaws.devopsguru#AnomalySeverity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LOW", - "name": "LOW" - }, - { - "value": "MEDIUM", - "name": "MEDIUM" - }, - { - "value": "HIGH", - "name": "HIGH" + "type": "enum", + "members": { + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" } - ] + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIUM" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + } } }, "com.amazonaws.devopsguru#AnomalySource": { @@ -363,18 +367,20 @@ } }, "com.amazonaws.devopsguru#AnomalyStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ONGOING", - "name": "ONGOING" - }, - { - "value": "CLOSED", - "name": "CLOSED" + "type": "enum", + "members": { + "ONGOING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONGOING" + } + }, + "CLOSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED" } - ] + } } }, "com.amazonaws.devopsguru#AnomalyTimeRange": { @@ -399,18 +405,20 @@ } }, "com.amazonaws.devopsguru#AnomalyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CAUSAL", - "name": "CAUSAL" - }, - { - "value": "CONTEXTUAL", - "name": "CONTEXTUAL" + "type": "enum", + "members": { + "CAUSAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAUSAL" + } + }, + "CONTEXTUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTEXTUAL" } - ] + } } }, "com.amazonaws.devopsguru#AppBoundaryKey": { @@ -441,21 +449,6 @@ }, "com.amazonaws.devopsguru#CapstoneControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DevOps Guru", - "arnNamespace": "devops-guru", - "cloudFormationName": "DevOpsGuru", - "cloudTrailEventSource": "devopsguru.amazonaws.com", - "endpointPrefix": "devops-guru" - }, - "aws.auth#sigv4": { - "name": "devops-guru" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in\n\t\t\tbusiness critical operational applications. You specify the Amazon Web Services resources that you\n\t\t\twant DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those\n\t\t\tresources are analyzed. When anomalous behavior is detected, DevOps Guru creates an\n\t\t\t\tinsight that includes recommendations, related events, and\n\t\t\trelated metrics that can help you improve your operational applications. For more\n\t\t\tinformation, see What is Amazon DevOps Guru.

\n\n\t\t

You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight\n\t\t\tis created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each\n\t\t\tinsight to help you manage and track your work addressing insights.

\n\n\t\t

To learn about the DevOps Guru workflow, see How DevOps Guru works. To\n\t\t\tlearn about DevOps Guru concepts, see Concepts in DevOps Guru.

", - "smithy.api#title": "Amazon DevOps Guru" - }, "version": "2020-12-01", "operations": [ { @@ -551,7 +544,22 @@ { "target": "com.amazonaws.devopsguru#UpdateServiceIntegration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DevOps Guru", + "arnNamespace": "devops-guru", + "cloudFormationName": "DevOpsGuru", + "cloudTrailEventSource": "devopsguru.amazonaws.com", + "endpointPrefix": "devops-guru" + }, + "aws.auth#sigv4": { + "name": "devops-guru" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon DevOps Guru is a fully managed service that helps you identify anomalous behavior in\n\t\t\tbusiness critical operational applications. You specify the Amazon Web Services resources that you\n\t\t\twant DevOps Guru to cover, then the Amazon CloudWatch metrics and Amazon Web Services CloudTrail events related to those\n\t\t\tresources are analyzed. When anomalous behavior is detected, DevOps Guru creates an\n\t\t\t\tinsight that includes recommendations, related events, and\n\t\t\trelated metrics that can help you improve your operational applications. For more\n\t\t\tinformation, see What is Amazon DevOps Guru.

\n\n\t\t

You can specify 1 or 2 Amazon Simple Notification Service topics so you are notified every time a new insight\n\t\t\tis created. You can also enable DevOps Guru to generate an OpsItem in Amazon Web Services Systems Manager for each\n\t\t\tinsight to help you manage and track your work addressing insights.

\n\n\t\t

To learn about the DevOps Guru workflow, see How DevOps Guru works. To\n\t\t\tlearn about DevOps Guru concepts, see Concepts in DevOps Guru.

", + "smithy.api#title": "Amazon DevOps Guru" + } }, "com.amazonaws.devopsguru#Channels": { "type": "list", @@ -638,22 +646,26 @@ } }, "com.amazonaws.devopsguru#CloudWatchMetricDataStatusCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Complete", - "name": "COMPLETE" - }, - { - "value": "InternalError", - "name": "INTERNAL_ERROR" - }, - { - "value": "PartialData", - "name": "PARTIAL_DATA" + "type": "enum", + "members": { + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Complete" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalError" + } + }, + "PARTIAL_DATA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PartialData" } - ] + } } }, "com.amazonaws.devopsguru#CloudWatchMetricsDataSummary": { @@ -712,6 +724,7 @@ "Period": { "target": "com.amazonaws.devopsguru#CloudWatchMetricsPeriod", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The length of time associated with the CloudWatch metric in number of seconds.

" } }, @@ -771,45 +784,62 @@ "type": "string" }, "com.amazonaws.devopsguru#CloudWatchMetricsPeriod": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#CloudWatchMetricsStat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Sum", - "name": "SUM" - }, - { - "value": "Average", - "name": "AVERAGE" - }, - { - "value": "SampleCount", - "name": "SAMPLE_COUNT" - }, - { - "value": "Minimum", - "name": "MINIMUM" - }, - { - "value": "Maximum", - "name": "MAXIMUM" - }, - { - "value": "p99", - "name": "P99" - }, - { - "value": "p90", - "name": "P90" - }, - { - "value": "p50", - "name": "P50" - } - ] + "type": "enum", + "members": { + "SUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Sum" + } + }, + "AVERAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Average" + } + }, + "SAMPLE_COUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SampleCount" + } + }, + "MINIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Minimum" + } + }, + "MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Maximum" + } + }, + "P99": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "p99" + } + }, + "P90": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "p90" + } + }, + "P50": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "p50" + } + } } }, "com.amazonaws.devopsguru#CloudWatchMetricsUnit": { @@ -846,7 +876,10 @@ } }, "com.amazonaws.devopsguru#Cost": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#CostEstimationResourceCollectionFilter": { "type": "structure", @@ -860,7 +893,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagCostEstimationResourceCollectionFilters", "traits": { - "smithy.api#documentation": "

The Amazon Web Services tags used to filter the resource collection that is used for a cost\n\t\t\testimate.

\n

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

The Amazon Web Services tags used to filter the resource collection that is used for a cost\n\t\t\testimate.

\n

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } } }, @@ -869,21 +902,26 @@ } }, "com.amazonaws.devopsguru#CostEstimationServiceResourceCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#CostEstimationServiceResourceState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" } - ] + } } }, "com.amazonaws.devopsguru#CostEstimationStackNames": { @@ -899,18 +937,20 @@ } }, "com.amazonaws.devopsguru#CostEstimationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ONGOING", - "name": "ONGOING" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" + "type": "enum", + "members": { + "ONGOING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONGOING" } - ] + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + } } }, "com.amazonaws.devopsguru#CostEstimationTagValues": { @@ -1040,6 +1080,7 @@ "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open reactive insights in your Amazon Web Services account.\n\t\t

", "smithy.api#required": {} } @@ -1047,6 +1088,7 @@ "OpenProactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.

", "smithy.api#required": {} } @@ -1054,6 +1096,7 @@ "MetricsAnalyzed": { "target": "com.amazonaws.devopsguru#NumMetricsAnalyzed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of metrics that have been analyzed in your Amazon Web Services\n\t\t\taccount.

", "smithy.api#required": {} } @@ -1122,6 +1165,7 @@ "ReactiveInsights": { "target": "com.amazonaws.devopsguru#NumReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open reactive insights in your Amazon Web Services account\n\t\t\tthat were created during the time range passed in.

", "smithy.api#required": {} } @@ -1129,6 +1173,7 @@ "ProactiveInsights": { "target": "com.amazonaws.devopsguru#NumProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open proactive insights in your Amazon Web Services account\n\t\t\tthat were created during the time range passed in.

", "smithy.api#required": {} } @@ -1437,6 +1482,7 @@ "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open reactive insights in your Amazon Web Services\n\t\t\taccount.

", "smithy.api#required": {} } @@ -1444,6 +1490,7 @@ "OpenProactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.

", "smithy.api#required": {} } @@ -1451,6 +1498,7 @@ "MetricsAnalyzed": { "target": "com.amazonaws.devopsguru#NumMetricsAnalyzed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of metrics that have been analyzed in your\n\t\t\torganization.

", "smithy.api#required": {} } @@ -1531,6 +1579,7 @@ "ReactiveInsights": { "target": "com.amazonaws.devopsguru#NumReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open reactive insights in your Amazon Web Services\n\t\t\taccount.

", "smithy.api#required": {} } @@ -1538,6 +1587,7 @@ "ProactiveInsights": { "target": "com.amazonaws.devopsguru#NumProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies the number of open proactive insights in your Amazon Web Services\n\t\t\taccount.

", "smithy.api#required": {} } @@ -1645,7 +1695,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagHealths", "traits": { - "smithy.api#documentation": "

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } } } @@ -1729,7 +1779,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagHealths", "traits": { - "smithy.api#documentation": "

The Amazon Web Services tags that are used by resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

The Amazon Web Services tags that are used by resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } } } @@ -1866,45 +1916,55 @@ } }, "com.amazonaws.devopsguru#EventClass": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INFRASTRUCTURE", - "name": "INFRASTRUCTURE" - }, - { - "value": "DEPLOYMENT", - "name": "DEPLOYMENT" - }, - { - "value": "SECURITY_CHANGE", - "name": "SECURITY_CHANGE" - }, - { - "value": "CONFIG_CHANGE", - "name": "CONFIG_CHANGE" - }, - { - "value": "SCHEMA_CHANGE", - "name": "SCHEMA_CHANGE" - } - ] + "type": "enum", + "members": { + "INFRASTRUCTURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INFRASTRUCTURE" + } + }, + "DEPLOYMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYMENT" + } + }, + "SECURITY_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SECURITY_CHANGE" + } + }, + "CONFIG_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONFIG_CHANGE" + } + }, + "SCHEMA_CHANGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEMA_CHANGE" + } + } } }, "com.amazonaws.devopsguru#EventDataSource": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_CLOUD_TRAIL", - "name": "AWS_CLOUD_TRAIL" - }, - { - "value": "AWS_CODE_DEPLOY", - "name": "AWS_CODE_DEPLOY" + "type": "enum", + "members": { + "AWS_CLOUD_TRAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_CLOUD_TRAIL" + } + }, + "AWS_CODE_DEPLOY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_CODE_DEPLOY" } - ] + } } }, "com.amazonaws.devopsguru#EventId": { @@ -1992,18 +2052,20 @@ } }, "com.amazonaws.devopsguru#EventSourceOptInStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.devopsguru#EventSourcesConfig": { @@ -2137,6 +2199,7 @@ "TotalCost": { "target": "com.amazonaws.devopsguru#Cost", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of\n\t\t\tthe estimated costs to analyze each resource in the Costs object in this\n\t\t\tresponse.

" } }, @@ -2247,30 +2310,38 @@ } }, "com.amazonaws.devopsguru#InsightFeedbackOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VALID_COLLECTION", - "name": "VALID_COLLECTION" - }, - { - "value": "RECOMMENDATION_USEFUL", - "name": "RECOMMENDATION_USEFUL" - }, - { - "value": "ALERT_TOO_SENSITIVE", - "name": "ALERT_TOO_SENSITIVE" - }, - { - "value": "DATA_NOISY_ANOMALY", - "name": "DATA_NOISY_ANOMALY" - }, - { - "value": "DATA_INCORRECT", - "name": "DATA_INCORRECT" - } - ] + "type": "enum", + "members": { + "VALID_COLLECTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VALID_COLLECTION" + } + }, + "RECOMMENDATION_USEFUL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RECOMMENDATION_USEFUL" + } + }, + "ALERT_TOO_SENSITIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALERT_TOO_SENSITIVE" + } + }, + "DATA_NOISY_ANOMALY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_NOISY_ANOMALY" + } + }, + "DATA_INCORRECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_INCORRECT" + } + } } }, "com.amazonaws.devopsguru#InsightHealth": { @@ -2279,12 +2350,14 @@ "OpenProactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of open proactive insights.

" } }, "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of open reactive insights.

" } }, @@ -2332,37 +2405,43 @@ } }, "com.amazonaws.devopsguru#InsightSeverity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LOW", - "name": "LOW" - }, - { - "value": "MEDIUM", - "name": "MEDIUM" - }, - { - "value": "HIGH", - "name": "HIGH" + "type": "enum", + "members": { + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOW" } - ] + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MEDIUM" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HIGH" + } + } } }, "com.amazonaws.devopsguru#InsightStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ONGOING", - "name": "ONGOING" - }, - { - "value": "CLOSED", - "name": "CLOSED" + "type": "enum", + "members": { + "ONGOING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONGOING" + } + }, + "CLOSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED" } - ] + } } }, "com.amazonaws.devopsguru#InsightStatuses": { @@ -2399,18 +2478,20 @@ } }, "com.amazonaws.devopsguru#InsightType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REACTIVE", - "name": "REACTIVE" - }, - { - "value": "PROACTIVE", - "name": "PROACTIVE" + "type": "enum", + "members": { + "REACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REACTIVE" + } + }, + "PROACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROACTIVE" } - ] + } } }, "com.amazonaws.devopsguru#InternalServerException": { @@ -2425,6 +2506,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.devopsguru#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which the action that caused the internal server\n\t\t\texception can be retried.

", "smithy.api#httpHeader": "Retry-After" } @@ -2478,7 +2560,6 @@ "com.amazonaws.devopsguru#ListAnomaliesForInsightMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -2587,7 +2668,6 @@ "com.amazonaws.devopsguru#ListAnomalousLogGroupsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -2727,7 +2807,6 @@ "com.amazonaws.devopsguru#ListEventsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -2877,7 +2956,6 @@ "com.amazonaws.devopsguru#ListInsightsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3045,7 +3123,6 @@ "com.amazonaws.devopsguru#ListMonitoredResourcesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -3339,54 +3416,74 @@ } }, "com.amazonaws.devopsguru#Locale": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DE_DE", - "name": "DE_DE" - }, - { - "value": "EN_US", - "name": "EN_US" - }, - { - "value": "EN_GB", - "name": "EN_GB" - }, - { - "value": "ES_ES", - "name": "ES_ES" - }, - { - "value": "FR_FR", - "name": "FR_FR" - }, - { - "value": "IT_IT", - "name": "IT_IT" - }, - { - "value": "JA_JP", - "name": "JA_JP" - }, - { - "value": "KO_KR", - "name": "KO_KR" - }, - { - "value": "PT_BR", - "name": "PT_BR" - }, - { - "value": "ZH_CN", - "name": "ZH_CN" - }, - { - "value": "ZH_TW", - "name": "ZH_TW" - } - ] + "type": "enum", + "members": { + "DE_DE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DE_DE" + } + }, + "EN_US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EN_US" + } + }, + "EN_GB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EN_GB" + } + }, + "ES_ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES_ES" + } + }, + "FR_FR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FR_FR" + } + }, + "IT_IT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IT_IT" + } + }, + "JA_JP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JA_JP" + } + }, + "KO_KR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KO_KR" + } + }, + "PT_BR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PT_BR" + } + }, + "ZH_CN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZH_CN" + } + }, + "ZH_TW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ZH_TW" + } + } } }, "com.amazonaws.devopsguru#LogAnomalyClass": { @@ -3425,6 +3522,7 @@ "NumberOfLogLinesOccurrences": { "target": "com.amazonaws.devopsguru#NumberOfLogLinesOccurrences", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n\t\t\tThe number of log lines where this anomalous log event occurs.\n\t\t

" } }, @@ -3487,42 +3585,56 @@ } }, "com.amazonaws.devopsguru#LogAnomalyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "KEYWORD", - "name": "KEYWORD" - }, - { - "value": "KEYWORD_TOKEN", - "name": "KEYWORD_TOKEN" - }, - { - "value": "FORMAT", - "name": "FORMAT" - }, - { - "value": "HTTP_CODE", - "name": "HTTP_CODE" - }, - { - "value": "BLOCK_FORMAT", - "name": "BLOCK_FORMAT" - }, - { - "value": "NUMERICAL_POINT", - "name": "NUMERICAL_POINT" - }, - { - "value": "NUMERICAL_NAN", - "name": "NUMERICAL_NAN" - }, - { - "value": "NEW_FIELD_NAME", - "name": "NEW_FIELD_NAME" - } - ] + "type": "enum", + "members": { + "KEYWORD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEYWORD" + } + }, + "KEYWORD_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KEYWORD_TOKEN" + } + }, + "FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FORMAT" + } + }, + "HTTP_CODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_CODE" + } + }, + "BLOCK_FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BLOCK_FORMAT" + } + }, + "NUMERICAL_POINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMERICAL_POINT" + } + }, + "NUMERICAL_NAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NUMERICAL_NAN" + } + }, + "NEW_FIELD_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_FIELD_NAME" + } + } } }, "com.amazonaws.devopsguru#LogEventId": { @@ -3581,16 +3693,10 @@ } }, "com.amazonaws.devopsguru#MeanTimeToRecoverInMilliseconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.devopsguru#MetricValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.devopsguru#MonitoredResourceIdentifier": { "type": "structure", @@ -3663,6 +3769,12 @@ "smithy.api#documentation": "

Information about a notification channel configured in DevOps Guru to send notifications\n\t\t\twhen insights are created.

\n

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission \n\t\t\t\tto it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics. \n\t\t\t\tFor more information, see Permissions \n\t\t\t\tfor cross account Amazon SNS topics.

\n\t\t\t\t

If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.

\n\t\t\t\t

If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions \n\t\t\t\tto the CMK. For more information, see Permissions for \n\t\t\t\tAmazon Web Services KMS–encrypted Amazon SNS topics.

", "smithy.api#required": {} } + }, + "Filters": { + "target": "com.amazonaws.devopsguru#NotificationFilterConfig", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe filter configurations for the Amazon SNS notification topic you use with DevOps Guru. \n\t\t\tIf you do not provide filter configurations, the default configurations are to receive notifications for all message types of High or Medium severity.\n\t\t

" + } } }, "traits": { @@ -3679,26 +3791,114 @@ "smithy.api#pattern": "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$" } }, + "com.amazonaws.devopsguru#NotificationFilterConfig": { + "type": "structure", + "members": { + "Severities": { + "target": "com.amazonaws.devopsguru#InsightSeverities", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe severity levels that you want to receive notifications for. For example, you can choose to receive notifications only for insights with HIGH and MEDIUM severity levels. \n\t\t\tFor more information, see Understanding insight severities.\n\t\t

" + } + }, + "MessageTypes": { + "target": "com.amazonaws.devopsguru#NotificationMessageTypes", + "traits": { + "smithy.api#documentation": "

\n\t\t\tThe events that you want to receive notifications for. For example, you can choose to receive notifications only when the severity level is upgraded or a new insight is created.\n\t\t

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

\n\t\t\tThe filter configurations for the Amazon SNS notification topic you use with DevOps Guru. You can choose to specify which events or message types to receive notifications for.\n\t\t\tYou can also choose to specify which severity levels to receive notifications for. \n\t\t

" + } + }, + "com.amazonaws.devopsguru#NotificationMessageType": { + "type": "enum", + "members": { + "NEW_INSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_INSIGHT" + } + }, + "CLOSED_INSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOSED_INSIGHT" + } + }, + "NEW_ASSOCIATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_ASSOCIATION" + } + }, + "SEVERITY_UPGRADED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEVERITY_UPGRADED" + } + }, + "NEW_RECOMMENDATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW_RECOMMENDATION" + } + } + } + }, + "com.amazonaws.devopsguru#NotificationMessageTypes": { + "type": "list", + "member": { + "target": "com.amazonaws.devopsguru#NotificationMessageType" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, "com.amazonaws.devopsguru#NumMetricsAnalyzed": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumOpenProactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumOpenReactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumProactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumReactiveInsights": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumberOfLogLinesOccurrences": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#NumberOfLogLinesScanned": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#OpsCenterIntegration": { "type": "structure", @@ -3729,25 +3929,28 @@ } }, "com.amazonaws.devopsguru#OptInStatus": { - "type": "string", - "traits": { - "smithy.api#documentation": "

Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created\n\t\t\tinsight.

", - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + }, + "traits": { + "smithy.api#documentation": "

Specifies if DevOps Guru is enabled to create an Amazon Web Services Systems Manager OpsItem for each created\n\t\t\tinsight.

" } }, "com.amazonaws.devopsguru#OrganizationResourceCollectionMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -3755,26 +3958,32 @@ } }, "com.amazonaws.devopsguru#OrganizationResourceCollectionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_CLOUD_FORMATION", - "name": "AWS_CLOUD_FORMATION" - }, - { - "value": "AWS_SERVICE", - "name": "AWS_SERVICE" - }, - { - "value": "AWS_ACCOUNT", - "name": "AWS_ACCOUNT" - }, - { - "value": "AWS_TAGS", - "name": "AWS_TAGS" - } - ] + "type": "enum", + "members": { + "AWS_CLOUD_FORMATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_CLOUD_FORMATION" + } + }, + "AWS_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_SERVICE" + } + }, + "AWS_ACCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_ACCOUNT" + } + }, + "AWS_TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_TAGS" + } + } } }, "com.amazonaws.devopsguru#OrganizationalUnitId": { @@ -3858,7 +4067,6 @@ "com.amazonaws.devopsguru#PerformanceInsightsMetricLimitInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4054,10 +4262,7 @@ } }, "com.amazonaws.devopsguru#PerformanceInsightsValueDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.devopsguru#PredictionTimeRange": { "type": "structure", @@ -5126,7 +5331,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagCollections", "traits": { - "smithy.api#documentation": "

The Amazon Web Services tags that are used by resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

The Amazon Web Services tags that are used by resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } } }, @@ -5146,7 +5351,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#TagCollectionFilters", "traits": { - "smithy.api#documentation": "

The Amazon Web Services tags used to filter the resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

The Amazon Web Services tags used to filter the resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } } }, @@ -5155,29 +5360,30 @@ } }, "com.amazonaws.devopsguru#ResourceCollectionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_CLOUD_FORMATION", - "name": "AWS_CLOUD_FORMATION" - }, - { - "value": "AWS_SERVICE", - "name": "AWS_SERVICE" - }, - { - "value": "AWS_TAGS", - "name": "AWS_TAGS" + "type": "enum", + "members": { + "AWS_CLOUD_FORMATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_CLOUD_FORMATION" + } + }, + "AWS_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_SERVICE" + } + }, + "AWS_TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_TAGS" } - ] + } } }, "com.amazonaws.devopsguru#ResourceHours": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.devopsguru#ResourceIdString": { "type": "string" @@ -5219,18 +5425,20 @@ } }, "com.amazonaws.devopsguru#ResourcePermission": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FULL_PERMISSION", - "name": "FULL_PERMISSION" - }, - { - "value": "MISSING_PERMISSION", - "name": "MISSING_PERMISSION" + "type": "enum", + "members": { + "FULL_PERMISSION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_PERMISSION" + } + }, + "MISSING_PERMISSION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MISSING_PERMISSION" } - ] + } } }, "com.amazonaws.devopsguru#ResourceType": { @@ -5244,14 +5452,14 @@ } }, "com.amazonaws.devopsguru#ResourceTypeFilter": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "LOG_GROUPS", - "name": "LOG_GROUPS" + "type": "enum", + "members": { + "LOG_GROUPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOG_GROUPS" } - ] + } } }, "com.amazonaws.devopsguru#ResourceTypeFilters": { @@ -5261,7 +5469,10 @@ } }, "com.amazonaws.devopsguru#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.devopsguru#SearchInsights": { "type": "operation", @@ -5343,7 +5554,6 @@ "com.amazonaws.devopsguru#SearchInsightsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5475,7 +5685,6 @@ "com.amazonaws.devopsguru#SearchOrganizationInsightsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5594,12 +5803,14 @@ "OpenProactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenProactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of open proactive insights in the Amazon Web Services service

" } }, "OpenReactiveInsights": { "target": "com.amazonaws.devopsguru#NumOpenReactiveInsights", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of open reactive insights in the Amazon Web Services service

" } } @@ -5629,110 +5840,158 @@ } }, "com.amazonaws.devopsguru#ServiceName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "API_GATEWAY", - "name": "API_GATEWAY" - }, - { - "value": "APPLICATION_ELB", - "name": "APPLICATION_ELB" - }, - { - "value": "AUTO_SCALING_GROUP", - "name": "AUTO_SCALING_GROUP" - }, - { - "value": "CLOUD_FRONT", - "name": "CLOUD_FRONT" - }, - { - "value": "DYNAMO_DB", - "name": "DYNAMO_DB" - }, - { - "value": "EC2", - "name": "EC2" - }, - { - "value": "ECS", - "name": "ECS" - }, - { - "value": "EKS", - "name": "EKS" - }, - { - "value": "ELASTIC_BEANSTALK", - "name": "ELASTIC_BEANSTALK" - }, - { - "value": "ELASTI_CACHE", - "name": "ELASTI_CACHE" - }, - { - "value": "ELB", - "name": "ELB" - }, - { - "value": "ES", - "name": "ES" - }, - { - "value": "KINESIS", - "name": "KINESIS" - }, - { - "value": "LAMBDA", - "name": "LAMBDA" - }, - { - "value": "NAT_GATEWAY", - "name": "NAT_GATEWAY" - }, - { - "value": "NETWORK_ELB", - "name": "NETWORK_ELB" - }, - { - "value": "RDS", - "name": "RDS" - }, - { - "value": "REDSHIFT", - "name": "REDSHIFT" - }, - { - "value": "ROUTE_53", - "name": "ROUTE_53" - }, - { - "value": "S3", - "name": "S3" - }, - { - "value": "SAGE_MAKER", - "name": "SAGE_MAKER" - }, - { - "value": "SNS", - "name": "SNS" - }, - { - "value": "SQS", - "name": "SQS" - }, - { - "value": "STEP_FUNCTIONS", - "name": "STEP_FUNCTIONS" - }, - { - "value": "SWF", - "name": "SWF" - } - ] + "type": "enum", + "members": { + "API_GATEWAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "API_GATEWAY" + } + }, + "APPLICATION_ELB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "APPLICATION_ELB" + } + }, + "AUTO_SCALING_GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTO_SCALING_GROUP" + } + }, + "CLOUD_FRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUD_FRONT" + } + }, + "DYNAMO_DB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DYNAMO_DB" + } + }, + "EC2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EC2" + } + }, + "ECS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECS" + } + }, + "EKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EKS" + } + }, + "ELASTIC_BEANSTALK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTIC_BEANSTALK" + } + }, + "ELASTI_CACHE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTI_CACHE" + } + }, + "ELB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELB" + } + }, + "ES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ES" + } + }, + "KINESIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KINESIS" + } + }, + "LAMBDA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAMBDA" + } + }, + "NAT_GATEWAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAT_GATEWAY" + } + }, + "NETWORK_ELB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NETWORK_ELB" + } + }, + "RDS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RDS" + } + }, + "REDSHIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REDSHIFT" + } + }, + "ROUTE_53": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROUTE_53" + } + }, + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "SAGE_MAKER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SAGE_MAKER" + } + }, + "SNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNS" + } + }, + "SQS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQS" + } + }, + "STEP_FUNCTIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STEP_FUNCTIONS" + } + }, + "SWF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SWF" + } + } } }, "com.amazonaws.devopsguru#ServiceNames": { @@ -5772,18 +6031,21 @@ "Count": { "target": "com.amazonaws.devopsguru#CostEstimationServiceResourceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of active resources analyzed for this service to create a monthly cost\n\t\t\testimate.

" } }, "UnitCost": { "target": "com.amazonaws.devopsguru#Cost", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The price per hour to analyze the resources in the service.\n\t\t\tFor more information, \n\t\t\tsee Estimate your \n\t\t\tAmazon DevOps Guru costs and \n\t\t\tAmazon DevOps Guru pricing.

" } }, "Cost": { "target": "com.amazonaws.devopsguru#Cost", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total estimated monthly cost to analyze the active resources for this\n\t\t\tresource.

" } } @@ -5924,7 +6186,7 @@ "AppBoundaryKey": { "target": "com.amazonaws.devopsguru#AppBoundaryKey", "traits": { - "smithy.api#documentation": "

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
", "smithy.api#required": {} } }, @@ -5937,7 +6199,7 @@ } }, "traits": { - "smithy.api#documentation": "

A collection of Amazon Web Services stags.

\n

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

A collection of Amazon Web Services tags.

\n

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } }, "com.amazonaws.devopsguru#TagCollectionFilter": { @@ -5946,7 +6208,7 @@ "AppBoundaryKey": { "target": "com.amazonaws.devopsguru#AppBoundaryKey", "traits": { - "smithy.api#documentation": "

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
", "smithy.api#required": {} } }, @@ -5980,7 +6242,7 @@ "AppBoundaryKey": { "target": "com.amazonaws.devopsguru#AppBoundaryKey", "traits": { - "smithy.api#documentation": "

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
", "smithy.api#required": {} } }, @@ -6008,7 +6270,7 @@ "AppBoundaryKey": { "target": "com.amazonaws.devopsguru#AppBoundaryKey", "traits": { - "smithy.api#documentation": "

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } }, "TagValue": { @@ -6074,6 +6336,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.devopsguru#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which the action that caused the throttling exception can\n\t\t\tbe retried.

", "smithy.api#httpHeader": "Retry-After" } @@ -6219,18 +6482,20 @@ } }, "com.amazonaws.devopsguru#UpdateResourceCollectionAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADD", - "name": "ADD" - }, - { - "value": "REMOVE", - "name": "REMOVE" + "type": "enum", + "members": { + "ADD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADD" + } + }, + "REMOVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REMOVE" } - ] + } } }, "com.amazonaws.devopsguru#UpdateResourceCollectionFilter": { @@ -6245,7 +6510,7 @@ "Tags": { "target": "com.amazonaws.devopsguru#UpdateTagCollectionFilters", "traits": { - "smithy.api#documentation": "

The updated Amazon Web Services tags used to filter the resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

The updated Amazon Web Services tags used to filter the resources in the resource collection.

\n\t\t

Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support\n \t\ttagging, so you can assign the same tag to resources from different services to indicate\n \t\tthat the resources are related. For example, you can assign the same tag to an Amazon DynamoDB\n \t\ttable resource that you assign to an Lambda function. For more information about\n \t\tusing tags, see the Tagging\n \t\t\tbest practices whitepaper.

\n \t

Each Amazon Web Services tag has two parts.

\n \t \n \t

Together these are known as key-value pairs.

\n \t \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
" } } }, @@ -6360,7 +6625,7 @@ "AppBoundaryKey": { "target": "com.amazonaws.devopsguru#AppBoundaryKey", "traits": { - "smithy.api#documentation": "

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevops-guru-deployment-application or\n\t\t\tDevops-guru-rds-application. While keys are case-sensitive, the\n\t\t\tcase of key characters don't matter to DevOps Guru. For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

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

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that \n \tDevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make \n up your DevOps Guru application and analysis boundary.

\n \n\t\t

The string used for a key in a tag that you use to define your resource coverage must begin with the\n\t\t\tprefix Devops-guru-. The tag key might be\n\t\t\tDevOps-Guru-deployment-application or\n\t\t\tdevops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive.\n\t\t\t For example, DevOps Guru works with a\n\t\t\tkey named devops-guru-rds and a key named\n\t\t\tDevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your\n\t\t\tapplication might be Devops-Guru-production-application/RDS or\n\t\t\tDevops-Guru-production-application/containers.

\n\t
", "smithy.api#required": {} } }, @@ -6462,34 +6727,44 @@ } }, "com.amazonaws.devopsguru#ValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNKNOWN_OPERATION", - "name": "UNKNOWN_OPERATION" - }, - { - "value": "CANNOT_PARSE", - "name": "CANNOT_PARSE" - }, - { - "value": "FIELD_VALIDATION_FAILED", - "name": "FIELD_VALIDATION_FAILED" - }, - { - "value": "OTHER", - "name": "OTHER" - }, - { - "value": "INVALID_PARAMETER_COMBINATION", - "name": "INVALID_PARAMETER_COMBINATION" - }, - { - "value": "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE", - "name": "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE" - } - ] + "type": "enum", + "members": { + "UNKNOWN_OPERATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_OPERATION" + } + }, + "CANNOT_PARSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANNOT_PARSE" + } + }, + "FIELD_VALIDATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIELD_VALIDATION_FAILED" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" + } + }, + "INVALID_PARAMETER_COMBINATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_PARAMETER_COMBINATION" + } + }, + "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_INCONSISTENT_WITH_SERVICE_STATE" + } + } } } } diff --git a/codegen/sdk/aws-models/direct-connect.json b/codegen/sdk/aws-models/direct-connect.json index 09aafecca71..0039f144537 100644 --- a/codegen/sdk/aws-models/direct-connect.json +++ b/codegen/sdk/aws-models/direct-connect.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -30,7 +30,10 @@ }, "shapes": { "com.amazonaws.directconnect#ASN": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.directconnect#AcceptDirectConnectGatewayAssociationProposal": { "type": "operation", @@ -177,6 +180,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The dedicated VLAN provisioned to the connection.

", "smithy.api#required": {} } @@ -243,6 +247,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The dedicated VLAN provisioned to the hosted connection.

", "smithy.api#required": {} } @@ -680,6 +685,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

" } }, @@ -801,7 +807,10 @@ "type": "string" }, "com.amazonaws.directconnect#BooleanFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directconnect#CIDR": { "type": "string" @@ -1093,6 +1102,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

" } }, @@ -1252,7 +1262,10 @@ } }, "com.amazonaws.directconnect#Count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.directconnect#CreateBGPPeer": { "type": "operation", @@ -1659,6 +1672,7 @@ "numberOfConnections": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of physical dedicated connections initially provisioned and bundled by the\n LAG.

", "smithy.api#required": {} } @@ -1914,6 +1928,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

" } }, @@ -2354,6 +2369,9 @@ }, "com.amazonaws.directconnect#DescribeCustomerMetadata": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.directconnect#DescribeCustomerMetadataResponse" }, @@ -2858,6 +2876,9 @@ }, "com.amazonaws.directconnect#DescribeLocations": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.directconnect#Locations" }, @@ -2988,6 +3009,9 @@ }, "com.amazonaws.directconnect#DescribeVirtualGateways": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.directconnect#VirtualGateways" }, @@ -3528,10 +3552,7 @@ } }, "com.amazonaws.directconnect#EnableSiteLink": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#EncryptionMode": { "type": "string" @@ -3742,10 +3763,7 @@ } }, "com.amazonaws.directconnect#JumboFrameCapable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#Lag": { "type": "structure", @@ -3759,6 +3777,7 @@ "numberOfConnections": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of physical dedicated connections bundled by the LAG, up to a maximum of 10.

" } }, @@ -3801,6 +3820,7 @@ "minimumLinks": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.

" } }, @@ -3831,6 +3851,7 @@ "allowsHostedConnections": { "target": "com.amazonaws.directconnect#BooleanFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the LAG can host other connections.

" } }, @@ -4122,22 +4143,13 @@ } }, "com.amazonaws.directconnect#LongAsn": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.directconnect#MTU": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.directconnect#MacSecCapable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#MacSecKey": { "type": "structure", @@ -4178,10 +4190,7 @@ } }, "com.amazonaws.directconnect#MaxResultSetSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.directconnect#NewBGPPeer": { "type": "structure", @@ -4189,6 +4198,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

" } }, @@ -4234,6 +4244,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

", "smithy.api#required": {} } @@ -4241,6 +4252,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

\n

The valid values are 1-2147483647.

", "smithy.api#required": {} } @@ -4317,6 +4329,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

", "smithy.api#required": {} } @@ -4324,6 +4337,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

\n

The valid values are 1-2147483647.

", "smithy.api#required": {} } @@ -4382,6 +4396,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

", "smithy.api#required": {} } @@ -4389,6 +4404,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

\n

The valid values are 1-2147483647.

", "smithy.api#required": {} } @@ -4447,6 +4463,7 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

", "smithy.api#required": {} } @@ -4454,6 +4471,7 @@ "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

\n

The valid values are 1-2147483647.

", "smithy.api#required": {} } @@ -4511,12 +4529,14 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

" } }, "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

\n

The valid values are 1-2147483647.

" } }, @@ -4585,12 +4605,14 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

" } }, "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

\n

The valid values are 1-2147483647.

" } }, @@ -4656,24 +4678,6 @@ }, "com.amazonaws.directconnect#OvertureService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Direct Connect", - "arnNamespace": "directconnect", - "cloudFormationName": "DirectConnect", - "cloudTrailEventSource": "directconnect.amazonaws.com", - "endpointPrefix": "directconnect" - }, - "aws.auth#sigv4": { - "name": "directconnect" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. \n One end of the cable is connected to your router, the other to an Direct Connect router. With this connection\n in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 \n and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A \n connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. \n Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.

", - "smithy.api#title": "AWS Direct Connect", - "smithy.api#xmlNamespace": { - "uri": "http://directconnect.amazonaws.com/doc/2012-10-25/" - } - }, "version": "2012-10-25", "operations": [ { @@ -4865,7 +4869,25 @@ { "target": "com.amazonaws.directconnect#UpdateVirtualInterfaceAttributes" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Direct Connect", + "arnNamespace": "directconnect", + "cloudFormationName": "DirectConnect", + "cloudTrailEventSource": "directconnect.amazonaws.com", + "endpointPrefix": "directconnect" + }, + "aws.auth#sigv4": { + "name": "directconnect" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Direct Connect links your internal network to an Direct Connect location over a standard Ethernet fiber-optic cable. \n One end of the cable is connected to your router, the other to an Direct Connect router. With this connection\n in place, you can create virtual interfaces directly to the Amazon Web Services Cloud (for example, to Amazon EC2 \n and Amazon S3) and to Amazon VPC, bypassing Internet service providers in your network path. A \n connection provides access to all Amazon Web Services Regions except the China (Beijing) and (China) Ningxia Regions. \n Amazon Web Services resources in the China Regions can only be accessed through locations associated with those Regions.

", + "smithy.api#title": "AWS Direct Connect", + "smithy.api#xmlNamespace": { + "uri": "http://directconnect.amazonaws.com/doc/2012-10-25/" + } + } }, "com.amazonaws.directconnect#OwnerAccount": { "type": "string" @@ -4898,10 +4920,7 @@ "type": "string" }, "com.amazonaws.directconnect#RequestMACSec": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#ResourceArn": { "type": "string" @@ -5012,10 +5031,7 @@ "type": "string" }, "com.amazonaws.directconnect#SiteLinkEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.directconnect#Software": { "type": "string" @@ -5247,10 +5263,7 @@ } }, "com.amazonaws.directconnect#TestDuration": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.directconnect#TestId": { "type": "string" @@ -5491,6 +5504,7 @@ "minimumLinks": { "target": "com.amazonaws.directconnect#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of physical connections that must be operational for the LAG itself to be operational.

" } }, @@ -5553,7 +5567,10 @@ } }, "com.amazonaws.directconnect#VLAN": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.directconnect#Vendor": { "type": "string" @@ -5649,12 +5666,14 @@ "vlan": { "target": "com.amazonaws.directconnect#VLAN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the VLAN.

" } }, "asn": { "target": "com.amazonaws.directconnect#ASN", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration.

\n

The valid values are 1-2147483647.

" } }, diff --git a/codegen/sdk/aws-models/directory-service.json b/codegen/sdk/aws-models/directory-service.json index f21cfa51bd1..2fb675e388f 100644 --- a/codegen/sdk/aws-models/directory-service.json +++ b/codegen/sdk/aws-models/directory-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -160,6 +160,7 @@ "UpdateSecurityGroupForDirectoryControllers": { "target": "com.amazonaws.directoryservice#UpdateSecurityGroupForDirectoryControllers", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, updates the inbound and outbound rules of the security group that has\n the description: \"Amazon Web Services created security group for directory ID\n directory controllers.\" Following are the new rules:

\n

Inbound:

\n \n\n

\n

Outbound:

\n \n

These security rules impact an internal network interface that is not exposed\n publicly.

" } } @@ -763,7 +764,10 @@ } }, "com.amazonaws.directoryservice#CloudOnlyDirectoriesLimitReached": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#Computer": { "type": "structure", @@ -948,7 +952,10 @@ } }, "com.amazonaws.directoryservice#ConnectedDirectoriesLimitReached": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#CreateAlias": { "type": "operation", @@ -1459,7 +1466,10 @@ } }, "com.amazonaws.directoryservice#CreateSnapshotBeforeSchemaExtension": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#CreateSnapshotRequest": { "type": "structure", @@ -1616,7 +1626,10 @@ } }, "com.amazonaws.directoryservice#DeleteAssociatedConditionalForwarder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#DeleteConditionalForwarder": { "type": "operation", @@ -1870,6 +1883,7 @@ "DeleteAssociatedConditionalForwarder": { "target": "com.amazonaws.directoryservice#DeleteAssociatedConditionalForwarder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Delete a conditional forwarder as part of a DeleteTrustRequest.

" } } @@ -2926,6 +2940,7 @@ "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2 } @@ -3244,12 +3259,14 @@ "SsoEnabled": { "target": "com.amazonaws.directoryservice#SsoEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if single sign-on is enabled for the directory. For more information, see EnableSso and DisableSso.

" } }, "DesiredNumberOfDomainControllers": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The desired number of domain controllers in the directory if the directory is Microsoft\n AD.

" } }, @@ -3357,6 +3374,7 @@ "CloudOnlyDirectoriesLimitReached": { "target": "com.amazonaws.directoryservice#CloudOnlyDirectoriesLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the cloud directory limit has been reached.

" } }, @@ -3375,6 +3393,7 @@ "CloudOnlyMicrosoftADLimitReached": { "target": "com.amazonaws.directoryservice#CloudOnlyDirectoriesLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the Managed Microsoft AD directory limit has been reached.

" } }, @@ -3393,6 +3412,7 @@ "ConnectedDirectoriesLimitReached": { "target": "com.amazonaws.directoryservice#ConnectedDirectoriesLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the connected directory limit has been reached.

" } } @@ -3424,24 +3444,6 @@ }, "com.amazonaws.directoryservice#DirectoryService_20150416": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Directory Service", - "arnNamespace": "ds", - "cloudFormationName": "DirectoryService", - "cloudTrailEventSource": "directoryservice.amazonaws.com", - "endpointPrefix": "ds" - }, - "aws.auth#sigv4": { - "name": "ds" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Directory Service\n

Directory Service is a web service that makes it easy for you to setup and run directories in the\n Amazon Web Services cloud, or connect your Amazon Web Services resources with an existing self-managed Microsoft Active\n Directory. This guide provides detailed information about Directory Service operations, data types,\n parameters, and errors. For information about Directory Services features, see Directory Service and the Directory Service\n Administration Guide.

\n \n

Amazon Web Services provides SDKs that consist of libraries and sample code for various\n programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs\n provide a convenient way to create programmatic access to Directory Service and other Amazon Web Services\n services. For more information about the Amazon Web Services SDKs, including how to download and\n install them, see Tools for Amazon Web\n Services.

\n
", - "smithy.api#title": "AWS Directory Service", - "smithy.api#xmlNamespace": { - "uri": "http://directoryservice.amazonaws.com/doc/2015-04-16/" - } - }, "version": "2015-04-16", "operations": [ { @@ -3639,7 +3641,25 @@ { "target": "com.amazonaws.directoryservice#VerifyTrust" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Directory Service", + "arnNamespace": "ds", + "cloudFormationName": "DirectoryService", + "cloudTrailEventSource": "directoryservice.amazonaws.com", + "endpointPrefix": "ds" + }, + "aws.auth#sigv4": { + "name": "ds" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Directory Service\n

Directory Service is a web service that makes it easy for you to setup and run directories in the\n Amazon Web Services cloud, or connect your Amazon Web Services resources with an existing self-managed Microsoft Active\n Directory. This guide provides detailed information about Directory Service operations, data types,\n parameters, and errors. For information about Directory Services features, see Directory Service and the Directory Service\n Administration Guide.

\n \n

Amazon Web Services provides SDKs that consist of libraries and sample code for various\n programming languages and platforms (Java, Ruby, .Net, iOS, Android, etc.). The SDKs\n provide a convenient way to create programmatic access to Directory Service and other Amazon Web Services\n services. For more information about the Amazon Web Services SDKs, including how to download and\n install them, see Tools for Amazon Web\n Services.

\n
", + "smithy.api#title": "AWS Directory Service", + "smithy.api#xmlNamespace": { + "uri": "http://directoryservice.amazonaws.com/doc/2015-04-16/" + } + } }, "com.amazonaws.directoryservice#DirectoryShortName": { "type": "string", @@ -4949,7 +4969,6 @@ "com.amazonaws.directoryservice#Limit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5344,7 +5363,10 @@ } }, "com.amazonaws.directoryservice#ManualSnapshotsLimitReached": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#NextToken": { "type": "string" @@ -5455,7 +5477,6 @@ "com.amazonaws.directoryservice#PageLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -5472,6 +5493,7 @@ "com.amazonaws.directoryservice#PortNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1025, "max": 65535 @@ -5513,6 +5535,7 @@ "com.amazonaws.directoryservice#RadiusRetries": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -5531,18 +5554,21 @@ "RadiusPort": { "target": "com.amazonaws.directoryservice#PortNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that your RADIUS server is using for communications. Your self-managed\n network must allow inbound traffic over this port from the Directory Service servers.

" } }, "RadiusTimeout": { "target": "com.amazonaws.directoryservice#RadiusTimeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, to wait for the RADIUS server to respond.

" } }, "RadiusRetries": { "target": "com.amazonaws.directoryservice#RadiusRetries", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times that communication with the RADIUS server is\n attempted.

" } }, @@ -5567,6 +5593,7 @@ "UseSameUsername": { "target": "com.amazonaws.directoryservice#UseSameUsername", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Not currently used.

" } } @@ -5608,6 +5635,7 @@ "com.amazonaws.directoryservice#RadiusTimeout": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -5647,6 +5675,7 @@ "DesiredNumberOfDomainControllers": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The desired number of domain controllers in the specified Region for the specified\n directory.

" } }, @@ -6839,6 +6868,7 @@ "ManualSnapshotsLimitReached": { "target": "com.amazonaws.directoryservice#ManualSnapshotsLimitReached", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the manual snapshot limit has been reached.

" } } @@ -6901,7 +6931,10 @@ } }, "com.amazonaws.directoryservice#SsoEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#StageReason": { "type": "string" @@ -6954,6 +6987,7 @@ "CreateSnapshotBeforeSchemaExtension": { "target": "com.amazonaws.directoryservice#CreateSnapshotBeforeSchemaExtension", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, creates a snapshot of the directory before applying the schema\n extension.

", "smithy.api#required": {} } @@ -7555,6 +7589,7 @@ "DesiredNumber": { "target": "com.amazonaws.directoryservice#DesiredNumberOfDomainControllers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of domain controllers desired in the directory.

", "smithy.api#required": {} } @@ -7621,7 +7656,10 @@ } }, "com.amazonaws.directoryservice#UpdateSecurityGroupForDirectoryControllers": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#UpdateSettings": { "type": "operation", @@ -7750,7 +7788,10 @@ } }, "com.amazonaws.directoryservice#UseSameUsername": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.directoryservice#UserDoesNotExistException": { "type": "structure", diff --git a/codegen/sdk/aws-models/dlm.json b/codegen/sdk/aws-models/dlm.json index b1e84f6d590..13fc8d777ee 100644 --- a/codegen/sdk/aws-models/dlm.json +++ b/codegen/sdk/aws-models/dlm.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -73,6 +73,36 @@ "smithy.api#pattern": "^[0-9A-Za-z _-]+$" } }, + "com.amazonaws.dlm#ArchiveRetainRule": { + "type": "structure", + "members": { + "RetentionArchiveTier": { + "target": "com.amazonaws.dlm#RetentionArchiveTier", + "traits": { + "smithy.api#documentation": "

Information about retention period in the Amazon EBS Snapshots Archive. For more information, see \n\t\t\tArchive Amazon \n\t\t\t\tEBS snapshots.

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

\n [Snapshot policies only] Specifies information about the archive storage tier retention period.

" + } + }, + "com.amazonaws.dlm#ArchiveRule": { + "type": "structure", + "members": { + "RetainRule": { + "target": "com.amazonaws.dlm#ArchiveRetainRule", + "traits": { + "smithy.api#documentation": "

Information about the retention period for the snapshot archiving rule.

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

\n [Snapshot policies only] Specifies a snapshot archiving rule for a schedule.

" + } + }, "com.amazonaws.dlm#AvailabilityZone": { "type": "string", "traits": { @@ -116,17 +146,18 @@ } }, "com.amazonaws.dlm#CopyTags": { - "type": "boolean" - }, - "com.amazonaws.dlm#CopyTagsNullable": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.dlm#CopyTagsNullable": { + "type": "boolean" + }, "com.amazonaws.dlm#Count": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -223,7 +254,8 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#documentation": "

The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and\n\t\t\t24.

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

The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.

" } }, "IntervalUnit": { @@ -235,7 +267,7 @@ "Times": { "target": "com.amazonaws.dlm#TimesList", "traits": { - "smithy.api#documentation": "

The time, in UTC, to start the operation. The supported format is hh:mm.

\n\t\t

The operation occurs within a one-hour window following the specified time. If you do\n\t\t\tnot specify a time, Amazon DLM selects a time within the next 24 hours.

" + "smithy.api#documentation": "

The time, in UTC, to start the operation. The supported format is hh:mm.

\n\t\t

The operation occurs within a one-hour window following the specified time. If you do\n\t\t\tnot specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.

" } }, "CronExpression": { @@ -246,7 +278,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.

\n\t\t \n\t\t\t

You must specify either a Cron expression or an interval, interval unit, and start\n\t\t\ttime. You cannot specify both.

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

\n [Snapshot and AMI policies only] Specifies when the policy should create snapshots or AMIs.

\n\t\t \n\t\t\t \t\t\t\n\t\t " } }, "com.amazonaws.dlm#CronExpression": { @@ -302,6 +334,7 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The period after which to deprecate the cross-Region AMI copies. The period must be less than or \n\t\t\tequal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is \n\t\t\tequivalent to 120 months, 520 weeks, or 3650 days.

" } }, @@ -322,6 +355,7 @@ "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years. \n\t\t\tThis is equivalent to 1200 months, 5200 weeks, or 36500 days.

" } }, @@ -419,7 +453,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified lifecycle policy and halts the automated operations that the\n\t\t\tpolicy specified.

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

Deletes the specified lifecycle policy and halts the automated operations that the\n\t\t\tpolicy specified.

\n\t\t

For more information about deleting a policy, see Delete lifecycle \n\t\t\tpolicies.

", "smithy.api#http": { "method": "DELETE", "uri": "/policies/{PolicyId}", @@ -450,12 +484,14 @@ "Count": { "target": "com.amazonaws.dlm#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If the schedule has a count-based retention rule, this parameter specifies the number of oldest \n\t\t\tAMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it \n\t\t\tcan't be greater than 1000.

" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If the schedule has an age-based retention rule, this parameter specifies the period after which \n\t\t\tto deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's \n\t\t\tretention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520 \n\t\t\tweeks, or 3650 days.

" } }, @@ -481,10 +517,7 @@ } }, "com.amazonaws.dlm#Encrypted": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dlm#EncryptionConfiguration": { "type": "structure", @@ -564,32 +597,29 @@ } }, "com.amazonaws.dlm#EventSourceValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MANAGED_CWE", - "name": "MANAGED_CWE" + "type": "enum", + "members": { + "MANAGED_CWE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANAGED_CWE" } - ] + } } }, "com.amazonaws.dlm#EventTypeValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "shareSnapshot", - "name": "SHARE_SNAPSHOT" + "type": "enum", + "members": { + "SHARE_SNAPSHOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "shareSnapshot" } - ] + } } }, "com.amazonaws.dlm#ExcludeBootVolume": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dlm#ExcludeDataVolumeTagList": { "type": "list", @@ -619,12 +649,14 @@ "Count": { "target": "com.amazonaws.dlm#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of snapshots to be enabled with fast snapshot restore.

" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time to enable fast snapshot restore. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.

" } }, @@ -643,7 +675,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by \n\t\t\tsnaspshot policies. You can enable fast snapshot restore based on either a count or a time \n\t\t\tinterval.

" + "smithy.api#documentation": "

\n [Snapshot policies only] Specifies a rule for enabling fast snapshot restore for snapshots created by\n\t\t\tsnapshot policies. You can enable fast snapshot restore based on either a count or a\n\t\t\ttime interval.

" } }, "com.amazonaws.dlm#GetLifecyclePolicies": { @@ -781,22 +813,26 @@ } }, "com.amazonaws.dlm#GettablePolicyStateValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "ERROR", - "name": "ERROR" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" } - ] + } } }, "com.amazonaws.dlm#InternalServerException": { @@ -818,20 +854,21 @@ "com.amazonaws.dlm#Interval": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.dlm#IntervalUnitValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HOURS", - "name": "HOURS" + "type": "enum", + "members": { + "HOURS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HOURS" } - ] + } } }, "com.amazonaws.dlm#InvalidRequestException": { @@ -1049,25 +1086,24 @@ } }, "com.amazonaws.dlm#LocationValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLOUD", - "name": "CLOUD" - }, - { - "value": "OUTPOST_LOCAL", - "name": "OUTPOST_LOCAL" + "type": "enum", + "members": { + "CLOUD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUD" + } + }, + "OUTPOST_LOCAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOST_LOCAL" } - ] + } } }, "com.amazonaws.dlm#NoReboot": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dlm#Parameter": { "type": "string" @@ -1101,7 +1137,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n [Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The \n\t\t\tset of valid parameters depends on the combination of policy type and target resource \n\t\t\ttype.

\n\t\t

If you choose to exclude boot volumes and you specify tags that consequently exclude \n\t\t\tall of the additional data volumes attached to an instance, then Amazon DLM will not create \n\t\t\tany snapshots for the affected instance, and it will emit a SnapshotsCreateFailed \n\t\t\tAmazon CloudWatch metric. For more information, see Monitor your policies \n\t\t\t\tusing Amazon CloudWatch.

" + "smithy.api#documentation": "

\n [Snapshot and AMI policies only] Specifies optional parameters for snapshot and AMI policies. The \n\t\t\tset of valid parameters depends on the combination of policy type and target resource \n\t\t\ttype.

\n\t\t

If you choose to exclude boot volumes and you specify tags that consequently exclude \n\t\t\tall of the additional data volumes attached to an instance, then Amazon Data Lifecycle Manager will not create \n\t\t\tany snapshots for the affected instance, and it will emit a SnapshotsCreateFailed \n\t\t\tAmazon CloudWatch metric. For more information, see Monitor your policies \n\t\t\t\tusing Amazon CloudWatch.

" } }, "com.amazonaws.dlm#PolicyArn": { @@ -1197,22 +1233,26 @@ } }, "com.amazonaws.dlm#PolicyTypeValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EBS_SNAPSHOT_MANAGEMENT", - "name": "EBS_SNAPSHOT_MANAGEMENT" - }, - { - "value": "IMAGE_MANAGEMENT", - "name": "IMAGE_MANAGEMENT" - }, - { - "value": "EVENT_BASED_POLICY", - "name": "EVENT_BASED_POLICY" + "type": "enum", + "members": { + "EBS_SNAPSHOT_MANAGEMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EBS_SNAPSHOT_MANAGEMENT" + } + }, + "IMAGE_MANAGEMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMAGE_MANAGEMENT" + } + }, + "EVENT_BASED_POLICY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EVENT_BASED_POLICY" } - ] + } } }, "com.amazonaws.dlm#ResourceLocationList": { @@ -1228,18 +1268,20 @@ } }, "com.amazonaws.dlm#ResourceLocationValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CLOUD", - "name": "CLOUD" - }, - { - "value": "OUTPOST", - "name": "OUTPOST" + "type": "enum", + "members": { + "CLOUD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLOUD" } - ] + }, + "OUTPOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOST" + } + } } }, "com.amazonaws.dlm#ResourceNotFoundException": { @@ -1271,18 +1313,20 @@ } }, "com.amazonaws.dlm#ResourceTypeValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VOLUME", - "name": "VOLUME" - }, - { - "value": "INSTANCE", - "name": "INSTANCE" + "type": "enum", + "members": { + "VOLUME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VOLUME" + } + }, + "INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTANCE" } - ] + } } }, "com.amazonaws.dlm#ResourceTypeValuesList": { @@ -1298,52 +1342,88 @@ } }, "com.amazonaws.dlm#RetainRule": { + "type": "structure", + "members": { + "Count": { + "target": "com.amazonaws.dlm#StandardTierRetainRuleCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to \n\t\t\tretain a maximum of three snapshots, specify 3. When the fourth snapshot is created, the \n\t\t\toldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an \n\t\t\tArchiveRule.

" + } + }, + "Interval": { + "target": "com.amazonaws.dlm#StandardTierRetainRuleInterval", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The amount of time to retain each snapshot. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.

" + } + }, + "IntervalUnit": { + "target": "com.amazonaws.dlm#RetentionIntervalUnitValues", + "traits": { + "smithy.api#documentation": "

The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify \n\t\t\tInterval=3 and IntervalUnit=MONTHS. Once the snapshot has been retained for \n\t\t\t3 months, it is deleted, or it is moved to the archive tier if you have specified an \n\t\t\tArchiveRule.

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

\n [Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies, or for AMIs \n\t\t\tcreated by AMI policies.

\n\t\t\n\t\t \t\t\t\n\t\t\t

For snapshot policies that have an ArchiveRule, this retention rule\n\t\t\t\tapplies to standard tier retention. When the retention threshold is met, snapshots\n\t\t\t\tare moved from the standard to the archive tier.

\n\t\t\t

For snapshot policies that do not have an ArchiveRule, snapshots \n\t\t\t\tare permanently deleted when this retention threshold is met.

\n\t\t
\n\t\t\n\t\t

You can retain snapshots based on either a count or a time interval.

\t\t\n\t\t " + } + }, + "com.amazonaws.dlm#RetentionArchiveTier": { "type": "structure", "members": { "Count": { "target": "com.amazonaws.dlm#Count", "traits": { - "smithy.api#documentation": "

The number of snapshots to retain for each volume, up to a maximum of 1000.

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

The maximum number of snapshots to retain in the archive storage tier for each volume. \n\t\t\tThe count must ensure that each snapshot remains in the archive tier for at least \n\t\t90 days. For example, if the schedule creates snapshots every 30 days, you must specify a \n\t\tcount of 3 or more to ensure that each snapshot is archived for at least 90 days.

" } }, "Interval": { "target": "com.amazonaws.dlm#Interval", "traits": { - "smithy.api#documentation": "

The amount of time to retain each snapshot. The maximum is 100 years. This is\n\t\t\tequivalent to 1200 months, 5200 weeks, or 36500 days.

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

Specifies the period of time to retain snapshots in the archive tier. After this period \n\t\t\texpires, the snapshot is permanently deleted.

" } }, "IntervalUnit": { "target": "com.amazonaws.dlm#RetentionIntervalUnitValues", "traits": { - "smithy.api#documentation": "

The unit of time for time-based retention.

" + "smithy.api#documentation": "

The unit of time in which to measure the Interval. For \n\t\t\texample, to retain a snapshots in the archive tier for 6 months, specify Interval=6 \n\t\t\tand IntervalUnit=MONTHS.

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

\n [Snapshot and AMI policies only] Specifies a retention rule for snapshots created by snapshot policies \n\t\t\tor for AMIs created by AMI policies. You can retain snapshots based on either a count or a time interval.

\n\t\t

You must specify either Count, or Interval \n\t\t\tand IntervalUnit.

" + "smithy.api#documentation": "

\n [Snapshot policies only] Describes the retention rule for archived snapshots. Once the archive \n\t\t\tretention threshold is met, the snapshots are permanently deleted from the archive tier.

\n\t\t \n\t\t\t

The archive retention rule must retain snapshots in the archive tier for a minimum \n\t\t\t\tof 90 days.

\n\t\t
\n\t\t\t\n\t\t

For count-based schedules, you must specify Count. For age-based\n\t\t\t\tschedules, you must specify Interval and\n\t\t\t\t IntervalUnit.

\n\t\t

For more information about using snapshot archiving, see Considerations for \n\t\t\tsnapshot lifecycle policies.

" } }, "com.amazonaws.dlm#RetentionIntervalUnitValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DAYS", - "name": "DAYS" - }, - { - "value": "WEEKS", - "name": "WEEKS" - }, - { - "value": "MONTHS", - "name": "MONTHS" - }, - { - "value": "YEARS", - "name": "YEARS" - } - ] + "type": "enum", + "members": { + "DAYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DAYS" + } + }, + "WEEKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WEEKS" + } + }, + "MONTHS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MONTHS" + } + }, + "YEARS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YEARS" + } + } } }, "com.amazonaws.dlm#Schedule": { @@ -1358,6 +1438,7 @@ "CopyTags": { "target": "com.amazonaws.dlm#CopyTags", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Copy all user-defined tags on a source volume to snapshots of the volume created by\n\t\t\tthis policy.

" } }, @@ -1408,6 +1489,12 @@ "traits": { "smithy.api#documentation": "

\n [AMI policies only] The AMI deprecation rule for the schedule.

" } + }, + "ArchiveRule": { + "target": "com.amazonaws.dlm#ArchiveRule", + "traits": { + "smithy.api#documentation": "

\n [Snapshot policies that target volumes only] The snapshot archiving rule for the schedule. When you specify an archiving \n\t\t\trule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's \n\t\t\tretention threshold is met. Snapshots are then retained in the archive tier for the archive retention \n\t\t\tperiod that you specify.

\n\t\t

For more information about using snapshot archiving, see Considerations for \n\t\t\t\tsnapshot lifecycle policies.

" + } } }, "traits": { @@ -1437,18 +1524,20 @@ } }, "com.amazonaws.dlm#SettablePolicyStateValues": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.dlm#ShareRule": { @@ -1464,6 +1553,7 @@ "UnshareInterval": { "target": "com.amazonaws.dlm#Interval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.

" } }, @@ -1513,6 +1603,25 @@ } } }, + "com.amazonaws.dlm#StandardTierRetainRuleCount": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0, + "max": 1000 + } + } + }, + "com.amazonaws.dlm#StandardTierRetainRuleInterval": { + "type": "integer", + "traits": { + "smithy.api#default": 0, + "smithy.api#range": { + "min": 0 + } + } + }, "com.amazonaws.dlm#StatusMessage": { "type": "string", "traits": { @@ -1833,7 +1942,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates the specified lifecycle policy.

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

Updates the specified lifecycle policy.

\n\t\t

For more information about updating a policy, see Modify lifecycle \n\t\t\tpolicies.

", "smithy.api#http": { "method": "PATCH", "uri": "/policies/{PolicyId}", @@ -1896,21 +2005,6 @@ }, "com.amazonaws.dlm#dlm_20180112": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DLM", - "arnNamespace": "dlm", - "cloudFormationName": "DLM", - "cloudTrailEventSource": "dlm.amazonaws.com", - "endpointPrefix": "dlm" - }, - "aws.auth#sigv4": { - "name": "dlm" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Data Lifecycle Manager\n\t\t

With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create\n\t\t\tlifecycle policies, which are used to automate operations on the specified\n\t\t\tresources.

\n\t\t

Amazon DLM supports Amazon EBS volumes and snapshots. For information about using Amazon DLM\n\t\t\twith Amazon EBS, see Automating the Amazon EBS\n\t\t\t\tSnapshot Lifecycle in the Amazon EC2 User Guide.

", - "smithy.api#title": "Amazon Data Lifecycle Manager" - }, "version": "2018-01-12", "operations": [ { @@ -1937,7 +2031,22 @@ { "target": "com.amazonaws.dlm#UpdateLifecyclePolicy" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DLM", + "arnNamespace": "dlm", + "cloudFormationName": "DLM", + "cloudTrailEventSource": "dlm.amazonaws.com", + "endpointPrefix": "dlm" + }, + "aws.auth#sigv4": { + "name": "dlm" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Data Lifecycle Manager\n\t\t

With Amazon Data Lifecycle Manager, you can manage the lifecycle of your Amazon Web Services resources. You create\n\t\t\tlifecycle policies, which are used to automate operations on the specified\n\t\t\tresources.

\n\t\t

Amazon Data Lifecycle Manager supports Amazon EBS volumes and snapshots. For information about using Amazon Data Lifecycle Manager\n\t\t\twith Amazon EBS, see \n\t\t\t\tAmazon Data Lifecycle Manager in the Amazon EC2 User Guide.

", + "smithy.api#title": "Amazon Data Lifecycle Manager" + } } } } diff --git a/codegen/sdk/aws-models/docdb.json b/codegen/sdk/aws-models/docdb.json index 249575fa89a..05ef107545d 100644 --- a/codegen/sdk/aws-models/docdb.json +++ b/codegen/sdk/aws-models/docdb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -126,24 +126,6 @@ }, "com.amazonaws.docdb#AmazonRDSv19": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "DocDB", - "arnNamespace": "rds", - "cloudFormationName": "DocDB", - "cloudTrailEventSource": "docdb.amazonaws.com", - "endpointPrefix": "rds" - }, - "aws.auth#sigv4": { - "name": "rds" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "

Amazon DocumentDB API documentation

", - "smithy.api#title": "Amazon DocumentDB with MongoDB compatibility", - "smithy.api#xmlNamespace": { - "uri": "http://rds.amazonaws.com/doc/2014-10-31/" - } - }, "version": "2014-10-31", "operations": [ { @@ -305,7 +287,25 @@ { "target": "com.amazonaws.docdb#StopDBCluster" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "DocDB", + "arnNamespace": "rds", + "cloudFormationName": "DocDB", + "cloudTrailEventSource": "docdb.amazonaws.com", + "endpointPrefix": "rds" + }, + "aws.auth#sigv4": { + "name": "rds" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "

Amazon DocumentDB API documentation

", + "smithy.api#title": "Amazon DocumentDB with MongoDB compatibility", + "smithy.api#xmlNamespace": { + "uri": "http://rds.amazonaws.com/doc/2014-10-31/" + } + } }, "com.amazonaws.docdb#ApplyMethod": { "type": "string", @@ -441,14 +441,14 @@ } }, "com.amazonaws.docdb#Boolean": { - "type": "boolean" - }, - "com.amazonaws.docdb#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.docdb#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.docdb#Certificate": { "type": "structure", "members": { @@ -1508,6 +1508,7 @@ "MultiAZ": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster has instances in multiple Availability Zones.

" } }, @@ -1586,6 +1587,7 @@ "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster is encrypted.

" } }, @@ -1634,6 +1636,7 @@ "DeletionProtection": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether this cluster can be deleted. If DeletionProtection is\n enabled, the cluster cannot be deleted unless it is modified and\n DeletionProtection is disabled. DeletionProtection\n protects clusters from being accidentally deleted.

" } } @@ -1680,6 +1683,7 @@ "IsClusterWriter": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that is true if the cluster member is the primary instance for\n the cluster and false otherwise.

" } }, @@ -1946,6 +1950,7 @@ "Port": { "target": "com.amazonaws.docdb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the cluster was listening on at the time of the\n snapshot.

" } }, @@ -1982,12 +1987,14 @@ "PercentProgress": { "target": "com.amazonaws.docdb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the percentage of the estimated data that has been transferred.

" } }, "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster snapshot is encrypted.

" } }, @@ -2174,6 +2181,7 @@ "SupportsLogExportsToCloudwatchLogs": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the engine version supports exporting the log types\n specified by ExportableLogTypes to CloudWatch Logs.

" } } @@ -2259,6 +2267,7 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.docdb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days for which automatic snapshots are retained.

" } }, @@ -2307,12 +2316,14 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Does not apply. This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.

" } }, "PubliclyAccessible": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Not supported. Amazon DocumentDB does not currently support public endpoints. The value \n of PubliclyAccessible is always false.

" } }, @@ -2331,6 +2342,7 @@ "StorageEncrypted": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not the instance is encrypted.

" } }, @@ -2456,6 +2468,7 @@ "Normal": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that is true if the instance is operating normally, or\n false if the instance is in an error state.

" } }, @@ -2804,6 +2817,7 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final cluster snapshot is created before the cluster is deleted. If true is specified, no cluster snapshot is created. If false is specified, a cluster snapshot is created before the DB cluster is deleted.

\n \n

If SkipFinalSnapshot is false, you must specify a FinalDBSnapshotIdentifier parameter.

\n
\n

Default: false\n

" } }, @@ -3354,12 +3368,14 @@ "IncludeShared": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to include shared manual cluster snapshots from other Amazon Web Services accounts that this Amazon Web Services account has been given permission to copy or restore, and otherwise false. The default is false.

" } }, "IncludePublic": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to include manual cluster snapshots that are public and can be copied or restored by any Amazon Web Services account, and otherwise false. The default is false.

" } } @@ -3483,6 +3499,7 @@ "DefaultOnly": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that only the default version of the specified engine or engine and major\n version combination is returned.

" } }, @@ -4158,6 +4175,7 @@ "Port": { "target": "com.amazonaws.docdb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine is listening on.

" } }, @@ -4357,6 +4375,7 @@ "Enabled": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating whether the subscription is enabled. A value of\n true indicates that the subscription is enabled.

" } }, @@ -4653,6 +4672,7 @@ "IsWriter": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.

" } } @@ -4790,14 +4810,14 @@ } }, "com.amazonaws.docdb#Integer": { - "type": "integer" - }, - "com.amazonaws.docdb#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.docdb#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.docdb#InvalidDBClusterSnapshotStateFault": { "type": "structure", "members": { @@ -5158,6 +5178,7 @@ "ApplyImmediately": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether the changes in this request and any pending changes are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the cluster. If this\n parameter is set to false, changes to the cluster are applied during the\n next maintenance window.

\n

The ApplyImmediately parameter affects only the\n NewDBClusterIdentifier and MasterUserPassword values. If\n you set this parameter value to false, the changes to the\n NewDBClusterIdentifier and MasterUserPassword values are\n applied during the next maintenance window. All other changes are applied immediately,\n regardless of the value of the ApplyImmediately parameter.

\n

Default: false\n

" } }, @@ -5413,6 +5434,7 @@ "ApplyImmediately": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the modifications in this request and any pending modifications are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the instance.

\n

If this parameter is set to false, changes to the instance are\n applied during the next maintenance window. Some parameter changes can cause an outage\n and are applied on the next reboot.

\n

Default: false\n

" } }, @@ -5712,6 +5734,7 @@ "Vpc": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether an instance is in a virtual private cloud (VPC).

" } } @@ -5797,6 +5820,7 @@ "IsModifiable": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can\n be modified. Some parameters have security or operational implications that prevent them\n from being changed.

" } }, @@ -6265,6 +6289,7 @@ "ResetAllParameters": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to reset all parameters in the cluster\n parameter group to their default values, and false otherwise. You can't use\n this parameter if there is a list of parameter names specified for the\n Parameters parameter.

" } }, @@ -6554,6 +6579,7 @@ "UseLatestRestorableTime": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to restore the cluster to the latest\n restorable backup time, and false otherwise.

\n

Default: false\n

\n

Constraints: Cannot be specified if the RestoreToTime parameter is\n provided.

" } }, @@ -7059,12 +7085,14 @@ "AutoUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.

" } }, "IsMajorVersionUpgrade": { "target": "com.amazonaws.docdb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether a database engine is upgraded to a major\n version.

" } } diff --git a/codegen/sdk/aws-models/drs.json b/codegen/sdk/aws-models/drs.json index a3fc8447846..5b53f3a6241 100644 --- a/codegen/sdk/aws-models/drs.json +++ b/codegen/sdk/aws-models/drs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.drs#ARN": { "type": "string", @@ -101,6 +101,7 @@ "cores": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU cores.

" } }, @@ -369,6 +370,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

", "smithy.api#required": {} } @@ -548,24 +550,28 @@ "totalStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of data to be replicated in bytes.

" } }, "replicatedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of data replicated so far in bytes.

" } }, "rescannedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of data to be rescanned in bytes.

" } }, "backloggedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the replication backlog in bytes.

" } } @@ -1013,6 +1019,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Job log items to retrieve.

" } }, @@ -1091,6 +1098,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Jobs to retrieve.

" } }, @@ -1216,6 +1224,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Recovery Instances to retrieve.

" } }, @@ -1330,6 +1339,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Recovery Snapshots to retrieve.

" } }, @@ -1431,6 +1441,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Replication Configuration Templates to retrieve.

" } }, @@ -1509,6 +1520,7 @@ "maxResults": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of Source Servers to retrieve.

" } }, @@ -1682,6 +1694,7 @@ "bytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage on the disk in bytes.

" } } @@ -1774,40 +1787,6 @@ }, "com.amazonaws.drs#ElasticDisasterRecoveryService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "drs", - "arnNamespace": "drs", - "awsProductName": "drs", - "cloudTrailEventSource": "drs.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "drs" - }, - "aws.iam#defineConditionKeys": { - "drs:EC2InstanceARN": { - "type": "String", - "documentation": "Filters access by the EC2 instance the request originated from" - } - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "Content-Type", - "X-Amz-Content-Sha256", - "X-Amz-User-Agent", - "X-Amzn-Trace-Id" - ], - "additionalExposedHeaders": [ - "X-Amzn-Errortype", - "X-Amzn-Requestid", - "X-Amzn-Trace-Id", - "X-Amz-Apigw-Id" - ] - }, - "smithy.api#documentation": "

AWS Elastic Disaster Recovery Service.

", - "smithy.api#title": "Elastic Disaster Recovery Service" - }, "version": "2020-02-26", "operations": [ { @@ -1848,7 +1827,41 @@ { "target": "com.amazonaws.drs#SourceServerResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "drs", + "arnNamespace": "drs", + "awsProductName": "drs", + "cloudTrailEventSource": "drs.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "drs" + }, + "aws.iam#defineConditionKeys": { + "drs:EC2InstanceARN": { + "type": "String", + "documentation": "Filters access by the EC2 instance the request originated from" + } + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "Content-Type", + "X-Amz-Content-Sha256", + "X-Amz-User-Agent", + "X-Amzn-Trace-Id" + ], + "additionalExposedHeaders": [ + "X-Amzn-Errortype", + "X-Amzn-Requestid", + "X-Amzn-Trace-Id", + "X-Amz-Apigw-Id" + ] + }, + "smithy.api#documentation": "

AWS Elastic Disaster Recovery Service.

", + "smithy.api#title": "Elastic Disaster Recovery Service" + } }, "com.amazonaws.drs#ExtensionStatus": { "type": "string", @@ -2002,6 +2015,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.

" } }, @@ -2249,6 +2263,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which the request should be safe to retry.

", "smithy.api#httpHeader": "Retry-After" } @@ -2838,6 +2853,7 @@ "maxResults": { "target": "com.amazonaws.drs#MaxResultsReplicatingSourceServers", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of extensible source servers to retrieve.

" } }, @@ -3008,6 +3024,7 @@ "com.amazonaws.drs#MaxResultsReplicatingSourceServers": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 300 @@ -3084,6 +3101,7 @@ "ruleID": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the rule.

" } }, @@ -3097,6 +3115,7 @@ "interval": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

How often, in the chosen units, a snapshot should be taken.

", "smithy.api#required": {} } @@ -3104,6 +3123,7 @@ "retentionDuration": { "target": "com.amazonaws.drs#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration to retain a snapshot for, in the chosen units.

", "smithy.api#required": {} } @@ -3182,6 +3202,7 @@ "com.amazonaws.drs#PositiveInteger": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3343,24 +3364,28 @@ "totalStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of data to be replicated in bytes.

" } }, "replicatedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of data replicated so far in bytes.

" } }, "rescannedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of data to be rescanned in bytes.

" } }, "backloggedStorageBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the replication backlog in bytes.

" } } @@ -3548,6 +3573,7 @@ "bytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage on the disk in bytes.

" } }, @@ -3694,6 +3720,7 @@ "ramBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of RAM in bytes.

" } }, @@ -3910,6 +3937,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

" } }, @@ -4016,12 +4044,14 @@ "iops": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The requested number of I/O operations per second (IOPS).

" } }, "throughput": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The throughput to use for the EBS volume in MiB/s. This parameter is valid only for gp3 volumes.

" } }, @@ -4150,6 +4180,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

" } }, @@ -4429,6 +4460,7 @@ "ramBytes": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of RAM in bytes.

" } }, @@ -4919,6 +4951,7 @@ "com.amazonaws.drs#StrictlyPositiveInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -5264,6 +5297,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configure bandwidth throttling for the outbound data transfer rate of the Recovery Instance in Mbps.

" } }, @@ -5475,6 +5509,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

" } }, @@ -5608,6 +5643,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.drs#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configure bandwidth throttling for the outbound data transfer rate of the Source Server in Mbps.

" } }, @@ -5739,4 +5775,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/dynamodb-streams.json b/codegen/sdk/aws-models/dynamodb-streams.json index 4c3515c20f4..66a6438cdd4 100644 --- a/codegen/sdk/aws-models/dynamodb-streams.json +++ b/codegen/sdk/aws-models/dynamodb-streams.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -125,10 +125,7 @@ } }, "com.amazonaws.dynamodbstreams#BooleanAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodbstreams#Date": { "type": "timestamp" @@ -196,6 +193,21 @@ }, "com.amazonaws.dynamodbstreams#DynamoDBStreams_20120810": { "type": "service", + "version": "2012-08-10", + "operations": [ + { + "target": "com.amazonaws.dynamodbstreams#DescribeStream" + }, + { + "target": "com.amazonaws.dynamodbstreams#GetRecords" + }, + { + "target": "com.amazonaws.dynamodbstreams#GetShardIterator" + }, + { + "target": "com.amazonaws.dynamodbstreams#ListStreams" + } + ], "traits": { "aws.api#service": { "sdkId": "DynamoDB Streams", @@ -213,22 +225,7 @@ "smithy.api#xmlNamespace": { "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" } - }, - "version": "2012-08-10", - "operations": [ - { - "target": "com.amazonaws.dynamodbstreams#DescribeStream" - }, - { - "target": "com.amazonaws.dynamodbstreams#GetRecords" - }, - { - "target": "com.amazonaws.dynamodbstreams#GetShardIterator" - }, - { - "target": "com.amazonaws.dynamodbstreams#ListStreams" - } - ] + } }, "com.amazonaws.dynamodbstreams#ErrorMessage": { "type": "string" @@ -580,10 +577,7 @@ } }, "com.amazonaws.dynamodbstreams#NullAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodbstreams#NumberAttributeValue": { "type": "string" @@ -616,7 +610,6 @@ "com.amazonaws.dynamodbstreams#PositiveIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -625,7 +618,6 @@ "com.amazonaws.dynamodbstreams#PositiveLongObject": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/dynamodb.json b/codegen/sdk/aws-models/dynamodb.json index c1bec4a26b1..10ecd145ce1 100644 --- a/codegen/sdk/aws-models/dynamodb.json +++ b/codegen/sdk/aws-models/dynamodb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -447,10 +447,7 @@ } }, "com.amazonaws.dynamodb#Backfilling": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#BackupArn": { "type": "string", @@ -582,7 +579,6 @@ "com.amazonaws.dynamodb#BackupSizeBytes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -726,7 +722,6 @@ "com.amazonaws.dynamodb#BackupsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1112,7 +1107,6 @@ "com.amazonaws.dynamodb#BilledSizeBytes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1163,16 +1157,10 @@ } }, "com.amazonaws.dynamodb#BooleanAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#CancellationReason": { "type": "structure", @@ -1426,10 +1414,7 @@ } }, "com.amazonaws.dynamodb#ConsistentRead": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#ConsumedCapacity": { "type": "structure", @@ -1488,10 +1473,7 @@ } }, "com.amazonaws.dynamodb#ConsumedCapacityUnits": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.dynamodb#ContinuousBackupsDescription": { "type": "structure", @@ -3131,10 +3113,7 @@ } }, "com.amazonaws.dynamodb#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.dynamodb#DuplicateItemException": { "type": "structure", @@ -3150,28 +3129,6 @@ }, "com.amazonaws.dynamodb#DynamoDB_20120810": { "type": "service", - "traits": { - "aws.api#clientEndpointDiscovery": { - "operation": "com.amazonaws.dynamodb#DescribeEndpoints", - "error": "com.amazonaws.dynamodb#InvalidEndpointException" - }, - "aws.api#service": { - "sdkId": "DynamoDB", - "arnNamespace": "dynamodb", - "cloudFormationName": "DynamoDB", - "cloudTrailEventSource": "dynamodb.amazonaws.com", - "endpointPrefix": "dynamodb" - }, - "aws.auth#sigv4": { - "name": "dynamodb" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon DynamoDB\n\n

Amazon DynamoDB is a fully managed NoSQL database service that provides fast\n and predictable performance with seamless scalability. DynamoDB lets you\n offload the administrative burdens of operating and scaling a distributed database, so\n that you don't have to worry about hardware provisioning, setup and configuration,\n replication, software patching, or cluster scaling.

\n\n

With DynamoDB, you can create database tables that can store and retrieve\n any amount of data, and serve any level of request traffic. You can scale up or scale\n down your tables' throughput capacity without downtime or performance degradation, and\n use the Amazon Web Services Management Console to monitor resource utilization and performance\n metrics.

\n\n

DynamoDB automatically spreads the data and traffic for your tables over\n a sufficient number of servers to handle your throughput and storage requirements, while\n maintaining consistent and fast performance. All of your data is stored on solid state\n disks (SSDs) and automatically replicated across multiple Availability Zones in an\n Amazon Web Services Region, providing built-in high availability and data\n durability.

", - "smithy.api#title": "Amazon DynamoDB", - "smithy.api#xmlNamespace": { - "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" - } - }, "version": "2012-08-10", "operations": [ { @@ -3333,7 +3290,29 @@ { "target": "com.amazonaws.dynamodb#UpdateTimeToLive" } - ] + ], + "traits": { + "aws.api#clientEndpointDiscovery": { + "operation": "com.amazonaws.dynamodb#DescribeEndpoints", + "error": "com.amazonaws.dynamodb#InvalidEndpointException" + }, + "aws.api#service": { + "sdkId": "DynamoDB", + "arnNamespace": "dynamodb", + "cloudFormationName": "DynamoDB", + "cloudTrailEventSource": "dynamodb.amazonaws.com", + "endpointPrefix": "dynamodb" + }, + "aws.auth#sigv4": { + "name": "dynamodb" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon DynamoDB\n\n

Amazon DynamoDB is a fully managed NoSQL database service that provides fast\n and predictable performance with seamless scalability. DynamoDB lets you\n offload the administrative burdens of operating and scaling a distributed database, so\n that you don't have to worry about hardware provisioning, setup and configuration,\n replication, software patching, or cluster scaling.

\n\n

With DynamoDB, you can create database tables that can store and retrieve\n any amount of data, and serve any level of request traffic. You can scale up or scale\n down your tables' throughput capacity without downtime or performance degradation, and\n use the Amazon Web Services Management Console to monitor resource utilization and performance\n metrics.

\n\n

DynamoDB automatically spreads the data and traffic for your tables over\n a sufficient number of servers to handle your throughput and storage requirements, while\n maintaining consistent and fast performance. All of your data is stored on solid state\n disks (SSDs) and automatically replicated across multiple Availability Zones in an\n Amazon Web Services Region, providing built-in high availability and data\n durability.

", + "smithy.api#title": "Amazon DynamoDB", + "smithy.api#xmlNamespace": { + "uri": "http://dynamodb.amazonaws.com/doc/2012-08-10/" + } + } }, "com.amazonaws.dynamodb#EnableKinesisStreamingDestination": { "type": "operation", @@ -3380,6 +3359,7 @@ "CachePeriodInMinutes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Endpoint cache time to live (TTL) value.

", "smithy.api#required": {} } @@ -3398,6 +3378,7 @@ "com.amazonaws.dynamodb#ErrorCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4267,12 +4248,14 @@ "IndexSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size of the specified index, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

" } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the specified index. DynamoDB updates this value approximately\n every six hours. Recent changes might not be reflected in this value.

" } }, @@ -4737,6 +4720,7 @@ "ErrorCount": { "target": "com.amazonaws.dynamodb#ErrorCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of errors occurred on importing the source file into the target table.\n

" } }, @@ -4785,18 +4769,21 @@ "ProcessedSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The total size of data processed from the source file, in Bytes.\n

" } }, "ProcessedItemCount": { "target": "com.amazonaws.dynamodb#ProcessedItemCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The total number of items processed from the source file.\n

" } }, "ImportedItemCount": { "target": "com.amazonaws.dynamodb#ImportedItemCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The number of items successfully imported into the new table.\n

" } }, @@ -4877,6 +4864,7 @@ "com.amazonaws.dynamodb#ImportedItemCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4980,14 +4968,14 @@ } }, "com.amazonaws.dynamodb#Integer": { - "type": "integer" - }, - "com.amazonaws.dynamodb#IntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.dynamodb#IntegerObject": { + "type": "integer" + }, "com.amazonaws.dynamodb#InternalServerError": { "type": "structure", "members": { @@ -5084,10 +5072,7 @@ } }, "com.amazonaws.dynamodb#ItemCollectionSizeEstimateBound": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.dynamodb#ItemCollectionSizeEstimateRange": { "type": "list", @@ -5113,7 +5098,6 @@ "com.amazonaws.dynamodb#ItemCount": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -5509,6 +5493,7 @@ "MaxResults": { "target": "com.amazonaws.dynamodb#ListContributorInsightsLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of results to return per page.

" } } @@ -5517,6 +5502,7 @@ "com.amazonaws.dynamodb#ListContributorInsightsLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "max": 100 } @@ -5590,7 +5576,6 @@ "com.amazonaws.dynamodb#ListExportsMaxLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -5725,7 +5710,6 @@ "com.amazonaws.dynamodb#ListImportsMaxLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -5801,7 +5785,6 @@ "com.amazonaws.dynamodb#ListTablesInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5942,12 +5925,14 @@ "IndexSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size of the specified index, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

" } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the specified index. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

" } }, @@ -6007,7 +5992,10 @@ } }, "com.amazonaws.dynamodb#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.dynamodb#MapAttributeValue": { "type": "map", @@ -6045,17 +6033,13 @@ "com.amazonaws.dynamodb#NonNegativeLongObject": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.dynamodb#NullAttributeValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#NumberAttributeValue": { "type": "string" @@ -6206,7 +6190,6 @@ "com.amazonaws.dynamodb#PositiveIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6215,7 +6198,6 @@ "com.amazonaws.dynamodb#PositiveLongObject": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6235,6 +6217,7 @@ "com.amazonaws.dynamodb#ProcessedItemCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6736,12 +6719,14 @@ "Count": { "target": "com.amazonaws.dynamodb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the response.

\n

If you used a QueryFilter in the request, then Count is the\n number of items returned after the filter was applied, and ScannedCount is\n the number of matching items before the filter was applied.

\n

If you did not use a filter in the request, then Count and\n ScannedCount are the same.

" } }, "ScannedCount": { "target": "com.amazonaws.dynamodb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items evaluated, before any QueryFilter is applied. A high\n ScannedCount value with few, or no, Count results\n indicates an inefficient Query operation. For more information, see Count and\n ScannedCount in the Amazon DynamoDB Developer\n Guide.

\n

If you did not use a filter in the request, then ScannedCount is the same\n as Count.

" } }, @@ -7423,10 +7408,7 @@ } }, "com.amazonaws.dynamodb#RestoreInProgress": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#RestoreSummary": { "type": "structure", @@ -7864,10 +7846,7 @@ } }, "com.amazonaws.dynamodb#SSEEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#SSESpecification": { "type": "structure", @@ -8111,12 +8090,14 @@ "Count": { "target": "com.amazonaws.dynamodb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the response.

\n

If you set ScanFilter in the request, then Count is the\n number of items returned after the filter was applied, and ScannedCount is\n the number of matching items before the filter was applied.

\n

If you did not use a filter in the request, then Count is the same as\n ScannedCount.

" } }, "ScannedCount": { "target": "com.amazonaws.dynamodb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items evaluated, before any ScanFilter is applied. A high\n ScannedCount value with few, or no, Count results\n indicates an inefficient Scan operation. For more information, see Count and\n ScannedCount in the Amazon DynamoDB Developer\n Guide.

\n

If you did not use a filter in the request, then ScannedCount is the same\n as Count.

" } }, @@ -8140,7 +8121,6 @@ "com.amazonaws.dynamodb#ScanSegment": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 999999 @@ -8150,7 +8130,6 @@ "com.amazonaws.dynamodb#ScanTotalSegments": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000000 @@ -8215,6 +8194,7 @@ "TableSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size of the table in bytes. Note that this is an approximate value.

" } }, @@ -8304,10 +8284,7 @@ } }, "com.amazonaws.dynamodb#StreamEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#StreamSpecification": { "type": "structure", @@ -8533,12 +8510,14 @@ "TableSizeBytes": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size of the specified table, in bytes. DynamoDB updates this value\n approximately every six hours. Recent changes might not be reflected in this\n value.

" } }, "ItemCount": { "target": "com.amazonaws.dynamodb#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the specified table. DynamoDB updates this value approximately\n every six hours. Recent changes might not be reflected in this value.

" } }, @@ -8851,10 +8830,7 @@ } }, "com.amazonaws.dynamodb#TimeToLiveEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.dynamodb#TimeToLiveSpecification": { "type": "structure", diff --git a/codegen/sdk/aws-models/ebs.json b/codegen/sdk/aws-models/ebs.json index 0e393afafa0..1421aea4e0b 100644 --- a/codegen/sdk/aws-models/ebs.json +++ b/codegen/sdk/aws-models/ebs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -94,17 +94,13 @@ "com.amazonaws.ebs#BlockIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.ebs#BlockSize": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ebs#BlockToken": { "type": "string", @@ -126,10 +122,7 @@ } }, "com.amazonaws.ebs#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ebs#ChangedBlock": { "type": "structure", @@ -167,7 +160,6 @@ "com.amazonaws.ebs#ChangedBlocksCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -332,10 +324,7 @@ } }, "com.amazonaws.ebs#DataLength": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ebs#Description": { "type": "string", @@ -349,21 +338,6 @@ }, "com.amazonaws.ebs#Ebs": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EBS", - "arnNamespace": "ebs", - "cloudFormationName": "EBS", - "cloudTrailEventSource": "ebs.amazonaws.com", - "endpointPrefix": "ebs" - }, - "aws.auth#sigv4": { - "name": "ebs" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to \n \t\tyour snapshots, read data on your snapshots, and identify the differences or changes between \n \t\ttwo snapshots. If you’re an independent software vendor (ISV) who offers backup services for \n \t\tAmazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on \n \t\tyour Amazon EBS volumes through snapshots. This can be done without having to create new volumes \n \t\tfrom snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.

\n \t\t\n \t

You can create incremental snapshots directly from data on-premises into volumes and the \n \t\tcloud to use for quick disaster recovery. With the ability to write and read snapshots, you can \n \t\twrite your on-premises data to an snapshot during a disaster. Then after recovery, you can \n \t\trestore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and \n \t\tmaintain complex mechanisms to copy data to and from Amazon EBS.

\n\n\n

This API reference provides detailed information about the actions, data types,\n parameters, and errors of the EBS direct APIs. For more information about the elements that\n make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User\n Guide. For more information about the supported Amazon Web Services Regions, endpoints,\n and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in\n the Amazon Web Services General Reference.

", - "smithy.api#title": "Amazon Elastic Block Store" - }, "version": "2019-11-02", "operations": [ { @@ -384,7 +358,22 @@ { "target": "com.amazonaws.ebs#StartSnapshot" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EBS", + "arnNamespace": "ebs", + "cloudFormationName": "EBS", + "cloudTrailEventSource": "ebs.amazonaws.com", + "endpointPrefix": "ebs" + }, + "aws.auth#sigv4": { + "name": "ebs" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to \n \t\tyour snapshots, read data on your snapshots, and identify the differences or changes between \n \t\ttwo snapshots. If you’re an independent software vendor (ISV) who offers backup services for \n \t\tAmazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on \n \t\tyour Amazon EBS volumes through snapshots. This can be done without having to create new volumes \n \t\tfrom snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.

\n \t\t\n \t

You can create incremental snapshots directly from data on-premises into volumes and the \n \t\tcloud to use for quick disaster recovery. With the ability to write and read snapshots, you can \n \t\twrite your on-premises data to an snapshot during a disaster. Then after recovery, you can \n \t\trestore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and \n \t\tmaintain complex mechanisms to copy data to and from Amazon EBS.

\n\n\n

This API reference provides detailed information about the actions, data types,\n parameters, and errors of the EBS direct APIs. For more information about the elements that\n make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User\n Guide. For more information about the supported Amazon Web Services Regions, endpoints,\n and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in\n the Amazon Web Services General Reference.

", + "smithy.api#title": "Amazon Elastic Block Store" + } }, "com.amazonaws.ebs#ErrorMessage": { "type": "string", @@ -474,6 +463,7 @@ "BlockData": { "target": "com.amazonaws.ebs#BlockData", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The data content of the block.

", "smithy.api#httpPayload": {} } @@ -760,7 +750,6 @@ "com.amazonaws.ebs#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100, "max": 10000 @@ -790,7 +779,6 @@ "com.amazonaws.ebs#Progress": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -1267,7 +1255,6 @@ "com.amazonaws.ebs#Timeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 4320 @@ -1351,7 +1338,6 @@ "com.amazonaws.ebs#VolumeSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/ec2-instance-connect.json b/codegen/sdk/aws-models/ec2-instance-connect.json index 1564eef75f3..5a205aec0f5 100644 --- a/codegen/sdk/aws-models/ec2-instance-connect.json +++ b/codegen/sdk/aws-models/ec2-instance-connect.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,15 @@ "shapes": { "com.amazonaws.ec2instanceconnect#AWSEC2InstanceConnectService": { "type": "service", + "version": "2018-04-02", + "operations": [ + { + "target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey" + }, + { + "target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey" + } + ], "traits": { "aws.api#service": { "sdkId": "EC2 Instance Connect", @@ -45,16 +54,7 @@ "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "

Amazon EC2 Instance Connect enables system administrators to publish one-time use SSH\n public keys to EC2, providing users a simple and secure way to connect to their\n instances.

", "smithy.api#title": "AWS EC2 Instance Connect" - }, - "version": "2018-04-02", - "operations": [ - { - "target": "com.amazonaws.ec2instanceconnect#SendSerialConsoleSSHPublicKey" - }, - { - "target": "com.amazonaws.ec2instanceconnect#SendSSHPublicKey" - } - ] + } }, "com.amazonaws.ec2instanceconnect#AuthException": { "type": "structure", @@ -279,6 +279,7 @@ "Success": { "target": "com.amazonaws.ec2instanceconnect#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Is true if the request succeeds and an error otherwise.

" } } @@ -344,6 +345,7 @@ "SerialPort": { "target": "com.amazonaws.ec2instanceconnect#SerialPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The serial port of the EC2 instance. Currently only port 0 is supported.

\n

Default: 0

" } }, @@ -368,6 +370,7 @@ "Success": { "target": "com.amazonaws.ec2instanceconnect#Success", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Is true if the request succeeds and an error otherwise.

" } } @@ -427,6 +430,7 @@ "com.amazonaws.ec2instanceconnect#SerialPort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 0 @@ -454,7 +458,10 @@ "type": "string" }, "com.amazonaws.ec2instanceconnect#Success": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ec2instanceconnect#ThrottlingException": { "type": "structure", diff --git a/codegen/sdk/aws-models/ec2.json b/codegen/sdk/aws-models/ec2.json index a10eb2fc9da..6a6b4e0b47b 100644 --- a/codegen/sdk/aws-models/ec2.json +++ b/codegen/sdk/aws-models/ec2.json @@ -32384,6 +32384,14 @@ "smithy.api#documentation": "

Indicates whether DNS resolution is enabled for\n\t\t\t\tthe VPC. If this attribute is true, the Amazon DNS server\n\t\t\t\tresolves DNS hostnames for your instances to their corresponding\n\t\t\t\tIP addresses; otherwise, it does not.

", "smithy.api#xmlName": "enableDnsSupport" } + }, + "EnableNetworkAddressUsageMetrics": { + "target": "com.amazonaws.ec2#AttributeBooleanValue", + "traits": { + "aws.protocols#ec2QueryName": "EnableNetworkAddressUsageMetrics", + "smithy.api#documentation": "

Indicates whether Network Address Usage metrics are enabled for your VPC.

", + "smithy.api#xmlName": "enableNetworkAddressUsageMetrics" + } } } }, @@ -44711,6 +44719,14 @@ "smithy.api#documentation": "

The date and time to deprecate the AMI, in UTC, in the following format: \n YYYY-MM-DDTHH:MM:SSZ.\n If you specified a value for seconds, Amazon EC2 rounds the seconds to the\n nearest minute.

", "smithy.api#xmlName": "deprecationTime" } + }, + "ImdsSupport": { + "target": "com.amazonaws.ec2#ImdsSupportValues", + "traits": { + "aws.protocols#ec2QueryName": "ImdsSupport", + "smithy.api#documentation": "

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens automatically set to required so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit is set to 2. For more\n information, see Configure\n the AMI in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#xmlName": "imdsSupport" + } } }, "traits": { @@ -44815,6 +44831,14 @@ "smithy.api#documentation": "

The date and time, in ISO 8601 date-time\n format, when the AMI was last used to launch an EC2 instance. When the AMI is used\n to launch an instance, there is a 24-hour delay before that usage is reported.

\n \n

\n lastLaunchedTime data is available starting April 2017.

\n
", "smithy.api#xmlName": "lastLaunchedTime" } + }, + "ImdsSupport": { + "target": "com.amazonaws.ec2#AttributeValue", + "traits": { + "aws.protocols#ec2QueryName": "ImdsSupport", + "smithy.api#documentation": "

If v2.0, it indicates that IMDSv2 is specified in the AMI. Instances launched\n from this AMI will have HttpTokens automatically set to required so\n that, by default, the instance requires that IMDSv2 is used when requesting instance metadata.\n In addition, HttpPutResponseHopLimit is set to 2. For more\n information, see Configure\n the AMI in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#xmlName": "imdsSupport" + } } }, "traits": { @@ -44889,6 +44913,12 @@ "traits": { "smithy.api#enumValue": "lastLaunchedTime" } + }, + "imdsSupport": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "imdsSupport" + } } } }, @@ -45102,6 +45132,17 @@ } } }, + "com.amazonaws.ec2#ImdsSupportValues": { + "type": "enum", + "members": { + "v2_0": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "v2.0" + } + } + } + }, "com.amazonaws.ec2#ImportClientVpnClientCertificateRevocationList": { "type": "operation", "input": { @@ -62564,6 +62605,12 @@ "smithy.api#required": {}, "smithy.api#xmlName": "vpcId" } + }, + "EnableNetworkAddressUsageMetrics": { + "target": "com.amazonaws.ec2#AttributeBooleanValue", + "traits": { + "smithy.api#documentation": "

Indicates whether Network Address Usage metrics are enabled for your VPC.

" + } } } }, @@ -67210,7 +67257,7 @@ "traits": { "smithy.api#default": 0, "smithy.api#range": { - "min": 1, + "min": 0, "max": 65535 } } @@ -69257,6 +69304,12 @@ "traits": { "smithy.api#documentation": "

Base64 representation of the non-volatile UEFI variable store. To retrieve the UEFI data,\n use the GetInstanceUefiData command. You can inspect and modify the UEFI data by using the\n python-uefivars tool on\n GitHub. For more information, see UEFI Secure Boot in the\n Amazon Elastic Compute Cloud User Guide.

" } + }, + "ImdsSupport": { + "target": "com.amazonaws.ec2#ImdsSupportValues", + "traits": { + "smithy.api#documentation": "

Set to v2.0 to indicate that IMDSv2 is specified in the AMI. Instances\n launched from this AMI will have HttpTokens automatically set to\n required so that, by default, the instance requires that IMDSv2 is used when\n requesting instance metadata. In addition, HttpPutResponseHopLimit is set to\n 2. For more information, see Configure\n the AMI in the Amazon Elastic Compute Cloud User Guide.

\n \n

If you set the value to v2.0, make sure that your AMI software can support IMDSv2.

\n
" + } } }, "traits": { @@ -87019,6 +87072,12 @@ "traits": { "smithy.api#enumValue": "enableDnsHostnames" } + }, + "enableNetworkAddressUsageMetrics": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "enableNetworkAddressUsageMetrics" + } } } }, diff --git a/codegen/sdk/aws-models/ecr-public.json b/codegen/sdk/aws-models/ecr-public.json index fcf1e321bef..65042d9d9b2 100644 --- a/codegen/sdk/aws-models/ecr-public.json +++ b/codegen/sdk/aws-models/ecr-public.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -421,7 +421,10 @@ "type": "timestamp" }, "com.amazonaws.ecrpublic#DefaultRegistryAliasFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecrpublic#DeleteRepository": { "type": "operation", @@ -535,6 +538,7 @@ "force": { "target": "com.amazonaws.ecrpublic#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If a repository contains images, forces the deletion.

" } } @@ -870,7 +874,10 @@ "type": "timestamp" }, "com.amazonaws.ecrpublic#ForceFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecrpublic#GetAuthorizationToken": { "type": "operation", @@ -1313,10 +1320,7 @@ } }, "com.amazonaws.ecrpublic#ImageSizeInBytes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.ecrpublic#ImageTag": { "type": "string", @@ -1668,10 +1672,7 @@ } }, "com.amazonaws.ecrpublic#LayerSizeInBytes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.ecrpublic#LayersNotFoundException": { "type": "structure", @@ -1753,15 +1754,11 @@ } }, "com.amazonaws.ecrpublic#MarketplaceCertified": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ecrpublic#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1798,14 +1795,16 @@ "com.amazonaws.ecrpublic#PartSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.ecrpublic#PrimaryRegistryAliasFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecrpublic#PushTimestamp": { "type": "timestamp" @@ -2129,6 +2128,7 @@ "primaryRegistryAlias": { "target": "com.amazonaws.ecrpublic#PrimaryRegistryAliasFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not the registry alias is the primary alias for the registry. If true, the\n alias is the primary registry alias and is displayed in both the repository URL and the\n image URI used in the docker pull commands on the Amazon ECR Public Gallery.

\n \n

A registry alias that is not the primary registry alias can be used in the repository\n URI in a docker pull command.

\n
", "smithy.api#required": {} } @@ -2136,6 +2136,7 @@ "defaultRegistryAlias": { "target": "com.amazonaws.ecrpublic#DefaultRegistryAliasFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not the registry alias is the default alias for the registry. When the first\n public repository is created, your public registry is assigned a default registry\n alias.

", "smithy.api#required": {} } @@ -2237,10 +2238,7 @@ } }, "com.amazonaws.ecrpublic#RegistryVerified": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ecrpublic#Repository": { "type": "structure", @@ -2538,6 +2536,7 @@ "force": { "target": "com.amazonaws.ecrpublic#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

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

" } } diff --git a/codegen/sdk/aws-models/ecr.json b/codegen/sdk/aws-models/ecr.json index 6e073e3dcf4..becc3e41a4c 100644 --- a/codegen/sdk/aws-models/ecr.json +++ b/codegen/sdk/aws-models/ecr.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.ecr#AmazonEC2ContainerRegistry_V20150921": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ECR", - "arnNamespace": "ecr", - "cloudFormationName": "ECR", - "cloudTrailEventSource": "ecr.amazonaws.com", - "endpointPrefix": "api.ecr" - }, - "aws.auth#sigv4": { - "name": "ecr" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Elastic Container Registry\n

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

\n

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

", - "smithy.api#title": "Amazon EC2 Container Registry", - "smithy.api#xmlNamespace": { - "uri": "http://ecr.amazonaws.com/doc/2015-09-21/" - } - }, "version": "2015-09-21", "operations": [ { @@ -174,7 +156,25 @@ { "target": "com.amazonaws.ecr#UploadLayerPart" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ECR", + "arnNamespace": "ecr", + "cloudFormationName": "ECR", + "cloudTrailEventSource": "ecr.amazonaws.com", + "endpointPrefix": "api.ecr" + }, + "aws.auth#sigv4": { + "name": "ecr" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Elastic Container Registry\n

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

\n

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

", + "smithy.api#title": "Amazon EC2 Container Registry", + "smithy.api#xmlNamespace": { + "uri": "http://ecr.amazonaws.com/doc/2015-09-21/" + } + } }, "com.amazonaws.ecr#Arch": { "type": "string" @@ -331,7 +331,10 @@ } }, "com.amazonaws.ecr#BaseScore": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ecr#BatchCheckLayerAvailability": { "type": "operation", @@ -898,6 +901,7 @@ "baseScore": { "target": "com.amazonaws.ecr#BaseScore", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The base CVSS score used for the finding.

" } }, @@ -962,6 +966,7 @@ "score": { "target": "com.amazonaws.ecr#Score", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The CVSS score.

" } }, @@ -1305,6 +1310,7 @@ "force": { "target": "com.amazonaws.ecr#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If a repository contains images, forces the deletion.

" } } @@ -1939,6 +1945,7 @@ "score": { "target": "com.amazonaws.ecr#Score", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Amazon Inspector score given to the finding.

" } }, @@ -1990,10 +1997,7 @@ } }, "com.amazonaws.ecr#Epoch": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ecr#EvaluationTimestamp": { "type": "timestamp" @@ -2057,7 +2061,10 @@ } }, "com.amazonaws.ecr#ForceFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecr#GetAuthorizationToken": { "type": "operation", @@ -2634,7 +2641,6 @@ "com.amazonaws.ecr#ImageCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -3036,6 +3042,7 @@ "scanOnPush": { "target": "com.amazonaws.ecr#ScanOnPushFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The setting that determines whether images are scanned after being pushed to a\n repository. If set to true, images will be scanned after being pushed. If\n this parameter is not specified, it will default to false and images will\n not be scanned unless a scan is manually started with the API_StartImageScan API.

" } } @@ -3045,10 +3052,7 @@ } }, "com.amazonaws.ecr#ImageSizeInBytes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.ecr#ImageTag": { "type": "string", @@ -3446,10 +3450,7 @@ } }, "com.amazonaws.ecr#LayerSizeInBytes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.ecr#LayersNotFoundException": { "type": "structure", @@ -3614,7 +3615,6 @@ "com.amazonaws.ecr#LifecyclePolicyRulePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3632,7 +3632,6 @@ "com.amazonaws.ecr#LifecyclePreviewMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3799,7 +3798,6 @@ "com.amazonaws.ecr#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3901,7 +3899,6 @@ "com.amazonaws.ecr#PartSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4954,6 +4951,7 @@ "scanOnPush": { "target": "com.amazonaws.ecr#ScanOnPushFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not scan on push is configured for the repository.

" } }, @@ -5099,7 +5097,10 @@ } }, "com.amazonaws.ecr#ScanOnPushFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ecr#ScanStatus": { "type": "string", @@ -5243,7 +5244,10 @@ } }, "com.amazonaws.ecr#Score": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ecr#ScoreDetails": { "type": "structure", @@ -5326,6 +5330,7 @@ "force": { "target": "com.amazonaws.ecr#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

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

" } } @@ -5360,7 +5365,6 @@ "com.amazonaws.ecr#SeverityCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/ecs.json b/codegen/sdk/aws-models/ecs.json index f494050a33b..da339bbb129 100644 --- a/codegen/sdk/aws-models/ecs.json +++ b/codegen/sdk/aws-models/ecs.json @@ -421,8 +421,6 @@ "managedTerminationProtection": { "target": "com.amazonaws.ecs#ManagedTerminationProtection", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "DISABLED", "smithy.api#documentation": "

The managed termination protection setting to use for the Auto Scaling group capacity\n\t\t\tprovider. This determines whether the Auto Scaling group has managed termination\n\t\t\tprotection. The default is disabled.

\n\t\t \n\t\t\t

When using managed termination protection, managed scaling must also be used\n\t\t\t\totherwise managed termination protection doesn't work.

\n\t\t
\n\t\t

When managed termination protection is enabled, Amazon ECS prevents the Amazon EC2 instances in\n\t\t\tan Auto Scaling group that contain tasks from being terminated during a scale-in action.\n\t\t\tThe Auto Scaling group and each instance in the Auto Scaling group must have instance\n\t\t\tprotection from scale-in actions enabled as well. For more information, see Instance Protection in the Auto Scaling User Guide.

\n\t\t

When managed termination protection is disabled, your Amazon EC2 instances aren't protected\n\t\t\tfrom termination when the Auto Scaling group scales in.

" } } @@ -1271,8 +1269,6 @@ "stopTimeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 30, "smithy.api#documentation": "

Time duration (in seconds) to wait before the container is forcefully killed if it\n\t\t\tdoesn't exit normally on its own.

\n\t\t

For tasks using the Fargate launch type, the task or service requires\n\t\t\tthe following platforms:

\n\t\t \n\t\t

The max stop timeout value is 120 seconds and if the parameter is not specified, the\n\t\t\tdefault value of 30 seconds is used.

\n\t\t

For tasks that use the EC2 launch type, if the stopTimeout\n\t\t\tparameter isn't specified, the value set for the Amazon ECS container agent configuration\n\t\t\tvariable ECS_CONTAINER_STOP_TIMEOUT is used. If neither the\n\t\t\t\tstopTimeout parameter or the ECS_CONTAINER_STOP_TIMEOUT\n\t\t\tagent configuration variable are set, then the default values of 30 seconds for Linux\n\t\t\tcontainers and 30 seconds on Windows containers are used. Your container instances\n\t\t\trequire at least version 1.26.0 of the container agent to use a container stop timeout\n\t\t\tvalue. However, we recommend using the latest container agent version. For information\n\t\t\tabout checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your\n\t\t\tinstance needs at least version 1.26.0-1 of the ecs-init package. If your\n\t\t\tcontainer instances are launched from version 20190301 or later, then they\n\t\t\tcontain the required versions of the container agent and ecs-init. For more\n\t\t\tinformation, see Amazon ECS-optimized Linux AMI\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

" } }, @@ -2750,8 +2746,6 @@ "type": { "target": "com.amazonaws.ecs#DeploymentControllerType", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "ECS", "smithy.api#documentation": "

The deployment controller type to use.

\n\t\t

There are three deployment controller types available:

\n\t\t
\n
ECS
\n
\n\t\t\t\t\t

The rolling update (ECS) deployment type involves replacing\n\t\t\t\t\t\tthe current running version of the container with the latest version. The\n\t\t\t\t\t\tnumber of containers Amazon ECS adds or removes from the service during a rolling\n\t\t\t\t\t\tupdate is controlled by adjusting the minimum and maximum number of healthy\n\t\t\t\t\t\ttasks allowed during a service deployment, as specified in the DeploymentConfiguration.

\n\t\t\t\t
\n
CODE_DEPLOY
\n
\n\t\t\t\t\t

The blue/green (CODE_DEPLOY) deployment type uses the\n\t\t\t\t\t\tblue/green deployment model powered by CodeDeploy, which allows you to verify a\n\t\t\t\t\t\tnew deployment of a service before sending production traffic to it.

\n\t\t\t\t
\n
EXTERNAL
\n
\n\t\t\t\t\t

The external (EXTERNAL) deployment type enables you to use\n\t\t\t\t\t\tany third-party deployment controller for full control over the deployment\n\t\t\t\t\t\tprocess for an Amazon ECS service.

\n\t\t\t\t
\n
", "smithy.api#required": {} } @@ -3725,8 +3719,6 @@ "iam": { "target": "com.amazonaws.ecs#EFSAuthorizationConfigIAM", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "DISABLED", "smithy.api#documentation": "

Determines whether to use the Amazon ECS task IAM role defined in a task definition when\n\t\t\tmounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the\n\t\t\t\tEFSVolumeConfiguration. If this parameter is omitted, the default value\n\t\t\tof DISABLED is used. For more information, see Using\n\t\t\t\tAmazon EFS access points in the Amazon Elastic Container Service Developer Guide.

" } } @@ -3788,8 +3780,6 @@ "transitEncryption": { "target": "com.amazonaws.ecs#EFSTransitEncryption", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "DISABLED", "smithy.api#documentation": "

Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS host\n\t\t\tand the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is\n\t\t\tused. If this parameter is omitted, the default value of DISABLED is used.\n\t\t\tFor more information, see Encrypting data in transit in\n\t\t\tthe Amazon Elastic File System User Guide.

" } }, @@ -3915,8 +3905,6 @@ "logging": { "target": "com.amazonaws.ecs#ExecuteCommandLogging", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "DEFAULT", "smithy.api#documentation": "

The log setting to use for redirecting logs for your execute command results. The\n\t\t\tfollowing log settings are available.

\n\t\t " } }, @@ -4224,24 +4212,18 @@ "interval": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 30, "smithy.api#documentation": "

The time period in seconds between each health check execution. You may specify\n\t\t\tbetween 5 and 300 seconds. The default value is 30 seconds.

" } }, "timeout": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 5, "smithy.api#documentation": "

The time period in seconds to wait for a health check to succeed before it is\n\t\t\tconsidered a failure. You may specify between 2 and 60 seconds. The default value is\n\t\t\t5.

" } }, "retries": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 3, "smithy.api#documentation": "

The number of times to retry a failed health check before the container is considered\n\t\t\tunhealthy. You may specify between 1 and 10 retries. The default value is 3.

" } }, @@ -4611,8 +4593,6 @@ "swappiness": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 60, "smithy.api#documentation": "

This allows you to tune a container's memory swappiness behavior. A\n\t\t\t\tswappiness value of 0 will cause swapping to not happen\n\t\t\tunless absolutely necessary. A swappiness value of 100 will\n\t\t\tcause pages to be swapped very aggressively. Accepted values are whole numbers between\n\t\t\t\t0 and 100. If the swappiness parameter is not\n\t\t\tspecified, a default value of 60 is used. If a value is not specified for\n\t\t\t\tmaxSwap then this parameter is ignored. This parameter maps to the\n\t\t\t\t--memory-swappiness option to docker run.

\n\t\t \n\t\t\t

If you're using tasks that use the Fargate launch type, the\n\t\t\t\t\tswappiness parameter isn't supported.

\n\t\t
" } } @@ -5583,24 +5563,18 @@ "minimumScalingStepSize": { "target": "com.amazonaws.ecs#ManagedScalingStepSize", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 1, "smithy.api#documentation": "

The minimum number of container instances that Amazon ECS scales in or scales out at one\n\t\t\ttime. If this parameter is omitted, the default value of 1 is used.

" } }, "maximumScalingStepSize": { "target": "com.amazonaws.ecs#ManagedScalingStepSize", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10000, "smithy.api#documentation": "

The maximum number of container instances that Amazon ECS scales in or scales out at one\n\t\t\ttime. If this parameter is omitted, the default value of 10000 is\n\t\t\tused.

" } }, "instanceWarmupPeriod": { "target": "com.amazonaws.ecs#ManagedScalingInstanceWarmupPeriod", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 300, "smithy.api#documentation": "

The period of time, in seconds, after a newly launched Amazon EC2 instance can contribute\n\t\t\tto CloudWatch metrics for Auto Scaling group. If this parameter is omitted, the default value\n\t\t\tof 300 seconds is used.

" } } @@ -5700,8 +5674,6 @@ "readOnly": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume.\n\t\t\tIf this value is false, then the container can write to the volume. The\n\t\t\tdefault value is false.

" } } @@ -6078,14 +6050,12 @@ "hostPort": { "target": "com.amazonaws.ecs#BoxedInteger", "traits": { - "smithy.api#documentation": "

The port number on the container instance to reserve for your container.

\n\t\t

If you use containers in a task with the awsvpc or host\n\t\t\tnetwork mode, the hostPort can either be left blank or set to the same\n\t\t\tvalue as the containerPort.

\n\t\t

If you use containers in a task with the bridge network mode, you can\n\t\t\tspecify a non-reserved host port for your container port mapping, or you can omit the\n\t\t\t\thostPort (or set it to 0) while specifying a\n\t\t\t\tcontainerPort and your container automatically receives a port in the\n\t\t\tephemeral port range for your container instance operating system and Docker\n\t\t\tversion.

\n\t\t

The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n\t\t\tinstance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n\t\t\tparameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n\t\t\tused. Do not attempt to specify a host port in the ephemeral port range as these are\n\t\t\treserved for automatic assignment. In general, ports below 32768 are outside of the\n\t\t\tephemeral port range.

\n\t\t \n\t\t\t

The default ephemeral port range from 49153 through 65535 is always used for\n\t\t\t\tDocker versions before 1.6.0.

\n\t\t
\n\t\t

The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n\t\t\tAmazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n\t\t\ta running task is also reserved while the task is running. That is, after a task stops,\n\t\t\tthe host port is released. The current reserved ports are displayed in the\n\t\t\t\tremainingResources of DescribeContainerInstances\n\t\t\toutput. A container instance can have up to 100 reserved ports at a time. This number\n\t\t\tincludes the default reserved ports. Automatically assigned ports aren't included in the\n\t\t\t100 reserved ports quota.

" + "smithy.api#documentation": "

The port number on the container instance to reserve for your container.

\n\t\t

If you use containers in a task with the awsvpc or host\n\t\t\tnetwork mode, the hostPort can either be left blank or set to the same\n\t\t\tvalue as the containerPort.

\n\t\t

If you use containers in a task with the bridge network mode, you can\n\t\t\tspecify a non-reserved host port for your container port mapping, or you can omit the\n\t\t\t\thostPort (or set it to 0) while specifying a\n\t\t\t\tcontainerPort and your container automatically receives a port in the\n\t\t\tephemeral port range for your container instance operating system and Docker\n\t\t\tversion.

\n\t\t

The default ephemeral port range for Docker version 1.6.0 and later is listed on the\n\t\t\tinstance under /proc/sys/net/ipv4/ip_local_port_range. If this kernel\n\t\t\tparameter is unavailable, the default ephemeral port range from 49153 through 65535 is\n\t\t\tused. Do not attempt to specify a host port in the ephemeral port range as these are\n\t\t\treserved for automatic assignment. In general, ports below 32768 are outside of the\n\t\t\tephemeral port range.

\n\t\t

The default reserved ports are 22 for SSH, the Docker ports 2375 and 2376, and the\n\t\t\tAmazon ECS container agent ports 51678-51680. Any host port that was previously specified in\n\t\t\ta running task is also reserved while the task is running. That is, after a task stops,\n\t\t\tthe host port is released. The current reserved ports are displayed in the\n\t\t\t\tremainingResources of DescribeContainerInstances\n\t\t\toutput. A container instance can have up to 100 reserved ports at a time. This number\n\t\t\tincludes the default reserved ports. Automatically assigned ports aren't included in the\n\t\t\t100 reserved ports quota.

" } }, "protocol": { "target": "com.amazonaws.ecs#TransportProtocol", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "tcp", "smithy.api#documentation": "

The protocol used for the port mapping. Valid values are tcp and\n\t\t\t\tudp. The default is tcp.

" } } @@ -6219,7 +6189,7 @@ "name": { "target": "com.amazonaws.ecs#SettingName", "traits": { - "smithy.api#documentation": "

The resource name for which to modify the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected. If containerInsights is specified, the default\n\t\t\tsetting for CloudWatch Container Insights for your clusters is affected.

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

The resource name for which to modify the account setting. If\n\t\t\t\tserviceLongArnFormat is specified, the ARN for your Amazon ECS services is\n\t\t\taffected. If taskLongArnFormat is specified, the ARN and resource ID for\n\t\t\tyour Amazon ECS tasks is affected. If containerInstanceLongArnFormat is\n\t\t\tspecified, the ARN and resource ID for your Amazon ECS container instances is affected. If\n\t\t\t\tawsvpcTrunking is specified, the ENI limit for your Amazon ECS container\n\t\t\tinstances is affected. If containerInsights is specified, the default\n\t\t\tsetting for CloudWatch Container Insights for your clusters is affected.

\n\t\t

Fargate is transitioning from task count-based quotas to vCPU-based quotas. You can set\n\t\t\tthe name to fargateVCPULimit to opt in or opt out of the vCPU-based quotas.\n\t\t\tFor information about the opt in timeline, see Fargate vCPU-based quotas timeline in the\n\t\t\t\tAmazon ECS Developer Guide.

", "smithy.api#required": {} } }, @@ -6544,8 +6514,6 @@ "networkMode": { "target": "com.amazonaws.ecs#NetworkMode", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "bridge", "smithy.api#documentation": "

The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.

\n

For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

\n

With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

\n \n

When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.

\n
\n

If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

\n

If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

\n

For more information, see Network\n settings in the Docker run reference.

" } }, @@ -6619,7 +6587,7 @@ "ephemeralStorage": { "target": "com.amazonaws.ecs#EphemeralStorage", "traits": { - "smithy.api#documentation": "

The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.

\n\t\t \n\t\t\t

This parameter is only supported for tasks hosted on Fargate using\n\t\t\t\tthe following platform versions:

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

The amount of ephemeral storage to allocate for the task. This parameter is used to\n\t\t\texpand the total amount of ephemeral storage available, beyond the default amount, for\n\t\t\ttasks hosted on Fargate. For more information, see Fargate task\n\t\t\t\tstorage in the Amazon ECS User Guide for Fargate.

\n\t\t \n\t\t\t

This parameter is only supported for tasks hosted on Fargate using\n\t\t\t\tthe following platform versions:

\n\t\t\t \n\t\t
" } }, "runtimePlatform": { @@ -8419,8 +8387,6 @@ "networkMode": { "target": "com.amazonaws.ecs#NetworkMode", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "bridge", "smithy.api#documentation": "

The Docker networking mode to use for the containers in the task. The valid values are\n none, bridge, awsvpc, and host.\n If no network mode is specified, the default is bridge.

\n

For Amazon ECS tasks on Fargate, the awsvpc network mode is required. \n For Amazon ECS tasks on Amazon EC2 Linux instances, any network mode can be used. For Amazon ECS tasks on Amazon EC2 Windows instances, or awsvpc can be used. If the network\n mode is set to none, you cannot specify port mappings in your container\n definitions, and the tasks containers do not have external connectivity. The\n host and awsvpc network modes offer the highest networking\n performance for containers because they use the EC2 network stack instead of the\n virtualized network stack provided by the bridge mode.

\n

With the host and awsvpc network modes, exposed container\n ports are mapped directly to the corresponding host port (for the host\n network mode) or the attached elastic network interface port (for the\n awsvpc network mode), so you cannot take advantage of dynamic host port\n mappings.

\n \n

When using the host network mode, you should not run\n containers using the root user (UID 0). It is considered best practice\n to use a non-root user.

\n
\n

If the network mode is awsvpc, the task is allocated an elastic network\n interface, and you must specify a NetworkConfiguration value when you create\n a service or run a task with the task definition. For more information, see Task Networking in the\n Amazon Elastic Container Service Developer Guide.

\n

If the network mode is host, you cannot run multiple instantiations of the\n same task on a single container instance when port mappings are used.

\n

For more information, see Network\n settings in the Docker run reference.

" } }, @@ -8434,7 +8400,7 @@ "volumes": { "target": "com.amazonaws.ecs#VolumeList", "traits": { - "smithy.api#documentation": "

The list of data volume definitions for the task. For more information, see Using data volumes in tasks in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t \n\t\t\t

The host and sourcePath parameters aren't supported for\n\t\t\t\ttasks run on Fargate.

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

The list of data volume definitions for the task. For more information, see Using data volumes in tasks in the\n\t\t\tAmazon Elastic Container Service Developer Guide.

\n\t\t \n\t\t\t

The host and sourcePath parameters aren't supported for\n\t\t\t\ttasks run on Fargate.

\n\t\t
" } }, "status": { @@ -9883,8 +9849,6 @@ "readOnly": { "target": "com.amazonaws.ecs#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume.\n\t\t\tIf this value is false, then the container can write to the volume. The\n\t\t\tdefault value is false.

" } } diff --git a/codegen/sdk/aws-models/efs.json b/codegen/sdk/aws-models/efs.json index 231f1d50619..7ca8b521651 100644 --- a/codegen/sdk/aws-models/efs.json +++ b/codegen/sdk/aws-models/efs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -226,10 +226,7 @@ } }, "com.amazonaws.efs#Backup": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.efs#BackupPolicy": { "type": "structure", @@ -277,7 +274,10 @@ } }, "com.amazonaws.efs#BypassPolicyLockoutSafetyCheck": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.efs#ClientToken": { "type": "string", @@ -634,6 +634,9 @@ "input": { "target": "com.amazonaws.efs#CreateTagsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -724,6 +727,9 @@ "input": { "target": "com.amazonaws.efs#DeleteAccessPointRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#AccessPointNotFound" @@ -762,6 +768,9 @@ "input": { "target": "com.amazonaws.efs#DeleteFileSystemRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -790,6 +799,9 @@ "input": { "target": "com.amazonaws.efs#DeleteFileSystemPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -847,6 +859,9 @@ "input": { "target": "com.amazonaws.efs#DeleteMountTargetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -891,6 +906,9 @@ "input": { "target": "com.amazonaws.efs#DeleteReplicationConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -932,6 +950,9 @@ "input": { "target": "com.amazonaws.efs#DeleteTagsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -1769,10 +1790,7 @@ } }, "com.amazonaws.efs#Encrypted": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.efs#ErrorCode": { "type": "string", @@ -1870,6 +1888,7 @@ "NumberOfMountTargets": { "target": "com.amazonaws.efs#MountTargetCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current number of mount targets that the file system has. For more information, see CreateMountTarget.

", "smithy.api#required": {} } @@ -2012,7 +2031,6 @@ "com.amazonaws.efs#FileSystemNullableSizeValue": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2041,6 +2059,7 @@ "Value": { "target": "com.amazonaws.efs#FileSystemSizeValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latest known metered size (in bytes) of data stored in the file system.

", "smithy.api#required": {} } @@ -2071,6 +2090,7 @@ "com.amazonaws.efs#FileSystemSizeValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -2079,7 +2099,6 @@ "com.amazonaws.efs#Gid": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -2373,21 +2392,6 @@ }, "com.amazonaws.efs#MagnolioAPIService_v20150201": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EFS", - "arnNamespace": "elasticfilesystem", - "cloudFormationName": "EFS", - "cloudTrailEventSource": "efs.amazonaws.com", - "endpointPrefix": "elasticfilesystem" - }, - "aws.auth#sigv4": { - "name": "elasticfilesystem" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Elastic File System\n

Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for\n use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and\n remove files, so that your applications have the storage they need, when they need it. For\n more information, see the Amazon Elastic File System API Reference and the Amazon Elastic File System User Guide.

", - "smithy.api#title": "Amazon Elastic File System" - }, "version": "2015-02-01", "operations": [ { @@ -2480,7 +2484,22 @@ { "target": "com.amazonaws.efs#UpdateFileSystem" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EFS", + "arnNamespace": "elasticfilesystem", + "cloudFormationName": "EFS", + "cloudTrailEventSource": "efs.amazonaws.com", + "endpointPrefix": "elasticfilesystem" + }, + "aws.auth#sigv4": { + "name": "elasticfilesystem" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Elastic File System\n

Amazon Elastic File System (Amazon EFS) provides simple, scalable file storage for\n use with Amazon EC2 Linux and Mac instances in the Amazon Web Services Cloud. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and\n remove files, so that your applications have the storage they need, when they need it. For\n more information, see the Amazon Elastic File System API Reference and the Amazon Elastic File System User Guide.

", + "smithy.api#title": "Amazon Elastic File System" + } }, "com.amazonaws.efs#Marker": { "type": "string", @@ -2495,7 +2514,6 @@ "com.amazonaws.efs#MaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2504,7 +2522,6 @@ "com.amazonaws.efs#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "Max results used for pagination.", "smithy.api#range": { "min": 1 @@ -2516,6 +2533,9 @@ "input": { "target": "com.amazonaws.efs#ModifyMountTargetSecurityGroupsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#BadRequest" @@ -2589,6 +2609,7 @@ "com.amazonaws.efs#MountTargetCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -2748,7 +2769,6 @@ "com.amazonaws.efs#OwnerGid": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -2758,7 +2778,6 @@ "com.amazonaws.efs#OwnerUid": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -2857,7 +2876,6 @@ "com.amazonaws.efs#ProvisionedThroughputInMibps": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1.0 } @@ -3017,6 +3035,7 @@ "BypassPolicyLockoutSafetyCheck": { "target": "com.amazonaws.efs#BypassPolicyLockoutSafetyCheck", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Optional) A boolean that specifies whether or not to bypass the FileSystemPolicy lockout safety check. The lockout safety check \n determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making future PutFileSystemPolicy requests on this file system.\n Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent \n the IAM principal that is making the request from making subsequent PutFileSystemPolicy requests on this file system. \n The default value is False.\n

" } } @@ -3442,6 +3461,9 @@ "input": { "target": "com.amazonaws.efs#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#AccessPointNotFound" @@ -3625,7 +3647,6 @@ "com.amazonaws.efs#Uid": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -3656,6 +3677,9 @@ "input": { "target": "com.amazonaws.efs#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.efs#AccessPointNotFound" diff --git a/codegen/sdk/aws-models/eks.json b/codegen/sdk/aws-models/eks.json index 639458cdacc..0db77baf5f1 100644 --- a/codegen/sdk/aws-models/eks.json +++ b/codegen/sdk/aws-models/eks.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -70,21 +70,6 @@ }, "com.amazonaws.eks#AWSWesleyFrontend": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EKS", - "arnNamespace": "eks", - "cloudFormationName": "EKS", - "cloudTrailEventSource": "eks.amazonaws.com", - "endpointPrefix": "eks" - }, - "aws.auth#sigv4": { - "name": "eks" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy\n for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain\n your own Kubernetes control plane. Kubernetes is an open-source system for automating\n the deployment, scaling, and management of containerized applications.

\n

Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so\n you can use all the existing plugins and tooling from the Kubernetes community.\n Applications running on Amazon EKS are fully compatible with applications\n running on any standard Kubernetes environment, whether running in on-premises data\n centers or public clouds. This means that you can easily migrate any standard Kubernetes\n application to Amazon EKS without any code modification required.

", - "smithy.api#title": "Amazon Elastic Kubernetes Service" - }, "version": "2017-11-01", "operations": [ { @@ -189,7 +174,22 @@ { "target": "com.amazonaws.eks#UpdateNodegroupVersion" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EKS", + "arnNamespace": "eks", + "cloudFormationName": "EKS", + "cloudTrailEventSource": "eks.amazonaws.com", + "endpointPrefix": "eks" + }, + "aws.auth#sigv4": { + "name": "eks" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy\n for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain\n your own Kubernetes control plane. Kubernetes is an open-source system for automating\n the deployment, scaling, and management of containerized applications.

\n

Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so\n you can use all the existing plugins and tooling from the Kubernetes community.\n Applications running on Amazon EKS are fully compatible with applications\n running on any standard Kubernetes environment, whether running in on-premises data\n centers or public clouds. This means that you can easily migrate any standard Kubernetes\n application to Amazon EKS without any code modification required.

", + "smithy.api#title": "Amazon Elastic Kubernetes Service" + } }, "com.amazonaws.eks#AccessDeniedException": { "type": "structure", @@ -650,24 +650,20 @@ } }, "com.amazonaws.eks#Boolean": { - "type": "boolean" - }, - "com.amazonaws.eks#BoxedBoolean": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.eks#BoxedBoolean": { + "type": "boolean" + }, "com.amazonaws.eks#BoxedInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.eks#Capacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1000,6 +996,7 @@ "defaultVersion": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The supported default version.

" } } @@ -1653,6 +1650,7 @@ "preserve": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM\n account is associated with the add-on, it is not removed.

", "smithy.api#httpQuery": "preserve" } @@ -2106,7 +2104,6 @@ "com.amazonaws.eks#DescribeAddonVersionsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2968,7 +2965,6 @@ "com.amazonaws.eks#FargateProfilesRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3288,7 +3284,6 @@ "com.amazonaws.eks#ListAddonsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3378,7 +3373,6 @@ "com.amazonaws.eks#ListClustersRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3553,7 +3547,6 @@ "com.amazonaws.eks#ListIdentityProviderConfigsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3647,7 +3640,6 @@ "com.amazonaws.eks#ListNodegroupsRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3801,7 +3793,6 @@ "com.amazonaws.eks#ListUpdatesRequestMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4245,7 +4236,6 @@ "com.amazonaws.eks#NonZeroInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4464,7 +4454,6 @@ "com.amazonaws.eks#PercentCapacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5467,6 +5456,7 @@ "force": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Force the update if the existing node group's pods are unable to be drained due to a\n pod disruption budget issue. If an update fails because pods could not be drained, you\n can force the update after it fails to terminate the old node whether or not any pods\n are running on the node.

" } }, @@ -5762,12 +5752,14 @@ "endpointPublicAccess": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This parameter indicates whether the Amazon EKS public API server endpoint is\n enabled. If the Amazon EKS public API server endpoint is disabled, your\n cluster's Kubernetes API server can only receive requests that originate from within the\n cluster VPC.

" } }, "endpointPrivateAccess": { "target": "com.amazonaws.eks#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This parameter indicates whether the Amazon EKS private API server endpoint is\n enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes\n API requests that originate from within your cluster's VPC use the private VPC endpoint\n instead of traversing the internet. If this value is disabled and you have nodes or\n Fargate pods in the cluster, then ensure that\n publicAccessCidrs includes the necessary CIDR blocks for communication\n with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the\n \n Amazon EKS User Guide\n .

" } }, @@ -5785,7 +5777,6 @@ "com.amazonaws.eks#ZeroCapacity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/elastic-beanstalk.json b/codegen/sdk/aws-models/elastic-beanstalk.json index 2943cee0f5d..e8ba2fe96fe 100644 --- a/codegen/sdk/aws-models/elastic-beanstalk.json +++ b/codegen/sdk/aws-models/elastic-beanstalk.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -202,6 +202,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#AbortEnvironmentUpdateMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -232,10 +235,7 @@ } }, "com.amazonaws.elasticbeanstalk#AbortableOperationInProgress": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#ActionHistoryStatus": { "type": "string", @@ -403,6 +403,7 @@ "RequestCount": { "target": "com.amazonaws.elasticbeanstalk#RequestCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Average number of requests handled by the web server per second over the last 10\n seconds.

" } }, @@ -607,10 +608,7 @@ } }, "com.amazonaws.elasticbeanstalk#ApplicationVersionProccess": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#ApplicationVersionStatus": { "type": "string", @@ -723,6 +721,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#AssociateEnvironmentOperationsRoleMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -755,10 +756,7 @@ } }, "com.amazonaws.elasticbeanstalk#AutoCreateApplication": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#AutoScalingGroup": { "type": "structure", @@ -793,22 +791,19 @@ } }, "com.amazonaws.elasticbeanstalk#BoxedBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#BoxedInt": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#BranchName": { "type": "string" }, "com.amazonaws.elasticbeanstalk#BranchOrder": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticbeanstalk#BuildConfiguration": { "type": "structure", @@ -983,10 +978,7 @@ } }, "com.amazonaws.elasticbeanstalk#CnameAvailability": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#CodeBuildNotInServiceRegionException": { "type": "structure", @@ -1821,6 +1813,9 @@ }, "com.amazonaws.elasticbeanstalk#CreateStorageLocation": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.elasticbeanstalk#CreateStorageLocationResultMessage" }, @@ -1905,6 +1900,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteApplicationMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#OperationInProgressException" @@ -1940,6 +1938,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteApplicationVersionMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -1991,6 +1992,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteConfigurationTemplateMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#OperationInProgressException" @@ -2027,6 +2031,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DeleteEnvironmentConfigurationMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the draft configuration associated with the running environment.

\n

Updating a running environment with any configuration changes creates a draft\n configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update\n fails. The DeploymentStatus for the draft configuration indicates whether the\n deployment is in process or has failed. The draft configuration remains in existence until it\n is deleted with this action.

" } @@ -2102,10 +2109,7 @@ } }, "com.amazonaws.elasticbeanstalk#DeleteSourceBundle": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#Deployment": { "type": "structure", @@ -2144,6 +2148,9 @@ }, "com.amazonaws.elasticbeanstalk#DescribeAccountAttributes": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.elasticbeanstalk#DescribeAccountAttributesResult" }, @@ -2990,6 +2997,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#DisassociateEnvironmentOperationsRoleMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -3734,10 +3744,7 @@ } }, "com.amazonaws.elasticbeanstalk#ForceTerminate": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#GroupName": { "type": "string", @@ -3752,10 +3759,7 @@ "type": "string" }, "com.amazonaws.elasticbeanstalk#IncludeDeleted": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#IncludeDeletedBackTo": { "type": "timestamp" @@ -3929,7 +3933,10 @@ } }, "com.amazonaws.elasticbeanstalk#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticbeanstalk#InvalidRequestException": { "type": "structure", @@ -4052,6 +4059,9 @@ }, "com.amazonaws.elasticbeanstalk#ListAvailableSolutionStacks": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.elasticbeanstalk#ListAvailableSolutionStacksResultMessage" }, @@ -4249,6 +4259,7 @@ "Port": { "target": "com.amazonaws.elasticbeanstalk#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that is used by the Listener.

" } } @@ -4264,7 +4275,10 @@ } }, "com.amazonaws.elasticbeanstalk#LoadAverageValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticbeanstalk#LoadBalancer": { "type": "structure", @@ -4430,7 +4444,6 @@ "com.amazonaws.elasticbeanstalk#ManagedActionHistoryMaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4526,7 +4539,6 @@ "com.amazonaws.elasticbeanstalk#MaxRecords": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -4552,22 +4564,13 @@ } }, "com.amazonaws.elasticbeanstalk#NullableDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.elasticbeanstalk#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticbeanstalk#OperatingSystemName": { "type": "string" @@ -4608,22 +4611,13 @@ "type": "string" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionMaxLength": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionMaxValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionMinValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticbeanstalk#OptionRestrictionRegex": { "type": "structure", @@ -4686,7 +4680,6 @@ "com.amazonaws.elasticbeanstalk#PlatformBranchMaxRecords": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4716,6 +4709,7 @@ "BranchOrder": { "target": "com.amazonaws.elasticbeanstalk#BranchOrder", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An ordinal number that designates the order in which platform branches have been added to\n a platform. This can be helpful, for example, if your code calls the\n ListPlatformBranches action and then displays a list of platform\n branches.

\n

A larger BranchOrder value designates a newer platform branch within the\n platform.

" } }, @@ -4952,7 +4946,6 @@ "com.amazonaws.elasticbeanstalk#PlatformMaxRecords": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5157,6 +5150,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#RebuildEnvironmentMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -5196,13 +5192,19 @@ "type": "string" }, "com.amazonaws.elasticbeanstalk#RequestCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticbeanstalk#RequestEnvironmentInfo": { "type": "operation", "input": { "target": "com.amazonaws.elasticbeanstalk#RequestEnvironmentInfoMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Initiates a request to compile the specified type of information of the deployed\n environment.

\n

Setting the InfoType to tail compiles the last lines from\n the application server log files of every Amazon EC2 instance in your environment.

\n

Setting the InfoType to bundle compresses the application\n server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET\n containers do not support bundle logs.

\n

Use RetrieveEnvironmentInfo to obtain the set of logs.

\n

Related Topics

\n " } @@ -5366,6 +5368,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#RestartAppServerMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Causes the environment to restart the application container server running on each\n Amazon EC2 instance.

" } @@ -5835,6 +5840,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#SwapEnvironmentCNAMEsMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Swaps the CNAMEs of two environments.

" } @@ -5948,10 +5956,7 @@ } }, "com.amazonaws.elasticbeanstalk#TerminateEnvForce": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#TerminateEnvironment": { "type": "operation", @@ -6003,10 +6008,7 @@ } }, "com.amazonaws.elasticbeanstalk#TerminateEnvironmentResources": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#TimeFilterEnd": { "type": "timestamp" @@ -6452,6 +6454,9 @@ "input": { "target": "com.amazonaws.elasticbeanstalk#UpdateTagsForResourceMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.elasticbeanstalk#InsufficientPrivilegesException" @@ -6498,10 +6503,7 @@ } }, "com.amazonaws.elasticbeanstalk#UserDefinedOption": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticbeanstalk#ValidateConfigurationSettings": { "type": "operation", diff --git a/codegen/sdk/aws-models/elastic-inference.json b/codegen/sdk/aws-models/elastic-inference.json index faaa7ba0a79..cdd92c25182 100644 --- a/codegen/sdk/aws-models/elastic-inference.json +++ b/codegen/sdk/aws-models/elastic-inference.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -325,6 +325,7 @@ "maxResults": { "target": "com.amazonaws.elasticinference#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output.\n To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command.\n Do not use the NextToken response element directly outside of the AWS CLI.\n

" } }, @@ -496,7 +497,10 @@ } }, "com.amazonaws.elasticinference#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticinference#InternalServerException": { "type": "structure", @@ -533,6 +537,7 @@ "value": { "target": "com.amazonaws.elasticinference#Value", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The throughput value of the Elastic Inference Accelerator type.\n

" } } @@ -628,6 +633,7 @@ "com.amazonaws.elasticinference#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -640,6 +646,7 @@ "sizeInMiB": { "target": "com.amazonaws.elasticinference#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The size in mebibytes of the Elastic Inference Accelerator type.\n

" } } @@ -867,7 +874,10 @@ "members": {} }, "com.amazonaws.elasticinference#Value": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticinference#ValueStringList": { "type": "list", diff --git a/codegen/sdk/aws-models/elastic-load-balancing-v2.json b/codegen/sdk/aws-models/elastic-load-balancing-v2.json index 071fea16894..d146ffc5044 100644 --- a/codegen/sdk/aws-models/elastic-load-balancing-v2.json +++ b/codegen/sdk/aws-models/elastic-load-balancing-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -106,7 +106,6 @@ "com.amazonaws.elasticloadbalancingv2#ActionOrder": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50000 @@ -114,30 +113,38 @@ } }, "com.amazonaws.elasticloadbalancingv2#ActionTypeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "forward", - "name": "FORWARD" - }, - { - "value": "authenticate-oidc", - "name": "AUTHENTICATE_OIDC" - }, - { - "value": "authenticate-cognito", - "name": "AUTHENTICATE_COGNITO" - }, - { - "value": "redirect", - "name": "REDIRECT" - }, - { - "value": "fixed-response", - "name": "FIXED_RESPONSE" + "type": "enum", + "members": { + "FORWARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "forward" + } + }, + "AUTHENTICATE_OIDC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate-oidc" + } + }, + "AUTHENTICATE_COGNITO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate-cognito" + } + }, + "REDIRECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "redirect" + } + }, + "FIXED_RESPONSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fixed-response" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#Actions": { @@ -299,22 +306,26 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConditionalBehaviorEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "deny", - "name": "DENY" - }, - { - "value": "allow", - "name": "ALLOW" - }, - { - "value": "authenticate", - "name": "AUTHENTICATE" + "type": "enum", + "members": { + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "deny" + } + }, + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "allow" } - ] + }, + "AUTHENTICATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate" + } + } } }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionConfig": { @@ -383,10 +394,7 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionSessionTimeout": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateCognitoActionUserPoolArn": { "type": "string" @@ -422,22 +430,26 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConditionalBehaviorEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "deny", - "name": "DENY" - }, - { - "value": "allow", - "name": "ALLOW" - }, - { - "value": "authenticate", - "name": "AUTHENTICATE" + "type": "enum", + "members": { + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "deny" + } + }, + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "allow" } - ] + }, + "AUTHENTICATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "authenticate" + } + } } }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionConfig": { @@ -535,19 +547,13 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionSessionTimeout": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionTokenEndpoint": { "type": "string" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUseExistingClientSecret": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#AuthenticateOidcActionUserInfoEndpoint": { "type": "string" @@ -668,6 +674,7 @@ "Priority": { "target": "com.amazonaws.elasticloadbalancingv2#CipherPriority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The priority of the cipher.

" } } @@ -680,7 +687,10 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#CipherPriority": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticloadbalancingv2#Ciphers": { "type": "list", @@ -1226,10 +1236,7 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#Default": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#DeleteListener": { "type": "operation", @@ -2248,24 +2255,6 @@ }, "com.amazonaws.elasticloadbalancingv2#ElasticLoadBalancing_v10": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Elastic Load Balancing v2", - "arnNamespace": "elasticloadbalancing", - "cloudFormationName": "ElasticLoadBalancingV2", - "cloudTrailEventSource": "elasticloadbalancingv2.amazonaws.com", - "endpointPrefix": "elasticloadbalancing" - }, - "aws.auth#sigv4": { - "name": "elasticloadbalancing" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Elastic Load Balancing\n\n

A load balancer distributes incoming traffic across targets, such as your EC2 instances.\n This enables you to increase the availability of your application. The load balancer also\n monitors the health of its registered targets and ensures that it routes traffic only to\n healthy targets. You configure your load balancer to accept incoming traffic by specifying one\n or more listeners, which are configured with a protocol and port number for connections from\n clients to the load balancer. You configure a target group with a protocol and port number for\n connections from the load balancer to the targets, and with health check settings to be used\n when checking the health status of the targets.

\n\n

Elastic Load Balancing supports the following types of load balancers: Application Load\n Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This\n reference covers the following load balancer types:

\n \n\n

For more information, see the Elastic Load Balancing User\n Guide.

\n\n \n \n\n \n \n\n

All Elastic Load Balancing operations are idempotent, which means that they complete at\n most one time. If you repeat an operation, it succeeds.

", - "smithy.api#title": "Elastic Load Balancing", - "smithy.api#xmlNamespace": { - "uri": "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/" - } - }, "version": "2015-12-01", "operations": [ { @@ -2370,7 +2359,25 @@ { "target": "com.amazonaws.elasticloadbalancingv2#SetSubnets" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Elastic Load Balancing v2", + "arnNamespace": "elasticloadbalancing", + "cloudFormationName": "ElasticLoadBalancingV2", + "cloudTrailEventSource": "elasticloadbalancingv2.amazonaws.com", + "endpointPrefix": "elasticloadbalancing" + }, + "aws.auth#sigv4": { + "name": "elasticloadbalancing" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Elastic Load Balancing\n\n

A load balancer distributes incoming traffic across targets, such as your EC2 instances.\n This enables you to increase the availability of your application. The load balancer also\n monitors the health of its registered targets and ensures that it routes traffic only to\n healthy targets. You configure your load balancer to accept incoming traffic by specifying one\n or more listeners, which are configured with a protocol and port number for connections from\n clients to the load balancer. You configure a target group with a protocol and port number for\n connections from the load balancer to the targets, and with health check settings to be used\n when checking the health status of the targets.

\n\n

Elastic Load Balancing supports the following types of load balancers: Application Load\n Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This\n reference covers the following load balancer types:

\n \n\n

For more information, see the Elastic Load Balancing User\n Guide.

\n\n \n \n\n \n \n\n

All Elastic Load Balancing operations are idempotent, which means that they complete at\n most one time. If you repeat an operation, it succeeds.

", + "smithy.api#title": "Elastic Load Balancing", + "smithy.api#xmlNamespace": { + "uri": "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/" + } + } }, "com.amazonaws.elasticloadbalancingv2#ErrorDescription": { "type": "string" @@ -2450,15 +2457,11 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#HealthCheckEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#HealthCheckIntervalSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 300 @@ -2471,7 +2474,6 @@ "com.amazonaws.elasticloadbalancingv2#HealthCheckThresholdCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 10 @@ -2481,7 +2483,6 @@ "com.amazonaws.elasticloadbalancingv2#HealthCheckTimeoutSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 120 @@ -2685,22 +2686,27 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#IpAddressType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ipv4", - "name": "IPV4" - }, - { - "value": "dualstack", - "name": "DUALSTACK" + "type": "enum", + "members": { + "IPV4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ipv4" } - ] + }, + "DUALSTACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "dualstack" + } + } } }, "com.amazonaws.elasticloadbalancingv2#IsDefault": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.elasticloadbalancingv2#Limit": { "type": "structure", @@ -3033,18 +3039,20 @@ } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerSchemeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "internet-facing", - "name": "INTERNET_FACING" - }, - { - "value": "internal", - "name": "INTERNAL" + "type": "enum", + "members": { + "INTERNET_FACING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "internet-facing" + } + }, + "INTERNAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "internal" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerState": { @@ -3068,45 +3076,55 @@ } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerStateEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "active", - "name": "ACTIVE" - }, - { - "value": "provisioning", - "name": "PROVISIONING" - }, - { - "value": "active_impaired", - "name": "ACTIVE_IMPAIRED" - }, - { - "value": "failed", - "name": "FAILED" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "active" + } + }, + "PROVISIONING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "provisioning" + } + }, + "ACTIVE_IMPAIRED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "active_impaired" } - ] + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "failed" + } + } } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancerTypeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "application", - "name": "APPLICATION" - }, - { - "value": "network", - "name": "NETWORK" - }, - { - "value": "gateway", - "name": "GATEWAY" + "type": "enum", + "members": { + "APPLICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "application" + } + }, + "NETWORK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "network" + } + }, + "GATEWAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gateway" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#LoadBalancers": { @@ -3570,7 +3588,6 @@ "com.amazonaws.elasticloadbalancingv2#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 400 @@ -3603,7 +3620,6 @@ "com.amazonaws.elasticloadbalancingv2#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -3631,38 +3647,50 @@ "type": "string" }, "com.amazonaws.elasticloadbalancingv2#ProtocolEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HTTP", - "name": "HTTP" - }, - { - "value": "HTTPS", - "name": "HTTPS" - }, - { - "value": "TCP", - "name": "TCP" - }, - { - "value": "TLS", - "name": "TLS" - }, - { - "value": "UDP", - "name": "UDP" - }, - { - "value": "TCP_UDP", - "name": "TCP_UDP" - }, - { - "value": "GENEVE", - "name": "GENEVE" + "type": "enum", + "members": { + "HTTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP" + } + }, + "HTTPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTPS" } - ] + }, + "TCP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TCP" + } + }, + "TLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS" + } + }, + "UDP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UDP" + } + }, + "TCP_UDP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TCP_UDP" + } + }, + "GENEVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENEVE" + } + } } }, "com.amazonaws.elasticloadbalancingv2#ProtocolVersion": { @@ -3790,18 +3818,20 @@ } }, "com.amazonaws.elasticloadbalancingv2#RedirectActionStatusCodeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HTTP_301", - "name": "HTTP_301" - }, - { - "value": "HTTP_302", - "name": "HTTP_302" + "type": "enum", + "members": { + "HTTP_301": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_301" } - ] + }, + "HTTP_302": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_302" + } + } } }, "com.amazonaws.elasticloadbalancingv2#RegisterTargets": { @@ -4004,6 +4034,7 @@ "IsDefault": { "target": "com.amazonaws.elasticloadbalancingv2#IsDefault", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is the default rule.

" } } @@ -4103,7 +4134,6 @@ "com.amazonaws.elasticloadbalancingv2#RulePriority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50000 @@ -4188,7 +4218,7 @@ } ], "traits": { - "smithy.api#documentation": "

Sets the type of IP addresses used by the subnets of the specified Application Load\n Balancer or Network Load Balancer.

" + "smithy.api#documentation": "

Sets the type of IP addresses used by the subnets of the specified load balancer.

" } }, "com.amazonaws.elasticloadbalancingv2#SetIpAddressTypeInput": { @@ -4807,7 +4837,7 @@ "Key": { "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttributeKey", "traits": { - "smithy.api#documentation": "

The name of the attribute.

\n\n

The following attribute is supported by all load balancers:

\n \n\n

The following attributes are supported by Application Load Balancers, Network Load\n Balancers, and Gateway Load Balancers:

\n \n\n

The following attributes are supported only if the load balancer is an Application Load\n Balancer and the target is an instance or an IP address:

\n \n\n

The following attribute is supported only if the load balancer is an Application Load\n Balancer and the target is a Lambda function:

\n \n\n

The following attributes are supported only by Network Load Balancers:

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

The name of the attribute.

\n\n

The following attribute is supported by all load balancers:

\n \n\n

The following attributes are supported by Application Load Balancers, Network Load\n Balancers, and Gateway Load Balancers:

\n \n\n

The following attributes are supported only if the load balancer is an Application Load\n Balancer and the target is an instance or an IP address:

\n \n\n

The following attribute is supported only if the load balancer is an Application Load\n Balancer and the target is a Lambda function:

\n \n\n

The following attributes are supported only by Network Load Balancers:

\n \n

The following attributes are supported only by Gateway Load Balancers:

\n " } }, "Value": { @@ -4841,18 +4871,20 @@ } }, "com.amazonaws.elasticloadbalancingv2#TargetGroupIpAddressTypeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ipv4", - "name": "IPV4" - }, - { - "value": "ipv6", - "name": "IPV6" + "type": "enum", + "members": { + "IPV4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ipv4" + } + }, + "IPV6": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ipv6" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#TargetGroupList": { @@ -4908,16 +4940,10 @@ } }, "com.amazonaws.elasticloadbalancingv2#TargetGroupStickinessDurationSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticloadbalancingv2#TargetGroupStickinessEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticloadbalancingv2#TargetGroupTuple": { "type": "structure", @@ -4940,10 +4966,7 @@ } }, "com.amazonaws.elasticloadbalancingv2#TargetGroupWeight": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticloadbalancingv2#TargetGroups": { "type": "list", @@ -5010,115 +5033,153 @@ } }, "com.amazonaws.elasticloadbalancingv2#TargetHealthReasonEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "Elb.RegistrationInProgress", - "name": "REGISTRATION_IN_PROGRESS" - }, - { - "value": "Elb.InitialHealthChecking", - "name": "INITIAL_HEALTH_CHECKING" - }, - { - "value": "Target.ResponseCodeMismatch", - "name": "RESPONSE_CODE_MISMATCH" - }, - { - "value": "Target.Timeout", - "name": "TIMEOUT" - }, - { - "value": "Target.FailedHealthChecks", - "name": "FAILED_HEALTH_CHECKS" - }, - { - "value": "Target.NotRegistered", - "name": "NOT_REGISTERED" - }, - { - "value": "Target.NotInUse", - "name": "NOT_IN_USE" - }, - { - "value": "Target.DeregistrationInProgress", - "name": "DEREGISTRATION_IN_PROGRESS" - }, - { - "value": "Target.InvalidState", - "name": "INVALID_STATE" - }, - { - "value": "Target.IpUnusable", - "name": "IP_UNUSABLE" - }, - { - "value": "Target.HealthCheckDisabled", - "name": "HEALTH_CHECK_DISABLED" - }, - { - "value": "Elb.InternalError", - "name": "INTERNAL_ERROR" + "type": "enum", + "members": { + "REGISTRATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Elb.RegistrationInProgress" } - ] + }, + "INITIAL_HEALTH_CHECKING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Elb.InitialHealthChecking" + } + }, + "RESPONSE_CODE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.ResponseCodeMismatch" + } + }, + "TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.Timeout" + } + }, + "FAILED_HEALTH_CHECKS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.FailedHealthChecks" + } + }, + "NOT_REGISTERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.NotRegistered" + } + }, + "NOT_IN_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.NotInUse" + } + }, + "DEREGISTRATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.DeregistrationInProgress" + } + }, + "INVALID_STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.InvalidState" + } + }, + "IP_UNUSABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.IpUnusable" + } + }, + "HEALTH_CHECK_DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Target.HealthCheckDisabled" + } + }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Elb.InternalError" + } + } } }, "com.amazonaws.elasticloadbalancingv2#TargetHealthStateEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "initial", - "name": "INITIAL" - }, - { - "value": "healthy", - "name": "HEALTHY" - }, - { - "value": "unhealthy", - "name": "UNHEALTHY" - }, - { - "value": "unused", - "name": "UNUSED" - }, - { - "value": "draining", - "name": "DRAINING" - }, - { - "value": "unavailable", - "name": "UNAVAILABLE" + "type": "enum", + "members": { + "INITIAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "initial" + } + }, + "HEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "healthy" + } + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "unhealthy" + } + }, + "UNUSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "unused" + } + }, + "DRAINING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "draining" + } + }, + "UNAVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "unavailable" } - ] + } } }, "com.amazonaws.elasticloadbalancingv2#TargetId": { "type": "string" }, "com.amazonaws.elasticloadbalancingv2#TargetTypeEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "instance", - "name": "INSTANCE" - }, - { - "value": "ip", - "name": "IP" - }, - { - "value": "lambda", - "name": "LAMBDA" - }, - { - "value": "alb", - "name": "ALB" + "type": "enum", + "members": { + "INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "instance" } - ] + }, + "IP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ip" + } + }, + "LAMBDA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lambda" + } + }, + "ALB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "alb" + } + } } }, "com.amazonaws.elasticloadbalancingv2#TooManyActionsException": { diff --git a/codegen/sdk/aws-models/elastic-load-balancing.json b/codegen/sdk/aws-models/elastic-load-balancing.json index 52dcb71a4df..0053211bbe9 100644 --- a/codegen/sdk/aws-models/elastic-load-balancing.json +++ b/codegen/sdk/aws-models/elastic-load-balancing.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -35,6 +35,7 @@ "Enabled": { "target": "com.amazonaws.elasticloadbalancing#AccessLogEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether access logs are enabled for the load balancer.

", "smithy.api#required": {} } @@ -63,14 +64,14 @@ } }, "com.amazonaws.elasticloadbalancing#AccessLogEnabled": { - "type": "boolean" - }, - "com.amazonaws.elasticloadbalancing#AccessLogInterval": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.elasticloadbalancing#AccessLogInterval": { + "type": "integer" + }, "com.amazonaws.elasticloadbalancing#AccessLogPrefix": { "type": "string" }, @@ -95,7 +96,10 @@ } }, "com.amazonaws.elasticloadbalancing#AccessPointPort": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticloadbalancing#AddAvailabilityZonesInput": { "type": "structure", @@ -408,6 +412,7 @@ "InstancePort": { "target": "com.amazonaws.elasticloadbalancing#InstancePort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the EC2 instance is listening.

" } }, @@ -507,6 +512,7 @@ "Enabled": { "target": "com.amazonaws.elasticloadbalancing#ConnectionDrainingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether connection draining is enabled for the load balancer.

", "smithy.api#required": {} } @@ -523,14 +529,14 @@ } }, "com.amazonaws.elasticloadbalancing#ConnectionDrainingEnabled": { - "type": "boolean" - }, - "com.amazonaws.elasticloadbalancing#ConnectionDrainingTimeout": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.elasticloadbalancing#ConnectionDrainingTimeout": { + "type": "integer" + }, "com.amazonaws.elasticloadbalancing#ConnectionSettings": { "type": "structure", "members": { @@ -547,10 +553,7 @@ } }, "com.amazonaws.elasticloadbalancing#CookieExpirationPeriod": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elasticloadbalancing#CookieName": { "type": "string" @@ -932,6 +935,7 @@ "Enabled": { "target": "com.amazonaws.elasticloadbalancing#CrossZoneLoadBalancingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether cross-zone load balancing is enabled for the load balancer.

", "smithy.api#required": {} } @@ -942,7 +946,10 @@ } }, "com.amazonaws.elasticloadbalancing#CrossZoneLoadBalancingEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.elasticloadbalancing#DNSName": { "type": "string" @@ -1811,10 +1818,7 @@ } }, "com.amazonaws.elasticloadbalancing#EndPointPort": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elasticloadbalancing#ErrorDescription": { "type": "string" @@ -1832,6 +1836,7 @@ "Interval": { "target": "com.amazonaws.elasticloadbalancing#HealthCheckInterval", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The approximate interval, in seconds, between health checks of an individual instance.

", "smithy.api#required": {} } @@ -1839,6 +1844,7 @@ "Timeout": { "target": "com.amazonaws.elasticloadbalancing#HealthCheckTimeout", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, during which no response means a failed health check.

\n

This value must be less than the Interval value.

", "smithy.api#required": {} } @@ -1846,6 +1852,7 @@ "UnhealthyThreshold": { "target": "com.amazonaws.elasticloadbalancing#UnhealthyThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health check failures required before moving the instance to the Unhealthy state.

", "smithy.api#required": {} } @@ -1853,6 +1860,7 @@ "HealthyThreshold": { "target": "com.amazonaws.elasticloadbalancing#HealthyThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health checks successes required before moving the instance to the Healthy state.

", "smithy.api#required": {} } @@ -1865,6 +1873,7 @@ "com.amazonaws.elasticloadbalancing#HealthCheckInterval": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 300 @@ -1877,6 +1886,7 @@ "com.amazonaws.elasticloadbalancing#HealthCheckTimeout": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 60 @@ -1886,6 +1896,7 @@ "com.amazonaws.elasticloadbalancing#HealthyThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 @@ -1895,7 +1906,6 @@ "com.amazonaws.elasticloadbalancing#IdleTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3600 @@ -1922,6 +1932,7 @@ "com.amazonaws.elasticloadbalancing#InstancePort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -2122,6 +2133,7 @@ "LoadBalancerPort": { "target": "com.amazonaws.elasticloadbalancing#AccessPointPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the load balancer is listening. On EC2-VPC, you can specify any port from the range 1-65535. On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587, 1024-65535.

", "smithy.api#required": {} } @@ -2135,6 +2147,7 @@ "InstancePort": { "target": "com.amazonaws.elasticloadbalancing#InstancePort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the instance is listening.

", "smithy.api#required": {} } @@ -2479,7 +2492,6 @@ "com.amazonaws.elasticloadbalancing#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 400 @@ -2937,6 +2949,7 @@ "LoadBalancerPort": { "target": "com.amazonaws.elasticloadbalancing#AccessPointPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that uses the specified SSL certificate.

", "smithy.api#required": {} } @@ -3058,6 +3071,7 @@ "LoadBalancerPort": { "target": "com.amazonaws.elasticloadbalancing#AccessPointPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The external port of the load balancer.

", "smithy.api#required": {} } @@ -3287,6 +3301,7 @@ "com.amazonaws.elasticloadbalancing#UnhealthyThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 10 diff --git a/codegen/sdk/aws-models/elastic-transcoder.json b/codegen/sdk/aws-models/elastic-transcoder.json index da2ec52f2c1..c92a1b34245 100644 --- a/codegen/sdk/aws-models/elastic-transcoder.json +++ b/codegen/sdk/aws-models/elastic-transcoder.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -2266,16 +2266,10 @@ } }, "com.amazonaws.elastictranscoder#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.elastictranscoder#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.elastictranscoder#OneTo512String": { "type": "string", diff --git a/codegen/sdk/aws-models/elasticache.json b/codegen/sdk/aws-models/elasticache.json index b3c74a3e56f..40f56193c89 100644 --- a/codegen/sdk/aws-models/elasticache.json +++ b/codegen/sdk/aws-models/elasticache.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -171,24 +171,6 @@ }, "com.amazonaws.elasticache#AmazonElastiCacheV9": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ElastiCache", - "arnNamespace": "elasticache", - "cloudFormationName": "ElastiCache", - "cloudTrailEventSource": "elasticache.amazonaws.com", - "endpointPrefix": "elasticache" - }, - "aws.auth#sigv4": { - "name": "elasticache" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon ElastiCache\n

Amazon ElastiCache is a web service that makes it easier to set up, operate, \n and scale a distributed cache in the cloud.

\n

With ElastiCache, customers get all of the benefits of a high-performance, \n in-memory cache with less of the administrative burden involved in launching and managing a distributed cache. \n The service makes setup, scaling, \n and cluster failure handling much simpler than in a self-managed cache deployment.

\n

In addition, through integration with Amazon CloudWatch, \n customers get enhanced visibility into the key performance statistics \n associated with their cache and can receive alarms if a part of their cache runs hot.

", - "smithy.api#title": "Amazon ElastiCache", - "smithy.api#xmlNamespace": { - "uri": "http://elasticache.amazonaws.com/doc/2015-02-02/" - } - }, "version": "2015-02-02", "operations": [ { @@ -386,7 +368,25 @@ { "target": "com.amazonaws.elasticache#TestFailover" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ElastiCache", + "arnNamespace": "elasticache", + "cloudFormationName": "ElastiCache", + "cloudTrailEventSource": "elasticache.amazonaws.com", + "endpointPrefix": "elasticache" + }, + "aws.auth#sigv4": { + "name": "elasticache" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon ElastiCache\n

Amazon ElastiCache is a web service that makes it easier to set up, operate, \n and scale a distributed cache in the cloud.

\n

With ElastiCache, customers get all of the benefits of a high-performance, \n in-memory cache with less of the administrative burden involved in launching and managing a distributed cache. \n The service makes setup, scaling, \n and cluster failure handling much simpler than in a self-managed cache deployment.

\n

In addition, through integration with Amazon CloudWatch, \n customers get enhanced visibility into the key performance statistics \n associated with their cache and can receive alarms if a part of their cache runs hot.

", + "smithy.api#title": "Amazon ElastiCache", + "smithy.api#xmlNamespace": { + "uri": "http://elasticache.amazonaws.com/doc/2015-02-02/" + } + } }, "com.amazonaws.elasticache#AuthTokenUpdateStatus": { "type": "string", @@ -695,14 +695,14 @@ } }, "com.amazonaws.elasticache#Boolean": { - "type": "boolean" - }, - "com.amazonaws.elasticache#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.elasticache#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.elasticache#CacheCluster": { "type": "structure", "members": { @@ -814,6 +814,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

 If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. \n

" } }, @@ -874,6 +875,7 @@ "ReplicationGroupLogDeliveryEnabled": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether log delivery is enabled for the replication group.

" } }, @@ -1140,6 +1142,7 @@ "IsModifiable": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can be\n modified. Some parameters have security or operational implications that prevent them\n from being changed.

" } }, @@ -1293,6 +1296,7 @@ "IsGlobal": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the parameter group is associated with a Global datastore

" } }, @@ -1852,6 +1856,7 @@ "Force": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Forces the migration to stop without ensuring that data is in sync. It is recommended to use this option only to abort the migration and not recommended when application wants to continue migration to ElastiCache.

" } } @@ -1878,6 +1883,7 @@ "NewReplicaCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of replicas you want in this node group at the end of this operation. \n The maximum value for NewReplicaCount is 5.\n The minimum value depends upon the type of Redis replication group you are working with.

\n

The minimum number of replicas in a shard or replication group is:

\n ", "smithy.api#required": {} } @@ -3119,6 +3125,7 @@ "NodeGroupCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of node groups (shards) that results from the modification of the shard configuration

", "smithy.api#required": {} } @@ -3138,6 +3145,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the shard reconfiguration process begins immediately. At present, the only permitted value for this parameter is true.

", "smithy.api#required": {} } @@ -3233,6 +3241,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If True, the number of replica nodes is decreased immediately. \n\n ApplyImmediately=False is not currently supported.

", "smithy.api#required": {} } @@ -3498,6 +3507,7 @@ "RetainPrimaryReplicationGroup": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The primary replication group is retained as a standalone replication group.

", "smithy.api#required": {} } @@ -3974,6 +3984,7 @@ "DefaultOnly": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, specifies that only the default version of the specified engine or engine\n and major version combination is to be returned.

" } } @@ -5191,7 +5202,10 @@ } }, "com.amazonaws.elasticache#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticache#DuplicateUserNameFault": { "type": "structure", @@ -5257,6 +5271,7 @@ "Port": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number that the cache engine is listening on.

" } } @@ -5748,6 +5763,7 @@ "NodeGroupCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of node groups you wish to add

", "smithy.api#required": {} } @@ -5761,6 +5777,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the process begins immediately. At present, the only permitted value for this parameter is true.

", "smithy.api#required": {} } @@ -5850,6 +5867,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If True, the number of replica nodes is increased immediately. \n\n ApplyImmediately=False is not currently supported.

", "smithy.api#required": {} } @@ -5882,14 +5900,14 @@ } }, "com.amazonaws.elasticache#Integer": { - "type": "integer" - }, - "com.amazonaws.elasticache#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.elasticache#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.elasticache#InvalidARNFault": { "type": "structure", "members": { @@ -6539,6 +6557,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, this parameter causes the modifications in this request and any\n pending modifications to be applied, asynchronously and as soon as possible, regardless\n of the PreferredMaintenanceWindow setting for the cluster.

\n

If false, changes to the cluster are applied on the next\n maintenance reboot, or the next failure reboot, whichever occurs first.

\n \n

If you perform a ModifyCacheCluster before a pending modification is applied, \n the pending modification is replaced by the newer modification.

\n
\n

Valid values: true | false\n

\n

Default: false\n

" } }, @@ -6754,6 +6773,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This parameter causes the modifications in this request and any pending modifications to be applied, asynchronously and as soon as possible. Modifications to Global \n Replication Groups cannot be requested to be applied in PreferredMaintenceWindow.\n

", "smithy.api#required": {} } @@ -6946,6 +6966,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, this parameter causes the modifications in this request and any\n pending modifications to be applied, asynchronously and as soon as possible, regardless\n of the PreferredMaintenanceWindow setting for the replication group.

\n

If false, changes to the nodes in the replication group are applied on\n the next maintenance reboot, or the next failure reboot, whichever occurs first.

\n

Valid values: true | false\n

\n

Default: false\n

" } }, @@ -7085,6 +7106,7 @@ "NodeGroupCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of node groups (shards) that results from the modification of the\n shard configuration.

", "smithy.api#required": {} } @@ -7092,6 +7114,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the shard reconfiguration process begins immediately. \n At present, the only permitted value for this parameter is true.

\n

Value: true

", "smithy.api#required": {} } @@ -7834,6 +7857,7 @@ "IsModifiable": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can be modified. \n Some parameters have security or operational implications that prevent them from being changed.

" } }, @@ -8168,6 +8192,7 @@ "ApplyImmediately": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If True, redistribution is applied immediately.

", "smithy.api#required": {} } @@ -8238,6 +8263,7 @@ "RecurringChargeAmount": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The monetary amount of the recurring charge.

" } }, @@ -8548,6 +8574,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

 If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. \n

" } } @@ -8748,24 +8775,28 @@ "Duration": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the reservation in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price charged for this reserved cache node.

" } }, "UsagePrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The hourly price charged for this reserved cache node.

" } }, "CacheNodeCount": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of cache nodes that have been reserved.

" } }, @@ -8902,18 +8933,21 @@ "Duration": { "target": "com.amazonaws.elasticache#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the offering. in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The fixed price charged for this offering.

" } }, "UsagePrice": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The hourly price charged for this offering.

" } }, @@ -9028,6 +9062,7 @@ "ResetAllParameters": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, \n all parameters in the cache parameter group are reset to their default values.\n If false, only the parameters listed by ParameterNameValues\n are reset to their default values.

\n

Valid values: true | false\n

" } }, @@ -9416,6 +9451,7 @@ "ProgressPercentage": { "target": "com.amazonaws.elasticache#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the slot migration that is complete.

" } } @@ -9544,6 +9580,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.elasticache#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

 If you are running Redis engine version 6.0 or later, set this parameter to yes if you want to opt-in to the next auto minor version upgrade campaign. This parameter is disabled for previous versions. \n

" } }, diff --git a/codegen/sdk/aws-models/elasticsearch-service.json b/codegen/sdk/aws-models/elasticsearch-service.json index af414666b9a..f05996cafcc 100644 --- a/codegen/sdk/aws-models/elasticsearch-service.json +++ b/codegen/sdk/aws-models/elasticsearch-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -344,24 +344,6 @@ }, "com.amazonaws.elasticsearchservice#AmazonElasticsearchService2015": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Elasticsearch Service", - "arnNamespace": "es", - "cloudFormationName": "Elasticsearch", - "cloudTrailEventSource": "elasticsearchservice.amazonaws.com", - "endpointPrefix": "es" - }, - "aws.auth#sigv4": { - "name": "es" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Elasticsearch Configuration Service\n

Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.

\n

For sample code that uses the Configuration API, see the Amazon Elasticsearch Service Developer Guide.\n The guide also contains sample code for sending signed HTTP requests to the Elasticsearch APIs.

\n

The endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.

", - "smithy.api#title": "Amazon Elasticsearch Service", - "smithy.api#xmlNamespace": { - "uri": "http://es.amazonaws.com/doc/2015-01-01/" - } - }, "version": "2015-01-01", "operations": [ { @@ -487,7 +469,25 @@ { "target": "com.amazonaws.elasticsearchservice#UpgradeElasticsearchDomain" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Elasticsearch Service", + "arnNamespace": "es", + "cloudFormationName": "Elasticsearch", + "cloudTrailEventSource": "elasticsearchservice.amazonaws.com", + "endpointPrefix": "es" + }, + "aws.auth#sigv4": { + "name": "es" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Elasticsearch Configuration Service\n

Use the Amazon Elasticsearch Configuration API to create, configure, and manage Elasticsearch domains.

\n

For sample code that uses the Configuration API, see the Amazon Elasticsearch Service Developer Guide.\n The guide also contains sample code for sending signed HTTP requests to the Elasticsearch APIs.

\n

The endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.

", + "smithy.api#title": "Amazon Elasticsearch Service", + "smithy.api#xmlNamespace": { + "uri": "http://es.amazonaws.com/doc/2015-01-01/" + } + } }, "com.amazonaws.elasticsearchservice#AssociatePackage": { "type": "operation", @@ -811,6 +811,7 @@ "UpdateVersion": { "target": "com.amazonaws.elasticsearchservice#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the Auto-Tune options latest version.

" } }, @@ -875,10 +876,7 @@ } }, "com.amazonaws.elasticsearchservice#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticsearchservice#CancelElasticsearchServiceSoftwareUpdate": { "type": "operation", @@ -1055,6 +1053,7 @@ "TotalNumberOfStages": { "target": "com.amazonaws.elasticsearchservice#TotalNumberOfStages", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of stages required for the configuration change.

" } }, @@ -1908,6 +1907,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

" } }, @@ -2313,6 +2313,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

" } }, @@ -2389,6 +2390,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

" } }, @@ -2534,6 +2536,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits results to a maximum number of packages.

" } }, @@ -2614,6 +2617,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2699,6 +2703,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -3068,16 +3073,10 @@ } }, "com.amazonaws.elasticsearchservice#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.elasticsearchservice#DryRun": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.elasticsearchservice#DryRunResults": { "type": "structure", @@ -3102,6 +3101,7 @@ "Value": { "target": "com.amazonaws.elasticsearchservice#DurationValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

" } }, @@ -3119,6 +3119,7 @@ "com.amazonaws.elasticsearchservice#DurationValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Integer to specify the value of a maintenance schedule duration. See the Developer Guide for more information.

", "smithy.api#range": { "min": 1, @@ -4078,6 +4079,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits results to a maximum number of versions.

", "smithy.api#httpQuery": "maxResults" } @@ -4166,6 +4168,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -4377,6 +4380,7 @@ "com.amazonaws.elasticsearchservice#InstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of EC2 instances in the Elasticsearch domain.

", "smithy.api#range": { "min": 1 @@ -4387,10 +4391,16 @@ "type": "structure", "members": { "MinimumInstanceCount": { - "target": "com.amazonaws.elasticsearchservice#MinimumInstanceCount" + "target": "com.amazonaws.elasticsearchservice#MinimumInstanceCount", + "traits": { + "smithy.api#default": 0 + } }, "MaximumInstanceCount": { - "target": "com.amazonaws.elasticsearchservice#MaximumInstanceCount" + "target": "com.amazonaws.elasticsearchservice#MaximumInstanceCount", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -4412,14 +4422,14 @@ "type": "string" }, "com.amazonaws.elasticsearchservice#Integer": { - "type": "integer" - }, - "com.amazonaws.elasticsearchservice#IntegerClass": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.elasticsearchservice#IntegerClass": { + "type": "integer" + }, "com.amazonaws.elasticsearchservice#InternalException": { "type": "structure", "members": { @@ -4659,6 +4669,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits results to a maximum number of domains.

", "smithy.api#httpQuery": "maxResults" } @@ -4749,6 +4760,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Set this value to limit the number of results returned.\n Value provided must be greater than 30 else it wont be honored.\n

", "smithy.api#httpQuery": "maxResults" } @@ -4827,6 +4839,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Set this value to limit the number of results returned.\n Value provided must be greater than 10 else it wont be honored.\n

", "smithy.api#httpQuery": "maxResults" } @@ -4909,6 +4922,7 @@ "MaxResults": { "target": "com.amazonaws.elasticsearchservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits results to a maximum number of packages.

", "smithy.api#httpQuery": "maxResults" } @@ -5105,6 +5119,7 @@ "com.amazonaws.elasticsearchservice#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Set this value to limit the number of results returned.\n

", "smithy.api#range": { "max": 100 @@ -5114,6 +5129,7 @@ "com.amazonaws.elasticsearchservice#MaximumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Maximum number of Instances that can be instantiated for given InstanceType.\n

" } }, @@ -5129,6 +5145,7 @@ "com.amazonaws.elasticsearchservice#MinimumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Minimum number of Instances that can be instantiated for given InstanceType.\n

" } }, @@ -5222,6 +5239,7 @@ "UpdateVersion": { "target": "com.amazonaws.elasticsearchservice#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the latest version for the entity.

" } }, @@ -5640,6 +5658,7 @@ "InstanceCount": { "target": "com.amazonaws.elasticsearchservice#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Elasticsearch instances to reserve.

" } } @@ -5853,6 +5872,7 @@ "Duration": { "target": "com.amazonaws.elasticsearchservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds, for which the Elasticsearch instance is reserved.

" } }, @@ -5877,6 +5897,7 @@ "ElasticsearchInstanceCount": { "target": "com.amazonaws.elasticsearchservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Elasticsearch instances that have been reserved.

" } }, @@ -5927,6 +5948,7 @@ "Duration": { "target": "com.amazonaws.elasticsearchservice#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds, for which the offering will reserve the Elasticsearch instance.

" } }, @@ -6580,11 +6602,15 @@ } }, "com.amazonaws.elasticsearchservice#TotalNumberOfStages": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.elasticsearchservice#UIntValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/emr-containers.json b/codegen/sdk/aws-models/emr-containers.json index 63eec7ca4b9..d511005eb8e 100644 --- a/codegen/sdk/aws-models/emr-containers.json +++ b/codegen/sdk/aws-models/emr-containers.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.emrcontainers#AwsChicagoWebService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EMR containers", - "arnNamespace": "emr-containers", - "cloudFormationName": "EMRcontainers", - "cloudTrailEventSource": "emrcontainers.amazonaws.com", - "endpointPrefix": "emr-containers" - }, - "aws.auth#sigv4": { - "name": "emr-containers" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run\n open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With\n this deployment option, you can focus on running analytics workloads while Amazon EMR on\n EKS builds, configures, and manages containers for open-source applications. For more\n information about Amazon EMR on EKS concepts and tasks, see What is Amazon EMR on\n EKS.

\n

\n Amazon EMR containers is the API name for Amazon EMR on EKS. The\n emr-containers prefix is used in the following scenarios:

\n ", - "smithy.api#title": "Amazon EMR Containers" - }, "version": "2020-10-01", "operations": [ { @@ -103,7 +88,22 @@ { "target": "com.amazonaws.emrcontainers#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EMR containers", + "arnNamespace": "emr-containers", + "cloudFormationName": "EMRcontainers", + "cloudTrailEventSource": "emrcontainers.amazonaws.com", + "endpointPrefix": "emr-containers" + }, + "aws.auth#sigv4": { + "name": "emr-containers" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon EMR on EKS provides a deployment option for Amazon EMR that allows you to run\n open-source big data frameworks on Amazon Elastic Kubernetes Service (Amazon EKS). With\n this deployment option, you can focus on running analytics workloads while Amazon EMR on\n EKS builds, configures, and manages containers for open-source applications. For more\n information about Amazon EMR on EKS concepts and tasks, see What is Amazon EMR on\n EKS.

\n

\n Amazon EMR containers is the API name for Amazon EMR on EKS. The\n emr-containers prefix is used in the following scenarios:

\n ", + "smithy.api#title": "Amazon EMR Containers" + } }, "com.amazonaws.emrcontainers#Base64Encoded": { "type": "string", @@ -1137,10 +1137,7 @@ } }, "com.amazonaws.emrcontainers#JavaInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.emrcontainers#JobArn": { "type": "string", diff --git a/codegen/sdk/aws-models/emr-serverless.json b/codegen/sdk/aws-models/emr-serverless.json index b93dc1afcb2..26ca0337759 100644 --- a/codegen/sdk/aws-models/emr-serverless.json +++ b/codegen/sdk/aws-models/emr-serverless.json @@ -2545,4 +2545,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/emr.json b/codegen/sdk/aws-models/emr.json index dff8da1c6a9..677bfb329d8 100644 --- a/codegen/sdk/aws-models/emr.json +++ b/codegen/sdk/aws-models/emr.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -512,6 +512,7 @@ "IdleTimeout": { "target": "com.amazonaws.emr#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the amount of idle time in seconds after which the cluster automatically\n terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven\n days).

" } } @@ -526,6 +527,7 @@ "BlockPublicSecurityGroupRules": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon EMR block public access is enabled (true)\n or disabled (false). By default, the value is false for accounts\n that have created EMR clusters before July 2019. For accounts created after this, the\n default is true.

", "smithy.api#required": {} } @@ -582,14 +584,14 @@ } }, "com.amazonaws.emr#Boolean": { - "type": "boolean" - }, - "com.amazonaws.emr#BooleanObject": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.emr#BooleanObject": { + "type": "boolean" + }, "com.amazonaws.emr#BootstrapActionConfig": { "type": "structure", "members": { @@ -879,18 +881,21 @@ "AutoTerminate": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster should terminate after completing all steps.

" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances\n from being terminated by an API call or user intervention, or in the event of a cluster\n error.

" } }, "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals\n in the Amazon Web Services account can perform EMR cluster actions on the cluster that their\n IAM policies allow. When false, only the IAM principal that created the\n cluster and the Amazon Web Services account root user can perform EMR actions, regardless of\n IAM permissions policies attached to other IAM principals.

\n

The default value is true if a value is not provided when creating a\n cluster using the EMR API RunJobFlow command, the CLI\n create-cluster command, or the Amazon Web Services Management Console.

" } }, @@ -2413,24 +2418,6 @@ }, "com.amazonaws.emr#ElasticMapReduce": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EMR", - "arnNamespace": "elasticmapreduce", - "cloudFormationName": "EMR", - "cloudTrailEventSource": "emr.amazonaws.com", - "endpointPrefix": "elasticmapreduce" - }, - "aws.auth#sigv4": { - "name": "elasticmapreduce" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon EMR is a web service that makes it easier to process large amounts of\n data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis,\n machine learning, scientific simulation, and data warehouse management.

", - "smithy.api#title": "Amazon EMR", - "smithy.api#xmlNamespace": { - "uri": "http://elasticmapreduce.amazonaws.com/doc/2009-03-31" - } - }, "version": "2009-03-31", "operations": [ { @@ -2589,7 +2576,25 @@ { "target": "com.amazonaws.emr#UpdateStudioSessionMapping" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EMR", + "arnNamespace": "elasticmapreduce", + "cloudFormationName": "EMR", + "cloudTrailEventSource": "emr.amazonaws.com", + "endpointPrefix": "elasticmapreduce" + }, + "aws.auth#sigv4": { + "name": "elasticmapreduce" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon EMR is a web service that makes it easier to process large amounts of\n data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis,\n machine learning, scientific simulation, and data warehouse management.

", + "smithy.api#title": "Amazon EMR", + "smithy.api#xmlNamespace": { + "uri": "http://elasticmapreduce.amazonaws.com/doc/2009-03-31" + } + } }, "com.amazonaws.emr#ErrorCode": { "type": "string", @@ -3407,6 +3412,7 @@ "ConfigurationsVersion": { "target": "com.amazonaws.emr#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the requested configuration specification for this instance\n group.

" } }, @@ -3419,6 +3425,7 @@ "LastSuccessfullyAppliedConfigurationsVersion": { "target": "com.amazonaws.emr#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number of a configuration specification that was successfully applied for an\n instance group last time.

" } }, @@ -4198,10 +4205,7 @@ } }, "com.amazonaws.emr#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.emr#InternalServerError": { "type": "structure", @@ -4322,6 +4326,7 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the cluster is visible to IAM principals in the Amazon Web Services account associated with the cluster. When true, IAM principals\n in the Amazon Web Services account can perform EMR cluster actions that their IAM policies\n allow. When false, only the IAM principal that created the cluster and the\n Amazon Web Services account root user can perform EMR actions, regardless of IAM\n permissions policies attached to other IAM principals.

\n

The default value is true if a value is not provided when creating a\n cluster using the EMR API RunJobFlow command, the CLI\n create-cluster command, or the Amazon Web Services Management Console.

" } }, @@ -4500,12 +4505,14 @@ "KeepJobFlowAliveWhenNoSteps": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster should remain available after completing all steps.\n Defaults to true. For more information about configuring cluster termination,\n see Control Cluster Termination in the EMR Management\n Guide.

" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to lock the cluster to prevent the Amazon EC2 instances from\n being terminated by API call, user intervention, or in the event of a job-flow\n error.

" } }, @@ -4631,12 +4638,14 @@ "KeepJobFlowAliveWhenNoSteps": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the cluster should remain available after completing all steps.

" } }, "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Amazon EC2 instances in the cluster are protected from\n termination by API calls, user intervention, or in the event of a job-flow error.

" } }, @@ -5474,7 +5483,10 @@ } }, "com.amazonaws.emr#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.emr#ManagedScalingPolicy": { "type": "structure", @@ -5511,7 +5523,6 @@ "com.amazonaws.emr#MaxResultsNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5678,7 +5689,6 @@ "com.amazonaws.emr#NonNegativeDouble": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0 } @@ -6053,7 +6063,6 @@ "com.amazonaws.emr#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1, "max": 65535 @@ -6555,6 +6564,7 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "\n

The VisibleToAllUsers parameter is no longer supported. By default, the value is set\n to true. Setting it to false now has no effect.

\n
\n

Set this value to true so that IAM principals in the Amazon Web Services account associated with the cluster can perform EMR actions on the cluster\n that their IAM policies allow. This value defaults to true for clusters\n created using the EMR API or the CLI\n create-cluster command.

\n

When set to false, only the IAM principal that created the cluster and the\n Amazon Web Services account root user can perform EMR actions for the cluster, regardless\n of the IAM permissions policies attached to other IAM principals. For more information, see\n Understanding the EMR Cluster VisibleToAllUsers Setting in the\n Amazon EMRManagement Guide.

" } }, @@ -6967,6 +6977,7 @@ "TerminationProtected": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or\n job-flow error.

", "smithy.api#required": {} } @@ -7006,6 +7017,7 @@ "VisibleToAllUsers": { "target": "com.amazonaws.emr#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value of true indicates that an IAM principal in the Amazon Web Services account can perform EMR actions on the cluster that the IAM policies attached\n to the principal allow. A value of false indicates that only the IAM principal\n that created the cluster and the Amazon Web Services root user can perform EMR actions on\n the cluster.

", "smithy.api#required": {} } @@ -7951,7 +7963,6 @@ "com.amazonaws.emr#ThroughputVal": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -8223,7 +8234,6 @@ "com.amazonaws.emr#WholeNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/eventbridge.json b/codegen/sdk/aws-models/eventbridge.json index 06117d50498..657e9d6f06c 100644 --- a/codegen/sdk/aws-models/eventbridge.json +++ b/codegen/sdk/aws-models/eventbridge.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.eventbridge#AWSEvents": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "EventBridge", - "arnNamespace": "events", - "cloudFormationName": "Events", - "cloudTrailEventSource": "eventbridge.amazonaws.com", - "endpointPrefix": "events" - }, - "aws.auth#sigv4": { - "name": "events" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your\n resources change state, they automatically send events to an event stream. You can create\n rules that match selected events in the stream and route them to targets to take action. You\n can also use rules to take action on a predetermined schedule. For example, you can configure\n rules to:

\n \n

For more information about the features of Amazon EventBridge, see the Amazon EventBridge User\n Guide.

", - "smithy.api#title": "Amazon EventBridge", - "smithy.api#xmlNamespace": { - "uri": "http://events.amazonaws.com/doc/2015-10-07" - } - }, "version": "2015-10-07", "operations": [ { @@ -219,7 +201,25 @@ { "target": "com.amazonaws.eventbridge#UpdateEndpoint" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "EventBridge", + "arnNamespace": "events", + "cloudFormationName": "Events", + "cloudTrailEventSource": "eventbridge.amazonaws.com", + "endpointPrefix": "events" + }, + "aws.auth#sigv4": { + "name": "events" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon EventBridge helps you to respond to state changes in your Amazon Web Services resources. When your\n resources change state, they automatically send events to an event stream. You can create\n rules that match selected events in the stream and route them to targets to take action. You\n can also use rules to take action on a predetermined schedule. For example, you can configure\n rules to:

\n \n

For more information about the features of Amazon EventBridge, see the Amazon EventBridge User\n Guide.

", + "smithy.api#title": "Amazon EventBridge", + "smithy.api#xmlNamespace": { + "uri": "http://events.amazonaws.com/doc/2015-10-07" + } + } }, "com.amazonaws.eventbridge#AccountId": { "type": "string", @@ -246,6 +246,9 @@ "input": { "target": "com.amazonaws.eventbridge#ActivateEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -399,7 +402,6 @@ "com.amazonaws.eventbridge#ApiDestinationInvocationRateLimitPerSecond": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -472,12 +474,14 @@ "SizeBytes": { "target": "com.amazonaws.eventbridge#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the archive, in bytes.

" } }, "EventCount": { "target": "com.amazonaws.eventbridge#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of events in the archive.

" } }, @@ -636,6 +640,7 @@ "Size": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the array, if this is an array batch job. Valid values are integers between 2\n and 10,000.

" } } @@ -684,6 +689,7 @@ "Attempts": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times to attempt to retry, if the job fails. Valid values are 1–10.

" } } @@ -693,7 +699,10 @@ } }, "com.amazonaws.eventbridge#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.eventbridge#CancelReplay": { "type": "operation", @@ -790,12 +799,14 @@ "weight": { "target": "com.amazonaws.eventbridge#CapacityProviderStrategyItemWeight", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The weight value designates the relative percentage of the total number of tasks launched\n that should use the specified capacity provider. The weight value is taken into consideration\n after the base value, if defined, is satisfied.

" } }, "base": { "target": "com.amazonaws.eventbridge#CapacityProviderStrategyItemBase", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The base value designates how many tasks, at a minimum, to run on the specified capacity\n provider. Only one capacity provider in a capacity provider strategy can have a base defined.\n If no value is specified, the default value of 0 is used.

" } } @@ -807,6 +818,7 @@ "com.amazonaws.eventbridge#CapacityProviderStrategyItemBase": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100000 @@ -816,6 +828,7 @@ "com.amazonaws.eventbridge#CapacityProviderStrategyItemWeight": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -1026,6 +1039,7 @@ "IsValueSecret": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specified whether the value is secret.

" } } @@ -1074,6 +1088,7 @@ "IsValueSecret": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specified whether the value is a secret.

" } } @@ -1213,6 +1228,7 @@ "IsValueSecret": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the value is secret.

" } } @@ -1974,6 +1990,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeactivateEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2283,6 +2302,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeleteEventBusRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2312,6 +2334,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeletePartnerEventSourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2351,6 +2376,9 @@ "input": { "target": "com.amazonaws.eventbridge#DeleteRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -2388,6 +2416,7 @@ "Force": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to delete the rule. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.

" } } @@ -2579,12 +2608,14 @@ "SizeBytes": { "target": "com.amazonaws.eventbridge#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the archive in bytes.

" } }, "EventCount": { "target": "com.amazonaws.eventbridge#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of events in the archive.

" } }, @@ -3219,6 +3250,9 @@ "input": { "target": "com.amazonaws.eventbridge#DisableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -3304,12 +3338,14 @@ "EnableECSManagedTags": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable Amazon ECS managed tags for the task. For more information,\n see Tagging Your Amazon ECS Resources in the Amazon Elastic Container Service Developer\n Guide.

" } }, "EnableExecuteCommand": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not to enable the execute command functionality for the containers in this\n task. If true, this enables execute command functionality on all containers in the\n task.

" } }, @@ -3353,6 +3389,9 @@ "input": { "target": "com.amazonaws.eventbridge#EnableRuleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -3947,7 +3986,10 @@ } }, "com.amazonaws.eventbridge#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.eventbridge#InternalException": { "type": "structure", @@ -4034,7 +4076,6 @@ "com.amazonaws.eventbridge#LimitMax100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4044,7 +4085,6 @@ "com.amazonaws.eventbridge#LimitMin1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4866,7 +4906,10 @@ } }, "com.amazonaws.eventbridge#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.eventbridge#ManagedBy": { "type": "string", @@ -4892,7 +4935,6 @@ "com.amazonaws.eventbridge#MaximumEventAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 @@ -4902,7 +4944,6 @@ "com.amazonaws.eventbridge#MaximumRetryAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 185 @@ -5336,6 +5377,7 @@ "FailedEntryCount": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed entries.

" } }, @@ -5467,6 +5509,7 @@ "FailedEntryCount": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of events from this operation that could not be written to the partner event\n bus.

" } }, @@ -5515,6 +5558,9 @@ "input": { "target": "com.amazonaws.eventbridge#PutPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -5734,6 +5780,7 @@ "FailedEntryCount": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed entries.

" } }, @@ -5844,6 +5891,7 @@ "WithEvent": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to send an event back to EventBridge after the SQL statement\n runs.

" } } @@ -5876,6 +5924,9 @@ "input": { "target": "com.amazonaws.eventbridge#RemovePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.eventbridge#ConcurrentModificationException" @@ -5906,6 +5957,7 @@ "RemoveAllPermissions": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to remove all permissions.

" } }, @@ -5969,6 +6021,7 @@ "Force": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If this is a managed rule, created by an Amazon Web Services service on your behalf, you must specify\n Force as True to remove targets. This parameter is ignored for\n rules that are not managed rules. You can check whether a rule is a managed rule by using\n DescribeRule or ListRules and checking the ManagedBy\n field of the response.

" } } @@ -5980,6 +6033,7 @@ "FailedEntryCount": { "target": "com.amazonaws.eventbridge#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed entries.

" } }, @@ -6254,7 +6308,6 @@ "com.amazonaws.eventbridge#RetentionDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -7089,6 +7142,7 @@ "Result": { "target": "com.amazonaws.eventbridge#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the event matches the event pattern.

" } } diff --git a/codegen/sdk/aws-models/evidently.json b/codegen/sdk/aws-models/evidently.json index 1618a4a2a75..2664cc808bf 100644 --- a/codegen/sdk/aws-models/evidently.json +++ b/codegen/sdk/aws-models/evidently.json @@ -6134,4 +6134,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/finspace-data.json b/codegen/sdk/aws-models/finspace-data.json index 1998457d777..b5a545cb437 100644 --- a/codegen/sdk/aws-models/finspace-data.json +++ b/codegen/sdk/aws-models/finspace-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.finspacedata#AWSHabaneroPublicAPI": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "finspace data", - "arnNamespace": "finspace-api", - "cloudFormationName": "Finspacedata", - "cloudTrailEventSource": "finspacedata.amazonaws.com", - "endpointPrefix": "finspace-api" - }, - "aws.auth#sigv4": { - "name": "finspace-api" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The FinSpace APIs let you take actions inside the FinSpace.

", - "smithy.api#title": "FinSpace Public API" - }, "version": "2020-07-13", "operations": [ { @@ -141,7 +126,22 @@ { "target": "com.amazonaws.finspacedata#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "finspace data", + "arnNamespace": "finspace-api", + "cloudFormationName": "Finspacedata", + "cloudTrailEventSource": "finspacedata.amazonaws.com", + "endpointPrefix": "finspace-api" + }, + "aws.auth#sigv4": { + "name": "finspace-api" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The FinSpace APIs let you take actions inside the FinSpace.

", + "smithy.api#title": "FinSpace Public API" + } }, "com.amazonaws.finspacedata#AccessDeniedException": { "type": "structure", @@ -303,6 +303,7 @@ "statusCode": { "target": "com.amazonaws.finspacedata#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The returned status code of the response.

", "smithy.api#httpResponseCode": {} } @@ -333,6 +334,7 @@ "expiration": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Epoch time when the current credentials expire.

" } } @@ -344,6 +346,7 @@ "com.amazonaws.finspacedata#Boolean": { "type": "boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Common Boolean data type" } }, @@ -454,6 +457,7 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -472,14 +476,14 @@ "activeUntilTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, "activeFromTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -811,6 +815,7 @@ "autoUpdate": { "target": "com.amazonaws.finspacedata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag to indicate Dataview should be updated automatically.

" } }, @@ -829,7 +834,7 @@ "asOfTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Beginning time to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -1325,7 +1330,7 @@ "asOfTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -1362,18 +1367,21 @@ "autoUpdate": { "target": "com.amazonaws.finspacedata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The flag to indicate Dataview should be updated automatically.

" } }, "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } } @@ -1424,12 +1432,14 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the Dataset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The last time that the Dataset was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -1853,6 +1863,7 @@ "statusCode": { "target": "com.amazonaws.finspacedata#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The returned status code of the response.

", "smithy.api#httpResponseCode": {} } @@ -2136,6 +2147,7 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -2154,14 +2166,14 @@ "activeUntilTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, "activeFromTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -2246,6 +2258,7 @@ "autoUpdate": { "target": "com.amazonaws.finspacedata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag to indicate Dataview should be updated automatically.

" } }, @@ -2264,7 +2277,7 @@ "asOfTimestamp": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Time range to use for the Dataview. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -2277,12 +2290,14 @@ "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The last time that a Dataview was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the Dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -2410,12 +2425,14 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the Dataset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The last time that the Dataset was modified. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

" } }, @@ -2606,6 +2623,7 @@ "durationInMinutes": { "target": "com.amazonaws.finspacedata#SessionDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time duration in which the credentials remain valid.

", "smithy.api#httpQuery": "durationInMinutes" } @@ -2635,6 +2653,7 @@ "durationInMinutes": { "target": "com.amazonaws.finspacedata#SessionDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Returns the duration in which the credentials will remain valid.

" } } @@ -2744,30 +2763,35 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.

" } }, "lastEnabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.

" } }, "lastDisabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.

" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.

" } }, "lastLoginTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.

" } } @@ -2969,7 +2993,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults" } @@ -3067,7 +3091,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults" } @@ -3147,7 +3171,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults" } @@ -3269,6 +3293,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3306,6 +3331,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3422,6 +3448,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3459,6 +3486,7 @@ "maxResults": { "target": "com.amazonaws.finspacedata#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results per page.

", "smithy.api#httpQuery": "maxResults", "smithy.api#required": {} @@ -3547,12 +3575,14 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the group was created in FinSpace. The value is determined as epoch time in milliseconds.\n

" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time the permission group was updated. The value is determined as epoch time in milliseconds.\n

" } }, @@ -3803,6 +3833,7 @@ "com.amazonaws.finspacedata#ResultLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3918,6 +3949,7 @@ "com.amazonaws.finspacedata#SessionDuration": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 60, "max": 720 @@ -3957,7 +3989,10 @@ } }, "com.amazonaws.finspacedata#StatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.finspacedata#StringMapKey": { "type": "string", @@ -4022,6 +4057,7 @@ "com.amazonaws.finspacedata#TimestampEpoch": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Milliseconds since UTC epoch" } }, @@ -4471,30 +4507,35 @@ "createTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timestamp at which the user account was created in FinSpace. The value is determined as epoch time in milliseconds.

" } }, "lastEnabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time the user account was enabled. The value is determined as epoch time in milliseconds.\n

" } }, "lastDisabledTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time the user account was disabled. The value is determined as epoch time in milliseconds.

" } }, "lastModifiedTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time the user account was updated. The value is determined as epoch time in milliseconds.\n

" } }, "lastLoginTime": { "target": "com.amazonaws.finspacedata#TimestampEpoch", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the last time that the user logged into their account. The value is determined as epoch time in milliseconds.\n

" } } diff --git a/codegen/sdk/aws-models/finspace.json b/codegen/sdk/aws-models/finspace.json index 59333071e83..e9a84afd202 100644 --- a/codegen/sdk/aws-models/finspace.json +++ b/codegen/sdk/aws-models/finspace.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.finspace#AWSHabaneroManagementService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "finspace", - "arnNamespace": "finspace", - "cloudFormationName": "Finspace", - "cloudTrailEventSource": "finspace.amazonaws.com", - "endpointPrefix": "finspace" - }, - "aws.auth#sigv4": { - "name": "finspace" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The FinSpace management service provides the APIs for managing FinSpace environments.

", - "smithy.api#title": "FinSpace User Environment Management service" - }, "version": "2021-03-12", "operations": [ { @@ -72,7 +57,22 @@ { "target": "com.amazonaws.finspace#UpdateEnvironment" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "finspace", + "arnNamespace": "finspace", + "cloudFormationName": "Finspace", + "cloudTrailEventSource": "finspace.amazonaws.com", + "endpointPrefix": "finspace" + }, + "aws.auth#sigv4": { + "name": "finspace" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The FinSpace management service provides the APIs for managing FinSpace environments.

", + "smithy.api#title": "FinSpace User Environment Management service" + } }, "com.amazonaws.finspace#AccessDeniedException": { "type": "structure", @@ -679,6 +679,7 @@ "maxResults": { "target": "com.amazonaws.finspace#ResultLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this request.

", "smithy.api#httpQuery": "maxResults" } @@ -790,6 +791,7 @@ "com.amazonaws.finspace#ResultLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 diff --git a/codegen/sdk/aws-models/firehose.json b/codegen/sdk/aws-models/firehose.json index 0d5f4922e9f..5fc895a33fb 100644 --- a/codegen/sdk/aws-models/firehose.json +++ b/codegen/sdk/aws-models/firehose.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -53,7 +53,6 @@ "com.amazonaws.firehose#AmazonopensearchserviceBufferingIntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -63,7 +62,6 @@ "com.amazonaws.firehose#AmazonopensearchserviceBufferingSizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -265,7 +263,6 @@ "com.amazonaws.firehose#AmazonopensearchserviceRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -308,17 +305,13 @@ "com.amazonaws.firehose#BlockSizeBytes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 67108864 } } }, "com.amazonaws.firehose#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.firehose#BucketARN": { "type": "string", @@ -1068,7 +1061,6 @@ "com.amazonaws.firehose#DescribeDeliveryStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1220,7 +1212,6 @@ "com.amazonaws.firehose#ElasticsearchBufferingIntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -1230,7 +1221,6 @@ "com.amazonaws.firehose#ElasticsearchBufferingSizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1546,7 +1536,6 @@ "com.amazonaws.firehose#ElasticsearchRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -1978,7 +1967,6 @@ "com.amazonaws.firehose#HECAcknowledgmentTimeoutInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 180, "max": 600 @@ -2090,7 +2078,6 @@ "com.amazonaws.firehose#HttpEndpointBufferingIntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -2100,7 +2087,6 @@ "com.amazonaws.firehose#HttpEndpointBufferingSizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -2384,7 +2370,6 @@ "com.amazonaws.firehose#HttpEndpointRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -2448,7 +2433,6 @@ "com.amazonaws.firehose#IntervalInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 900 @@ -2626,7 +2610,6 @@ "com.amazonaws.firehose#ListDeliveryStreamsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -2714,7 +2697,6 @@ "com.amazonaws.firehose#ListTagsForDeliveryStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -2806,7 +2788,6 @@ "com.amazonaws.firehose#NonNegativeIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2875,7 +2856,6 @@ "com.amazonaws.firehose#OrcRowIndexStride": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000 } @@ -2952,7 +2932,6 @@ "com.amazonaws.firehose#OrcStripeSizeBytes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 8388608 } @@ -2994,7 +2973,6 @@ "com.amazonaws.firehose#ParquetPageSizeBytes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 65536 } @@ -3234,7 +3212,6 @@ "com.amazonaws.firehose#Proportion": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -3677,7 +3654,6 @@ "com.amazonaws.firehose#RedshiftRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -3746,7 +3722,6 @@ "com.amazonaws.firehose#RetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 @@ -4062,7 +4037,6 @@ "com.amazonaws.firehose#SizeInMBs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 128 @@ -4276,7 +4250,6 @@ "com.amazonaws.firehose#SplunkRetryDurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7200 diff --git a/codegen/sdk/aws-models/fis.json b/codegen/sdk/aws-models/fis.json index 702190d6263..86c64f77d29 100644 --- a/codegen/sdk/aws-models/fis.json +++ b/codegen/sdk/aws-models/fis.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -99,7 +99,7 @@ "required": { "target": "com.amazonaws.fis#ActionParameterRequired", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Indicates whether the parameter is required.

" } } @@ -138,7 +138,10 @@ } }, "com.amazonaws.fis#ActionParameterRequired": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.fis#ActionSummary": { "type": "structure", @@ -1805,21 +1808,6 @@ }, "com.amazonaws.fis#FaultInjectionSimulator": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "fis", - "arnNamespace": "fis", - "cloudFormationName": "Fis", - "cloudTrailEventSource": "fis.amazonaws.com", - "endpointPrefix": "fis" - }, - "aws.auth#sigv4": { - "name": "fis" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Fault Injection Simulator is a managed service that enables you to perform fault injection \n experiments on your Amazon Web Services workloads. For more information, see the Fault Injection Simulator User Guide.

", - "smithy.api#title": "AWS Fault Injection Simulator" - }, "version": "2020-12-01", "operations": [ { @@ -1870,7 +1858,22 @@ { "target": "com.amazonaws.fis#UpdateExperimentTemplate" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "fis", + "arnNamespace": "fis", + "cloudFormationName": "Fis", + "cloudTrailEventSource": "fis.amazonaws.com", + "endpointPrefix": "fis" + }, + "aws.auth#sigv4": { + "name": "fis" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Fault Injection Simulator is a managed service that enables you to perform fault injection \n experiments on your Amazon Web Services workloads. For more information, see the Fault Injection Simulator User Guide.

", + "smithy.api#title": "AWS Fault Injection Simulator" + } }, "com.amazonaws.fis#GetAction": { "type": "operation", @@ -2101,6 +2104,7 @@ "com.amazonaws.fis#ListActionsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2113,7 +2117,7 @@ "maxResults": { "target": "com.amazonaws.fis#ListActionsMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } @@ -2174,6 +2178,7 @@ "com.amazonaws.fis#ListExperimentTemplatesMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2186,7 +2191,7 @@ "maxResults": { "target": "com.amazonaws.fis#ListExperimentTemplatesMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } @@ -2247,6 +2252,7 @@ "com.amazonaws.fis#ListExperimentsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2259,7 +2265,7 @@ "maxResults": { "target": "com.amazonaws.fis#ListExperimentsMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } @@ -2361,6 +2367,7 @@ "com.amazonaws.fis#ListTargetResourceTypesMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2373,7 +2380,7 @@ "maxResults": { "target": "com.amazonaws.fis#ListTargetResourceTypesMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "smithy.api#httpQuery": "maxResults" } @@ -2405,10 +2412,7 @@ } }, "com.amazonaws.fis#LogSchemaVersion": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.fis#NextToken": { "type": "string", @@ -2783,7 +2787,7 @@ "required": { "target": "com.amazonaws.fis#TargetResourceTypeParameterRequired", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Indicates whether the parameter is required.

" } } @@ -2822,7 +2826,10 @@ } }, "com.amazonaws.fis#TargetResourceTypeParameterRequired": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.fis#TargetResourceTypeSummary": { "type": "structure", diff --git a/codegen/sdk/aws-models/fms.json b/codegen/sdk/aws-models/fms.json index 9bfbcf7646f..b144f9062a9 100644 --- a/codegen/sdk/aws-models/fms.json +++ b/codegen/sdk/aws-models/fms.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.fms#AWSFMS_20180101": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "FMS", - "arnNamespace": "fms", - "cloudFormationName": "FMS", - "cloudTrailEventSource": "fms.amazonaws.com", - "endpointPrefix": "fms" - }, - "aws.auth#sigv4": { - "name": "fms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

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

\n

Some API actions require explicit resource permissions. For information, see the developer guide topic\n Firewall Manager required permissions for API actions.\n

", - "smithy.api#title": "Firewall Management Service" - }, "version": "2018-01-01", "operations": [ { @@ -148,7 +133,22 @@ { "target": "com.amazonaws.fms#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "FMS", + "arnNamespace": "fms", + "cloudFormationName": "FMS", + "cloudTrailEventSource": "fms.amazonaws.com", + "endpointPrefix": "fms" + }, + "aws.auth#sigv4": { + "name": "fms" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

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

\n

Some API actions require explicit resource permissions. For information, see the developer guide topic\n Firewall Manager required permissions for API actions.\n

", + "smithy.api#title": "Firewall Management Service" + } }, "com.amazonaws.fms#AccountRoleStatus": { "type": "string", @@ -493,6 +493,7 @@ "com.amazonaws.fms#BasicInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -2147483648, "max": 2147483647 @@ -500,7 +501,10 @@ } }, "com.amazonaws.fms#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.fms#CIDR": { "type": "string", @@ -703,6 +707,7 @@ "DeleteAllPolicyResources": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If True, the request performs cleanup according to the policy type.

\n

For WAF and Shield Advanced policies, the cleanup does the following:

\n \n

For security group policies, the cleanup does the following for each security group in\n the policy:

\n \n

After the cleanup, in-scope resources are no longer protected by web ACLs in this policy.\n Protection of out-of-scope resources remains unchanged. Scope is determined by tags that you\n create and accounts that you associate with the policy. When creating the policy, if you\n specify that only resources in specific accounts or with specific tags are in scope of the\n policy, those accounts and resources are handled by the policy. All others are out of scope.\n If you don't specify tags or accounts, all resources are in scope.

" } } @@ -909,6 +914,7 @@ "NumberOfRuleGroupsAlreadyAssociated": { "target": "com.amazonaws.fms#BasicInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of rule groups currently associated with the VPC.

" } } @@ -926,6 +932,7 @@ "com.amazonaws.fms#DnsRuleGroupPriority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10000 @@ -950,6 +957,7 @@ "ConflictingPriority": { "target": "com.amazonaws.fms#DnsRuleGroupPriority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The priority setting of the two conflicting rule groups.

" } }, @@ -1230,12 +1238,14 @@ "ViolatorCount": { "target": "com.amazonaws.fms#ResourceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of resources that are noncompliant with the specified policy. For WAF and\n Shield Advanced policies, a resource is considered noncompliant if it is not associated with\n the policy. For security group policies, a resource is considered noncompliant if it doesn't\n comply with the rules of the policy and remediation is disabled or not possible.

" } }, "EvaluationLimitExceeded": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that over 100 resources are noncompliant with the Firewall Manager\n policy.

" } } @@ -1505,6 +1515,7 @@ "DefaultList": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the list to retrieve is a default list owned by Firewall Manager.

" } } @@ -1812,6 +1823,7 @@ "DefaultList": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the list to retrieve is a default list owned by Firewall Manager.

" } } @@ -1959,7 +1971,6 @@ "com.amazonaws.fms#IPPortNumber": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -2088,6 +2099,7 @@ "DefaultLists": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the lists to retrieve are default lists owned by Firewall Manager.

" } }, @@ -2361,6 +2373,7 @@ "DefaultLists": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the lists to retrieve are default lists owned by Firewall Manager.

" } }, @@ -2632,6 +2645,7 @@ "IsRouteTableUsedInDifferentAZ": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Information about whether the route table is used in another Availability Zone.

" } }, @@ -2718,6 +2732,7 @@ "IsRouteTableUsedInDifferentAZ": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Information about whether the route table is used in another Availability Zone.

" } }, @@ -3111,7 +3126,6 @@ "com.amazonaws.fms#PaginationMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3205,6 +3219,7 @@ "ExcludeResourceTags": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to True, resources with the tags that are specified in the\n ResourceTag array are not in scope of the policy. If set to False,\n and the ResourceTag array is not null, only resources with the specified tags are\n in scope of the policy.

", "smithy.api#required": {} } @@ -3212,6 +3227,7 @@ "RemediationEnabled": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the policy should be automatically applied to new resources.

", "smithy.api#required": {} } @@ -3219,6 +3235,7 @@ "DeleteUnusedFMManagedResources": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources\n that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL\n from a protected customer resource when the customer resource leaves policy scope.

\n

By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.

\n

This option is not available for Shield Advanced or WAF Classic policies.

" } }, @@ -3269,6 +3286,7 @@ "EvaluationLimitExceeded": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if over 100 resources are noncompliant with the Firewall Manager\n policy.

" } }, @@ -3426,12 +3444,14 @@ "RemediationEnabled": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the policy should be automatically applied to new resources.

" } }, "DeleteUnusedFMManagedResources": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Firewall Manager should automatically remove protections from resources that leave the policy scope and clean up resources\n that Firewall Manager is managing for accounts when those accounts leave policy scope. For example, Firewall Manager will disassociate a Firewall Manager managed web ACL\n from a protected customer resource when the customer resource leaves policy scope.

\n

By default, Firewall Manager doesn't remove protections or delete Firewall Manager managed resources.

\n

This option is not available for Shield Advanced or WAF Classic policies.

" } } @@ -3475,6 +3495,7 @@ "IsDefaultAction": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Information about whether an action is taken by default.

" } } @@ -3538,10 +3559,7 @@ } }, "com.amazonaws.fms#PriorityNumber": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.fms#ProtectionData": { "type": "string" @@ -3991,6 +4009,7 @@ "Order": { "target": "com.amazonaws.fms#BasicInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The order of the remediation actions in the list.

" } } @@ -4012,6 +4031,7 @@ "com.amazonaws.fms#ResourceCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4430,6 +4450,7 @@ "IsDefaultAction": { "target": "com.amazonaws.fms#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if the current action is the default action.

" } } @@ -4622,6 +4643,7 @@ "Priority": { "target": "com.amazonaws.fms#StatelessRuleGroupPriority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The priority of the rule group. Network Firewall evaluates the stateless rule groups in a firewall policy starting from the lowest priority setting.

" } } @@ -4639,6 +4661,7 @@ "com.amazonaws.fms#StatelessRuleGroupPriority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 diff --git a/codegen/sdk/aws-models/forecast.json b/codegen/sdk/aws-models/forecast.json index bf3564bad61..4c4663ea9d4 100644 --- a/codegen/sdk/aws-models/forecast.json +++ b/codegen/sdk/aws-models/forecast.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -93,21 +93,6 @@ }, "com.amazonaws.forecast#AmazonForecast": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "forecast", - "arnNamespace": "forecast", - "cloudFormationName": "Forecast", - "cloudTrailEventSource": "forecast.amazonaws.com", - "endpointPrefix": "forecast" - }, - "aws.auth#sigv4": { - "name": "forecast" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Provides APIs for creating and managing Amazon Forecast resources.

", - "smithy.api#title": "Amazon Forecast Service" - }, "version": "2018-06-26", "operations": [ { @@ -299,7 +284,22 @@ { "target": "com.amazonaws.forecast#UpdateDatasetGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "forecast", + "arnNamespace": "forecast", + "cloudFormationName": "Forecast", + "cloudTrailEventSource": "forecast.amazonaws.com", + "endpointPrefix": "forecast" + }, + "aws.auth#sigv4": { + "name": "forecast" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Provides APIs for creating and managing Amazon Forecast resources.

", + "smithy.api#title": "Amazon Forecast Service" + } }, "com.amazonaws.forecast#Arn": { "type": "string", @@ -444,10 +444,7 @@ } }, "com.amazonaws.forecast#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.forecast#CategoricalParameterRange": { "type": "structure", @@ -845,6 +842,7 @@ "UseGeolocationForTimeZone": { "target": "com.amazonaws.forecast#UseGeolocationForTimeZone", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Automatically derive time zone information from the geolocation attribute. This option\n is ideal for datasets that contain timestamps in multiple time zones and those\n timestamps are expressed in local time.

" } }, @@ -1999,7 +1997,6 @@ "com.amazonaws.forecast#DayOfMonth": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 28 @@ -2864,6 +2861,7 @@ "UseGeolocationForTimeZone": { "target": "com.amazonaws.forecast#UseGeolocationForTimeZone", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether TimeZone is automatically derived from the geolocation\n attribute.

" } }, @@ -4115,10 +4113,7 @@ } }, "com.amazonaws.forecast#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.forecast#EncryptionConfig": { "type": "structure", @@ -4844,7 +4839,6 @@ "com.amazonaws.forecast#Hour": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 23 @@ -4887,10 +4881,7 @@ } }, "com.amazonaws.forecast#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.forecast#IntegerParameterRange": { "type": "structure", @@ -5972,10 +5963,7 @@ } }, "com.amazonaws.forecast#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.forecast#LongArn": { "type": "string", @@ -5996,7 +5984,6 @@ "com.amazonaws.forecast#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -7537,7 +7524,10 @@ "members": {} }, "com.amazonaws.forecast#UseGeolocationForTimeZone": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.forecast#Value": { "type": "string", diff --git a/codegen/sdk/aws-models/forecastquery.json b/codegen/sdk/aws-models/forecastquery.json index 55ac8a207ce..4ce1cb7ef73 100644 --- a/codegen/sdk/aws-models/forecastquery.json +++ b/codegen/sdk/aws-models/forecastquery.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,15 @@ "shapes": { "com.amazonaws.forecastquery#AmazonForecastRuntime": { "type": "service", + "version": "2018-06-26", + "operations": [ + { + "target": "com.amazonaws.forecastquery#QueryForecast" + }, + { + "target": "com.amazonaws.forecastquery#QueryWhatIfForecast" + } + ], "traits": { "aws.api#service": { "sdkId": "forecastquery", @@ -45,16 +54,7 @@ "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "

Provides APIs for creating and managing Amazon Forecast resources.

", "smithy.api#title": "Amazon Forecast Query Service" - }, - "version": "2018-06-26", - "operations": [ - { - "target": "com.amazonaws.forecastquery#QueryForecast" - }, - { - "target": "com.amazonaws.forecastquery#QueryWhatIfForecast" - } - ] + } }, "com.amazonaws.forecastquery#Arn": { "type": "string", @@ -109,10 +109,7 @@ "type": "string" }, "com.amazonaws.forecastquery#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.forecastquery#ErrorMessage": { "type": "string" diff --git a/codegen/sdk/aws-models/frauddetector.json b/codegen/sdk/aws-models/frauddetector.json index 2343d1eeb6d..cf51da54eff 100644 --- a/codegen/sdk/aws-models/frauddetector.json +++ b/codegen/sdk/aws-models/frauddetector.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -103,24 +103,6 @@ }, "com.amazonaws.frauddetector#AWSHawksNestServiceFacade": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "FraudDetector", - "arnNamespace": "frauddetector", - "cloudFormationName": "FraudDetector", - "cloudTrailEventSource": "frauddetector.amazonaws.com", - "endpointPrefix": "frauddetector" - }, - "aws.auth#sigv4": { - "name": "frauddetector" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

This is the Amazon Fraud Detector API Reference. This guide is for developers who need\n detailed information about Amazon Fraud Detector API actions, data types, and errors. For\n more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide.

\n \n

We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.

\n

The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter Action. AWS SDK provides libraries, \n sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over \n HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and \n handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see Tools to build on AWS.\n

", - "smithy.api#title": "Amazon Fraud Detector", - "smithy.api#xmlNamespace": { - "uri": "http://hawksnest.amazonaws.com/doc/2019-11-15" - } - }, "version": "2019-11-15", "operations": [ { @@ -327,7 +309,25 @@ { "target": "com.amazonaws.frauddetector#UpdateVariable" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "FraudDetector", + "arnNamespace": "frauddetector", + "cloudFormationName": "FraudDetector", + "cloudTrailEventSource": "frauddetector.amazonaws.com", + "endpointPrefix": "frauddetector" + }, + "aws.auth#sigv4": { + "name": "frauddetector" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

This is the Amazon Fraud Detector API Reference. This guide is for developers who need\n detailed information about Amazon Fraud Detector API actions, data types, and errors. For\n more information about Amazon Fraud Detector features, see the Amazon Fraud Detector User Guide.

\n \n

We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.

\n

The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter Action. AWS SDK provides libraries, \n sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over \n HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and \n handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see Tools to build on AWS.\n

", + "smithy.api#title": "Amazon Fraud Detector", + "smithy.api#xmlNamespace": { + "uri": "http://hawksnest.amazonaws.com/doc/2019-11-15" + } + } }, "com.amazonaws.frauddetector#AccessDeniedException": { "type": "structure", @@ -476,6 +476,7 @@ "code": { "target": "com.amazonaws.frauddetector#Integer2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The error code.

" } }, @@ -563,6 +564,7 @@ "code": { "target": "com.amazonaws.frauddetector#Integer2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The error code.

" } }, @@ -809,10 +811,7 @@ } }, "com.amazonaws.frauddetector#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.frauddetector#CancelBatchImportJob": { "type": "operation", @@ -1611,10 +1610,7 @@ } }, "com.amazonaws.frauddetector#DeleteAuditHistory": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.frauddetector#DeleteBatchImportJob": { "type": "operation", @@ -2559,7 +2555,6 @@ "com.amazonaws.frauddetector#DetectorVersionMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000, "max": 2500 @@ -2626,7 +2621,6 @@ "com.amazonaws.frauddetector#DetectorsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -2935,7 +2929,6 @@ "com.amazonaws.frauddetector#EventPredictionsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -3205,7 +3198,6 @@ "com.amazonaws.frauddetector#ExternalModelsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -4867,14 +4859,14 @@ } }, "com.amazonaws.frauddetector#Integer": { + "type": "integer" + }, + "com.amazonaws.frauddetector#Integer2": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, - "com.amazonaws.frauddetector#Integer2": { - "type": "integer" - }, "com.amazonaws.frauddetector#InternalServerException": { "type": "structure", "members": { @@ -5268,10 +5260,7 @@ } }, "com.amazonaws.frauddetector#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.frauddetector#MapOfStrings": { "type": "map", @@ -5865,7 +5854,6 @@ "com.amazonaws.frauddetector#OutcomesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -6542,7 +6530,6 @@ "com.amazonaws.frauddetector#RulesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -6783,7 +6770,6 @@ "com.amazonaws.frauddetector#TagsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 50 @@ -7727,10 +7713,7 @@ "members": {} }, "com.amazonaws.frauddetector#UseEventVariables": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.frauddetector#ValidationException": { "type": "structure", @@ -7915,7 +7898,6 @@ "com.amazonaws.frauddetector#VariablesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -7944,7 +7926,6 @@ "com.amazonaws.frauddetector#batchImportsMaxPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -7954,7 +7935,6 @@ "com.amazonaws.frauddetector#batchPredictionsMaxPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -8001,7 +7981,6 @@ "com.amazonaws.frauddetector#entityTypesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -8017,7 +7996,6 @@ "com.amazonaws.frauddetector#eventTypesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -8047,10 +8025,7 @@ } }, "com.amazonaws.frauddetector#float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.frauddetector#floatVersionString": { "type": "string", @@ -8110,7 +8085,6 @@ "com.amazonaws.frauddetector#labelsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 50 @@ -8169,7 +8143,6 @@ "com.amazonaws.frauddetector#modelsMaxPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 diff --git a/codegen/sdk/aws-models/gamelift.json b/codegen/sdk/aws-models/gamelift.json index ee204561e10..87427c250bf 100644 --- a/codegen/sdk/aws-models/gamelift.json +++ b/codegen/sdk/aws-models/gamelift.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -300,10 +300,7 @@ } }, "com.amazonaws.gamelift#BooleanModel": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.gamelift#Build": { "type": "structure", @@ -4625,14 +4622,14 @@ "type": "string" }, "com.amazonaws.gamelift#Double": { - "type": "double" - }, - "com.amazonaws.gamelift#DoubleObject": { "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.gamelift#DoubleObject": { + "type": "double" + }, "com.amazonaws.gamelift#EC2InstanceCounts": { "type": "structure", "members": { @@ -5788,31 +5785,16 @@ } }, "com.amazonaws.gamelift#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.gamelift#FreeText": { "type": "string" }, "com.amazonaws.gamelift#GameLift": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GameLift", - "arnNamespace": "gamelift", - "cloudFormationName": "GameLift", - "cloudTrailEventSource": "gamelift.amazonaws.com", - "endpointPrefix": "gamelift" - }, - "aws.auth#sigv4": { - "name": "gamelift" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "GameLift Service\n

Amazon Web Services provides solutions for hosting session-based multiplayer game servers in the\n cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services\n global computing infrastructure, GameLift helps you deliver high-performance,\n high-reliability, low-cost game servers while dynamically scaling your resource usage to\n meet player demand.

\n

\n About GameLift solutions\n

\n

Get more information on these GameLift solutions in the GameLift Developer Guide.

\n \n

\n About this API Reference\n

\n

This reference guide describes the low-level service API for Amazon Web Services. With each topic\n in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI\n reference. Useful links:

\n ", - "smithy.api#title": "Amazon GameLift", - "smithy.api#xmlNamespace": { - "uri": "http://gamelift.amazonaws.com/doc/" - } - }, "version": "2015-10-01", "operations": [ { @@ -6100,7 +6082,25 @@ { "target": "com.amazonaws.gamelift#ValidateMatchmakingRuleSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "GameLift", + "arnNamespace": "gamelift", + "cloudFormationName": "GameLift", + "cloudTrailEventSource": "gamelift.amazonaws.com", + "endpointPrefix": "gamelift" + }, + "aws.auth#sigv4": { + "name": "gamelift" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "GameLift Service\n

Amazon Web Services provides solutions for hosting session-based multiplayer game servers in the\n cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services\n global computing infrastructure, GameLift helps you deliver high-performance,\n high-reliability, low-cost game servers while dynamically scaling your resource usage to\n meet player demand.

\n

\n About GameLift solutions\n

\n

Get more information on these GameLift solutions in the GameLift Developer Guide.

\n \n

\n About this API Reference\n

\n

This reference guide describes the low-level service API for Amazon Web Services. With each topic\n in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI\n reference. Useful links:

\n ", + "smithy.api#title": "Amazon GameLift", + "smithy.api#xmlNamespace": { + "uri": "http://gamelift.amazonaws.com/doc/" + } + } }, "com.amazonaws.gamelift#GameProperty": { "type": "structure", @@ -7093,7 +7093,6 @@ "com.amazonaws.gamelift#GameSessionActivationTimeoutSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 600 @@ -7837,7 +7836,10 @@ } }, "com.amazonaws.gamelift#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.gamelift#InternalServiceException": { "type": "structure", @@ -8712,7 +8714,6 @@ "com.amazonaws.gamelift#MatchmakingAcceptanceTimeoutInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 600 @@ -8916,7 +8917,6 @@ "com.amazonaws.gamelift#MatchmakingRequestTimeoutInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 43200 @@ -9074,7 +9074,6 @@ "com.amazonaws.gamelift#MaxConcurrentGameSessionActivations": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 2147483647 @@ -9180,7 +9179,6 @@ "com.amazonaws.gamelift#NonNegativeDouble": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -9353,6 +9351,7 @@ "LatencyInMilliseconds": { "target": "com.amazonaws.gamelift#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Amount of time that represents the time lag experienced by the player when\n connected to the specified Region.

" } } @@ -9547,7 +9546,6 @@ "com.amazonaws.gamelift#PortNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 60000 @@ -9557,7 +9555,6 @@ "com.amazonaws.gamelift#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -9566,7 +9563,6 @@ "com.amazonaws.gamelift#PositiveLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -9688,6 +9684,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.gamelift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Amount of adjustment to make, based on the scaling adjustment type.

" } }, @@ -9700,6 +9697,7 @@ "Threshold": { "target": "com.amazonaws.gamelift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Metric value used to trigger a scaling event.

" } }, @@ -10111,7 +10109,6 @@ "com.amazonaws.gamelift#RuleSetLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -10225,6 +10222,7 @@ "ScalingAdjustment": { "target": "com.amazonaws.gamelift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Amount of adjustment to make, based on the scaling adjustment type.

" } }, @@ -10243,6 +10241,7 @@ "Threshold": { "target": "com.amazonaws.gamelift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Metric value used to trigger a scaling event.

" } }, @@ -11272,6 +11271,7 @@ "TargetValue": { "target": "com.amazonaws.gamelift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Desired value to use with a target-based scaling policy. The value must be relevant\n for whatever metric the scaling policy is using. For example, in a policy using the\n metric PercentAvailableGameSessions, the target value should be the preferred size of\n the fleet's buffer (the percent of capacity that should be idle and ready for new game\n sessions).

", "smithy.api#required": {} } @@ -12604,7 +12604,6 @@ "com.amazonaws.gamelift#WholeNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/gamesparks.json b/codegen/sdk/aws-models/gamesparks.json index 9ac550b6b21..55e651cd985 100644 --- a/codegen/sdk/aws-models/gamesparks.json +++ b/codegen/sdk/aws-models/gamesparks.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.gamesparks#ARN": { "type": "string", @@ -27,6 +27,7 @@ "com.amazonaws.gamesparks#ByteSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -877,6 +878,7 @@ "EnableTerminationProtection": { "target": "com.amazonaws.gamesparks#GameTerminationProtection", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines if the game can be deleted.

" } }, @@ -922,17 +924,6 @@ }, "com.amazonaws.gamesparks#GameSparks": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GameSparks" - }, - "aws.auth#sigv4": { - "name": "gamesparks" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

", - "smithy.api#title": "GameSparks" - }, "version": "2021-08-17", "operations": [ { @@ -1034,7 +1025,18 @@ { "target": "com.amazonaws.gamesparks#UpdateStage" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "GameSparks" + }, + "aws.auth#sigv4": { + "name": "gamesparks" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

", + "smithy.api#title": "GameSparks" + } }, "com.amazonaws.gamesparks#GameState": { "type": "string", @@ -1090,7 +1092,10 @@ } }, "com.amazonaws.gamesparks#GameTerminationProtection": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.gamesparks#GeneratedCodeJobDescription": { "type": "string", @@ -2602,7 +2607,6 @@ "com.amazonaws.gamesparks#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2744,6 +2748,7 @@ "Size": { "target": "com.amazonaws.gamesparks#ByteSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size, in bytes, of the section contents.

" } }, @@ -3824,4 +3829,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/glacier.json b/codegen/sdk/aws-models/glacier.json index bd2f164f53d..59c2f8cf80a 100644 --- a/codegen/sdk/aws-models/glacier.json +++ b/codegen/sdk/aws-models/glacier.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,6 +34,9 @@ "input": { "target": "com.amazonaws.glacier#AbortMultipartUploadInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -94,6 +97,9 @@ "input": { "target": "com.amazonaws.glacier#AbortVaultLockInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -171,6 +177,9 @@ "input": { "target": "com.amazonaws.glacier#AddTagsToVaultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -455,6 +464,9 @@ "input": { "target": "com.amazonaws.glacier#CompleteVaultLockInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -628,6 +640,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteArchiveInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -688,6 +703,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteVaultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -716,6 +734,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteVaultAccessPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -792,6 +813,9 @@ "input": { "target": "com.amazonaws.glacier#DeleteVaultNotificationsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -1023,12 +1047,14 @@ "NumberOfArchives": { "target": "com.amazonaws.glacier#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of archives in the vault as of the last inventory date. This field will\n return null if an inventory has not yet run on the vault, for example if you\n just created the vault.

" } }, "SizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total size, in bytes, of the archives in the vault as of the last inventory date.\n This field will return null if an inventory has not yet run on the vault, for example if\n you just created the vault.

" } } @@ -1242,6 +1268,7 @@ "body": { "target": "com.amazonaws.glacier#Stream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The job data, either archive data or inventory data.

", "smithy.api#httpPayload": {} } @@ -1256,6 +1283,7 @@ "status": { "target": "com.amazonaws.glacier#httpstatus", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP response code for a job output request. The value depends on whether a range\n was specified in the request.

", "smithy.api#httpResponseCode": {} } @@ -1685,6 +1713,7 @@ "Completed": { "target": "com.amazonaws.glacier#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The job status. When a job is completed, you get the job's output using Get Job\n Output (GET output).

" } }, @@ -2645,6 +2674,7 @@ "PartSizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The part size in bytes. This is the same value that you specified in the Initiate\n Multipart Upload request.

" } }, @@ -2914,10 +2944,7 @@ } }, "com.amazonaws.glacier#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.glacier#OutputLocation": { "type": "structure", @@ -3136,6 +3163,9 @@ "input": { "target": "com.amazonaws.glacier#RemoveTagsFromVaultInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3366,6 +3396,9 @@ "input": { "target": "com.amazonaws.glacier#SetDataRetrievalPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3413,6 +3446,9 @@ "input": { "target": "com.amazonaws.glacier#SetVaultAccessPolicyInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3472,6 +3508,9 @@ "input": { "target": "com.amazonaws.glacier#SetVaultNotificationsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.glacier#InvalidParameterValueException" @@ -3527,10 +3566,7 @@ } }, "com.amazonaws.glacier#Size": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.glacier#StatusCode": { "type": "string", @@ -3686,6 +3722,7 @@ "body": { "target": "com.amazonaws.glacier#Stream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The data to upload.

", "smithy.api#httpPayload": {} } @@ -3719,6 +3756,7 @@ "PartSizeInBytes": { "target": "com.amazonaws.glacier#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The part size, in bytes, specified in the Initiate Multipart Upload request. This is\n the size of all the parts in the upload except the last part, which may be smaller than\n this size.

" } }, @@ -3811,6 +3849,7 @@ "body": { "target": "com.amazonaws.glacier#Stream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The data to upload.

", "smithy.api#httpPayload": {} } @@ -3896,7 +3935,10 @@ } }, "com.amazonaws.glacier#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.glacier#hashmap": { "type": "map", @@ -3908,10 +3950,16 @@ } }, "com.amazonaws.glacier#httpstatus": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.glacier#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.glacier#string": { "type": "string" diff --git a/codegen/sdk/aws-models/global-accelerator.json b/codegen/sdk/aws-models/global-accelerator.json index 49902d97403..676251a7e5c 100644 --- a/codegen/sdk/aws-models/global-accelerator.json +++ b/codegen/sdk/aws-models/global-accelerator.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -2451,7 +2451,6 @@ "com.amazonaws.globalaccelerator#EndpointWeight": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 255 @@ -2462,10 +2461,7 @@ "type": "string" }, "com.amazonaws.globalaccelerator#GenericBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.globalaccelerator#GenericString": { "type": "string", @@ -2478,21 +2474,6 @@ }, "com.amazonaws.globalaccelerator#GlobalAccelerator_V20180706": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Global Accelerator", - "arnNamespace": "globalaccelerator", - "cloudFormationName": "GlobalAccelerator", - "cloudTrailEventSource": "globalaccelerator.amazonaws.com", - "endpointPrefix": "globalaccelerator" - }, - "aws.auth#sigv4": { - "name": "globalaccelerator" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Global Accelerator\n\t

This is the Global Accelerator API Reference. This guide is for developers who need detailed information about\n\t\t Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the \n\t \tGlobal Accelerator Developer Guide.

\n\t

Global Accelerator is a service in which you create accelerators to improve the performance \n\t\t\tof your applications for local and global users. Depending on the type of accelerator you choose, you can\n\t\t\tgain additional benefits.

\n\t\t \n\t\t \n\t\t

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the \n\t\t \tUS West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2\n\t\t \ton AWS CLI commands.

\n\t\t
\n\t\t\n\t\t\n\t\t

By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The static IP addresses \n\t\t\tare anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack,\n\t\t\tGlobal Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses. \n\t\t\tWith a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure \n\t\t\tthese entry points to be IPv4 addresses from your own IP address ranges that you bring toGlobal Accelerator (BYOIP).

\n\t\t\n\t\t\n\t

For a standard accelerator, \n\t they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases \n\t\t\tthe availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, \n\t \tAmazon EC2 instances, or Elastic IP addresses that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing\n\t accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that\n\t\t\tare virtual private cloud (VPC) subnets.

\n\t\t\n\t\t \n

The static IP addresses remain assigned to your accelerator for as long as it exists, even if you\n\t\t\t\tdisable the accelerator and it no longer accepts or routes traffic. However, when you\n\t\t\t\t\tdelete an accelerator, you lose the static IP addresses that\n\t\t\t\tare assigned to it, so you can no longer route traffic by using them. You can use\n\t\t\t\tIAM policies like tag-based permissions with Global Accelerator to limit the users who have\n\t\t\t\tpermissions to delete an accelerator. For more information, see Tag-based policies.

\n
\n\t

For standard accelerators, Global Accelerator uses the Amazon Web Services global network to route traffic to the optimal regional endpoint based\n\t\t\ton health, client location, and policies that you configure. The service reacts instantly to\n\t\t\tchanges in health or configuration to ensure that internet traffic from clients is always\n\t\t\tdirected to healthy endpoints.

\n\t\t

For more information about understanding and using Global Accelerator, see the\n\t\t\tGlobal Accelerator Developer Guide.

", - "smithy.api#title": "AWS Global Accelerator" - }, "version": "2018-08-08", "operations": [ { @@ -2636,12 +2617,26 @@ { "target": "com.amazonaws.globalaccelerator#WithdrawByoipCidr" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Global Accelerator", + "arnNamespace": "globalaccelerator", + "cloudFormationName": "GlobalAccelerator", + "cloudTrailEventSource": "globalaccelerator.amazonaws.com", + "endpointPrefix": "globalaccelerator" + }, + "aws.auth#sigv4": { + "name": "globalaccelerator" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Global Accelerator\n\t

This is the Global Accelerator API Reference. This guide is for developers who need detailed information about\n\t\t Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the \n\t \tGlobal Accelerator Developer Guide.

\n\t

Global Accelerator is a service in which you create accelerators to improve the performance \n\t\t\tof your applications for local and global users. Depending on the type of accelerator you choose, you can\n\t\t\tgain additional benefits.

\n\t\t \n\t\t \n\t\t

Global Accelerator is a global service that supports endpoints in multiple Amazon Web Services Regions but you must specify the \n\t\t \tUS West (Oregon) Region to create, update, or otherwise work with accelerators. That is, for example, specify --region us-west-2\n\t\t \ton AWS CLI commands.

\n\t\t
\n\t\t\n\t\t\n\t\t

By default, Global Accelerator provides you with static IP addresses that you associate with your accelerator. The static IP addresses \n\t\t\tare anycast from the Amazon Web Services edge network. For IPv4, Global Accelerator provides two static IPv4 addresses. For dual-stack,\n\t\t\tGlobal Accelerator provides a total of four addresses: two static IPv4 addresses and two static IPv6 addresses. \n\t\t\tWith a standard accelerator for IPv4, instead of using the addresses that Global Accelerator provides, you can configure \n\t\t\tthese entry points to be IPv4 addresses from your own IP address ranges that you bring toGlobal Accelerator (BYOIP).

\n\t\t\n\t\t\n\t

For a standard accelerator, \n\t they distribute incoming application traffic across multiple endpoint resources in multiple Amazon Web Services Regions , which increases \n\t\t\tthe availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, \n\t \tAmazon EC2 instances, or Elastic IP addresses that are located in one Amazon Web Services Region or multiple Amazon Web Services Regions. For custom routing\n\t accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that\n\t\t\tare virtual private cloud (VPC) subnets.

\n\t\t\n\t\t \n

The static IP addresses remain assigned to your accelerator for as long as it exists, even if you\n\t\t\t\tdisable the accelerator and it no longer accepts or routes traffic. However, when you\n\t\t\t\t\tdelete an accelerator, you lose the static IP addresses that\n\t\t\t\tare assigned to it, so you can no longer route traffic by using them. You can use\n\t\t\t\tIAM policies like tag-based permissions with Global Accelerator to limit the users who have\n\t\t\t\tpermissions to delete an accelerator. For more information, see Tag-based policies.

\n
\n\t

For standard accelerators, Global Accelerator uses the Amazon Web Services global network to route traffic to the optimal regional endpoint based\n\t\t\ton health, client location, and policies that you configure. The service reacts instantly to\n\t\t\tchanges in health or configuration to ensure that internet traffic from clients is always\n\t\t\tdirected to healthy endpoints.

\n\t\t

For more information about understanding and using Global Accelerator, see the\n\t\t\tGlobal Accelerator Developer Guide.

", + "smithy.api#title": "AWS Global Accelerator" + } }, "com.amazonaws.globalaccelerator#HealthCheckIntervalSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 30 @@ -2661,7 +2656,6 @@ "com.amazonaws.globalaccelerator#HealthCheckPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -3624,7 +3618,6 @@ "com.amazonaws.globalaccelerator#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3684,7 +3677,6 @@ "com.amazonaws.globalaccelerator#PortMappingsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20000 @@ -3694,7 +3686,6 @@ "com.amazonaws.globalaccelerator#PortNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -4038,7 +4029,6 @@ "com.amazonaws.globalaccelerator#ThresholdCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4051,7 +4041,6 @@ "com.amazonaws.globalaccelerator#TrafficDialPercentage": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 diff --git a/codegen/sdk/aws-models/glue.json b/codegen/sdk/aws-models/glue.json index 4a646e500d9..bbcf71a7392 100644 --- a/codegen/sdk/aws-models/glue.json +++ b/codegen/sdk/aws-models/glue.json @@ -561,6 +561,9 @@ { "target": "com.amazonaws.glue#UpdateJob" }, + { + "target": "com.amazonaws.glue#UpdateJobFromSourceControl" + }, { "target": "com.amazonaws.glue#UpdateMLTransform" }, @@ -573,6 +576,9 @@ { "target": "com.amazonaws.glue#UpdateSchema" }, + { + "target": "com.amazonaws.glue#UpdateSourceControlFromJob" + }, { "target": "com.amazonaws.glue#UpdateTable" }, @@ -1005,6 +1011,16 @@ } } }, + "com.amazonaws.glue#AuthTokenString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + }, + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" + } + }, "com.amazonaws.glue#BackfillError": { "type": "structure", "members": { @@ -3979,6 +3995,16 @@ "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" } }, + "com.amazonaws.glue#CommitIdString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 40 + }, + "smithy.api#pattern": "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*$" + } + }, "com.amazonaws.glue#Comparator": { "type": "enum", "members": { @@ -5584,8 +5610,6 @@ "DisableValueTrimming": { "target": "com.amazonaws.glue#NullableBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Specifies not to trim values before identifying the type of column values. The default value is true.

" } }, @@ -5829,8 +5853,6 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "

Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.

\n \n

For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.

\n\t \n\t

Development endpoints that are created without specifying a Glue version default to Glue 0.9.

\n\t\n\t

You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2.

" } }, @@ -6143,8 +6165,6 @@ "Timeout": { "target": "com.amazonaws.glue#Timeout", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2880, "smithy.api#documentation": "

The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters TIMEOUT\n status. The default is 2,880 minutes (48 hours).

" } }, @@ -6201,6 +6221,12 @@ "traits": { "smithy.api#documentation": "

Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.

\n\n

The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.

\n\t\n\t

Only jobs with Glue version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution class is available for Spark jobs.

" } + }, + "SourceControlDetails": { + "target": "com.amazonaws.glue#SourceControlDetails", + "traits": { + "smithy.api#documentation": "

The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.

" + } } } }, @@ -6312,16 +6338,12 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "

This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.

\n\t\t\n\t\t\t

\n MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.

\n \n\t\t\n\t

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

\t \n \n\t\t\n

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

" } }, @@ -6340,8 +6362,6 @@ "Timeout": { "target": "com.amazonaws.glue#Timeout", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2880, "smithy.api#documentation": "

The timeout of the task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

" } }, @@ -9417,8 +9437,6 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "

Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.

\n \n

For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.

\n\t \n\t

Development endpoints that are created without specifying a Glue version default to Glue 0.9.

\n\t\n\t

You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2.

" } }, @@ -9848,8 +9866,6 @@ "scanAll": { "target": "com.amazonaws.glue#NullableBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

\n\t\n\t

A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

" } }, @@ -12499,16 +12515,12 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "

This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.

\n\t\t\n

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

" } }, @@ -12527,8 +12539,6 @@ "Timeout": { "target": "com.amazonaws.glue#Timeout", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2880, "smithy.api#documentation": "

The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

" } }, @@ -16199,8 +16209,6 @@ "Timeout": { "target": "com.amazonaws.glue#Timeout", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2880, "smithy.api#documentation": "

The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters TIMEOUT\n status. The default is 2,880 minutes (48 hours).

" } }, @@ -16251,6 +16259,12 @@ "traits": { "smithy.api#documentation": "

Indicates whether the job is run with a standard or flexible execution class. The standard execution class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.

\n\n

The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.

\n\t\n\t

Only jobs with Glue version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution class is available for Spark jobs.

" } + }, + "SourceControlDetails": { + "target": "com.amazonaws.glue#SourceControlDetails", + "traits": { + "smithy.api#documentation": "

The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.

" + } } }, "traits": { @@ -16696,8 +16710,6 @@ "Timeout": { "target": "com.amazonaws.glue#Timeout", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2880, "smithy.api#documentation": "

The job timeout in minutes. This is the maximum time that a job run\n can consume resources before it is terminated and enters TIMEOUT\n status. The default is 2,880 minutes (48 hours).

" } }, @@ -16748,6 +16760,12 @@ "traits": { "smithy.api#documentation": "

Indicates whether the job is run with a standard or flexible execution class. The standard execution-class is ideal for time-sensitive workloads that require fast job startup and dedicated resources.

\n\n

The flexible execution class is appropriate for time-insensitive jobs whose start and completion times may vary.

\n\t\n\t

Only jobs with Glue version 3.0 and above and command type glueetl will be allowed to set ExecutionClass to FLEX. The flexible execution class is available for Spark jobs.

" } + }, + "SourceControlDetails": { + "target": "com.amazonaws.glue#SourceControlDetails", + "traits": { + "smithy.api#documentation": "

The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.

" + } } }, "traits": { @@ -16966,8 +16984,6 @@ "StartingOffsets": { "target": "com.amazonaws.glue#EnclosedInStringProperty", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "latest", "smithy.api#documentation": "

The starting position in the Kafka topic to read data from. The possible values are \"earliest\" or \"latest\". The default value is \"latest\".

" } }, @@ -16980,24 +16996,18 @@ "PollTimeoutMs": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 512, "smithy.api#documentation": "

The timeout in milliseconds to poll data from Kafka in Spark job executors. The default value is 512.

" } }, "NumRetries": { "target": "com.amazonaws.glue#BoxedNonNegativeInt", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 3, "smithy.api#documentation": "

The number of times to retry before failing to fetch Kafka offsets. The default value is 3.

" } }, "RetryIntervalMs": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "

The time in milliseconds to wait before retrying to fetch Kafka offsets. The default value is 10.

" } }, @@ -17102,88 +17112,66 @@ "StartingPosition": { "target": "com.amazonaws.glue#StartingPosition", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "latest", "smithy.api#documentation": "

The starting position in the Kinesis data stream to read data from. The possible values are \"latest\", \"trim_horizon\", or \"earliest\". The default value is \"latest\".

" } }, "MaxFetchTimeInMs": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 1000, "smithy.api#documentation": "

The maximum time spent in the job executor to fetch a record from the Kinesis data stream per shard, specified in milliseconds (ms). The default value is 1000.

" } }, "MaxFetchRecordsPerShard": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 100000, "smithy.api#documentation": "

The maximum number of records to fetch per shard in the Kinesis data stream. The default value is 100000.

" } }, "MaxRecordPerRead": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10000, "smithy.api#documentation": "

The maximum number of records to fetch from the Kinesis data stream in each getRecords operation. The default value is 10000.

" } }, "AddIdleTimeBetweenReads": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Adds a time delay between two consecutive getRecords operations. The default value is \"False\". This option is only configurable for Glue version 2.0 and above.

" } }, "IdleTimeBetweenReadsInMs": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 1000, "smithy.api#documentation": "

The minimum time delay between two consecutive getRecords operations, specified in ms. The default value is 1000. This option is only configurable for Glue version 2.0 and above.

" } }, "DescribeShardInterval": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 1, "smithy.api#documentation": "

The minimum time interval between two ListShards API calls for your script to consider resharding. The default value is 1s.

" } }, "NumRetries": { "target": "com.amazonaws.glue#BoxedNonNegativeInt", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 3, "smithy.api#documentation": "

The maximum number of retries for Kinesis Data Streams API requests. The default value is 3.

" } }, "RetryIntervalMs": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 1000, "smithy.api#documentation": "

The cool-off time period (specified in ms) before retrying the Kinesis Data Streams API call. The default value is 1000.

" } }, "MaxRetryIntervalMs": { "target": "com.amazonaws.glue#BoxedNonNegativeLong", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10000, "smithy.api#documentation": "

The maximum cool-off time period (specified in ms) between two retries of a Kinesis Data Streams API call. The default value is 10000.

" } }, "AvoidEmptyBatches": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

Avoids creating an empty microbatch job by checking for unread data in the Kinesis data stream before the batch is started. The default value is \"False\".

" } }, @@ -17576,8 +17564,6 @@ "MaxResults": { "target": "com.amazonaws.glue#PageSize", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 20, "smithy.api#documentation": "

The maximum number of results to return. The default is 20, and maximum is 100.

" } }, @@ -18631,16 +18617,12 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "

This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.

\n\t\t\n\t\t

\n MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.

\n \n\t\t\n\t

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

" } }, @@ -19120,8 +19102,6 @@ "ScanAll": { "target": "com.amazonaws.glue#NullableBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.

\n\t\n\t

A value of true means to scan all records, while a value of false means to sample the records. If no value is specified, the value defaults to true.

" } } @@ -21860,8 +21840,6 @@ "MaxBand": { "target": "com.amazonaws.glue#BoxedNonNegativeInt", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 900000, "smithy.api#documentation": "

This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.

" } }, @@ -21880,8 +21858,6 @@ "Separator": { "target": "com.amazonaws.glue#Separator", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "comma", "smithy.api#documentation": "

Specifies the delimiter character. The default is a comma: \",\", but any other character can be specified.

", "smithy.api#required": {} } @@ -21889,16 +21865,12 @@ "Escaper": { "target": "com.amazonaws.glue#EnclosedInStringPropertyWithQuote", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "none", "smithy.api#documentation": "

Specifies a character to use for escaping. This option is used only when reading CSV files. The default value is none. If enabled, the character which immediately follows is used as-is, except for a small set of well-known escapes (\\n, \\r, \\t, and \\0).

" } }, "QuoteChar": { "target": "com.amazonaws.glue#QuoteChar", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "quote", "smithy.api#documentation": "

Specifies the character to use for quoting. The default is a double quote: '\"'. Set this to -1 to turn off quoting entirely.

", "smithy.api#required": {} } @@ -21906,32 +21878,24 @@ "Multiline": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether a single record can span multiple lines. This can occur when a field contains a quoted new-line character. You must set this option to True if any record spans multiple lines. The default value is False, which allows for more aggressive file-splitting during parsing.

" } }, "WithHeader": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether to treat the first line as a header. The default value is False.

" } }, "WriteHeader": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

A Boolean value that specifies whether to write the header to output. The default value is True.

" } }, "SkipFirst": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether to skip the first data line. The default value is False.

" } }, @@ -22185,8 +22149,6 @@ "MaxBand": { "target": "com.amazonaws.glue#BoxedNonNegativeInt", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 900000, "smithy.api#documentation": "

This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.

" } }, @@ -22211,8 +22173,6 @@ "Multiline": { "target": "com.amazonaws.glue#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether a single record can span multiple lines. This can occur when a field contains a quoted new-line character. You must set this option to True if any record spans multiple lines. The default value is False, which allows for more aggressive file-splitting during parsing.

" } }, @@ -22277,8 +22237,6 @@ "MaxBand": { "target": "com.amazonaws.glue#BoxedNonNegativeInt", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 900000, "smithy.api#documentation": "

This option controls the duration in milliseconds after which the s3 listing is likely to be consistent. Files with modification timestamps falling within the last maxBand milliseconds are tracked specially when using JobBookmarks to account for Amazon S3 eventual consistency. Most users don't need to set this option. The default is 900000 milliseconds, or 15 minutes.

" } }, @@ -23384,6 +23342,96 @@ } } }, + "com.amazonaws.glue#SourceControlAuthStrategy": { + "type": "enum", + "members": { + "PERSONAL_ACCESS_TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERSONAL_ACCESS_TOKEN" + } + }, + "AWS_SECRETS_MANAGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_SECRETS_MANAGER" + } + } + } + }, + "com.amazonaws.glue#SourceControlDetails": { + "type": "structure", + "members": { + "Provider": { + "target": "com.amazonaws.glue#SourceControlProvider", + "traits": { + "smithy.api#documentation": "

The provider for the remote repository.

" + } + }, + "Repository": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "

The name of the remote repository that contains the job artifacts.

" + } + }, + "Owner": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "

The owner of the remote repository that contains the job artifacts.

" + } + }, + "Branch": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "

An optional branch in the remote repository.

" + } + }, + "Folder": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "

An optional folder in the remote repository.

" + } + }, + "LastCommitId": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "

The last commit ID for a commit in the remote repository.

" + } + }, + "AuthStrategy": { + "target": "com.amazonaws.glue#SourceControlAuthStrategy", + "traits": { + "smithy.api#documentation": "

The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

" + } + }, + "AuthToken": { + "target": "com.amazonaws.glue#Generic512CharString", + "traits": { + "smithy.api#documentation": "

The value of an authorization token.

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

The details for a source control configuration for a job, allowing synchronization of job artifacts to or from a remote repository.

" + } + }, + "com.amazonaws.glue#SourceControlProvider": { + "type": "enum", + "members": { + "GITHUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GITHUB" + } + }, + "AWS_CODE_COMMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_CODE_COMMIT" + } + } + } + }, "com.amazonaws.glue#SparkConnectorSource": { "type": "structure", "members": { @@ -25710,8 +25758,6 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "

This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

" } }, @@ -26846,8 +26892,6 @@ "DisableValueTrimming": { "target": "com.amazonaws.glue#NullableBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Specifies not to trim values before identifying the type of column values. The default value is true.

" } }, @@ -27073,6 +27117,111 @@ "smithy.api#documentation": "

Updates an existing job definition. The previous job definition is completely overwritten by this information.

" } }, + "com.amazonaws.glue#UpdateJobFromSourceControl": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#UpdateJobFromSourceControlRequest" + }, + "output": { + "target": "com.amazonaws.glue#UpdateJobFromSourceControlResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#AccessDeniedException" + }, + { + "target": "com.amazonaws.glue#AlreadyExistsException" + }, + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InternalServiceException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + }, + { + "target": "com.amazonaws.glue#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Synchronizes a job from the source control repository. This operation takes the job artifacts that are located in the remote repository and updates the Glue internal stores with these artifacts.

\n\t\n\t

This API supports optional parameters which take in the repository information.

" + } + }, + "com.amazonaws.glue#UpdateJobFromSourceControlRequest": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the Glue job to be synchronized to or from the remote repository.

" + } + }, + "Provider": { + "target": "com.amazonaws.glue#SourceControlProvider", + "traits": { + "smithy.api#documentation": "

The provider for the remote repository.

" + } + }, + "RepositoryName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the remote repository that contains the job artifacts.

" + } + }, + "RepositoryOwner": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The owner of the remote repository that contains the job artifacts.

" + } + }, + "BranchName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

An optional branch in the remote repository.

" + } + }, + "Folder": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

An optional folder in the remote repository.

" + } + }, + "CommitId": { + "target": "com.amazonaws.glue#CommitIdString", + "traits": { + "smithy.api#documentation": "

A commit ID for a commit in the remote repository.

" + } + }, + "AuthStrategy": { + "target": "com.amazonaws.glue#SourceControlAuthStrategy", + "traits": { + "smithy.api#documentation": "

The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

" + } + }, + "AuthToken": { + "target": "com.amazonaws.glue#AuthTokenString", + "traits": { + "smithy.api#documentation": "

The value of the authorization token.

" + } + } + } + }, + "com.amazonaws.glue#UpdateJobFromSourceControlResponse": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the Glue job.

" + } + } + } + }, "com.amazonaws.glue#UpdateJobRequest": { "type": "structure", "members": { @@ -27190,16 +27339,12 @@ "GlueVersion": { "target": "com.amazonaws.glue#GlueVersionString", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "0.9", "smithy.api#documentation": "

This value determines which version of Glue this machine learning transform is compatible with. Glue 1.0 is recommended for most customers. If the value is not set, the Glue compatibility defaults to Glue 0.9. For more information, see Glue Versions in the developer guide.

" } }, "MaxCapacity": { "target": "com.amazonaws.glue#NullableDouble", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 10, "smithy.api#documentation": "

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of\n processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more\n information, see the Glue pricing\n page.

\n\t\t\n

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

" } }, @@ -27218,8 +27363,6 @@ "Timeout": { "target": "com.amazonaws.glue#Timeout", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2880, "smithy.api#documentation": "

The timeout for a task run for this transform in minutes. This is the maximum time that a task run for this transform can consume resources before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).

" } }, @@ -27461,6 +27604,111 @@ } } }, + "com.amazonaws.glue#UpdateSourceControlFromJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.glue#UpdateSourceControlFromJobRequest" + }, + "output": { + "target": "com.amazonaws.glue#UpdateSourceControlFromJobResponse" + }, + "errors": [ + { + "target": "com.amazonaws.glue#AccessDeniedException" + }, + { + "target": "com.amazonaws.glue#AlreadyExistsException" + }, + { + "target": "com.amazonaws.glue#EntityNotFoundException" + }, + { + "target": "com.amazonaws.glue#InternalServiceException" + }, + { + "target": "com.amazonaws.glue#InvalidInputException" + }, + { + "target": "com.amazonaws.glue#OperationTimeoutException" + }, + { + "target": "com.amazonaws.glue#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Synchronizes a job to the source control repository. This operation takes the job artifacts from the Glue internal stores and makes a commit to the remote repository that is configured on the job.

\n\n\t

This API supports optional parameters which take in the repository information.

" + } + }, + "com.amazonaws.glue#UpdateSourceControlFromJobRequest": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the Glue job to be synchronized to or from the remote repository.

" + } + }, + "Provider": { + "target": "com.amazonaws.glue#SourceControlProvider", + "traits": { + "smithy.api#documentation": "

The provider for the remote repository.

" + } + }, + "RepositoryName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the remote repository that contains the job artifacts.

" + } + }, + "RepositoryOwner": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The owner of the remote repository that contains the job artifacts.

" + } + }, + "BranchName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

An optional branch in the remote repository.

" + } + }, + "Folder": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

An optional folder in the remote repository.

" + } + }, + "CommitId": { + "target": "com.amazonaws.glue#CommitIdString", + "traits": { + "smithy.api#documentation": "

A commit ID for a commit in the remote repository.

" + } + }, + "AuthStrategy": { + "target": "com.amazonaws.glue#SourceControlAuthStrategy", + "traits": { + "smithy.api#documentation": "

The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.

" + } + }, + "AuthToken": { + "target": "com.amazonaws.glue#AuthTokenString", + "traits": { + "smithy.api#documentation": "

The value of the authorization token.

" + } + } + } + }, + "com.amazonaws.glue#UpdateSourceControlFromJobResponse": { + "type": "structure", + "members": { + "JobName": { + "target": "com.amazonaws.glue#NameString", + "traits": { + "smithy.api#documentation": "

The name of the Glue job.

" + } + } + } + }, "com.amazonaws.glue#UpdateTable": { "type": "operation", "input": { diff --git a/codegen/sdk/aws-models/grafana.json b/codegen/sdk/aws-models/grafana.json index 4d7c623b7b5..2ad5ad99219 100644 --- a/codegen/sdk/aws-models/grafana.json +++ b/codegen/sdk/aws-models/grafana.json @@ -1,8 +1,37 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.grafana#AWSGrafanaControlPlane": { "type": "service", + "version": "2020-08-18", + "operations": [ + { + "target": "com.amazonaws.grafana#ListTagsForResource" + }, + { + "target": "com.amazonaws.grafana#TagResource" + }, + { + "target": "com.amazonaws.grafana#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.grafana#ApiKey" + }, + { + "target": "com.amazonaws.grafana#Authentication" + }, + { + "target": "com.amazonaws.grafana#License" + }, + { + "target": "com.amazonaws.grafana#Permission" + }, + { + "target": "com.amazonaws.grafana#Workspace" + } + ], "traits": { "aws.api#controlPlane": {}, "aws.api#service": { @@ -35,36 +64,7 @@ }, "smithy.api#documentation": "

Amazon Managed Grafana is a fully managed and secure data visualization service that you can use to \n instantly query, correlate, and visualize operational metrics, logs, and traces from multiple sources. \n Amazon Managed Grafana makes it easy to deploy, operate, and scale Grafana, a widely deployed data visualization tool \n that is popular for its extensible data support.

\n

With Amazon Managed Grafana, you create logically isolated Grafana servers called workspaces. In\n a workspace, you can create Grafana dashboards and visualizations to analyze your metrics, logs, and traces without having to\n build, package, or deploy any hardware to run Grafana servers.

", "smithy.api#title": "Amazon Managed Grafana" - }, - "version": "2020-08-18", - "operations": [ - { - "target": "com.amazonaws.grafana#ListTagsForResource" - }, - { - "target": "com.amazonaws.grafana#TagResource" - }, - { - "target": "com.amazonaws.grafana#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.grafana#ApiKey" - }, - { - "target": "com.amazonaws.grafana#Authentication" - }, - { - "target": "com.amazonaws.grafana#License" - }, - { - "target": "com.amazonaws.grafana#Permission" - }, - { - "target": "com.amazonaws.grafana#Workspace" - } - ] + } }, "com.amazonaws.grafana#AccessDeniedException": { "type": "structure", @@ -1416,7 +1416,10 @@ } }, "com.amazonaws.grafana#LoginValidityDuration": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.grafana#NotificationDestinationType": { "type": "string", @@ -1673,6 +1676,7 @@ "loginValidityDuration": { "target": "com.amazonaws.grafana#LoginValidityDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

How long a sign-on session by a SAML user is valid, before the user has to sign on\n again.

" } } @@ -2771,4 +2775,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/greengrass.json b/codegen/sdk/aws-models/greengrass.json index 34bea933c3a..c67c0d70bbf 100644 --- a/codegen/sdk/aws-models/greengrass.json +++ b/codegen/sdk/aws-models/greengrass.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -187,18 +187,21 @@ "InvalidInputRecords": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of records that returned a non-retryable error. For example, this can occur if a group record from the input file uses an invalid format or specifies a nonexistent group version, or if the execution role doesn't grant permission to deploy a group or group version." } }, "RecordsProcessed": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of group records from the input file that have been processed so far, or attempted." } }, "RetryAttempts": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The total number of deployment attempts that returned a retryable error. For example, a retry is triggered if the attempt to deploy a group returns a throttling error. ''StartBulkDeployment'' retries a group deployment up to five times." } } @@ -346,6 +349,7 @@ "PortNumber": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The port of the Greengrass core. Usually 8883." } } @@ -416,6 +420,7 @@ "SyncShadow": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the core's local shadow is automatically synced with the cloud." } }, @@ -2586,6 +2591,7 @@ "SyncShadow": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the device's local shadow will be automatically synced with the cloud." } }, @@ -2802,18 +2808,21 @@ "MemorySize": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization." } }, "Pinned": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "True if the function is pinned. Pinned means the function is long-lived and starts when the core starts." } }, "Timeout": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request." } } @@ -2828,6 +2837,7 @@ "AccessSysfs": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, the Lambda function is allowed to access the host's /sys folder. Use this when the Lambda function needs to read device information from /sys. This setting applies only when you run the Lambda function in a Greengrass container." } }, @@ -2935,12 +2945,14 @@ "Gid": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The group ID whose permissions are used to run a Lambda function." } }, "Uid": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The user ID whose permissions are used to run a Lambda function." } } @@ -5203,6 +5215,7 @@ "AutoAddGroupOwner": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, AWS IoT Greengrass automatically adds the specified Linux OS group owner of the resource to the Lambda process privileges. Thus the Lambda process will have the file access permissions of the added Linux group." } }, @@ -6596,6 +6609,7 @@ "Space": { "target": "com.amazonaws.greengrass#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of file space, in KB, to use if the local file system is used for logging purposes." } }, @@ -6733,6 +6747,7 @@ "Force": { "target": "com.amazonaws.greengrass#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "If true, performs a best-effort only core reset." } }, @@ -7157,6 +7172,9 @@ "input": { "target": "com.amazonaws.greengrass#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.greengrass#BadRequestException" @@ -7258,6 +7276,9 @@ "input": { "target": "com.amazonaws.greengrass#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.greengrass#BadRequestException" @@ -7963,10 +7984,16 @@ } }, "com.amazonaws.greengrass#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.greengrass#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.greengrass#__listOfConnectivityInfo": { "type": "list", diff --git a/codegen/sdk/aws-models/greengrassv2.json b/codegen/sdk/aws-models/greengrassv2.json index 743a1c7b4e8..8e27f047dba 100644 --- a/codegen/sdk/aws-models/greengrassv2.json +++ b/codegen/sdk/aws-models/greengrassv2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -323,6 +323,7 @@ "com.amazonaws.greengrassv2#CPU": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -400,30 +401,38 @@ } }, "com.amazonaws.greengrassv2#CloudComponentState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "REQUESTED", - "name": "REQUESTED" - }, - { - "value": "INITIATED", - "name": "INITIATED" - }, - { - "value": "DEPLOYABLE", - "name": "DEPLOYABLE" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "DEPRECATED", - "name": "DEPRECATED" - } - ] + "type": "enum", + "members": { + "REQUESTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REQUESTED" + } + }, + "INITIATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIATED" + } + }, + "DEPLOYABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPLOYABLE" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "DEPRECATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEPRECATED" + } + } } }, "com.amazonaws.greengrassv2#CloudComponentStatus": { @@ -602,18 +611,20 @@ } }, "com.amazonaws.greengrassv2#ComponentDependencyType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HARD", - "name": "HARD" - }, - { - "value": "SOFT", - "name": "SOFT" + "type": "enum", + "members": { + "HARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HARD" + } + }, + "SOFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOFT" } - ] + } } }, "com.amazonaws.greengrassv2#ComponentDeploymentSpecification": { @@ -819,18 +830,20 @@ } }, "com.amazonaws.greengrassv2#ComponentVisibilityScope": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PRIVATE", - "name": "PRIVATE" - }, - { - "value": "PUBLIC", - "name": "PUBLIC" + "type": "enum", + "members": { + "PRIVATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRIVATE" } - ] + }, + "PUBLIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUBLIC" + } + } } }, "com.amazonaws.greengrassv2#ConflictException": { @@ -883,6 +896,7 @@ "portNumber": { "target": "com.amazonaws.greengrassv2#PortNumberInt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port where the MQTT broker operates on the core device. This port is typically 8883,\n which is the default port for the MQTT broker component that runs on core devices.

", "smithy.api#jsonName": "PortNumber" } @@ -944,18 +958,20 @@ } }, "com.amazonaws.greengrassv2#CoreDeviceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "HEALTHY", - "name": "HEALTHY" - }, - { - "value": "UNHEALTHY", - "name": "UNHEALTHY" + "type": "enum", + "members": { + "HEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HEALTHY" } - ] + }, + "UNHEALTHY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNHEALTHY" + } + } } }, "com.amazonaws.greengrassv2#CoreDeviceThingName": { @@ -1197,6 +1213,7 @@ "com.amazonaws.greengrassv2#DefaultMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1395,6 +1412,7 @@ "isLatestForTarget": { "target": "com.amazonaws.greengrassv2#IsLatestForTarget", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not the deployment is the latest revision for its target.

" } } @@ -1409,7 +1427,7 @@ "timeoutInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The amount of time in seconds that each component on a device has to report that it's safe\n to update. If the component waits for longer than this timeout, then the deployment proceeds\n on the device.

\n

Default: 60\n

" } }, @@ -1425,18 +1443,20 @@ } }, "com.amazonaws.greengrassv2#DeploymentComponentUpdatePolicyAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NOTIFY_COMPONENTS", - "name": "NOTIFY_COMPONENTS" - }, - { - "value": "SKIP_NOTIFY_COMPONENTS", - "name": "SKIP_NOTIFY_COMPONENTS" + "type": "enum", + "members": { + "NOTIFY_COMPONENTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NOTIFY_COMPONENTS" } - ] + }, + "SKIP_NOTIFY_COMPONENTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SKIP_NOTIFY_COMPONENTS" + } + } } }, "com.amazonaws.greengrassv2#DeploymentConfigurationValidationPolicy": { @@ -1445,7 +1465,7 @@ "timeoutInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The amount of time in seconds that a component can validate its configuration updates. If\n the validation time exceeds this timeout, then the deployment proceeds for the device.

\n

Default: 30\n

" } } @@ -1455,33 +1475,37 @@ } }, "com.amazonaws.greengrassv2#DeploymentFailureHandlingPolicy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROLLBACK", - "name": "ROLLBACK" - }, - { - "value": "DO_NOTHING", - "name": "DO_NOTHING" + "type": "enum", + "members": { + "ROLLBACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROLLBACK" } - ] + }, + "DO_NOTHING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DO_NOTHING" + } + } } }, "com.amazonaws.greengrassv2#DeploymentHistoryFilter": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALL", - "name": "ALL" - }, - { - "value": "LATEST_ONLY", - "name": "LATEST_ONLY" + "type": "enum", + "members": { + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" } - ] + }, + "LATEST_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LATEST_ONLY" + } + } } }, "com.amazonaws.greengrassv2#DeploymentID": { @@ -1558,30 +1582,38 @@ } }, "com.amazonaws.greengrassv2#DeploymentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "CANCELED", - "name": "CANCELED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" - } - ] + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "INACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INACTIVE" + } + } } }, "com.amazonaws.greengrassv2#DescribeComponent": { @@ -1873,45 +1905,113 @@ "smithy.api#documentation": "

The time at which the deployment job was last modified, expressed in ISO 8601\n format.

", "smithy.api#required": {} } + }, + "statusDetails": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentStatusDetails", + "traits": { + "smithy.api#documentation": "

The status details that explain why a deployment has an error. This response will be null\n if the deployment is in a success state.

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

Contains information about a deployment job that IoT Greengrass sends to a Greengrass core device.

" } }, - "com.amazonaws.greengrassv2#EffectiveDeploymentExecutionStatus": { + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorCode": { "type": "string", "traits": { - "smithy.api#enum": [ - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "QUEUED", - "name": "QUEUED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "TIMED_OUT", - "name": "TIMED_OUT" - }, - { - "value": "CANCELED", - "name": "CANCELED" - }, - { - "value": "REJECTED", - "name": "REJECTED" - } - ] + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorStack": { + "type": "list", + "member": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentErrorCode" + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentErrorTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentErrorType" + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentExecutionStatus": { + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + }, + "CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + } + } + }, + "com.amazonaws.greengrassv2#EffectiveDeploymentStatusDetails": { + "type": "structure", + "members": { + "errorStack": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentErrorStack", + "traits": { + "smithy.api#documentation": "

Contains an ordered list of short error codes that range from the most generic error to\n the most specific one. The error codes describe the reason for failure whenever the\n coreDeviceExecutionStatus is in a failed state. The response will be an empty\n list if there is no error.

" + } + }, + "errorTypes": { + "target": "com.amazonaws.greengrassv2#EffectiveDeploymentErrorTypeList", + "traits": { + "smithy.api#documentation": "

Contains tags which describe the error. You can use the error types to classify errors to\n assist with remediating the failure. The response will be an empty list if there is no\n error.

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

Contains all error-related information for the deployment record. The status details will\n be null if the deployment is in a success state.

\n \n

Greengrass nucleus v2.8.0 or later is required to get an accurate errorStack and\n errorTypes response. This field will not be returned for earlier Greengrass nucleus\n versions.

\n
" } }, "com.amazonaws.greengrassv2#EffectiveDeploymentsList": { @@ -2354,6 +2454,7 @@ "isLatestForTarget": { "target": "com.amazonaws.greengrassv2#IsLatestForTarget", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not the deployment is the latest revision for its target.

" } }, @@ -2412,21 +2513,6 @@ }, "com.amazonaws.greengrassv2#GreengrassV2": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GreengrassV2", - "arnNamespace": "greengrass", - "cloudFormationName": "GreengrassV2", - "cloudTrailEventSource": "greengrassv2.amazonaws.com", - "endpointPrefix": "greengrass" - }, - "aws.auth#sigv4": { - "name": "greengrass" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities\n to edge devices. This enables devices to collect and analyze data closer to the source of\n information, react autonomously to local events, and communicate securely with each other on\n local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data\n to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and\n deploy applications to fleets of edge devices for local operation.

\n

IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.\n Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,\n manage deployments, and core devices.

\n

For more information, see What is IoT Greengrass? in\n the IoT Greengrass V2 Developer Guide.

", - "smithy.api#title": "AWS IoT Greengrass V2" - }, "version": "2020-11-30", "operations": [ { @@ -2516,7 +2602,22 @@ { "target": "com.amazonaws.greengrassv2#UpdateConnectivityInfo" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "GreengrassV2", + "arnNamespace": "greengrass", + "cloudFormationName": "GreengrassV2", + "cloudTrailEventSource": "greengrassv2.amazonaws.com", + "endpointPrefix": "greengrass" + }, + "aws.auth#sigv4": { + "name": "greengrass" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities\n to edge devices. This enables devices to collect and analyze data closer to the source of\n information, react autonomously to local events, and communicate securely with each other on\n local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data\n to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and\n deploy applications to fleets of edge devices for local operation.

\n

IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.\n Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,\n manage deployments, and core devices.

\n

For more information, see What is IoT Greengrass? in\n the IoT Greengrass V2 Developer Guide.

", + "smithy.api#title": "AWS IoT Greengrass V2" + } }, "com.amazonaws.greengrassv2#InstalledComponent": { "type": "structure", @@ -2542,12 +2643,13 @@ "lifecycleStateDetails": { "target": "com.amazonaws.greengrassv2#LifecycleStateDetails", "traits": { - "smithy.api#documentation": "

The details about the lifecycle state of the component.

" + "smithy.api#documentation": "

A detailed response about the lifecycle state of the component that explains the reason\n why a component has an error or is broken.

" } }, "isRoot": { "target": "com.amazonaws.greengrassv2#IsRoot", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not the component is a root component.

" } }, @@ -2556,6 +2658,24 @@ "traits": { "smithy.api#documentation": "

The status of how current the data is.

\n

This response is based off of component state changes. The status reflects component\n disruptions and deployments. If a component only sees a configuration update during a\n deployment, it might not undergo a state change and this status would not be updated.

" } + }, + "lastReportedTimestamp": { + "target": "com.amazonaws.greengrassv2#Timestamp", + "traits": { + "smithy.api#documentation": "

The last time the Greengrass core device sent a message containing a certain component to the\n Amazon Web Services Cloud.

\n

A component does not need to see a state change for this field to update.

" + } + }, + "lastInstallationSource": { + "target": "com.amazonaws.greengrassv2#NonEmptyString", + "traits": { + "smithy.api#documentation": "

The most recent deployment source that brought the component to the Greengrass core device. For\n a thing group deployment or thing deployment, the source will be the The ID of the deployment. and for\n local deployments it will be LOCAL.

" + } + }, + "lifecycleStatusCodes": { + "target": "com.amazonaws.greengrassv2#InstalledComponentLifecycleStatusCodeList", + "traits": { + "smithy.api#documentation": "

The status codes that indicate the reason for failure whenever the\n lifecycleState has an error or is in a broken state.

\n \n

Greengrass nucleus v2.8.0 or later is required to get an accurate\n lifecycleStatusCodes response. This response can be inaccurate in earlier\n Greengrass nucleus versions.

\n
" + } } }, "traits": { @@ -2563,42 +2683,71 @@ } }, "com.amazonaws.greengrassv2#InstalledComponentLifecycleState": { + "type": "enum", + "members": { + "NEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEW" + } + }, + "INSTALLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLED" + } + }, + "STARTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STARTING" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "STOPPING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STOPPING" + } + }, + "ERRORED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERRORED" + } + }, + "BROKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BROKEN" + } + }, + "FINISHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FINISHED" + } + } + } + }, + "com.amazonaws.greengrassv2#InstalledComponentLifecycleStatusCode": { "type": "string", "traits": { - "smithy.api#enum": [ - { - "value": "NEW", - "name": "NEW" - }, - { - "value": "INSTALLED", - "name": "INSTALLED" - }, - { - "value": "STARTING", - "name": "STARTING" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "STOPPING", - "name": "STOPPING" - }, - { - "value": "ERRORED", - "name": "ERRORED" - }, - { - "value": "BROKEN", - "name": "BROKEN" - }, - { - "value": "FINISHED", - "name": "FINISHED" - } - ] + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.greengrassv2#InstalledComponentLifecycleStatusCodeList": { + "type": "list", + "member": { + "target": "com.amazonaws.greengrassv2#InstalledComponentLifecycleStatusCode" } }, "com.amazonaws.greengrassv2#InstalledComponentList": { @@ -2608,18 +2757,20 @@ } }, "com.amazonaws.greengrassv2#InstalledComponentTopologyFilter": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALL", - "name": "ALL" - }, - { - "value": "ROOT", - "name": "ROOT" + "type": "enum", + "members": { + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + }, + "ROOT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROOT" } - ] + } } }, "com.amazonaws.greengrassv2#InternalServerException": { @@ -2634,6 +2785,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.greengrassv2#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time to wait before you retry the request.

", "smithy.api#httpHeader": "Retry-After" } @@ -2652,14 +2804,14 @@ } }, "com.amazonaws.greengrassv2#IoTJobAbortAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CANCEL", - "name": "CANCEL" + "type": "enum", + "members": { + "CANCEL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCEL" } - ] + } } }, "com.amazonaws.greengrassv2#IoTJobAbortConfig": { @@ -2697,6 +2849,7 @@ "thresholdPercentage": { "target": "com.amazonaws.greengrassv2#IoTJobAbortThresholdPercentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum percentage of failureType failures that occur before the job can\n cancel.

\n

This parameter supports up to two digits after the decimal (for example, you can specify\n 10.9 or 10.99, but not 10.999).

", "smithy.api#required": {} } @@ -2704,6 +2857,7 @@ "minNumberOfExecutedThings": { "target": "com.amazonaws.greengrassv2#IoTJobMinimumNumberOfExecutedThings", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of things that receive the configuration before the job can\n cancel.

", "smithy.api#required": {} } @@ -2727,32 +2881,39 @@ "com.amazonaws.greengrassv2#IoTJobAbortThresholdPercentage": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "max": 100 } } }, "com.amazonaws.greengrassv2#IoTJobExecutionFailureType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "REJECTED", - "name": "REJECTED" - }, - { - "value": "TIMED_OUT", - "name": "TIMED_OUT" - }, - { - "value": "ALL", - "name": "ALL" - } - ] + "type": "enum", + "members": { + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "REJECTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REJECTED" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMED_OUT" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + } } }, "com.amazonaws.greengrassv2#IoTJobExecutionsRolloutConfig": { @@ -2767,7 +2928,7 @@ "maximumPerMinute": { "target": "com.amazonaws.greengrassv2#IoTJobMaxExecutionsPerMin", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of devices that receive a pending job notification, per minute.

" } } @@ -2782,6 +2943,7 @@ "baseRatePerMinute": { "target": "com.amazonaws.greengrassv2#IoTJobRolloutBaseRatePerMinute", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of devices that receive a pending job notification, per minute, when\n the job starts. This parameter defines the initial rollout rate of the job.

", "smithy.api#required": {} } @@ -2789,6 +2951,7 @@ "incrementFactor": { "target": "com.amazonaws.greengrassv2#IoTJobRolloutIncrementFactor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The exponential factor to increase the rollout rate for the job.

\n

This parameter supports up to one digit after the decimal (for example, you can specify\n 1.5, but not 1.55).

", "smithy.api#required": {} } @@ -2815,11 +2978,15 @@ } }, "com.amazonaws.greengrassv2#IoTJobInProgressTimeoutInMinutes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.greengrassv2#IoTJobMaxExecutionsPerMin": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2829,6 +2996,7 @@ "com.amazonaws.greengrassv2#IoTJobMinimumNumberOfExecutedThings": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2837,6 +3005,7 @@ "com.amazonaws.greengrassv2#IoTJobNumberOfThings": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2848,14 +3017,14 @@ "numberOfNotifiedThings": { "target": "com.amazonaws.greengrassv2#IoTJobNumberOfThings", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of devices to receive the job notification before the rollout rate\n increases.

" } }, "numberOfSucceededThings": { "target": "com.amazonaws.greengrassv2#IoTJobNumberOfThings", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of devices to successfully run the configuration job before the rollout rate\n increases.

" } } @@ -2867,6 +3036,7 @@ "com.amazonaws.greengrassv2#IoTJobRolloutBaseRatePerMinute": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2876,6 +3046,7 @@ "com.amazonaws.greengrassv2#IoTJobRolloutIncrementFactor": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 5 @@ -2888,7 +3059,7 @@ "inProgressTimeoutInMinutes": { "target": "com.amazonaws.greengrassv2#IoTJobInProgressTimeoutInMinutes", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The amount of time, in minutes, that devices have to complete the job. The timer starts\n when the job status is set to IN_PROGRESS. If the job status doesn't change to a\n terminal state before the time expires, then the job status is set to\n TIMED_OUT.

\n

The timeout interval must be between 1 minute and 7 days (10080 minutes).

" } } @@ -2907,10 +3078,16 @@ } }, "com.amazonaws.greengrassv2#IsLatestForTarget": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.greengrassv2#IsRoot": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.greengrassv2#LambdaContainerParams": { "type": "structure", @@ -2918,14 +3095,14 @@ "memorySizeInKB": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The memory size of the container, expressed in kilobytes.

\n

Default: 16384 (16 MB)

" } }, "mountROSysfs": { "target": "com.amazonaws.greengrassv2#OptionalBoolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether or not the container can read information from the device's /sys\n folder.

\n

Default: false\n

" } }, @@ -2971,7 +3148,7 @@ "addGroupOwner": { "target": "com.amazonaws.greengrassv2#OptionalBoolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether or not to add the component's system user as an owner of the device.

\n

Default: false\n

" } } @@ -3018,18 +3195,20 @@ } }, "com.amazonaws.greengrassv2#LambdaEventSourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PUB_SUB", - "name": "PUB_SUB" - }, - { - "value": "IOT_CORE", - "name": "IOT_CORE" + "type": "enum", + "members": { + "PUB_SUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PUB_SUB" } - ] + }, + "IOT_CORE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IOT_CORE" + } + } } }, "com.amazonaws.greengrassv2#LambdaExecArg": { @@ -3053,42 +3232,42 @@ "maxQueueSize": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum size of the message queue for the Lambda function component. The IoT Greengrass core\n stores messages in a FIFO (first-in-first-out) queue until it can run the Lambda function to\n consume each message.

" } }, "maxInstancesCount": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of instances that a non-pinned Lambda function can run at the same\n time.

" } }, "maxIdleTimeInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of time in seconds that a non-pinned Lambda function can idle before the\n IoT Greengrass Core software stops its process.

" } }, "timeoutInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of time in seconds that the Lambda function can process a work\n item.

" } }, "statusTimeoutInSeconds": { "target": "com.amazonaws.greengrassv2#OptionalInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The interval in seconds at which a pinned (also known as long-lived) Lambda function\n component sends status updates to the Lambda manager component.

" } }, "pinned": { "target": "com.amazonaws.greengrassv2#OptionalBoolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether or not the Lambda function is pinned, or long-lived.

\n \n

Default: true\n

" } }, @@ -3122,18 +3301,20 @@ } }, "com.amazonaws.greengrassv2#LambdaFilesystemPermission": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ro", - "name": "RO" - }, - { - "value": "rw", - "name": "RW" + "type": "enum", + "members": { + "RO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ro" + } + }, + "RW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "rw" } - ] + } } }, "com.amazonaws.greengrassv2#LambdaFunctionRecipeSource": { @@ -3182,33 +3363,37 @@ } }, "com.amazonaws.greengrassv2#LambdaInputPayloadEncodingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "json", - "name": "JSON" - }, - { - "value": "binary", - "name": "BINARY" + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "json" } - ] + }, + "BINARY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "binary" + } + } } }, "com.amazonaws.greengrassv2#LambdaIsolationMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GreengrassContainer", - "name": "GREENGRASS_CONTAINER" - }, - { - "value": "NoContainer", - "name": "NO_CONTAINER" + "type": "enum", + "members": { + "GREENGRASS_CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GreengrassContainer" + } + }, + "NO_CONTAINER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NoContainer" } - ] + } } }, "com.amazonaws.greengrassv2#LambdaLinuxProcessParams": { @@ -3263,7 +3448,7 @@ "addGroupOwner": { "target": "com.amazonaws.greengrassv2#OptionalBoolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether or not to add the IoT Greengrass user group as an owner of the volume.

\n

Default: false\n

" } } @@ -3335,7 +3520,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -3420,7 +3605,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -3504,7 +3689,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -3592,7 +3777,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -3680,7 +3865,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -3765,7 +3950,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -3850,7 +4035,7 @@ "maxResults": { "target": "com.amazonaws.greengrassv2#DefaultMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per paginated request.

", "smithy.api#httpQuery": "maxResults" } @@ -3877,7 +4062,7 @@ "installedComponents": { "target": "com.amazonaws.greengrassv2#InstalledComponentList", "traits": { - "smithy.api#documentation": "

A list that summarizes each component on the core device.

\n \n

Accuracy of the lastStatusChangeTimestamp response depends on Greengrass nucleus\n v2.7.0. It performs best on Greengrass nucleus v2.7.0 and can be inaccurate on earlier\n versions.

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

A list that summarizes each component on the core device.

\n \n

Greengrass nucleus v2.7.0 or later is required to get an accurate\n lastStatusChangeTimestamp response. This response can be inaccurate in\n earlier Greengrass nucleus versions.

\n
\n \n

Greengrass nucleus v2.8.0 or later is required to get an accurate\n lastInstallationSource and lastReportedTimestamp response. This\n response can be inaccurate or null in earlier Greengrass nucleus versions.

\n
" } }, "nextToken": { @@ -3943,6 +4128,7 @@ "com.amazonaws.greengrassv2#Memory": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 9223372036854771712 @@ -3964,10 +4150,16 @@ "type": "string" }, "com.amazonaws.greengrassv2#OptionalBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.greengrassv2#OptionalInteger": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.greengrassv2#PlatformAttributesMap": { "type": "map", @@ -3981,6 +4173,7 @@ "com.amazonaws.greengrassv2#PortNumberInt": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -3997,18 +4190,20 @@ "type": "blob" }, "com.amazonaws.greengrassv2#RecipeOutputFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "JSON", - "name": "JSON" - }, - { - "value": "YAML", - "name": "YAML" + "type": "enum", + "members": { + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" } - ] + }, + "YAML": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "YAML" + } + } } }, "com.amazonaws.greengrassv2#RequestAlreadyInProgressException": { @@ -4173,7 +4368,10 @@ } }, "com.amazonaws.greengrassv2#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.greengrassv2#ServiceQuotaExceededException": { "type": "structure", @@ -4235,12 +4433,14 @@ "memory": { "target": "com.amazonaws.greengrassv2#Memory", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of RAM, expressed in kilobytes, that a component's processes can use on\n the core device.

" } }, "cpus": { "target": "com.amazonaws.greengrassv2#CPU", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of CPU time that a component's processes can use on the core device. A\n core device's total CPU time is equivalent to the device's number of CPU cores. For example,\n on a core device with 4 CPU cores, you can set this value to 2 to limit the\n component's processes to 50 percent usage of each CPU core. On a device with 1 CPU core, you\n can set this value to 0.25 to limit the component's processes to 25 percent usage\n of the CPU. If you set this value to a number greater than the number of CPU cores, the IoT Greengrass Core\n software doesn't limit the component's CPU usage.

" } } @@ -4382,6 +4582,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.greengrassv2#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time to wait before you retry the request.

", "smithy.api#httpHeader": "Retry-After" } @@ -4575,45 +4776,55 @@ } }, "com.amazonaws.greengrassv2#ValidationExceptionReason": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UNKNOWN_OPERATION", - "name": "UNKNOWN_OPERATION" - }, - { - "value": "CANNOT_PARSE", - "name": "CANNOT_PARSE" - }, - { - "value": "FIELD_VALIDATION_FAILED", - "name": "FIELD_VALIDATION_FAILED" - }, - { - "value": "OTHER", - "name": "OTHER" - } - ] + "type": "enum", + "members": { + "UNKNOWN_OPERATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_OPERATION" + } + }, + "CANNOT_PARSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANNOT_PARSE" + } + }, + "FIELD_VALIDATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIELD_VALIDATION_FAILED" + } + }, + "OTHER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OTHER" + } + } } }, "com.amazonaws.greengrassv2#VendorGuidance": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DISCONTINUED", - "name": "DISCONTINUED" - }, - { - "value": "DELETED", - "name": "DELETED" - } - ] + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "DISCONTINUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCONTINUED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.greengrassv2#connectivityInfoList": { diff --git a/codegen/sdk/aws-models/groundstation.json b/codegen/sdk/aws-models/groundstation.json index 9fe4f04b6e2..38ec15df23a 100644 --- a/codegen/sdk/aws-models/groundstation.json +++ b/codegen/sdk/aws-models/groundstation.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.groundstation#AngleUnits": { "type": "string", @@ -1345,7 +1345,6 @@ "com.amazonaws.groundstation#DurationInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 21600 @@ -1971,6 +1970,7 @@ "noradSatelliteID": { "target": "com.amazonaws.groundstation#noradSatelliteID", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

NORAD satellite ID number.

" } }, @@ -3032,6 +3032,7 @@ "noradSatelliteID": { "target": "com.amazonaws.groundstation#noradSatelliteID", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

NORAD satellite ID number.

" } }, @@ -3527,6 +3528,7 @@ "com.amazonaws.groundstation#noradSatelliteID": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 99999 @@ -3544,4 +3546,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/guardduty.json b/codegen/sdk/aws-models/guardduty.json index f0f8fbbda41..763d9c8dc72 100644 --- a/codegen/sdk/aws-models/guardduty.json +++ b/codegen/sdk/aws-models/guardduty.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -166,6 +166,7 @@ "AllowsPublicReadAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public read access for the bucket is enabled through an\n Access Control List (ACL).

", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -173,6 +174,7 @@ "AllowsPublicWriteAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public write access for the bucket is enabled through an\n Access Control List (ACL).

", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -618,6 +620,7 @@ "IgnorePublicAcls": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to IgnorePublicAcls.

", "smithy.api#jsonName": "ignorePublicAcls" } @@ -625,6 +628,7 @@ "RestrictPublicBuckets": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to RestrictPublicBuckets.

", "smithy.api#jsonName": "restrictPublicBuckets" } @@ -632,6 +636,7 @@ "BlockPublicAcls": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to BlockPublicAcls.

", "smithy.api#jsonName": "blockPublicAcls" } @@ -639,6 +644,7 @@ "BlockPublicPolicy": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if S3 Block Public Access is set to BlockPublicPolicy.

", "smithy.api#jsonName": "blockPublicPolicy" } @@ -649,7 +655,10 @@ } }, "com.amazonaws.guardduty#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.guardduty#BucketLevelPermissions": { "type": "structure", @@ -686,6 +695,7 @@ "AllowsPublicReadAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public read access for the bucket is enabled through a\n bucket policy.

", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -693,6 +703,7 @@ "AllowsPublicWriteAccess": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether public write access for the bucket is enabled through a\n bucket policy.

", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -764,6 +775,7 @@ "Gt": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a greater than condition to be applied to a single field\n when querying for findings.

", "smithy.api#jsonName": "gt" @@ -772,6 +784,7 @@ "Gte": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a greater than or equal condition to be applied to a\n single field when querying for findings.

", "smithy.api#jsonName": "gte" @@ -780,6 +793,7 @@ "Lt": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a less than condition to be applied to a single field when\n querying for findings.

", "smithy.api#jsonName": "lt" @@ -788,6 +802,7 @@ "Lte": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#deprecated": {}, "smithy.api#documentation": "

Represents a less than or equal condition to be applied to a single\n field when querying for findings.

", "smithy.api#jsonName": "lte" @@ -810,6 +825,7 @@ "GreaterThan": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents a greater than condition to be applied to a single field\n when querying for findings.

", "smithy.api#jsonName": "greaterThan" } @@ -817,6 +833,7 @@ "GreaterThanOrEqual": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents a greater than or equal condition to be applied to a\n single field when querying for findings.

", "smithy.api#jsonName": "greaterThanOrEqual" } @@ -824,6 +841,7 @@ "LessThan": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents a less than condition to be applied to a single field when\n querying for findings.

", "smithy.api#jsonName": "lessThan" } @@ -831,6 +849,7 @@ "LessThanOrEqual": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents a less than or equal condition to be applied to a single\n field when querying for findings.

", "smithy.api#jsonName": "lessThanOrEqual" } @@ -965,6 +984,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether the detector is to be enabled.

", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -1075,6 +1095,7 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.

", "smithy.api#jsonName": "rank" } @@ -1181,6 +1202,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether GuardDuty is to start using the uploaded\n IPSet.

", "smithy.api#jsonName": "activate", "smithy.api#required": {} @@ -1466,6 +1488,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether GuardDuty is to start using the uploaded\n ThreatIntelSet.

", "smithy.api#jsonName": "activate", "smithy.api#required": {} @@ -1677,6 +1700,7 @@ "FreeTrialDaysRemaining": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value that specifies the number of days left to use each enabled data source.

", "smithy.api#jsonName": "freeTrialDaysRemaining" } @@ -2249,6 +2273,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#IntegerValueWithMax", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#jsonName": "maxResults" } @@ -2334,6 +2359,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether GuardDuty is automatically enabled for accounts added to the\n organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -2342,6 +2368,7 @@ "MemberAccountLimitReached": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the maximum number of allowed member accounts are already associated\n with the delegated administrator account for your organization.

", "smithy.api#jsonName": "memberAccountLimitReached", "smithy.api#required": {} @@ -2434,6 +2461,7 @@ "PublishingFailureStartTimestamp": { "target": "com.amazonaws.guardduty#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in epoch millisecond format, at which GuardDuty was first unable to publish\n findings to the destination.

", "smithy.api#jsonName": "publishingFailureStartTimestamp", "smithy.api#required": {} @@ -2785,6 +2813,7 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the targeted port is blocked.

", "smithy.api#jsonName": "blocked" } @@ -2810,7 +2839,10 @@ } }, "com.amazonaws.guardduty#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#EbsSnapshotPreservation": { "type": "string", @@ -2941,6 +2973,7 @@ "ActiveServicesCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of services that are running on the cluster in an ACTIVE state.

", "smithy.api#jsonName": "activeServicesCount" } @@ -2948,6 +2981,7 @@ "RegisteredContainerInstancesCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of container instances registered into the cluster.

", "smithy.api#jsonName": "registeredContainerInstancesCount" } @@ -2955,6 +2989,7 @@ "RunningTasksCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tasks in the cluster that are in the RUNNING state.

", "smithy.api#jsonName": "runningTasksCount" } @@ -3237,6 +3272,7 @@ "GreaterThan": { "target": "com.amazonaws.guardduty#LongValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents a greater than condition to be applied to a single field\n when querying for scan entries.

", "smithy.api#jsonName": "greaterThan" } @@ -3244,6 +3280,7 @@ "LessThan": { "target": "com.amazonaws.guardduty#LongValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents a less than condition to be applied to a single field when\n querying for scan entries.

", "smithy.api#jsonName": "lessThan" } @@ -3335,6 +3372,7 @@ "com.amazonaws.guardduty#FilterRank": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3363,6 +3401,7 @@ "Confidence": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The confidence score for the finding.

", "smithy.api#jsonName": "confidence" } @@ -3429,6 +3468,7 @@ "Severity": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The severity of the finding.

", "smithy.api#jsonName": "severity", "smithy.api#required": {} @@ -3610,6 +3650,7 @@ "Lat": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latitude information of the remote IP address.

", "smithy.api#jsonName": "lat" } @@ -3617,6 +3658,7 @@ "Lon": { "target": "com.amazonaws.guardduty#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The longitude information of the remote IP address.

", "smithy.api#jsonName": "lon" } @@ -3850,6 +3892,7 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.

", "smithy.api#jsonName": "rank" } @@ -4132,6 +4175,7 @@ "InvitationsCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of received invitations.

", "smithy.api#jsonName": "invitationsCount" } @@ -4622,6 +4666,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#jsonName": "maxResults" } @@ -4662,21 +4707,6 @@ }, "com.amazonaws.guardduty#GuardDutyAPIService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "GuardDuty", - "arnNamespace": "guardduty", - "cloudFormationName": "GuardDuty", - "cloudTrailEventSource": "guardduty.amazonaws.com", - "endpointPrefix": "guardduty" - }, - "aws.auth#sigv4": { - "name": "guardduty" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon GuardDuty is a continuous security monitoring service that analyzes and processes\n the following data sources: VPC Flow Logs, AWS CloudTrail management event logs, CloudTrail S3 data event\n logs, EKS audit logs, and DNS logs.\n It uses threat intelligence\n feeds (such as lists of malicious IPs and domains) and machine learning to identify\n unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment.\n This can include issues like escalations of privileges, uses of exposed credentials, or\n communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect\n compromised EC2 instances that serve malware or mine bitcoin.

\n

GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples\n of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region\n that has never been used, or unusual API calls like a password policy change to reduce\n password strength.

\n

GuardDuty informs you of the status of your Amazon Web Services environment by producing security findings\n that you can view in the GuardDuty console or through Amazon CloudWatch events. For more\n information, see the \n Amazon\n GuardDuty User Guide\n .

", - "smithy.api#title": "Amazon GuardDuty" - }, "version": "2017-11-28", "operations": [ { @@ -4874,7 +4904,22 @@ { "target": "com.amazonaws.guardduty#UpdateThreatIntelSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "GuardDuty", + "arnNamespace": "guardduty", + "cloudFormationName": "GuardDuty", + "cloudTrailEventSource": "guardduty.amazonaws.com", + "endpointPrefix": "guardduty" + }, + "aws.auth#sigv4": { + "name": "guardduty" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon GuardDuty is a continuous security monitoring service that analyzes and processes\n the following data sources: VPC Flow Logs, AWS CloudTrail management event logs, CloudTrail S3 data event\n logs, EKS audit logs, and DNS logs.\n It uses threat intelligence\n feeds (such as lists of malicious IPs and domains) and machine learning to identify\n unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment.\n This can include issues like escalations of privileges, uses of exposed credentials, or\n communication with malicious IPs, URLs, or domains. For example, GuardDuty can detect\n compromised EC2 instances that serve malware or mine bitcoin.

\n

GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise. Some examples\n of this are unauthorized infrastructure deployments such as EC2 instances deployed in a Region\n that has never been used, or unusual API calls like a password policy change to reduce\n password strength.

\n

GuardDuty informs you of the status of your Amazon Web Services environment by producing security findings\n that you can view in the GuardDuty console or through Amazon CloudWatch events. For more\n information, see the \n Amazon\n GuardDuty User Guide\n .

", + "smithy.api#title": "Amazon GuardDuty" + } }, "com.amazonaws.guardduty#GuardDutyArn": { "type": "string", @@ -4902,6 +4947,7 @@ "Count": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of infected files with the highest severity threat detected.

", "smithy.api#jsonName": "count" } @@ -5054,11 +5100,15 @@ } }, "com.amazonaws.guardduty#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#IntegerValueWithMax": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -5185,6 +5235,7 @@ "DisableEmailNotification": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether you want to disable email notification to the accounts that you are inviting to GuardDuty as members.

", "smithy.api#jsonName": "disableEmailNotification" } @@ -5343,6 +5394,7 @@ "StatusCode": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The resulting HTTP response code of the Kubernetes API call action.

", "smithy.api#jsonName": "statusCode" } @@ -5365,6 +5417,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The status of Kubernetes audit logs as a data source.

", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -5523,6 +5576,7 @@ "HostNetwork": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the hostNetwork flag is enabled for the pods included in the workload.

", "smithy.api#jsonName": "hostNetwork" } @@ -5583,6 +5637,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5664,6 +5719,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5759,6 +5815,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#jsonName": "maxResults" } @@ -5838,6 +5895,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5910,6 +5968,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -5990,6 +6049,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6069,6 +6129,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6148,6 +6209,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6280,6 +6342,7 @@ "MaxResults": { "target": "com.amazonaws.guardduty#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

You can use this parameter to indicate the maximum number of items that you want in the\n response. The default value is 50. The maximum value is 50.

", "smithy.api#httpQuery": "maxResults", "smithy.api#jsonName": "maxResults" @@ -6336,6 +6399,7 @@ "Port": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number of the local connection.

", "smithy.api#jsonName": "port" } @@ -6362,10 +6426,16 @@ } }, "com.amazonaws.guardduty#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#LongValue": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.guardduty#MalwareProtectionConfiguration": { "type": "structure", @@ -6464,6 +6534,7 @@ "com.amazonaws.guardduty#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -6608,6 +6679,7 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether EC2 blocked the network connection to your instance.

", "smithy.api#jsonName": "blocked" } @@ -6874,6 +6946,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether scanning EBS volumes should be auto-enabled for new members joining the organization.

", "smithy.api#jsonName": "autoEnable" } @@ -6889,6 +6962,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

An object that contains the status of whether scanning EBS volumes should be auto-enabled for new members joining the organization.

", "smithy.api#jsonName": "autoEnable" } @@ -6904,6 +6978,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that contains information on whether Kubernetes audit logs should be enabled\n automatically as a data source for the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -6920,6 +6995,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether Kubernetes audit logs data source should be auto-enabled for new members joining the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -6998,6 +7074,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that contains information on whether S3 data event logs will be enabled\n automatically as a data source for the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -7014,6 +7091,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that describes whether S3 data event logs are automatically enabled for new\n members of the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -7097,6 +7175,7 @@ "Blocked": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether EC2 blocked the port probe to the instance, such as with an ACL.

", "smithy.api#jsonName": "blocked" } @@ -7151,6 +7230,7 @@ "com.amazonaws.guardduty#PositiveLong": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -7274,6 +7354,7 @@ "Affiliated": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is True the API caller is affiliated to your account in some way. If it is False the API caller is from outside your environment.

", "smithy.api#jsonName": "affiliated" } @@ -7332,6 +7413,7 @@ "Port": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number of the remote connection.

", "smithy.api#jsonName": "port" } @@ -7515,6 +7597,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The status of S3 data event logs as a data source.

", "smithy.api#jsonName": "enable", "smithy.api#required": {} @@ -7624,6 +7707,7 @@ "TotalBytes": { "target": "com.amazonaws.guardduty#PositiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents total bytes that were scanned.

", "smithy.api#jsonName": "totalBytes" } @@ -7631,6 +7715,7 @@ "FileCount": { "target": "com.amazonaws.guardduty#PositiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Represents the number of files that were scanned.

", "smithy.api#jsonName": "fileCount" } @@ -7752,6 +7837,7 @@ "EbsVolumes": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes the configuration for scanning EBS volumes as data source.

", "smithy.api#jsonName": "ebsVolumes" } @@ -7903,6 +7989,7 @@ "ItemCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of files infected with given threat.

", "smithy.api#jsonName": "itemCount" } @@ -7931,6 +8018,7 @@ "TotalGb": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total GB of files scanned for malware.

", "smithy.api#jsonName": "totalGb" } @@ -7938,6 +8026,7 @@ "Files": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of files scanned.

", "smithy.api#jsonName": "files" } @@ -7945,6 +8034,7 @@ "Volumes": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of scanned volumes.

", "smithy.api#jsonName": "volumes" } @@ -7966,6 +8056,7 @@ "Privileged": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is privileged.

", "smithy.api#jsonName": "privileged" } @@ -8023,6 +8114,7 @@ "Archived": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this finding is archived.

", "smithy.api#jsonName": "archived" } @@ -8030,6 +8122,7 @@ "Count": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total count of the occurrences of this finding type.

", "smithy.api#jsonName": "count" } @@ -8412,6 +8505,7 @@ "ItemCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of infected files identified.

", "smithy.api#jsonName": "itemCount" } @@ -8419,6 +8513,7 @@ "UniqueThreatNameCount": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of unique threats by name identified, as part of the malware scan.

", "smithy.api#jsonName": "uniqueThreatNameCount" } @@ -8426,6 +8521,7 @@ "Shortened": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag to determine if the finding contains every single infected file-path and/or every threat.

", "smithy.api#jsonName": "shortened" } @@ -8568,6 +8664,7 @@ "Files": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total number of infected files.

", "smithy.api#jsonName": "files" } @@ -8803,6 +8900,7 @@ "Enable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the detector is enabled or not enabled.

", "smithy.api#jsonName": "enable" } @@ -8890,6 +8988,7 @@ "Rank": { "target": "com.amazonaws.guardduty#FilterRank", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the position of the filter in the list of current filters. Also specifies the\n order in which this filter is applied to the findings.

", "smithy.api#jsonName": "rank" } @@ -9045,6 +9144,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The updated Boolean value that specifies whether the IPSet is active or not.

", "smithy.api#jsonName": "activate" } @@ -9219,6 +9319,7 @@ "AutoEnable": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to automatically enable member accounts in the organization.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -9359,6 +9460,7 @@ "Activate": { "target": "com.amazonaws.guardduty#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The updated Boolean value that specifies whether the ThreateIntelSet is active or\n not.

", "smithy.api#jsonName": "activate" } @@ -9591,6 +9693,7 @@ "VolumeSizeInGB": { "target": "com.amazonaws.guardduty#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

EBS volume size in GB.

", "smithy.api#jsonName": "volumeSizeInGB" } diff --git a/codegen/sdk/aws-models/health.json b/codegen/sdk/aws-models/health.json index 2afabe8f383..daa4aec1b25 100644 --- a/codegen/sdk/aws-models/health.json +++ b/codegen/sdk/aws-models/health.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.health#AWSHealth_20160804": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Health", - "arnNamespace": "health", - "cloudFormationName": "Health", - "cloudTrailEventSource": "health.amazonaws.com", - "endpointPrefix": "health" - }, - "aws.auth#sigv4": { - "name": "health" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Health\n \n

The Health API provides programmatic access to the Health information that\n appears in the Personal Health Dashboard. You\n can use the API operations to get information about events that might affect your Amazon Web Services services and resources.

\n \n \n \n

For authentication of requests, Health uses the Signature Version 4 Signing\n Process.

\n

If your Amazon Web Services account is part of Organizations, you can use the Health organizational\n view feature. This feature provides a centralized view of Health events across all\n accounts in your organization. You can aggregate Health events in real time to\n identify accounts in your organization that are affected by an operational event or get\n notified of security vulnerabilities. Use the organizational view API operations to enable\n this feature and return event information. For more information, see Aggregating\n Health events in the Health User Guide.

\n \n

When you use the Health API operations to return Health events, see the\n following recommendations:

\n \n
", - "smithy.api#title": "AWS Health APIs and Notifications" - }, "version": "2016-08-04", "operations": [ { @@ -87,7 +72,22 @@ { "target": "com.amazonaws.health#EnableHealthServiceAccessForOrganization" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Health", + "arnNamespace": "health", + "cloudFormationName": "Health", + "cloudTrailEventSource": "health.amazonaws.com", + "endpointPrefix": "health" + }, + "aws.auth#sigv4": { + "name": "health" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Health\n \n

The Health API provides programmatic access to the Health information that\n appears in the Personal Health Dashboard. You\n can use the API operations to get information about events that might affect your Amazon Web Services services and resources.

\n \n \n \n

For authentication of requests, Health uses the Signature Version 4 Signing\n Process.

\n

If your Amazon Web Services account is part of Organizations, you can use the Health organizational\n view feature. This feature provides a centralized view of Health events across all\n accounts in your organization. You can aggregate Health events in real time to\n identify accounts in your organization that are affected by an operational event or get\n notified of security vulnerabilities. Use the organizational view API operations to enable\n this feature and return event information. For more information, see Aggregating\n Health events in the Health User Guide.

\n \n

When you use the Health API operations to return Health events, see the\n following recommendations:

\n \n
", + "smithy.api#title": "AWS Health APIs and Notifications" + } }, "com.amazonaws.health#AffectedEntity": { "type": "structure", @@ -865,6 +865,9 @@ }, "com.amazonaws.health#DescribeHealthServiceStatusForOrganization": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.health#DescribeHealthServiceStatusForOrganizationResponse" }, @@ -886,6 +889,12 @@ }, "com.amazonaws.health#DisableHealthServiceAccessForOrganization": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.health#ConcurrentModificationException" @@ -898,6 +907,12 @@ }, "com.amazonaws.health#EnableHealthServiceAccessForOrganization": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.health#ConcurrentModificationException" @@ -920,6 +935,7 @@ "count": { "target": "com.amazonaws.health#count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of entities that match the criteria for the specified events.

" } } @@ -1092,6 +1108,7 @@ "count": { "target": "com.amazonaws.health#count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of events of the associated issue type.

" } } @@ -1696,7 +1713,10 @@ } }, "com.amazonaws.health#count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.health#dateTimeRangeList": { "type": "list", @@ -1957,7 +1977,6 @@ "com.amazonaws.health#maxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 100 @@ -1967,7 +1986,6 @@ "com.amazonaws.health#maxResultsLowerRange": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/healthlake.json b/codegen/sdk/aws-models/healthlake.json index 1ef55f5b714..78408ae5275 100644 --- a/codegen/sdk/aws-models/healthlake.json +++ b/codegen/sdk/aws-models/healthlake.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1245,7 +1245,6 @@ "com.amazonaws.healthlake#MaxResultsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 diff --git a/codegen/sdk/aws-models/honeycode.json b/codegen/sdk/aws-models/honeycode.json index 70cd344aac7..99c609d80f7 100644 --- a/codegen/sdk/aws-models/honeycode.json +++ b/codegen/sdk/aws-models/honeycode.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -160,6 +160,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated workbook cursor after adding the new rows at the end of the table.

", "smithy.api#required": {} } @@ -259,6 +260,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated workbook cursor after deleting the rows from the table.

", "smithy.api#required": {} } @@ -367,6 +369,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated workbook cursor after adding the new rows at the end of the table.

", "smithy.api#required": {} } @@ -469,6 +472,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated workbook cursor after updating or appending rows in the table.

", "smithy.api#required": {} } @@ -677,12 +681,14 @@ "hasHeaderRow": { "target": "com.amazonaws.honeycode#HasHeaderRow", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the input file has a header row at the top containing the column names.

" } }, "ignoreEmptyRows": { "target": "com.amazonaws.honeycode#IgnoreEmptyRows", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A parameter to indicate whether empty rows should be ignored or be included in the import.

" } }, @@ -1152,6 +1158,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Indicates the cursor of the workbook at which the data returned by this workbook is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n

", "smithy.api#required": {} } @@ -1165,10 +1172,16 @@ } }, "com.amazonaws.honeycode#HasHeaderRow": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.honeycode#IgnoreEmptyRows": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.honeycode#ImportColumnMap": { "type": "map", @@ -1419,6 +1432,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated workbook cursor after performing the automation action.

", "smithy.api#required": {} } @@ -1526,6 +1540,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n

" } } @@ -1647,6 +1662,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n

", "smithy.api#required": {} } @@ -1744,6 +1760,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n

" } } @@ -1816,7 +1833,6 @@ "com.amazonaws.honeycode#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1950,6 +1966,7 @@ "workbookCursor": { "target": "com.amazonaws.honeycode#WorkbookCursor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Indicates the cursor of the workbook at which the data returned by this request is read. Workbook cursor\n keeps increasing with every update and the increments are not sequential.\n

", "smithy.api#required": {} } @@ -2167,21 +2184,6 @@ }, "com.amazonaws.honeycode#SheetsPublicApiService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Honeycode", - "arnNamespace": "honeycode", - "cloudFormationName": "Honeycode", - "cloudTrailEventSource": "honeycode.amazonaws.com", - "endpointPrefix": "honeycode" - }, - "aws.auth#sigv4": { - "name": "honeycode" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

\n Amazon Honeycode is a fully managed service that allows you to quickly build mobile and web apps for teams—without\n programming. Build Honeycode apps for managing almost anything, like projects, customers, operations, approvals,\n resources, and even your team.\n

", - "smithy.api#title": "Amazon Honeycode" - }, "version": "2020-03-01", "operations": [ { @@ -2229,11 +2231,27 @@ { "target": "com.amazonaws.honeycode#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Honeycode", + "arnNamespace": "honeycode", + "cloudFormationName": "Honeycode", + "cloudTrailEventSource": "honeycode.amazonaws.com", + "endpointPrefix": "honeycode" + }, + "aws.auth#sigv4": { + "name": "honeycode" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

\n Amazon Honeycode is a fully managed service that allows you to quickly build mobile and web apps for teams—without\n programming. Build Honeycode apps for managing almost anything, like projects, customers, operations, approvals,\n resources, and even your team.\n

", + "smithy.api#title": "Amazon Honeycode" + } }, "com.amazonaws.honeycode#SourceDataColumnIndex": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -2245,6 +2263,7 @@ "columnIndex": { "target": "com.amazonaws.honeycode#SourceDataColumnIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The index of the column in the input file.

" } } @@ -2883,7 +2902,10 @@ } }, "com.amazonaws.honeycode#WorkbookCursor": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/iam.json b/codegen/sdk/aws-models/iam.json index bf6b7e99264..9a13effb297 100644 --- a/codegen/sdk/aws-models/iam.json +++ b/codegen/sdk/aws-models/iam.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.iam#AWSIdentityManagementV20100508": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IAM", - "arnNamespace": "iam", - "cloudFormationName": "IAM", - "cloudTrailEventSource": "iam.amazonaws.com", - "endpointPrefix": "iam" - }, - "aws.auth#sigv4": { - "name": "iam" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Identity and Access Management\n

Identity and Access Management (IAM) is a web service for securely controlling \n access to Amazon Web Services services. With IAM, you can centrally manage users, security credentials\n such as access keys, and permissions that control which Amazon Web Services resources users and \n applications can access. For more information about IAM, see Identity and Access Management (IAM) and the Identity and Access Management User Guide.

", - "smithy.api#title": "AWS Identity and Access Management", - "smithy.api#xmlNamespace": { - "uri": "https://iam.amazonaws.com/doc/2010-05-08/" - } - }, "version": "2010-05-08", "operations": [ { @@ -525,7 +507,25 @@ { "target": "com.amazonaws.iam#UploadSSHPublicKey" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IAM", + "arnNamespace": "iam", + "cloudFormationName": "IAM", + "cloudTrailEventSource": "iam.amazonaws.com", + "endpointPrefix": "iam" + }, + "aws.auth#sigv4": { + "name": "iam" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Identity and Access Management\n

Identity and Access Management (IAM) is a web service for securely controlling \n access to Amazon Web Services services. With IAM, you can centrally manage users, security credentials\n such as access keys, and permissions that control which Amazon Web Services resources users and \n applications can access. For more information about IAM, see Identity and Access Management (IAM) and the Identity and Access Management User Guide.

", + "smithy.api#title": "AWS Identity and Access Management", + "smithy.api#xmlNamespace": { + "uri": "https://iam.amazonaws.com/doc/2010-05-08/" + } + } }, "com.amazonaws.iam#AccessAdvisorUsageGranularityType": { "type": "string", @@ -1095,7 +1095,10 @@ } }, "com.amazonaws.iam#ColumnNumber": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iam#ConcurrentModificationException": { "type": "structure", @@ -1488,6 +1491,7 @@ "PasswordResetRequired": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the user is required to set a new password on next sign-in.

" } } @@ -1720,6 +1724,7 @@ "SetAsDefault": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to set this version as the policy's default version.

\n

When this parameter is true, the new policy version becomes the operative\n version. That is, it becomes the version that is in effect for the IAM users, groups,\n and roles that the policy is attached to.

\n

For more information about managed policy versions, see Versioning for managed\n policies in the IAM User Guide.

" } } @@ -3952,6 +3957,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -4303,6 +4309,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -4594,6 +4601,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -5130,6 +5138,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -5232,6 +5241,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -5704,7 +5714,10 @@ } }, "com.amazonaws.iam#LineNumber": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iam#ListAccessKeys": { "type": "operation", @@ -5768,6 +5781,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -5835,6 +5849,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -5920,6 +5935,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6005,6 +6021,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6090,6 +6107,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6198,6 +6216,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6275,6 +6294,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6375,6 +6395,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6425,6 +6446,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6496,6 +6518,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6593,6 +6616,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6643,6 +6667,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6717,6 +6742,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6790,6 +6816,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -6864,6 +6891,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7011,6 +7039,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your results were\n truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. We recommend that you check\n IsTruncated after every call to ensure that you receive all your\n results.

" } }, @@ -7034,6 +7063,7 @@ "OnlyAttached": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag to filter the results to only the attached policies.

\n

When OnlyAttached is true, the returned list contains only\n the policies that are attached to an IAM user, group, or role. When\n OnlyAttached is false, or when the parameter is not\n included, all policies are returned.

" } }, @@ -7075,6 +7105,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7149,6 +7180,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7225,6 +7257,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7302,6 +7335,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7373,6 +7407,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7443,6 +7478,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7517,6 +7553,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7621,6 +7658,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7692,6 +7730,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7762,6 +7801,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7886,6 +7926,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -7963,6 +8004,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -8040,6 +8082,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -8110,6 +8153,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -8178,6 +8222,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -8212,6 +8257,7 @@ "PasswordResetRequired": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the user is required to set a new password on next sign-in.

" } } @@ -8328,6 +8374,7 @@ "IsAttachable": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the policy can be attached to an IAM user, group, or role.

" } }, @@ -8419,6 +8466,7 @@ "AllowedByOrganizations": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the simulated operation is allowed by the Organizations service control\n policies that impact the simulated user's account.

" } } @@ -8439,36 +8487,42 @@ "RequireSymbols": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one of the following\n symbols:

\n

! @ # $ % ^ & * ( ) _ + - = [ ] { } | '

" } }, "RequireNumbers": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one numeric character (0 to\n 9).

" } }, "RequireUppercaseCharacters": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one uppercase character (A\n to Z).

" } }, "RequireLowercaseCharacters": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one lowercase character (a\n to z).

" } }, "AllowUsersToChangePassword": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM users are allowed to change their own password. Gives IAM\n users permissions to iam:ChangePassword for only their user and to the\n iam:GetAccountPasswordPolicy action. This option does not attach a\n permissions policy to each user, rather the permissions are applied at the account-level\n for all users by IAM.

" } }, "ExpirePasswords": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether passwords in the account expire. Returns true if\n MaxPasswordAge contains a value greater than 0. Returns false if\n MaxPasswordAge is 0 or not present.

" } }, @@ -8529,6 +8583,7 @@ "AllowedByPermissionsBoundary": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an action is allowed by a permissions boundary that is applied to an\n IAM entity (user or role). A value of true means that the permissions\n boundary does not deny the action. This means that the policy includes an\n Allow statement that matches the request. In this case, if an\n identity-based policy also allows the action, the request is allowed. A value of\n false means that either the requested action is not allowed (implicitly\n denied) or that the action is explicitly denied by the permissions boundary. In both of\n these cases, the action is not allowed, regardless of the identity-based policy.

" } } @@ -8582,6 +8637,7 @@ "IsAttachable": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the policy can be attached to an IAM user, group, or role.

" } }, @@ -8874,6 +8930,7 @@ "IsDefaultVersion": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the policy version is set as the policy's default version.

" } }, @@ -8894,12 +8951,14 @@ "Line": { "target": "com.amazonaws.iam#LineNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The line containing the specified position in the document.

" } }, "Column": { "target": "com.amazonaws.iam#ColumnNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The column in the line containing the specified position in the document.

" } } @@ -10399,6 +10458,7 @@ "IsTruncated": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items to return. If your \n results were truncated, you can make a subsequent pagination request using the Marker\n request parameter to retrieve more items. Note that IAM might return fewer than the \n MaxItems number of results even when there are more results available. We recommend \n that you check IsTruncated after every call to ensure that you receive all your \n results.

" } }, @@ -11480,30 +11540,35 @@ "RequireSymbols": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one of the following\n non-alphanumeric characters:

\n

! @ # $ % ^ & * ( ) _ + - = [ ] { } | '

\n

If you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n symbol character.

" } }, "RequireNumbers": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one numeric character (0\n to 9).

\n

If you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n numeric character.

" } }, "RequireUppercaseCharacters": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one uppercase character\n from the ISO basic Latin alphabet (A to Z).

\n

If you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n uppercase character.

" } }, "RequireLowercaseCharacters": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether IAM user passwords must contain at least one lowercase character\n from the ISO basic Latin alphabet (a to z).

\n

If you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that passwords do not require at least one\n lowercase character.

" } }, "AllowUsersToChangePassword": { "target": "com.amazonaws.iam#booleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own\n passwords. For more information, see Permitting\n IAM users to change their own passwords in the\n IAM User Guide.

\n

If you do not specify a value for this parameter, then the operation uses the default\n value of false. The result is that IAM users in the account do not\n automatically have permissions to change their own password.

" } }, @@ -12599,10 +12664,7 @@ } }, "com.amazonaws.iam#attachmentCountType": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iam#authenticationCodeType": { "type": "string", @@ -12615,14 +12677,14 @@ } }, "com.amazonaws.iam#booleanObjectType": { + "type": "boolean" + }, + "com.amazonaws.iam#booleanType": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.iam#booleanType": { - "type": "boolean" - }, "com.amazonaws.iam#certificateBodyType": { "type": "string", "traits": { @@ -12837,10 +12899,7 @@ } }, "com.amazonaws.iam#integerType": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iam#invalidAuthenticationCodeMessage": { "type": "string" @@ -12916,7 +12975,6 @@ "com.amazonaws.iam#maxItemsType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -12926,7 +12984,6 @@ "com.amazonaws.iam#maxPasswordAgeType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1095 @@ -12945,7 +13002,6 @@ "com.amazonaws.iam#minimumPasswordLengthType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 6, "max": 128 @@ -12977,7 +13033,6 @@ "com.amazonaws.iam#passwordReusePreventionType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 24 @@ -13227,7 +13282,6 @@ "com.amazonaws.iam#roleMaxSessionDurationType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 3600, "max": 43200 @@ -13492,10 +13546,7 @@ } }, "com.amazonaws.iam#summaryValueType": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iam#tagKeyListType": { "type": "list", diff --git a/codegen/sdk/aws-models/identitystore.json b/codegen/sdk/aws-models/identitystore.json index 96fd3e091dd..c0a4ecd32f1 100644 --- a/codegen/sdk/aws-models/identitystore.json +++ b/codegen/sdk/aws-models/identitystore.json @@ -2450,4 +2450,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/imagebuilder.json b/codegen/sdk/aws-models/imagebuilder.json index f3612b07b55..ebedca8b06c 100644 --- a/codegen/sdk/aws-models/imagebuilder.json +++ b/codegen/sdk/aws-models/imagebuilder.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -172,7 +172,10 @@ "type": "string" }, "com.amazonaws.imagebuilder#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.imagebuilder#BuildType": { "type": "string", @@ -2782,7 +2785,6 @@ "com.amazonaws.imagebuilder#DistributionTimeoutMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 30, "max": 720 @@ -2851,7 +2853,6 @@ "com.amazonaws.imagebuilder#EbsIopsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100, "max": 64000 @@ -2861,7 +2862,6 @@ "com.amazonaws.imagebuilder#EbsVolumeSizeInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 16000 @@ -2871,7 +2871,6 @@ "com.amazonaws.imagebuilder#EbsVolumeThroughput": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 125, "max": 1000 @@ -2931,6 +2930,7 @@ "enabled": { "target": "com.amazonaws.imagebuilder#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean that represents the current state of faster launching for the \n\t\t\tWindows AMI. Set to true to start using Windows faster launching, or \n\t\t\tfalse to stop using it.

", "smithy.api#required": {} } @@ -3831,7 +3831,6 @@ "com.amazonaws.imagebuilder#HttpPutResponseHopLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -4473,7 +4472,6 @@ "com.amazonaws.imagebuilder#ImageTestsTimeoutMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 1440 @@ -5265,6 +5263,7 @@ "setDefaultVersion": { "target": "com.amazonaws.imagebuilder#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set the specified Amazon EC2 launch template as the default launch template for the specified account.

" } } @@ -5367,7 +5366,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -5465,13 +5464,14 @@ "byName": { "target": "com.amazonaws.imagebuilder#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Returns the list of component build versions for the specified name.

" } }, "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -5569,7 +5569,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return in the list.

" } }, @@ -5661,7 +5661,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -5760,7 +5760,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -5856,7 +5856,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maxiumum number of results to return from the ListImagePackages request.

" } }, @@ -5958,7 +5958,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6050,7 +6050,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6148,7 +6148,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6246,13 +6246,14 @@ "byName": { "target": "com.amazonaws.imagebuilder#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Requests a list of images with a specific recipe name.

" } }, "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6350,7 +6351,7 @@ "maxResults": { "target": "com.amazonaws.imagebuilder#RestrictedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum items to return in a request.

" } }, @@ -6454,7 +6455,6 @@ "com.amazonaws.imagebuilder#MaxParallelLaunches": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -6471,10 +6471,7 @@ } }, "com.amazonaws.imagebuilder#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.imagebuilder#OrganizationArn": { "type": "string", @@ -7032,6 +7029,7 @@ "com.amazonaws.imagebuilder#RestrictedInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -7402,7 +7400,6 @@ "com.amazonaws.imagebuilder#TargetResourceCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -7889,21 +7886,6 @@ }, "com.amazonaws.imagebuilder#imagebuilder": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "imagebuilder", - "arnNamespace": "imagebuilder", - "cloudFormationName": "Imagebuilder", - "cloudTrailEventSource": "imagebuilder.amazonaws.com", - "endpointPrefix": "imagebuilder" - }, - "aws.auth#sigv4": { - "name": "imagebuilder" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the \n creation, management, and deployment of customized, secure, and up-to-date \"golden\" server \n images that are pre-installed and pre-configured with software and settings to meet specific\n IT standards.

", - "smithy.api#title": "EC2 Image Builder" - }, "version": "2019-12-02", "operations": [ { @@ -8056,7 +8038,22 @@ { "target": "com.amazonaws.imagebuilder#UpdateInfrastructureConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "imagebuilder", + "arnNamespace": "imagebuilder", + "cloudFormationName": "Imagebuilder", + "cloudTrailEventSource": "imagebuilder.amazonaws.com", + "endpointPrefix": "imagebuilder" + }, + "aws.auth#sigv4": { + "name": "imagebuilder" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

EC2 Image Builder is a fully managed Amazon Web Services service that makes it easier to automate the \n creation, management, and deployment of customized, secure, and up-to-date \"golden\" server \n images that are pre-installed and pre-configured with software and settings to meet specific\n IT standards.

", + "smithy.api#title": "EC2 Image Builder" + } } } } diff --git a/codegen/sdk/aws-models/inspector.json b/codegen/sdk/aws-models/inspector.json index dc467a0c559..5ef87c8d080 100644 --- a/codegen/sdk/aws-models/inspector.json +++ b/codegen/sdk/aws-models/inspector.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -456,10 +456,7 @@ } }, "com.amazonaws.inspector#ArnCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#AssessmentRulesPackageArnList": { "type": "list", @@ -507,6 +504,7 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the assessment run.

", "smithy.api#required": {} } @@ -654,6 +652,7 @@ "com.amazonaws.inspector#AssessmentRunDuration": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 180, "max": 86400 @@ -1080,6 +1079,7 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration in seconds specified for this assessment template. The default value is\n 3600 seconds (one hour). The maximum value is 86400 seconds (one day).

", "smithy.api#required": {} } @@ -1188,6 +1188,7 @@ "schemaVersion": { "target": "com.amazonaws.inspector#NumericVersion", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The schema version of this data type.

", "smithy.api#required": {} } @@ -1347,10 +1348,7 @@ } }, "com.amazonaws.inspector#Bool": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.inspector#CreateAssessmentTarget": { "type": "operation", @@ -1469,6 +1467,7 @@ "durationInSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the assessment run in seconds.

", "smithy.api#required": {} } @@ -1614,6 +1613,9 @@ "input": { "target": "com.amazonaws.inspector#DeleteAssessmentRunRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -1655,6 +1657,9 @@ "input": { "target": "com.amazonaws.inspector#DeleteAssessmentTargetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -1696,6 +1701,9 @@ "input": { "target": "com.amazonaws.inspector#DeleteAssessmentTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -1886,6 +1894,9 @@ }, "com.amazonaws.inspector#DescribeCrossAccountAccessRole": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.inspector#DescribeCrossAccountAccessRoleResponse" }, @@ -2152,12 +2163,14 @@ "minSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value of the duration range. Must be greater than zero.

" } }, "maxSeconds": { "target": "com.amazonaws.inspector#AssessmentRunDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value of the duration range. Must be less than or equal to 604800 seconds\n (1 week).

" } } @@ -2414,6 +2427,7 @@ "schemaVersion": { "target": "com.amazonaws.inspector#NumericVersion", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The schema version of this data type.

" } }, @@ -2474,12 +2488,14 @@ "numericSeverity": { "target": "com.amazonaws.inspector#NumericSeverity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The numeric value of the finding severity.

" } }, "confidence": { "target": "com.amazonaws.inspector#IocConfidence", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This data element is currently not used.

" } }, @@ -2523,10 +2539,7 @@ } }, "com.amazonaws.inspector#FindingCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#FindingFilter": { "type": "structure", @@ -3000,6 +3013,7 @@ "schemaVersion": { "target": "com.amazonaws.inspector#NumericVersion", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The schema version of this data type.

", "smithy.api#required": {} } @@ -3345,6 +3359,7 @@ "com.amazonaws.inspector#IocConfidence": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -3780,10 +3795,7 @@ } }, "com.amazonaws.inspector#ListEventSubscriptionsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#ListEventSubscriptionsRequest": { "type": "structure", @@ -3978,10 +3990,7 @@ } }, "com.amazonaws.inspector#ListMaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#ListParentArnList": { "type": "list", @@ -4132,10 +4141,7 @@ } }, "com.amazonaws.inspector#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.inspector#Message": { "type": "string", @@ -4310,6 +4316,7 @@ "com.amazonaws.inspector#NumericSeverity": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0.0, "max": 10.0 @@ -4319,6 +4326,7 @@ "com.amazonaws.inspector#NumericVersion": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4377,10 +4385,7 @@ } }, "com.amazonaws.inspector#PreviewAgentsMaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.inspector#PreviewAgentsRequest": { "type": "structure", @@ -4494,6 +4499,9 @@ "input": { "target": "com.amazonaws.inspector#RegisterCrossAccountAccessRoleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -4907,6 +4915,9 @@ "input": { "target": "com.amazonaws.inspector#SetTagsForResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5073,6 +5084,9 @@ "input": { "target": "com.amazonaws.inspector#StopAssessmentRunRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5117,6 +5131,9 @@ "input": { "target": "com.amazonaws.inspector#SubscribeToEventRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5348,6 +5365,9 @@ "input": { "target": "com.amazonaws.inspector#UnsubscribeFromEventRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" @@ -5421,6 +5441,9 @@ "input": { "target": "com.amazonaws.inspector#UpdateAssessmentTargetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.inspector#AccessDeniedException" diff --git a/codegen/sdk/aws-models/inspector2.json b/codegen/sdk/aws-models/inspector2.json index 2510563bd88..c555851b73e 100644 --- a/codegen/sdk/aws-models/inspector2.json +++ b/codegen/sdk/aws-models/inspector2.json @@ -7240,4 +7240,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/iot-1click-devices-service.json b/codegen/sdk/aws-models/iot-1click-devices-service.json index dad23f70d2f..8e67a726bbe 100644 --- a/codegen/sdk/aws-models/iot-1click-devices-service.json +++ b/codegen/sdk/aws-models/iot-1click-devices-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -87,6 +87,7 @@ "Total": { "target": "com.amazonaws.iot1clickdevicesservice#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of devices associated with the claim code that has been processed in\n the claim request.

", "smithy.api#jsonName": "total" } @@ -211,6 +212,7 @@ "Enabled": { "target": "com.amazonaws.iot1clickdevicesservice#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating whether or not the device is enabled.

", "smithy.api#jsonName": "enabled" } @@ -218,6 +220,7 @@ "RemainingLife": { "target": "com.amazonaws.iot1clickdevicesservice#__doubleMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value between 0 and 1 inclusive, representing the fraction of life remaining for the\n device.

", "smithy.api#jsonName": "remainingLife" } @@ -709,6 +712,7 @@ "MaxResults": { "target": "com.amazonaws.iot1clickdevicesservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per request. If not set, a default value of\n 100 is used.

", "smithy.api#httpQuery": "maxResults" } @@ -790,6 +794,7 @@ "MaxResults": { "target": "com.amazonaws.iot1clickdevicesservice#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return per request. If not set, a default value of\n 100 is used.

", "smithy.api#httpQuery": "maxResults" } @@ -875,6 +880,7 @@ "com.amazonaws.iot1clickdevicesservice#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 250 @@ -978,6 +984,9 @@ "input": { "target": "com.amazonaws.iot1clickdevicesservice#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot1clickdevicesservice#InternalFailureException" @@ -1077,6 +1086,9 @@ "input": { "target": "com.amazonaws.iot1clickdevicesservice#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iot1clickdevicesservice#InternalFailureException" @@ -1160,6 +1172,7 @@ "Enabled": { "target": "com.amazonaws.iot1clickdevicesservice#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the device is enabled. If false, the device is\n disabled.

", "smithy.api#jsonName": "enabled" } @@ -1171,13 +1184,22 @@ "members": {} }, "com.amazonaws.iot1clickdevicesservice#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot1clickdevicesservice#__doubleMin0Max100": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot1clickdevicesservice#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot1clickdevicesservice#__listOfDeviceDescription": { "type": "list", diff --git a/codegen/sdk/aws-models/iot-1click-projects.json b/codegen/sdk/aws-models/iot-1click-projects.json index c7532c1a9cf..48d3833a457 100644 --- a/codegen/sdk/aws-models/iot-1click-projects.json +++ b/codegen/sdk/aws-models/iot-1click-projects.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1022,7 +1022,6 @@ "com.amazonaws.iot1clickprojects#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 diff --git a/codegen/sdk/aws-models/iot-data-plane.json b/codegen/sdk/aws-models/iot-data-plane.json index 951be50fb47..89f35cc6516 100644 --- a/codegen/sdk/aws-models/iot-data-plane.json +++ b/codegen/sdk/aws-models/iot-data-plane.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -201,12 +201,14 @@ "qos": { "target": "com.amazonaws.iotdataplane#Qos", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The quality of service (QoS) level used to publish the retained message.

" } }, "lastModifiedTime": { "target": "com.amazonaws.iotdataplane#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

" } } @@ -330,21 +332,6 @@ }, "com.amazonaws.iotdataplane#IotMoonrakerService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT Data Plane", - "arnNamespace": "iotdata", - "cloudFormationName": "IoTDataPlane", - "cloudTrailEventSource": "iotdataplane.amazonaws.com", - "endpointPrefix": "data-ats.iot" - }, - "aws.auth#sigv4": { - "name": "iotdata" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "IoT data\n

IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,\n actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and\n things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a\n persistent representation of your things and their state in the Amazon Web Services cloud.

\n

Find the endpoint address for actions in IoT data by running this CLI command:

\n

\n aws iot describe-endpoint --endpoint-type iot:Data-ATS\n

\n

The service name used by Amazon Web ServicesSignature Version 4\n to sign requests is: iotdevicegateway.

", - "smithy.api#title": "AWS IoT Data Plane" - }, "version": "2015-05-28", "operations": [ { @@ -368,7 +355,22 @@ { "target": "com.amazonaws.iotdataplane#UpdateThingShadow" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT Data Plane", + "arnNamespace": "iotdata", + "cloudFormationName": "IoTDataPlane", + "cloudTrailEventSource": "iotdataplane.amazonaws.com", + "endpointPrefix": "data-ats.iot" + }, + "aws.auth#sigv4": { + "name": "iotdata" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "IoT data\n

IoT data enables secure, bi-directional communication between Internet-connected things (such as sensors,\n actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. It implements a broker for applications and\n things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a\n persistent representation of your things and their state in the Amazon Web Services cloud.

\n

Find the endpoint address for actions in IoT data by running this CLI command:

\n

\n aws iot describe-endpoint --endpoint-type iot:Data-ATS\n

\n

The service name used by Amazon Web ServicesSignature Version 4\n to sign requests is: iotdevicegateway.

", + "smithy.api#title": "AWS IoT Data Plane" + } }, "com.amazonaws.iotdataplane#JsonDocument": { "type": "blob" @@ -458,6 +460,7 @@ "timestamp": { "target": "com.amazonaws.iotdataplane#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Epoch date and time the response was generated by IoT.

" } } @@ -519,6 +522,7 @@ "maxResults": { "target": "com.amazonaws.iotdataplane#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return at one time.

", "smithy.api#httpQuery": "maxResults" } @@ -545,6 +549,7 @@ "com.amazonaws.iotdataplane#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 200 @@ -579,7 +584,6 @@ "com.amazonaws.iotdataplane#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -590,13 +594,19 @@ "type": "blob" }, "com.amazonaws.iotdataplane#PayloadSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotdataplane#Publish": { "type": "operation", "input": { "target": "com.amazonaws.iotdataplane#PublishRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotdataplane#InternalFailureException" @@ -634,6 +644,7 @@ "qos": { "target": "com.amazonaws.iotdataplane#Qos", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Quality of Service (QoS) level.

", "smithy.api#httpQuery": "qos" } @@ -641,6 +652,7 @@ "retain": { "target": "com.amazonaws.iotdataplane#Retain", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that determines whether to set the RETAIN flag when the message is published.

\n

Setting the RETAIN flag causes the message to be retained and sent to new subscribers to the topic.

\n

Valid values: true | false\n

\n

Default value: false\n

", "smithy.api#httpQuery": "retain" } @@ -660,6 +672,7 @@ "com.amazonaws.iotdataplane#Qos": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -699,7 +712,10 @@ } }, "com.amazonaws.iotdataplane#Retain": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotdataplane#RetainedMessageList": { "type": "list", @@ -719,18 +735,21 @@ "payloadSize": { "target": "com.amazonaws.iotdataplane#PayloadSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the retained message's payload in bytes.

" } }, "qos": { "target": "com.amazonaws.iotdataplane#Qos", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The quality of service (QoS) level used to publish the retained message.

" } }, "lastModifiedTime": { "target": "com.amazonaws.iotdataplane#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Epoch date and time, in milliseconds, when the retained message was stored by IoT.

" } } @@ -792,7 +811,10 @@ } }, "com.amazonaws.iotdataplane#Timestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotdataplane#Topic": { "type": "string" diff --git a/codegen/sdk/aws-models/iot-events-data.json b/codegen/sdk/aws-models/iot-events-data.json index d85a489a769..abbf4d4602f 100644 --- a/codegen/sdk/aws-models/iot-events-data.json +++ b/codegen/sdk/aws-models/iot-events-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1417,7 +1417,6 @@ "com.amazonaws.ioteventsdata#EpochMilliTimestamp": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 9223372036854775807 @@ -1502,21 +1501,6 @@ }, "com.amazonaws.ioteventsdata#IotColumboDataService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT Events Data", - "arnNamespace": "ioteventsdata", - "cloudFormationName": "IoTEventsData", - "cloudTrailEventSource": "ioteventsdata.amazonaws.com", - "endpointPrefix": "data.iotevents" - }, - "aws.auth#sigv4": { - "name": "ioteventsdata" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

IoT Events monitors your equipment or device fleets for failures or changes in operation, and\n triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to\n detectors, list detectors, and view or update a detector's status.

\n

For more information, see What is IoT Events? in the\n IoT Events Developer Guide.

", - "smithy.api#title": "AWS IoT Events Data" - }, "version": "2018-10-23", "operations": [ { @@ -1555,7 +1539,22 @@ { "target": "com.amazonaws.ioteventsdata#ListDetectors" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT Events Data", + "arnNamespace": "ioteventsdata", + "cloudFormationName": "IoTEventsData", + "cloudTrailEventSource": "ioteventsdata.amazonaws.com", + "endpointPrefix": "data.iotevents" + }, + "aws.auth#sigv4": { + "name": "ioteventsdata" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

IoT Events monitors your equipment or device fleets for failures or changes in operation, and\n triggers actions when such events occur. You can use IoT Events Data API commands to send inputs to\n detectors, list detectors, and view or update a detector's status.

\n

For more information, see What is IoT Events? in the\n IoT Events Developer Guide.

", + "smithy.api#title": "AWS IoT Events Data" + } }, "com.amazonaws.ioteventsdata#KeyValue": { "type": "string", @@ -1733,7 +1732,6 @@ "com.amazonaws.ioteventsdata#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -1911,10 +1909,7 @@ } }, "com.amazonaws.ioteventsdata#Seconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ioteventsdata#ServiceUnavailableException": { "type": "structure", @@ -1935,7 +1930,6 @@ "com.amazonaws.ioteventsdata#Severity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -2041,10 +2035,7 @@ } }, "com.amazonaws.ioteventsdata#SnoozeDuration": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ioteventsdata#StateChangeConfiguration": { "type": "structure", diff --git a/codegen/sdk/aws-models/iot-events.json b/codegen/sdk/aws-models/iot-events.json index b63a1703036..6bf4b517466 100644 --- a/codegen/sdk/aws-models/iot-events.json +++ b/codegen/sdk/aws-models/iot-events.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -45,10 +45,7 @@ } }, "com.amazonaws.iotevents#AcknowledgeFlowEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotevents#Action": { "type": "structure", @@ -1895,10 +1892,7 @@ } }, "com.amazonaws.iotevents#DisabledOnInitialization": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotevents#DynamoDBAction": { "type": "structure", @@ -3274,7 +3268,10 @@ } }, "com.amazonaws.iotevents#LoggingEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotevents#LoggingLevel": { "type": "string", @@ -3315,6 +3312,7 @@ "enabled": { "target": "com.amazonaws.iotevents#LoggingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If TRUE, logging is enabled for AWS IoT Events.

", "smithy.api#required": {} } @@ -3340,15 +3338,11 @@ } }, "com.amazonaws.iotevents#MaxAnalysisResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iotevents#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -3500,6 +3494,9 @@ "input": { "target": "com.amazonaws.iotevents#PutLoggingOptionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotevents#InternalFailureException" @@ -3762,7 +3759,6 @@ "com.amazonaws.iotevents#Seconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 31622400 @@ -3840,7 +3836,6 @@ "com.amazonaws.iotevents#Severity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -4572,10 +4567,7 @@ } }, "com.amazonaws.iotevents#UseBase64": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotevents#VariableName": { "type": "string", diff --git a/codegen/sdk/aws-models/iot-jobs-data-plane.json b/codegen/sdk/aws-models/iot-jobs-data-plane.json index 8f0d614485c..04c5d7d7850 100644 --- a/codegen/sdk/aws-models/iot-jobs-data-plane.json +++ b/codegen/sdk/aws-models/iot-jobs-data-plane.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -30,10 +30,7 @@ }, "shapes": { "com.amazonaws.iotjobsdataplane#ApproximateSecondsBeforeTimedOut": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#BinaryBlob": { "type": "blob" @@ -173,16 +170,10 @@ } }, "com.amazonaws.iotjobsdataplane#ExecutionNumber": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#ExpectedVersion": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#GetPendingJobExecutions": { "type": "operation", @@ -249,16 +240,10 @@ } }, "com.amazonaws.iotjobsdataplane#IncludeExecutionState": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotjobsdataplane#IncludeJobDocument": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotjobsdataplane#InvalidRequestException": { "type": "structure", @@ -361,6 +346,7 @@ "queuedAt": { "target": "com.amazonaws.iotjobsdataplane#QueuedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the job execution was enqueued.

" } }, @@ -373,6 +359,7 @@ "lastUpdatedAt": { "target": "com.amazonaws.iotjobsdataplane#LastUpdatedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the job execution was last updated.

" } }, @@ -385,6 +372,7 @@ "versionNumber": { "target": "com.amazonaws.iotjobsdataplane#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the job execution. Job execution versions are incremented each time they are updated by a\n device.

" } }, @@ -423,6 +411,7 @@ "versionNumber": { "target": "com.amazonaws.iotjobsdataplane#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the job execution. Job execution versions are incremented each time they are updated by a\n device.

" } } @@ -482,6 +471,7 @@ "queuedAt": { "target": "com.amazonaws.iotjobsdataplane#QueuedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the job execution was enqueued.

" } }, @@ -494,12 +484,14 @@ "lastUpdatedAt": { "target": "com.amazonaws.iotjobsdataplane#LastUpdatedAt", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds since the epoch, when the job execution was last updated.

" } }, "versionNumber": { "target": "com.amazonaws.iotjobsdataplane#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the job execution. Job execution versions are incremented each time AWS IoT Jobs receives\n an update from a device.

" } }, @@ -531,10 +523,16 @@ } }, "com.amazonaws.iotjobsdataplane#LastUpdatedAt": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotjobsdataplane#QueuedAt": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotjobsdataplane#ResourceNotFoundException": { "type": "structure", @@ -639,16 +637,10 @@ } }, "com.amazonaws.iotjobsdataplane#StartedAt": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#StepTimeoutInMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iotjobsdataplane#TerminalStateException": { "type": "structure", @@ -814,7 +806,10 @@ } }, "com.amazonaws.iotjobsdataplane#VersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotjobsdataplane#errorMessage": { "type": "string" diff --git a/codegen/sdk/aws-models/iot-wireless.json b/codegen/sdk/aws-models/iot-wireless.json index e022e97c0c5..d4be2303681 100644 --- a/codegen/sdk/aws-models/iot-wireless.json +++ b/codegen/sdk/aws-models/iot-wireless.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -95,7 +95,10 @@ } }, "com.amazonaws.iotwireless#AccountLinked": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#Accuracy": { "type": "structure", @@ -120,7 +123,6 @@ "com.amazonaws.iotwireless#AckModeRetryDurationSecs": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 604800 @@ -128,7 +130,10 @@ } }, "com.amazonaws.iotwireless#AddGwMetadata": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#AmazonId": { "type": "string", @@ -625,7 +630,10 @@ "members": {} }, "com.amazonaws.iotwireless#AutoCreateTasks": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#BatteryLevel": { "type": "string", @@ -670,7 +678,6 @@ "com.amazonaws.iotwireless#BeaconingDataRate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -692,7 +699,6 @@ "com.amazonaws.iotwireless#BeaconingFrequency": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100000000, "max": 1000000000 @@ -806,7 +812,6 @@ "com.amazonaws.iotwireless#ClassBTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000 @@ -816,7 +821,6 @@ "com.amazonaws.iotwireless#ClassCTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000 @@ -911,7 +915,6 @@ "com.amazonaws.iotwireless#Crc": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 4294967295 @@ -1708,6 +1711,7 @@ "AutoCreateTasks": { "target": "com.amazonaws.iotwireless#AutoCreateTasks", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

", "smithy.api#required": {} } @@ -2475,7 +2479,6 @@ "com.amazonaws.iotwireless#DevStatusReqFreq": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -2994,7 +2997,6 @@ "com.amazonaws.iotwireless#DlBucketSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -3024,7 +3026,6 @@ "com.amazonaws.iotwireless#DlDr": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

Downlink data rate.

", "smithy.api#range": { "min": 0, @@ -3035,7 +3036,6 @@ "com.amazonaws.iotwireless#DlFreq": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

Downlink frequency.

", "smithy.api#range": { "min": 100000000, @@ -3046,7 +3046,6 @@ "com.amazonaws.iotwireless#DlRate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -3063,15 +3062,11 @@ } }, "com.amazonaws.iotwireless#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotwireless#DownlinkFrequency": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 100000000, "max": 1000000000 @@ -3135,6 +3130,7 @@ "com.amazonaws.iotwireless#DrMax": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 15 @@ -3144,7 +3140,6 @@ "com.amazonaws.iotwireless#DrMaxBox": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -3154,6 +3149,7 @@ "com.amazonaws.iotwireless#DrMin": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 15 @@ -3163,7 +3159,6 @@ "com.amazonaws.iotwireless#DrMinBox": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -3352,7 +3347,6 @@ "com.amazonaws.iotwireless#FCntStart": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The FCnt init value.

", "smithy.api#range": { "min": 0, @@ -3369,7 +3363,6 @@ "com.amazonaws.iotwireless#FPort": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The Fport value.

", "smithy.api#range": { "min": 1, @@ -4248,6 +4241,7 @@ "AccountLinked": { "target": "com.amazonaws.iotwireless#AccountLinked", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the partner account is linked to the AWS account.

" } } @@ -5299,6 +5293,7 @@ "AutoCreateTasks": { "target": "com.amazonaws.iotwireless#AutoCreateTasks", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

" } }, @@ -5373,14 +5368,16 @@ "com.amazonaws.iotwireless#HorizontalAccuracy": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.iotwireless#HrAllowed": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#ISODateTimeString": { "type": "string", @@ -5425,10 +5422,7 @@ } }, "com.amazonaws.iotwireless#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iotwireless#InternalServerException": { "type": "structure", @@ -5560,6 +5554,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -5639,6 +5634,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -5707,6 +5703,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -5785,6 +5782,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } } @@ -5899,6 +5897,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } } @@ -5931,6 +5930,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } } @@ -5992,6 +5992,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -6065,6 +6066,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -6137,6 +6139,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -6226,6 +6229,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -6305,6 +6309,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -6428,6 +6433,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -6535,6 +6541,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -6621,6 +6628,7 @@ "MaxResults": { "target": "com.amazonaws.iotwireless#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#httpQuery": "maxResults" } @@ -6775,6 +6783,7 @@ "SupportsClassB": { "target": "com.amazonaws.iotwireless#SupportsClassB", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The SupportsClassB value.

" } }, @@ -6805,6 +6814,7 @@ "SupportsClassC": { "target": "com.amazonaws.iotwireless#SupportsClassC", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The SupportsClassC value.

" } }, @@ -6883,6 +6893,7 @@ "Supports32BitFCnt": { "target": "com.amazonaws.iotwireless#Supports32BitFCnt", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The Supports32BitFCnt value.

" } } @@ -7065,6 +7076,7 @@ "AddGwMetadata": { "target": "com.amazonaws.iotwireless#AddGwMetadata", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The AddGWMetaData value.

" } }, @@ -7077,24 +7089,28 @@ "ReportDevStatusBattery": { "target": "com.amazonaws.iotwireless#ReportDevStatusBattery", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The ReportDevStatusBattery value.

" } }, "ReportDevStatusMargin": { "target": "com.amazonaws.iotwireless#ReportDevStatusMargin", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The ReportDevStatusMargin value.

" } }, "DrMin": { "target": "com.amazonaws.iotwireless#DrMin", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The DRMin value.

" } }, "DrMax": { "target": "com.amazonaws.iotwireless#DrMax", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The DRMax value.

" } }, @@ -7107,30 +7123,35 @@ "PrAllowed": { "target": "com.amazonaws.iotwireless#PrAllowed", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The PRAllowed value that describes whether passive roaming is allowed.

" } }, "HrAllowed": { "target": "com.amazonaws.iotwireless#HrAllowed", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The HRAllowed value that describes whether handover roaming is allowed.

" } }, "RaAllowed": { "target": "com.amazonaws.iotwireless#RaAllowed", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The RAAllowed value that describes whether roaming activation is allowed.

" } }, "NwkGeoLoc": { "target": "com.amazonaws.iotwireless#NwkGeoLoc", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The NwkGeoLoc value.

" } }, "TargetPer": { "target": "com.amazonaws.iotwireless#TargetPer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The TargetPER value.

" } }, @@ -7275,6 +7296,7 @@ "AddGwMetadata": { "target": "com.amazonaws.iotwireless#AddGwMetadata", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The AddGWMetaData value.

" } }, @@ -7428,7 +7450,6 @@ "com.amazonaws.iotwireless#MaxDutyCycle": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -7438,7 +7459,6 @@ "com.amazonaws.iotwireless#MaxEirp": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -7448,6 +7468,7 @@ "com.amazonaws.iotwireless#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in this operation.

", "smithy.api#range": { "min": 0, @@ -7458,7 +7479,6 @@ "com.amazonaws.iotwireless#McGroupId": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

Id of the multicast group.

", "smithy.api#range": { "min": 1, @@ -7533,7 +7553,6 @@ "com.amazonaws.iotwireless#MinGwDiversity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -7740,19 +7759,20 @@ "com.amazonaws.iotwireless#NumberOfDevicesInGroup": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

Number of devices that are associated to the multicast group.

" } }, "com.amazonaws.iotwireless#NumberOfDevicesRequested": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

Number of devices that are requested to be associated with the multicast group.

" } }, "com.amazonaws.iotwireless#NwkGeoLoc": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#NwkKey": { "type": "string", @@ -7899,7 +7919,6 @@ "com.amazonaws.iotwireless#PingSlotDr": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -7909,7 +7928,6 @@ "com.amazonaws.iotwireless#PingSlotFreq": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000000, "max": 16700000 @@ -7919,7 +7937,6 @@ "com.amazonaws.iotwireless#PingSlotPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 128, "max": 4096 @@ -8001,10 +8018,7 @@ } }, "com.amazonaws.iotwireless#PositionCoordinateValue": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.iotwireless#PositionResourceIdentifier": { "type": "string", @@ -8104,11 +8118,15 @@ } }, "com.amazonaws.iotwireless#PrAllowed": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#PresetFreq": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000000, "max": 16700000 @@ -8295,7 +8313,10 @@ } }, "com.amazonaws.iotwireless#RaAllowed": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#RegParamsRevision": { "type": "string", @@ -8307,10 +8328,16 @@ } }, "com.amazonaws.iotwireless#ReportDevStatusBattery": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#ReportDevStatusMargin": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#ResetAllResourceLogLevels": { "type": "operation", @@ -8484,7 +8511,6 @@ "com.amazonaws.iotwireless#RxDataRate2": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -8494,7 +8520,6 @@ "com.amazonaws.iotwireless#RxDelay1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 15 @@ -8504,7 +8529,6 @@ "com.amazonaws.iotwireless#RxDrOffset1": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 7 @@ -8514,7 +8538,6 @@ "com.amazonaws.iotwireless#RxFreq2": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1000000, "max": 16700000 @@ -8727,7 +8750,6 @@ "com.amazonaws.iotwireless#Seq": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 16383 @@ -8849,7 +8871,6 @@ "com.amazonaws.iotwireless#SessionTimeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

How long before a multicast group session is to timeout.

", "smithy.api#range": { "min": 60, @@ -9348,6 +9369,7 @@ "com.amazonaws.iotwireless#SubBand": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A subset of supported frequency channels in a certain RFRegion.

", "smithy.api#range": { "min": 1, @@ -9393,20 +9415,26 @@ } }, "com.amazonaws.iotwireless#Supports32BitFCnt": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#SupportsClassB": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotwireless#SupportsClassC": { - "type": "boolean" - }, - "com.amazonaws.iotwireless#SupportsJoin": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iotwireless#SupportsJoin": { + "type": "boolean" + }, "com.amazonaws.iotwireless#Tag": { "type": "structure", "members": { @@ -9536,6 +9564,7 @@ "com.amazonaws.iotwireless#TargetPer": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -9652,7 +9681,6 @@ "com.amazonaws.iotwireless#TransmissionInterval": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 604800 @@ -9662,7 +9690,6 @@ "com.amazonaws.iotwireless#TransmitMode": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -9672,7 +9699,6 @@ "com.amazonaws.iotwireless#UlBucketSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -9682,7 +9708,6 @@ "com.amazonaws.iotwireless#UlRate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -10667,7 +10692,6 @@ "com.amazonaws.iotwireless#VerticalAccuracy": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -11217,21 +11241,6 @@ }, "com.amazonaws.iotwireless#iotwireless": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT Wireless", - "arnNamespace": "iotwireless", - "cloudFormationName": "IoTWireless", - "cloudTrailEventSource": "iotwireless.amazonaws.com", - "endpointPrefix": "api.iotwireless" - }, - "aws.auth#sigv4": { - "name": "iotwireless" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AWS IoT Wireless provides bi-directional communication between internet-connected wireless\n\t devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the \n\t IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN) \n\t communication protocol to communicate with AWS IoT.

\n\t

Using the API, you can perform create, read, update, and delete operations for your wireless\n\t devices, gateways, destinations, and profiles. After onboarding your devices, you \n\t can use the API operations to set log levels and monitor your devices with CloudWatch.

\n\t

You can also use the API operations to create multicast groups and schedule a multicast session for\n\t sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air\n\t (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware\n\t of individual devices or an entire group of devices in a multicast group.

", - "smithy.api#title": "AWS IoT Wireless" - }, "version": "2020-11-22", "operations": [ { @@ -11528,7 +11537,22 @@ { "target": "com.amazonaws.iotwireless#UpdateWirelessGateway" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT Wireless", + "arnNamespace": "iotwireless", + "cloudFormationName": "IoTWireless", + "cloudTrailEventSource": "iotwireless.amazonaws.com", + "endpointPrefix": "api.iotwireless" + }, + "aws.auth#sigv4": { + "name": "iotwireless" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

AWS IoT Wireless provides bi-directional communication between internet-connected wireless\n\t devices and the AWS Cloud. To onboard both LoRaWAN and Sidewalk devices to AWS IoT, use the \n\t IoT Wireless API. These wireless devices use the Low Power Wide Area Networking (LPWAN) \n\t communication protocol to communicate with AWS IoT.

\n\t

Using the API, you can perform create, read, update, and delete operations for your wireless\n\t devices, gateways, destinations, and profiles. After onboarding your devices, you \n\t can use the API operations to set log levels and monitor your devices with CloudWatch.

\n\t

You can also use the API operations to create multicast groups and schedule a multicast session for\n\t sending a downlink message to devices in the group. By using Firmware Updates Over-The-Air\n\t (FUOTA) API operations, you can create a FUOTA task and schedule a session to update the firmware\n\t of individual devices or an entire group of devices in a multicast group.

", + "smithy.api#title": "AWS IoT Wireless" + } } } } diff --git a/codegen/sdk/aws-models/iot.json b/codegen/sdk/aws-models/iot.json index 5f732b495b9..35eaccaedf3 100644 --- a/codegen/sdk/aws-models/iot.json +++ b/codegen/sdk/aws-models/iot.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.iot#AWSIotService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoT", - "arnNamespace": "iot", - "cloudFormationName": "IoT", - "cloudTrailEventSource": "iot.amazonaws.com", - "endpointPrefix": "iot" - }, - "aws.auth#sigv4": { - "name": "execute-api" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "IoT\n

IoT provides secure, bi-directional communication between Internet-connected\n devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services\n cloud. You can discover your custom IoT-Data endpoint to communicate with, configure\n rules for data processing and integration with other services, organize resources\n associated with each device (Registry), configure logging, and create and manage\n policies and credentials to authenticate devices.

\n

The service endpoints that expose this API are listed in\n Amazon Web Services IoT Core Endpoints and Quotas.\n You must use the endpoint for the region that has the resources you want to access.

\n

The service name used by Amazon Web Services\n Signature Version 4 to sign the request is:\n execute-api.

\n

For more information about how IoT works, see the Developer\n Guide.

\n

For information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.

", - "smithy.api#title": "AWS IoT" - }, "version": "2015-05-28", "operations": [ { @@ -759,7 +744,22 @@ { "target": "com.amazonaws.iot#ValidateSecurityProfileBehaviors" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoT", + "arnNamespace": "iot", + "cloudFormationName": "IoT", + "cloudTrailEventSource": "iot.amazonaws.com", + "endpointPrefix": "iot" + }, + "aws.auth#sigv4": { + "name": "execute-api" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "IoT\n

IoT provides secure, bi-directional communication between Internet-connected\n devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services\n cloud. You can discover your custom IoT-Data endpoint to communicate with, configure\n rules for data processing and integration with other services, organize resources\n associated with each device (Registry), configure logging, and create and manage\n policies and credentials to authenticate devices.

\n

The service endpoints that expose this API are listed in\n Amazon Web Services IoT Core Endpoints and Quotas.\n You must use the endpoint for the region that has the resources you want to access.

\n

The service name used by Amazon Web Services\n Signature Version 4 to sign the request is:\n execute-api.

\n

For more information about how IoT works, see the Developer\n Guide.

\n

For information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.

", + "smithy.api#title": "AWS IoT" + } }, "com.amazonaws.iot#AbortAction": { "type": "string", @@ -837,7 +837,6 @@ "com.amazonaws.iot#AbortThresholdPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } @@ -897,6 +896,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the certificate is active.

", "smithy.api#httpQuery": "setAsActive" } @@ -1290,6 +1290,7 @@ "overrideDynamicGroups": { "target": "com.amazonaws.iot#OverrideDynamicGroups", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Override dynamic thing groups with static thing groups when 10-group limit is\n\t\t\treached. If a thing belongs to 10 thing groups, and one or more of those groups are\n\t\t\tdynamic thing groups, adding a thing to a static group removes the thing from the last\n\t\t\tdynamic group.

" } } @@ -1455,10 +1456,16 @@ } }, "com.amazonaws.iot#AllowAuthorizerOverride": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#AllowAutoRegistration": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#Allowed": { "type": "structure", @@ -1475,13 +1482,13 @@ } }, "com.amazonaws.iot#ApproximateSecondsBeforeTimedOut": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#AscendingOrder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#AssetId": { "type": "string" @@ -1989,6 +1996,7 @@ "merge": { "target": "com.amazonaws.iot#Flag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the list of attributes provided in the AttributePayload is merged with\n\t\t\tthe attributes stored in the registry, instead of overwriting them.

\n\t\t

To remove an attribute, call UpdateThing with an empty attribute value.

\n\t\t \n\t\t\t

The merge attribute is only valid when calling UpdateThing or UpdateThingGroup.

\n\t\t
" } } @@ -2031,6 +2039,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if this audit check is enabled for this account.

" } } @@ -2505,6 +2514,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if notifications to the target are enabled.

" } } @@ -2774,7 +2784,7 @@ "allowAuthorizerOverride": { "target": "com.amazonaws.iot#AllowAuthorizerOverride", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

A Boolean that specifies whether the domain configuration's authorization service can be overridden.

" } } @@ -2928,7 +2938,10 @@ } }, "com.amazonaws.iot#Average": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#AwsAccountId": { "type": "string", @@ -3017,7 +3030,6 @@ "com.amazonaws.iot#AwsJobAbortCriteriaAbortThresholdPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } @@ -3060,7 +3072,6 @@ "com.amazonaws.iot#AwsJobAbortCriteriaMinimumNumberOfExecutedThings": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3099,6 +3110,7 @@ "incrementFactor": { "target": "com.amazonaws.iot#AwsJobRolloutIncrementFactor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rate of increase for a job rollout. The number of things notified is multiplied by this \n factor.

", "smithy.api#required": {} } @@ -3152,19 +3164,20 @@ "com.amazonaws.iot#AwsJobRateIncreaseCriteriaNumberOfThings": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.iot#AwsJobRolloutIncrementFactor": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#AwsJobRolloutRatePerMinute": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3186,16 +3199,10 @@ } }, "com.amazonaws.iot#AwsJobTimeoutInProgressTimeoutInMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#BatchMode": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Behavior": { "type": "structure", @@ -3448,19 +3455,16 @@ } }, "com.amazonaws.iot#Boolean": { - "type": "boolean" - }, - "com.amazonaws.iot#BooleanKey": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#BooleanKey": { + "type": "boolean" + }, "com.amazonaws.iot#BooleanWrapperObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Bucket": { "type": "structure", @@ -3474,6 +3478,7 @@ "count": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of documents that have the value counted for the particular bucket.

" } } @@ -3945,6 +3950,7 @@ "force": { "target": "com.amazonaws.iot#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Optional) If true the job execution will be canceled if it has status \n IN_PROGRESS or QUEUED, otherwise the job execution will be canceled only if it has status \n QUEUED. If you attempt to cancel a job execution that is IN_PROGRESS, and you do not set \n force to true, then an InvalidStateTransitionException \n will be thrown. The default is false.

\n

Canceling a job execution which is \"IN_PROGRESS\", will cause the device to be unable \n to update the job execution status. Use caution and ensure that the device is able to \n recover to a valid state.

", "smithy.api#httpQuery": "force" } @@ -3989,6 +3995,7 @@ "force": { "target": "com.amazonaws.iot#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Optional) If true job executions with status \"IN_PROGRESS\" and \"QUEUED\" \n are canceled, otherwise only job executions with status \"QUEUED\" are canceled. The default \n is false.

\n

Canceling a job which is \"IN_PROGRESS\", will cause a device which is executing \n the job to be unable to update the job execution status. Use caution and ensure that each \n device executing a job which is canceled is able to recover to a valid state.

", "smithy.api#httpQuery": "force" } @@ -4019,22 +4026,13 @@ } }, "com.amazonaws.iot#CanceledChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#CanceledFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#CanceledThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#CannedAccessControlList": { "type": "string", @@ -4369,10 +4367,7 @@ "type": "string" }, "com.amazonaws.iot#CheckCompliant": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Cidr": { "type": "string", @@ -4688,10 +4683,7 @@ } }, "com.amazonaws.iot#CompliantChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#ConfidenceLevel": { "type": "string", @@ -4718,6 +4710,7 @@ "Enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True to enable the configuration.

" } } @@ -4816,15 +4809,11 @@ } }, "com.amazonaws.iot#ConnectivityTimestamp": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ConsecutiveDatapointsToAlarm": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4834,7 +4823,6 @@ "com.amazonaws.iot#ConsecutiveDatapointsToClear": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -4842,7 +4830,10 @@ } }, "com.amazonaws.iot#Count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#CreateAuditSuppression": { "type": "operation", @@ -5164,6 +5155,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the certificate is active.

", "smithy.api#httpQuery": "setAsActive" } @@ -6070,6 +6062,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the certificate is active.

", "smithy.api#httpQuery": "setAsActive" } @@ -6526,6 +6519,7 @@ "setAsDefault": { "target": "com.amazonaws.iot#SetAsDefault", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the policy version is set as the default. When this parameter is\n true, the new policy version becomes the operative version (that is, the version that is in\n effect for the certificates to which the policy is attached).

", "smithy.api#httpQuery": "setAsDefault" } @@ -6559,6 +6553,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the policy version is the default.

" } } @@ -6709,6 +6704,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True to enable the provisioning template, otherwise false.

" } }, @@ -6823,6 +6819,7 @@ "setAsDefault": { "target": "com.amazonaws.iot#SetAsDefault", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets a fleet provision template version as the default version.

", "smithy.api#httpQuery": "setAsDefault" } @@ -6853,6 +6850,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the provisioning template version is the default version, otherwise\n false.

" } } @@ -7658,7 +7656,6 @@ "com.amazonaws.iot#CredentialDurationSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 43200 @@ -7736,7 +7733,6 @@ "com.amazonaws.iot#CustomerVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -7745,7 +7741,6 @@ "com.amazonaws.iot#DataCollectionPercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -7833,6 +7828,7 @@ "deleteScheduledAudits": { "target": "com.amazonaws.iot#DeleteScheduledAudits", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, all scheduled audits are deleted.

", "smithy.api#httpQuery": "deleteScheduledAudits" } @@ -7844,10 +7840,16 @@ "members": {} }, "com.amazonaws.iot#DeleteAdditionalMetricsToRetain": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteAlertTargets": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteAuditSuppression": { "type": "operation", @@ -7956,7 +7958,10 @@ "members": {} }, "com.amazonaws.iot#DeleteBehaviors": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteBillingGroup": { "type": "operation", @@ -8133,6 +8138,7 @@ "forceDelete": { "target": "com.amazonaws.iot#ForceDelete", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Forces the deletion of a certificate if it is inactive and is not attached to an IoT\n thing.

", "smithy.api#httpQuery": "forceDelete" } @@ -8515,6 +8521,7 @@ "force": { "target": "com.amazonaws.iot#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Optional) When true, you can delete a job execution which is \"IN_PROGRESS\". Otherwise, \n you can only delete a job execution which is in a terminal state (\"SUCCEEDED\", \"FAILED\",\n \"REJECTED\", \"REMOVED\" or \"CANCELED\") or an exception will occur. The default is false.

\n \n

Deleting a job execution which is \"IN_PROGRESS\", will cause the device \n to be unable to access job information or update the job execution status.\n Use caution and ensure that the device is able to recover to a valid state.

\n
", "smithy.api#httpQuery": "force" } @@ -8542,6 +8549,7 @@ "force": { "target": "com.amazonaws.iot#ForceFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Optional) When true, you can delete a job which is \"IN_PROGRESS\". Otherwise, you can\n only delete a job which is in a terminal state (\"COMPLETED\" or \"CANCELED\") or an exception \n will occur. The default is false.

\n \n

Deleting a job which is \"IN_PROGRESS\", will cause a device which is executing \n the job to be unable to access job information or update the job execution status.\n Use caution and ensure that each device executing a job which is deleted is able to recover to \n a valid state.

\n
", "smithy.api#httpQuery": "force" } @@ -8698,6 +8706,7 @@ "deleteStream": { "target": "com.amazonaws.iot#DeleteStream_", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted.\n Ignored if the stream specified in the OTAUpdate is supplied by the user.

", "smithy.api#httpQuery": "deleteStream" } @@ -8705,6 +8714,7 @@ "forceDeleteAWSJob": { "target": "com.amazonaws.iot#ForceDeleteAWSJob", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, deletes the IoT job created by the OTAUpdate process even if it is \"IN_PROGRESS\". Otherwise, if the \n job is not in a terminal state (\"COMPLETED\" or \"CANCELED\") an exception will occur. The default is false.

", "smithy.api#httpQuery": "forceDeleteAWSJob" } @@ -9111,7 +9121,10 @@ "members": {} }, "com.amazonaws.iot#DeleteScheduledAudits": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteSecurityProfile": { "type": "operation", @@ -9226,7 +9239,10 @@ "members": {} }, "com.amazonaws.iot#DeleteStream_": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DeleteThing": { "type": "operation", @@ -9637,6 +9653,7 @@ "undoDeprecate": { "target": "com.amazonaws.iot#UndoDeprecate", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can\n\t\t\tassociate it with things.

" } } @@ -10141,6 +10158,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the billing group.

" } }, @@ -10918,6 +10936,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the fleet metric.

" } }, @@ -11526,6 +11545,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the provisioning template is enabled, otherwise false.

" } }, @@ -11628,6 +11648,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the provisioning template version is the default version.

" } } @@ -11874,6 +11895,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the security profile. A new version is generated whenever the\n security profile is updated.

" } }, @@ -12057,6 +12079,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the thing group.

" } }, @@ -12205,18 +12228,21 @@ "successCount": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of things successfully provisioned.

" } }, "failureCount": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of things that failed to be provisioned.

" } }, "percentageProgress": { "target": "com.amazonaws.iot#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The progress of the bulk provisioning task expressed as a percentage.

" } } @@ -12280,6 +12306,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the thing record in the registry.

\n\t\t \n\t\t\t

To avoid unintentional changes to the information in the registry, you can pass\n\t\t\t\tthe version information in the expectedVersion parameter of the\n\t\t\t\t\tUpdateThing and DeleteThing calls.

\n\t\t
" } }, @@ -12858,12 +12885,14 @@ "onlyActiveViolationsIncluded": { "target": "com.amazonaws.iot#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n Includes only active violations.\n

" } }, "suppressedAlertsIncluded": { "target": "com.amazonaws.iot#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n Includes suppressed alerts.\n

" } }, @@ -13030,7 +13059,10 @@ } }, "com.amazonaws.iot#DisableAllLogs": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#DisableTopicRule": { "type": "operation", @@ -13115,6 +13147,7 @@ "optional": { "target": "com.amazonaws.iot#Optional", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a pattern that needs to be replaced in a managed template job document \n schema is optional or required.

" } } @@ -13219,10 +13252,7 @@ } }, "com.amazonaws.iot#DurationSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#DynamicGroupStatus": { "type": "string", @@ -13446,10 +13476,7 @@ "type": "string" }, "com.amazonaws.iot#EnableCachingForHttp": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#EnableIoTLoggingParams": { "type": "structure", @@ -13524,7 +13551,10 @@ } }, "com.amazonaws.iot#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#EndpointAddress": { "type": "string" @@ -13662,21 +13692,14 @@ "type": "string" }, "com.amazonaws.iot#ExecutionNumber": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ExpectedVersion": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ExpiresInSec": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 3600 @@ -13684,10 +13707,7 @@ } }, "com.amazonaws.iot#ExpiresInSeconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#ExplicitDeny": { "type": "structure", @@ -13716,6 +13736,7 @@ "incrementFactor": { "target": "com.amazonaws.iot#IncrementFactor", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The exponential factor to increase the rate of rollout for a job.

\n

Amazon Web Services IoT Core supports up to one digit after the decimal (for example, 1.5, but not 1.55).

", "smithy.api#required": {} } @@ -13733,22 +13754,13 @@ } }, "com.amazonaws.iot#FailedChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#FailedFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#FailedThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#Field": { "type": "structure", @@ -13801,7 +13813,6 @@ "com.amazonaws.iot#FileId": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 255 @@ -13834,7 +13845,6 @@ "com.amazonaws.iot#FileType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 255 @@ -13904,7 +13914,10 @@ } }, "com.amazonaws.iot#Flag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#FleetMetricArn": { "type": "string" @@ -13958,7 +13971,6 @@ "com.amazonaws.iot#FleetMetricPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 @@ -14081,20 +14093,26 @@ } }, "com.amazonaws.iot#ForceDelete": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#ForceDeleteAWSJob": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#ForceFlag": { - "type": "boolean" - }, - "com.amazonaws.iot#Forced": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#Forced": { + "type": "boolean" + }, "com.amazonaws.iot#FunctionArn": { "type": "string" }, @@ -14102,10 +14120,7 @@ "type": "string" }, "com.amazonaws.iot#GenericLongValue": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#GetBehaviorModelTrainingSummaries": { "type": "operation", @@ -14277,6 +14292,7 @@ "totalCount": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of things that fit the query string criteria.

" } }, @@ -14370,6 +14386,7 @@ "cardinality": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The approximate count of unique values that match the query.

" } } @@ -14963,6 +14980,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the policy version is the default.

" } }, @@ -15303,6 +15321,7 @@ "disableAllLogs": { "target": "com.amazonaws.iot#DisableAllLogs", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Disables all logs.

" } } @@ -15547,26 +15566,18 @@ } }, "com.amazonaws.iot#InProgressChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#InProgressThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#InProgressTimeoutInMinutes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#IncrementFactor": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1.1, "max": 5 @@ -15864,25 +15875,19 @@ } }, "com.amazonaws.iot#IsAuthenticated": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } - }, - "com.amazonaws.iot#IsDefaultVersion": { "type": "boolean" }, - "com.amazonaws.iot#IsDisabled": { + "com.amazonaws.iot#IsDefaultVersion": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#IsDisabled": { + "type": "boolean" + }, "com.amazonaws.iot#IsSuppressed": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Job": { "type": "structure", @@ -16115,6 +16120,7 @@ "versionNumber": { "target": "com.amazonaws.iot#VersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the job execution. Job execution versions are incremented each time they are updated\n by a device.

" } }, @@ -16701,7 +16707,6 @@ "com.amazonaws.iot#LaserMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -16898,6 +16903,7 @@ "recursive": { "target": "com.amazonaws.iot#Recursive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, recursively list attached policies.

", "smithy.api#httpQuery": "recursive" } @@ -17017,6 +17023,7 @@ "listSuppressedFindings": { "target": "com.amazonaws.iot#ListSuppressedFindings", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n Boolean flag indicating whether only the suppressed findings or the unsuppressed findings should be listed. If this parameter isn't provided, the response will list both suppressed and unsuppressed findings.\n

" } } @@ -17285,6 +17292,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n Determines whether suppressions are listed in ascending order by expiration date or not. If parameter isn't provided, ascendingOrder=true.\n

" } }, @@ -17479,6 +17487,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Return the list of authorizers in ascending alphabetical order.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -17649,6 +17658,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines the order of the results.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -17793,6 +17803,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the order for results. If True, the results are returned in ascending\n order, based on the creation date.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -17842,6 +17853,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the order for results. If True, the results are returned in ascending\n order, based on the creation date.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19218,6 +19230,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the order for results. If True, the results are returned in ascending\n order, based on the creation date.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19307,6 +19320,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the order for results. If true, the results are returned in ascending\n creation order.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19408,6 +19422,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the order for results. If true, the results are returned in ascending\n creation order.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19576,6 +19591,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the order for results. If true, results are returned in ascending creation\n order.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -19915,6 +19931,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Return the list of role aliases in ascending alphabetical order.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -20102,6 +20119,7 @@ "recursive": { "target": "com.amazonaws.iot#Recursive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, return child groups too.

", "smithy.api#httpQuery": "recursive" } @@ -20243,6 +20261,7 @@ "ascendingOrder": { "target": "com.amazonaws.iot#AscendingOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to return the list of streams in ascending order.

", "smithy.api#httpQuery": "isAscendingOrder" } @@ -20267,14 +20286,14 @@ } }, "com.amazonaws.iot#ListSuppressedAlerts": { + "type": "boolean" + }, + "com.amazonaws.iot#ListSuppressedFindings": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.iot#ListSuppressedFindings": { - "type": "boolean" - }, "com.amazonaws.iot#ListTagsForResource": { "type": "operation", "input": { @@ -21223,6 +21242,7 @@ "recursive": { "target": "com.amazonaws.iot#Recursive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, list things in this thing group and in all child groups as\n\t\t\twell.

", "smithy.api#httpQuery": "recursive" } @@ -21301,6 +21321,7 @@ "usePrefixAttributeValue": { "target": "com.amazonaws.iot#usePrefixAttributeValue", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, the action returns the thing resources with attribute values\n that start with the attributeValue provided.

\n

When false, or not present, the action returns only the thing\n\t\t\tresources with attribute values that match the entire attributeValue\n\t\t\tprovided.

", "smithy.api#httpQuery": "usePrefixAttributeValue" } @@ -21925,6 +21946,7 @@ "com.amazonaws.iot#MaxBuckets": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10000 @@ -21934,7 +21956,6 @@ "com.amazonaws.iot#MaxJobExecutionsPerMin": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -21943,7 +21964,6 @@ "com.amazonaws.iot#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -21951,12 +21971,14 @@ } }, "com.amazonaws.iot#Maximum": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#MaximumPerMinute": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -22126,12 +22148,14 @@ } }, "com.amazonaws.iot#Minimum": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#MinimumNumberOfExecutedThings": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -22438,10 +22462,7 @@ "type": "string" }, "com.amazonaws.iot#NonCompliantChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#NonCompliantResource": { "type": "structure", @@ -22470,10 +22491,7 @@ } }, "com.amazonaws.iot#NonCompliantResourcesCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#NotConfiguredException": { "type": "structure", @@ -22492,16 +22510,10 @@ } }, "com.amazonaws.iot#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#Number": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iot#NumberList": { "type": "list", @@ -22512,7 +22524,6 @@ "com.amazonaws.iot#NumberOfRetries": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 10 @@ -22522,7 +22533,6 @@ "com.amazonaws.iot#NumberOfThings": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -22816,14 +22826,14 @@ } }, "com.amazonaws.iot#Optional": { - "type": "boolean" - }, - "com.amazonaws.iot#OptionalVersion": { - "type": "long", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#OptionalVersion": { + "type": "long" + }, "com.amazonaws.iot#OutgoingCertificate": { "type": "structure", "members": { @@ -22875,12 +22885,14 @@ } }, "com.amazonaws.iot#OverrideDynamicGroups": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -22954,6 +22966,7 @@ "com.amazonaws.iot#Percent": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -22972,12 +22985,14 @@ "percent": { "target": "com.amazonaws.iot#Percent", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentile.

" } }, "value": { "target": "com.amazonaws.iot#PercentValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the percentile.

" } } @@ -22987,11 +23002,15 @@ } }, "com.amazonaws.iot#PercentValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#Percentage": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -23100,6 +23119,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the policy version is the default.

" } }, @@ -23149,7 +23169,6 @@ "com.amazonaws.iot#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -23186,7 +23205,10 @@ } }, "com.amazonaws.iot#PrimitiveBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#Principal": { "type": "string" @@ -23318,6 +23340,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the fleet provision template is enabled, otherwise false.

" } }, @@ -23356,6 +23379,7 @@ "isDefaultVersion": { "target": "com.amazonaws.iot#IsDefaultVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the provisioning template version is the default version, otherwise\n false.

" } } @@ -23522,7 +23546,6 @@ "com.amazonaws.iot#Qos": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -23532,7 +23555,6 @@ "com.amazonaws.iot#QueryMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -23554,10 +23576,7 @@ "type": "string" }, "com.amazonaws.iot#QueuedThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#RangeKeyField": { "type": "string" @@ -23614,14 +23633,14 @@ } }, "com.amazonaws.iot#Recursive": { - "type": "boolean" - }, - "com.amazonaws.iot#RecursiveWithoutDefault": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#RecursiveWithoutDefault": { + "type": "boolean" + }, "com.amazonaws.iot#Regex": { "type": "string" }, @@ -23693,6 +23712,7 @@ "setAsActive": { "target": "com.amazonaws.iot#SetAsActive", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that specifies if the CA certificate is set to active.

\n

Valid values: ACTIVE | INACTIVE\n

", "smithy.api#httpQuery": "setAsActive" } @@ -23700,6 +23720,7 @@ "allowAutoRegistration": { "target": "com.amazonaws.iot#AllowAutoRegistration", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Allows this CA certificate to be used for auto registration of device\n certificates.

", "smithy.api#httpQuery": "allowAutoRegistration" } @@ -24056,7 +24077,6 @@ "com.amazonaws.iot#RegistryMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -24146,10 +24166,7 @@ } }, "com.amazonaws.iot#RejectedThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#RelatedResource": { "type": "structure", @@ -24184,17 +24201,20 @@ } }, "com.amazonaws.iot#RemoveAuthorizerConfig": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#RemoveAutoRegistration": { - "type": "boolean" - }, - "com.amazonaws.iot#RemoveHook": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#RemoveHook": { + "type": "boolean" + }, "com.amazonaws.iot#RemoveThingFromBillingGroup": { "type": "operation", "input": { @@ -24324,14 +24344,14 @@ "members": {} }, "com.amazonaws.iot#RemoveThingType": { - "type": "boolean" - }, - "com.amazonaws.iot#RemovedThings": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.iot#RemovedThings": { + "type": "integer" + }, "com.amazonaws.iot#ReplaceDefaultPolicyVersionParams": { "type": "structure", "members": { @@ -24648,10 +24668,7 @@ } }, "com.amazonaws.iot#RetryAttempt": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#RetryCriteria": { "type": "structure", @@ -24793,7 +24810,6 @@ "com.amazonaws.iot#RolloutRatePerMinute": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -25137,10 +25153,7 @@ } }, "com.amazonaws.iot#Seconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#SecurityGroupId": { "type": "string" @@ -25363,17 +25376,20 @@ } }, "com.amazonaws.iot#SetAsActive": { - "type": "boolean" - }, - "com.amazonaws.iot#SetAsActiveFlag": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.iot#SetAsDefault": { + "com.amazonaws.iot#SetAsActiveFlag": { "type": "boolean" }, + "com.amazonaws.iot#SetAsDefault": { + "type": "boolean", + "traits": { + "smithy.api#default": false + } + }, "com.amazonaws.iot#SetDefaultAuthorizer": { "type": "operation", "input": { @@ -25647,6 +25663,7 @@ "disableAllLogs": { "target": "com.amazonaws.iot#DisableAllLogs", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true all logs are disabled. The default is false.

" } } @@ -25733,15 +25750,11 @@ "type": "string" }, "com.amazonaws.iot#SkippedFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#SkyfallMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -26191,55 +26204,56 @@ "count": { "target": "com.amazonaws.iot#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of things that match the query string criteria and contain a valid aggregation field value.

" } }, "average": { "target": "com.amazonaws.iot#Average", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The average of the aggregated field values.

" } }, "sum": { "target": "com.amazonaws.iot#Sum", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The sum of the aggregated field values.

" } }, "minimum": { "target": "com.amazonaws.iot#Minimum", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The minimum aggregated field value.

" } }, "maximum": { "target": "com.amazonaws.iot#Maximum", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum aggregated field value.

" } }, "sumOfSquares": { "target": "com.amazonaws.iot#SumOfSquares", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The sum of the squares of the aggregated field values.

" } }, "variance": { "target": "com.amazonaws.iot#Variance", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The variance of the aggregated field values.

" } }, "stdDeviation": { "target": "com.amazonaws.iot#StdDeviation", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The standard deviation of the aggregated field values.

" } } @@ -26276,7 +26290,10 @@ } }, "com.amazonaws.iot#StdDeviation": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#StepFunctionsAction": { "type": "structure", @@ -26526,7 +26543,6 @@ "com.amazonaws.iot#StreamVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -26567,40 +26583,31 @@ } }, "com.amazonaws.iot#SucceededFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#SucceededThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#Sum": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#SumOfSquares": { - "type": "double" - }, - "com.amazonaws.iot#SuppressAlerts": { - "type": "boolean", + "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.iot#SuppressAlerts": { + "type": "boolean" + }, "com.amazonaws.iot#SuppressIndefinitely": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iot#SuppressedNonCompliantResourcesCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#TableName": { "type": "string" @@ -26935,10 +26942,7 @@ } }, "com.amazonaws.iot#TemplateVersionId": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#TermsAggregation": { "type": "structure", @@ -26946,6 +26950,7 @@ "maxBuckets": { "target": "com.amazonaws.iot#MaxBuckets", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of buckets to return in the response. Default to 10.

" } } @@ -27199,6 +27204,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the thing record in the registry.

" } } @@ -27219,6 +27225,7 @@ "connected": { "target": "com.amazonaws.iot#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the thing is connected to the Amazon Web Services IoT Core service; false if it is not\n connected.

" } }, @@ -27660,6 +27667,7 @@ "deprecated": { "target": "com.amazonaws.iot#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the thing type is deprecated. If true, no new things could be\n\t\t\tassociated with this type.

" } }, @@ -27727,10 +27735,7 @@ } }, "com.amazonaws.iot#TimedOutThings": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#TimeoutConfig": { "type": "structure", @@ -27868,7 +27873,6 @@ "com.amazonaws.iot#TinyMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -28054,7 +28058,6 @@ "com.amazonaws.iot#TopicRuleDestinationMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -28191,7 +28194,6 @@ "com.amazonaws.iot#TopicRuleMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -28245,22 +28247,13 @@ } }, "com.amazonaws.iot#TotalChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#TotalFindingsCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#TotalResourcesCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iot#TransferAlreadyCompletedException": { "type": "structure", @@ -28436,12 +28429,14 @@ } }, "com.amazonaws.iot#UndoDeprecate": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iot#UnsignedLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -28792,6 +28787,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latest version of the billing group.

" } } @@ -28883,6 +28879,7 @@ "removeAutoRegistration": { "target": "com.amazonaws.iot#RemoveAutoRegistration", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, removes auto registration.

" } } @@ -29220,6 +29217,7 @@ "removeAuthorizerConfig": { "target": "com.amazonaws.iot#RemoveAuthorizerConfig", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Removes the authorization configuration from a domain.

" } } @@ -29329,6 +29327,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The dynamic thing group version.

" } } @@ -29763,6 +29762,7 @@ "enabled": { "target": "com.amazonaws.iot#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True to enable the provisioning template, otherwise false.

" } }, @@ -30035,18 +30035,21 @@ "deleteBehaviors": { "target": "com.amazonaws.iot#DeleteBehaviors", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, delete all behaviors defined for this security profile. \n If any behaviors are defined in the current invocation, an exception occurs.

" } }, "deleteAlertTargets": { "target": "com.amazonaws.iot#DeleteAlertTargets", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, delete all alertTargets defined for this security profile. \n If any alertTargets are defined in the current invocation, an exception occurs.

" } }, "deleteAdditionalMetricsToRetain": { "target": "com.amazonaws.iot#DeleteAdditionalMetricsToRetain", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, delete all additionalMetricsToRetain defined for this \n security profile. If any additionalMetricsToRetain are defined in the current \n invocation, an exception occurs.

" } }, @@ -30110,6 +30113,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated version of the security profile.

" } }, @@ -30330,6 +30334,7 @@ "version": { "target": "com.amazonaws.iot#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the updated thing group.

" } } @@ -30390,6 +30395,7 @@ "overrideDynamicGroups": { "target": "com.amazonaws.iot#OverrideDynamicGroups", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Override dynamic thing groups with static thing groups when 10-group limit is\n\t\t\treached. If a thing belongs to 10 thing groups, and one or more of those groups are\n\t\t\tdynamic thing groups, adding a thing to a static group removes the thing from the last\n\t\t\tdynamic group.

" } } @@ -30431,6 +30437,7 @@ "removeThingType": { "target": "com.amazonaws.iot#RemoveThingType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Remove a thing type association. If true, the\n\t\t\tassociation is removed.

" } } @@ -30513,14 +30520,14 @@ } }, "com.amazonaws.iot#UseBase64": { + "type": "boolean" + }, + "com.amazonaws.iot#Valid": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.iot#Valid": { - "type": "boolean" - }, "com.amazonaws.iot#ValidateSecurityProfileBehaviors": { "type": "operation", "input": { @@ -30567,6 +30574,7 @@ "valid": { "target": "com.amazonaws.iot#Valid", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the behaviors were valid.

" } }, @@ -30609,7 +30617,10 @@ } }, "com.amazonaws.iot#Variance": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#VerificationState": { "type": "string", @@ -30645,7 +30656,10 @@ } }, "com.amazonaws.iot#Version": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#VersionConflictException": { "type": "structure", @@ -30664,7 +30678,10 @@ } }, "com.amazonaws.iot#VersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iot#VersionsLimitExceededException": { "type": "structure", @@ -30924,10 +30941,7 @@ "type": "string" }, "com.amazonaws.iot#WaitingForDataCollectionChecksCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iot#resourceId": { "type": "string" @@ -30936,7 +30950,10 @@ "type": "string" }, "com.amazonaws.iot#usePrefixAttributeValue": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/iotanalytics.json b/codegen/sdk/aws-models/iotanalytics.json index f86a2831022..ea9b9ce84fa 100644 --- a/codegen/sdk/aws-models/iotanalytics.json +++ b/codegen/sdk/aws-models/iotanalytics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -155,7 +155,6 @@ "com.amazonaws.iotanalytics#ActivityBatchSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -2087,6 +2086,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteChannelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2131,6 +2133,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteDatasetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2162,6 +2167,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteDatasetContentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2226,6 +2234,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeleteDatastoreRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2270,6 +2281,9 @@ "input": { "target": "com.amazonaws.iotanalytics#DeletePipelineRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -2394,6 +2408,7 @@ "includeStatistics": { "target": "com.amazonaws.iotanalytics#IncludeStatisticsFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, additional statistical information about the channel is included in the response.\n This feature can't be used with a channel whose S3 storage is customer-managed.

", "smithy.api#httpQuery": "includeStatistics" } @@ -2523,6 +2538,7 @@ "includeStatistics": { "target": "com.amazonaws.iotanalytics#IncludeStatisticsFlag", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, additional statistical information about the data store is included in the\n response. This feature can't be used with a data store whose S3 storage is\n customer-managed.

", "smithy.api#httpQuery": "includeStatistics" } @@ -2738,7 +2754,10 @@ } }, "com.amazonaws.iotanalytics#DoubleValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotanalytics#EndTime": { "type": "timestamp" @@ -2973,7 +2992,10 @@ } }, "com.amazonaws.iotanalytics#IncludeStatisticsFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#InternalFailureException": { "type": "structure", @@ -3646,7 +3668,10 @@ "type": "string" }, "com.amazonaws.iotanalytics#LoggingEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#LoggingLevel": { "type": "string", @@ -3679,6 +3704,7 @@ "enabled": { "target": "com.amazonaws.iotanalytics#LoggingEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, logging is enabled for IoT Analytics.

", "smithy.api#required": {} } @@ -3735,7 +3761,6 @@ "com.amazonaws.iotanalytics#MaxMessages": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -3745,7 +3770,6 @@ "com.amazonaws.iotanalytics#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -3755,7 +3779,6 @@ "com.amazonaws.iotanalytics#MaxVersions": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3819,10 +3842,7 @@ "type": "string" }, "com.amazonaws.iotanalytics#OffsetSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iotanalytics#OutputFileName": { "type": "string", @@ -4079,6 +4099,9 @@ "input": { "target": "com.amazonaws.iotanalytics#PutLoggingOptionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -4279,6 +4302,7 @@ "volumeSizeInGB": { "target": "com.amazonaws.iotanalytics#VolumeSizeInGB", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size, in GB, of the persistent storage available to the resource instance used to\n execute the containerAction (min: 1, max: 50).

", "smithy.api#required": {} } @@ -4307,6 +4331,7 @@ "unlimited": { "target": "com.amazonaws.iotanalytics#UnlimitedRetentionPeriod", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, message data is kept indefinitely.

" } }, @@ -4324,7 +4349,6 @@ "com.amazonaws.iotanalytics#RetentionPeriodInDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4655,7 +4679,6 @@ "com.amazonaws.iotanalytics#SessionTimeoutInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 60 @@ -4663,10 +4686,7 @@ } }, "com.amazonaws.iotanalytics#SizeInBytes": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotanalytics#SqlQuery": { "type": "string" @@ -4974,10 +4994,16 @@ } }, "com.amazonaws.iotanalytics#UnlimitedRetentionPeriod": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#UnlimitedVersioning": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotanalytics#UntagResource": { "type": "operation", @@ -5046,6 +5072,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdateChannelRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5102,6 +5131,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdateDatasetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5183,6 +5215,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdateDatastoreRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5245,6 +5280,9 @@ "input": { "target": "com.amazonaws.iotanalytics#UpdatePipelineRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.iotanalytics#InternalFailureException" @@ -5313,7 +5351,7 @@ "doubleValue": { "target": "com.amazonaws.iotanalytics#DoubleValue", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The value of the variable as a double (numeric).

" } }, @@ -5361,6 +5399,7 @@ "unlimited": { "target": "com.amazonaws.iotanalytics#UnlimitedVersioning", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, unlimited versions of dataset contents are kept.

" } }, @@ -5378,6 +5417,7 @@ "com.amazonaws.iotanalytics#VolumeSizeInGB": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/iotdeviceadvisor.json b/codegen/sdk/aws-models/iotdeviceadvisor.json index 077844bed4e..77fc67702de 100644 --- a/codegen/sdk/aws-models/iotdeviceadvisor.json +++ b/codegen/sdk/aws-models/iotdeviceadvisor.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -592,7 +592,10 @@ } }, "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotdeviceadvisor#InternalServerException": { "type": "structure", @@ -612,21 +615,6 @@ }, "com.amazonaws.iotdeviceadvisor#IotSenateService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IotDeviceAdvisor", - "arnNamespace": "iotdeviceadvisor", - "cloudFormationName": "IotDeviceAdvisor", - "cloudTrailEventSource": "iotdeviceadvisor.amazonaws.com", - "endpointPrefix": "api.iotdeviceadvisor" - }, - "aws.auth#sigv4": { - "name": "iotdeviceadvisor" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT\n devices during device software development. Device Advisor provides pre-built tests that you\n can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core\n before deploying devices to production. By using Device Advisor, you can confirm that your\n devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,\n receive software updates from IoT Device Management. You can also download signed\n qualification reports to submit to the Amazon Web Services Partner Network to get your device\n qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in\n and wait for it to be tested.

", - "smithy.api#title": "AWS IoT Core Device Advisor" - }, "version": "2020-09-18", "operations": [ { @@ -671,10 +659,28 @@ { "target": "com.amazonaws.iotdeviceadvisor#UpdateSuiteDefinition" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IotDeviceAdvisor", + "arnNamespace": "iotdeviceadvisor", + "cloudFormationName": "IotDeviceAdvisor", + "cloudTrailEventSource": "iotdeviceadvisor.amazonaws.com", + "endpointPrefix": "api.iotdeviceadvisor" + }, + "aws.auth#sigv4": { + "name": "iotdeviceadvisor" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Web Services IoT Core Device Advisor is a cloud-based, fully managed test capability for validating IoT\n devices during device software development. Device Advisor provides pre-built tests that you\n can use to validate IoT devices for reliable and secure connectivity with Amazon Web Services IoT Core\n before deploying devices to production. By using Device Advisor, you can confirm that your\n devices can connect to Amazon Web Services IoT Core, follow security best practices and, if applicable,\n receive software updates from IoT Device Management. You can also download signed\n qualification reports to submit to the Amazon Web Services Partner Network to get your device\n qualified for the Amazon Web Services Partner Device Catalog without the need to send your device in\n and wait for it to be tested.

", + "smithy.api#title": "AWS IoT Core Device Advisor" + } }, "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotdeviceadvisor#ListSuiteDefinitions": { "type": "operation", @@ -712,6 +718,7 @@ "maxResults": { "target": "com.amazonaws.iotdeviceadvisor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return at once.

", "smithy.api#httpQuery": "maxResults" } @@ -792,6 +799,7 @@ "maxResults": { "target": "com.amazonaws.iotdeviceadvisor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return at once.

", "smithy.api#httpQuery": "maxResults" } @@ -880,6 +888,7 @@ "com.amazonaws.iotdeviceadvisor#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -896,7 +905,10 @@ } }, "com.amazonaws.iotdeviceadvisor#ParallelRun": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotdeviceadvisor#Protocol": { "type": "string", @@ -1167,12 +1179,14 @@ "intendedForQualification": { "target": "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Gets the tests intended for qualification in a suite.

" } }, "isLongDurationTest": { "target": "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Verifies if the test suite is a long duration test.

" } }, @@ -1223,12 +1237,14 @@ "intendedForQualification": { "target": "com.amazonaws.iotdeviceadvisor#IntendedForQualificationBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the test suite is intended for qualification.

" } }, "isLongDurationTest": { "target": "com.amazonaws.iotdeviceadvisor#IsLongDurationTestBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Verifies if the test suite is a long duration test.

" } }, @@ -1291,6 +1307,7 @@ "parallelRun": { "target": "com.amazonaws.iotdeviceadvisor#ParallelRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

TRUE if multiple test suites run in parallel.

" } } @@ -1353,12 +1370,14 @@ "passed": { "target": "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of test cases that passed in the suite run.

" } }, "failed": { "target": "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of test cases that failed in the suite run.

" } } @@ -1370,6 +1389,7 @@ "com.amazonaws.iotdeviceadvisor#SuiteRunResultCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 500 diff --git a/codegen/sdk/aws-models/iotfleethub.json b/codegen/sdk/aws-models/iotfleethub.json index ed94d45deed..4f3965a2a07 100644 --- a/codegen/sdk/aws-models/iotfleethub.json +++ b/codegen/sdk/aws-models/iotfleethub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -140,12 +140,14 @@ "applicationCreationDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The date (in Unix epoch time) when the web application was created.

" } }, "applicationLastUpdateDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The date (in Unix epoch time) when the web application was last updated.

" } }, @@ -428,6 +430,7 @@ "applicationCreationDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The date (in Unix epoch time) when the application was created.

", "smithy.api#required": {} } @@ -435,6 +438,7 @@ "applicationLastUpdateDate": { "target": "com.amazonaws.iotfleethub#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The date (in Unix epoch time) when the application was last updated.

", "smithy.api#required": {} } @@ -786,7 +790,10 @@ } }, "com.amazonaws.iotfleethub#Timestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.iotfleethub#UntagResource": { "type": "operation", diff --git a/codegen/sdk/aws-models/iotfleetwise.json b/codegen/sdk/aws-models/iotfleetwise.json index 14a8e70ee67..be0d510b566 100644 --- a/codegen/sdk/aws-models/iotfleetwise.json +++ b/codegen/sdk/aws-models/iotfleetwise.json @@ -7319,4 +7319,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/iotsecuretunneling.json b/codegen/sdk/aws-models/iotsecuretunneling.json index caa781f3097..a88c250df9b 100644 --- a/codegen/sdk/aws-models/iotsecuretunneling.json +++ b/codegen/sdk/aws-models/iotsecuretunneling.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -99,7 +99,7 @@ "delete": { "target": "com.amazonaws.iotsecuretunneling#DeleteFlag", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

When set to true, IoT Secure Tunneling deletes the tunnel data\n\t\t\timmediately.

", "smithy.api#httpQuery": "delete" } @@ -149,7 +149,10 @@ "type": "timestamp" }, "com.amazonaws.iotsecuretunneling#DeleteFlag": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotsecuretunneling#DescribeTunnel": { "type": "operation", @@ -229,21 +232,6 @@ }, "com.amazonaws.iotsecuretunneling#IoTSecuredTunneling": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoTSecureTunneling", - "arnNamespace": "iotsecuredtunneling", - "cloudFormationName": "IoTSecureTunneling", - "cloudTrailEventSource": "iotsecuretunneling.amazonaws.com", - "endpointPrefix": "api.tunneling.iot" - }, - "aws.auth#sigv4": { - "name": "IoTSecuredTunneling" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "IoT Secure Tunneling\n\t\t

IoT Secure Tunneling creates remote connections to devices deployed in the\n\t\t\tfield.

\n\t\t

For more information about how IoT Secure Tunneling works, see IoT\n\t\t\t\tSecure Tunneling.

", - "smithy.api#title": "AWS IoT Secure Tunneling" - }, "version": "2018-10-05", "operations": [ { @@ -270,7 +258,22 @@ { "target": "com.amazonaws.iotsecuretunneling#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTSecureTunneling", + "arnNamespace": "iotsecuredtunneling", + "cloudFormationName": "IoTSecureTunneling", + "cloudTrailEventSource": "iotsecuretunneling.amazonaws.com", + "endpointPrefix": "api.tunneling.iot" + }, + "aws.auth#sigv4": { + "name": "IoTSecuredTunneling" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "IoT Secure Tunneling\n\t\t

IoT Secure Tunneling creates remote connections to devices deployed in the\n\t\t\tfield.

\n\t\t

For more information about how IoT Secure Tunneling works, see IoT\n\t\t\t\tSecure Tunneling.

", + "smithy.api#title": "AWS IoT Secure Tunneling" + } }, "com.amazonaws.iotsecuretunneling#LimitExceededException": { "type": "structure", @@ -370,7 +373,7 @@ "maxResults": { "target": "com.amazonaws.iotsecuretunneling#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return at once.

", "smithy.api#httpQuery": "maxResults" } @@ -404,6 +407,7 @@ "com.amazonaws.iotsecuretunneling#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -729,7 +733,7 @@ "maxLifetimeTimeoutMinutes": { "target": "com.amazonaws.iotsecuretunneling#TimeoutInMin", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum amount of time (in minutes) a tunnel can remain open. If not specified,\n\t\t\tmaxLifetimeTimeoutMinutes defaults to 720 minutes. Valid values are from 1 minute to 12\n\t\t\thours (720 minutes)

" } } @@ -741,6 +745,7 @@ "com.amazonaws.iotsecuretunneling#TimeoutInMin": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 720 diff --git a/codegen/sdk/aws-models/iotsitewise.json b/codegen/sdk/aws-models/iotsitewise.json index 6b881856c43..d2bb61d2a08 100644 --- a/codegen/sdk/aws-models/iotsitewise.json +++ b/codegen/sdk/aws-models/iotsitewise.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.iotsitewise#AWSIoTSiteWise": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoTSiteWise", - "arnNamespace": "iotsitewise", - "cloudFormationName": "IoTSiteWise", - "cloudTrailEventSource": "iotsitewise.amazonaws.com", - "endpointPrefix": "iotsitewise" - }, - "aws.auth#sigv4": { - "name": "iotsitewise" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Welcome to the IoT SiteWise API Reference. IoT SiteWise is an Amazon Web Services service that connects Industrial Internet of Things (IIoT) devices to the power of the Amazon Web Services Cloud. For more information, see the\n IoT SiteWise User Guide. For information about IoT SiteWise quotas, see Quotas in the IoT SiteWise User Guide.

", - "smithy.api#title": "AWS IoT SiteWise" - }, "version": "2019-12-02", "operations": [ { @@ -271,7 +256,22 @@ { "target": "com.amazonaws.iotsitewise#UpdateProject" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTSiteWise", + "arnNamespace": "iotsitewise", + "cloudFormationName": "IoTSiteWise", + "cloudTrailEventSource": "iotsitewise.amazonaws.com", + "endpointPrefix": "iotsitewise" + }, + "aws.auth#sigv4": { + "name": "iotsitewise" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Welcome to the IoT SiteWise API Reference. IoT SiteWise is an Amazon Web Services service that connects Industrial Internet of Things (IIoT) devices to the power of the Amazon Web Services Cloud. For more information, see the\n IoT SiteWise User Guide. For information about IoT SiteWise quotas, see Quotas in the IoT SiteWise User Guide.

", + "smithy.api#title": "AWS IoT SiteWise" + } }, "com.amazonaws.iotsitewise#AccessPolicySummaries": { "type": "list", @@ -370,10 +370,7 @@ } }, "com.amazonaws.iotsitewise#AggregatedDoubleValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotsitewise#AggregatedValue": { "type": "structure", @@ -1874,7 +1871,6 @@ "com.amazonaws.iotsitewise#BatchGetAssetPropertyAggregatesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2332,7 +2328,6 @@ "com.amazonaws.iotsitewise#BatchGetAssetPropertyValueHistoryMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -7313,7 +7308,6 @@ "com.amazonaws.iotsitewise#IntervalInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 320000000 @@ -7323,7 +7317,6 @@ "com.amazonaws.iotsitewise#IntervalWindowInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 320000000 @@ -8672,7 +8665,6 @@ "com.amazonaws.iotsitewise#MaxInterpolatedResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8681,7 +8673,6 @@ "com.amazonaws.iotsitewise#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -8861,7 +8852,6 @@ "com.amazonaws.iotsitewise#NumberOfDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 30 } @@ -8879,7 +8869,6 @@ "com.amazonaws.iotsitewise#OffsetInNanos": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 999999999 @@ -9272,22 +9261,13 @@ } }, "com.amazonaws.iotsitewise#PropertyValueBooleanValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotsitewise#PropertyValueDoubleValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iotsitewise#PropertyValueIntegerValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iotsitewise#PropertyValueStringValue": { "type": "string" @@ -9921,7 +9901,6 @@ "com.amazonaws.iotsitewise#TimeInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 9223372036854774 @@ -10156,10 +10135,7 @@ } }, "com.amazonaws.iotsitewise#Unlimited": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iotsitewise#UntagResource": { "type": "operation", diff --git a/codegen/sdk/aws-models/iotthingsgraph.json b/codegen/sdk/aws-models/iotthingsgraph.json index 3b8c615786b..a879352257e 100644 --- a/codegen/sdk/aws-models/iotthingsgraph.json +++ b/codegen/sdk/aws-models/iotthingsgraph.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -620,7 +620,10 @@ } }, "com.amazonaws.iotthingsgraph#DeprecateExistingEntities": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotthingsgraph#DeprecateFlowTemplate": { "type": "operation", @@ -840,7 +843,10 @@ "members": {} }, "com.amazonaws.iotthingsgraph#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotthingsgraph#EntityDescription": { "type": "structure", @@ -1890,21 +1896,6 @@ }, "com.amazonaws.iotthingsgraph#IotThingsGraphFrontEndService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoTThingsGraph", - "arnNamespace": "iotthingsgraph", - "cloudFormationName": "IoTThingsGraph", - "cloudTrailEventSource": "iotthingsgraph.amazonaws.com", - "endpointPrefix": "iotthingsgraph" - }, - "aws.auth#sigv4": { - "name": "iotthingsgraph" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS IoT Things Graph\n

AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, \n such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services \n and defining how they interact at an abstract level.

\n

For more information about how AWS IoT Things Graph works, see the User Guide.

\n \n

The AWS IoT Things Graph service is discontinued.

", - "smithy.api#title": "AWS IoT Things Graph" - }, "version": "2018-09-06", "operations": [ { @@ -2012,7 +2003,22 @@ { "target": "com.amazonaws.iotthingsgraph#UploadEntityDefinitions" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTThingsGraph", + "arnNamespace": "iotthingsgraph", + "cloudFormationName": "IoTThingsGraph", + "cloudTrailEventSource": "iotthingsgraph.amazonaws.com", + "endpointPrefix": "iotthingsgraph" + }, + "aws.auth#sigv4": { + "name": "iotthingsgraph" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "AWS IoT Things Graph\n

AWS IoT Things Graph provides an integrated set of tools that enable developers to connect devices and services that use different standards, \n such as units of measure and communication protocols. AWS IoT Things Graph makes it possible to build IoT applications with little to no code by connecting devices and services \n and defining how they interact at an abstract level.

\n

For more information about how AWS IoT Things Graph works, see the User Guide.

\n \n

The AWS IoT Things Graph service is discontinued.

", + "smithy.api#title": "AWS IoT Things Graph" + } }, "com.amazonaws.iotthingsgraph#LimitExceededException": { "type": "structure", @@ -2182,7 +2188,6 @@ "com.amazonaws.iotthingsgraph#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 250 @@ -2195,6 +2200,7 @@ "cloudMetricEnabled": { "target": "com.amazonaws.iotthingsgraph#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean that specifies whether cloud metrics are collected.

" } }, @@ -2798,7 +2804,10 @@ } }, "com.amazonaws.iotthingsgraph#SyncWithPublicNamespace": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.iotthingsgraph#SystemInstanceDeploymentStatus": { "type": "string", @@ -3566,12 +3575,14 @@ "syncWithPublicNamespace": { "target": "com.amazonaws.iotthingsgraph#SyncWithPublicNamespace", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean that specifies whether to synchronize with the latest version of the public namespace. If set to true, the upload will create a new namespace version.

" } }, "deprecateExistingEntities": { "target": "com.amazonaws.iotthingsgraph#DeprecateExistingEntities", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean that specifies whether to deprecate all entities in the latest version before uploading the new DefinitionDocument. \n If set to true, the upload will create a new namespace version.

" } } @@ -3640,10 +3651,7 @@ } }, "com.amazonaws.iotthingsgraph#Version": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" } } } diff --git a/codegen/sdk/aws-models/iottwinmaker.json b/codegen/sdk/aws-models/iottwinmaker.json index ae1129673a8..232b3da15cd 100644 --- a/codegen/sdk/aws-models/iottwinmaker.json +++ b/codegen/sdk/aws-models/iottwinmaker.json @@ -1,23 +1,8 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.iottwinmaker#AWSIoTTwinMaker": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "IoTTwinMaker", - "arnNamespace": "awsiottwinmaker", - "cloudFormationName": "AWSIoTTwinMaker", - "cloudTrailEventSource": "awsiottwinmaker.amazonaws.com", - "endpointPrefix": "iottwinmaker" - }, - "aws.auth#sigv4": { - "name": "iottwinmaker" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

IoT TwinMaker is a service that enables you to build operational digital twins of\n physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,\n cameras, and enterprise applications so you can create data visualizations to monitor your\n physical factory, building, or industrial plant. You can use this real-world data to\n monitor operations and diagnose and repair errors.

", - "smithy.api#title": "AWS IoT TwinMaker" - }, "version": "2021-11-29", "operations": [ { @@ -98,7 +83,22 @@ { "target": "com.amazonaws.iottwinmaker#UpdateWorkspace" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "IoTTwinMaker", + "arnNamespace": "awsiottwinmaker", + "cloudFormationName": "AWSIoTTwinMaker", + "cloudTrailEventSource": "awsiottwinmaker.amazonaws.com", + "endpointPrefix": "iottwinmaker" + }, + "aws.auth#sigv4": { + "name": "iottwinmaker" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

IoT TwinMaker is a service that enables you to build operational digital twins of\n physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors,\n cameras, and enterprise applications so you can create data visualizations to monitor your\n physical factory, building, or industrial plant. You can use this real-world data to\n monitor operations and diagnose and repair errors.

", + "smithy.api#title": "AWS IoT TwinMaker" + } }, "com.amazonaws.iottwinmaker#AccessDeniedException": { "type": "structure", @@ -224,10 +224,7 @@ } }, "com.amazonaws.iottwinmaker#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.iottwinmaker#ComponentRequest": { "type": "structure", @@ -1359,10 +1356,7 @@ } }, "com.amazonaws.iottwinmaker#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.iottwinmaker#EntityId": { "type": "string", @@ -2454,10 +2448,7 @@ } }, "com.amazonaws.iottwinmaker#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.iottwinmaker#InternalServerException": { "type": "structure", @@ -2504,10 +2495,7 @@ } }, "com.amazonaws.iottwinmaker#IntervalInSeconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iottwinmaker#LambdaArn": { "type": "string", @@ -3010,15 +2998,11 @@ } }, "com.amazonaws.iottwinmaker#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.iottwinmaker#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 200 @@ -3532,9 +3516,12 @@ } }, "com.amazonaws.iottwinmaker#RequiredProperties": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.iottwinmaker#Name" + }, + "traits": { + "smithy.api#uniqueItems": {} } }, "com.amazonaws.iottwinmaker#ResourceNotFoundException": { @@ -4469,4 +4456,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/ivs.json b/codegen/sdk/aws-models/ivs.json index f3601cbd93e..cbcde9af618 100644 --- a/codegen/sdk/aws-models/ivs.json +++ b/codegen/sdk/aws-models/ivs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.ivs#AccessDeniedException": { "type": "structure", @@ -19,39 +19,6 @@ }, "com.amazonaws.ivs#AmazonInteractiveVideoService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ivs", - "arnNamespace": "ivs", - "cloudFormationName": "IVS", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE", - "endpointPrefix": "ivs" - }, - "aws.auth#sigv4": { - "name": "ivs" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "amz-sdk-invocation-id", - "amz-sdk-request", - "X-Api-Key", - "X-Amz-Content-Sha256", - "Content-Type", - "X-Amz-User-Agent" - ], - "additionalExposedHeaders": [ - "date", - "x-amz-apigw-id", - "x-amzn-trace-id", - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-errormessage" - ] - }, - "smithy.api#documentation": "

\n Introduction\n

\n

The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP\n API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both\n requests and responses, including errors.

\n

The API is an Amazon Web Services regional service. For a list of supported regions and\n Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the\n Amazon Web Services General Reference.

\n

\n \n All API request parameters and URLs are case sensitive.\n \n \n

\n

For a summary of notable documentation changes in each release, see Document\n History.

\n

\n Allowed Header Values\n

\n \n

\n Resources\n

\n

The following resources contain information about your IVS live stream (see Getting Started with\n Amazon IVS):

\n \n

\n Tagging\n

\n

A tag is a metadata label that you assign to an Amazon Web Services\n resource. A tag comprises a key and a value, both\n set by you. For example, you might set a tag as topic:nature to label a\n particular video category. See Tagging Amazon Web Services Resources for\n more information, including restrictions that apply to tags and \"Tag naming limits and\n requirements\"; Amazon IVS has no service-specific constraints beyond what is documented\n there.

\n

Tags can help you identify and organize your Amazon Web Services resources. For example,\n you can use the same tag for different resources to indicate that they are related. You can\n also use tags to manage access (see Access Tags).

\n

The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following\n resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording\n Configurations.

\n

At most 50 tags can be applied to a resource.

\n

\n Authentication versus Authorization\n

\n

Note the differences between these concepts:

\n \n

\n Authentication\n

\n

All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services\n Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying\n API calls for you. However, if your application calls the Amazon IVS API directly, it’s your\n responsibility to sign the requests.

\n

You generate a signature using valid Amazon Web Services credentials that have permission\n to perform the requested action. For example, you must sign PutMetadata requests with a\n signature generated from an IAM user account that has the ivs:PutMetadata\n permission.

\n

For more information:

\n \n

\n Amazon Resource Names (ARNs)\n

\n

ARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.

\n

\n Channel Endpoints\n

\n \n

\n StreamKey Endpoints\n

\n \n

\n Stream Endpoints\n

\n \n

\n PlaybackKeyPair Endpoints\n

\n

For more information, see Setting Up Private Channels in the\n Amazon IVS User Guide.

\n \n

\n RecordingConfiguration Endpoints\n

\n \n

\n Amazon Web Services Tags Endpoints\n

\n ", - "smithy.api#title": "Amazon Interactive Video Service" - }, "version": "2020-07-14", "operations": [ { @@ -138,7 +105,40 @@ { "target": "com.amazonaws.ivs#UpdateChannel" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ivs", + "arnNamespace": "ivs", + "cloudFormationName": "IVS", + "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE", + "endpointPrefix": "ivs" + }, + "aws.auth#sigv4": { + "name": "ivs" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "amz-sdk-invocation-id", + "amz-sdk-request", + "X-Api-Key", + "X-Amz-Content-Sha256", + "Content-Type", + "X-Amz-User-Agent" + ], + "additionalExposedHeaders": [ + "date", + "x-amz-apigw-id", + "x-amzn-trace-id", + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-errormessage" + ] + }, + "smithy.api#documentation": "

\n Introduction\n

\n

The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP\n API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both\n requests and responses, including errors.

\n

The API is an Amazon Web Services regional service. For a list of supported regions and\n Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the\n Amazon Web Services General Reference.

\n

\n \n All API request parameters and URLs are case sensitive.\n \n \n

\n

For a summary of notable documentation changes in each release, see Document\n History.

\n

\n Allowed Header Values\n

\n \n

\n Resources\n

\n

The following resources contain information about your IVS live stream (see Getting Started with\n Amazon IVS):

\n \n

\n Tagging\n

\n

A tag is a metadata label that you assign to an Amazon Web Services\n resource. A tag comprises a key and a value, both\n set by you. For example, you might set a tag as topic:nature to label a\n particular video category. See Tagging Amazon Web Services Resources for\n more information, including restrictions that apply to tags and \"Tag naming limits and\n requirements\"; Amazon IVS has no service-specific constraints beyond what is documented\n there.

\n

Tags can help you identify and organize your Amazon Web Services resources. For example,\n you can use the same tag for different resources to indicate that they are related. You can\n also use tags to manage access (see Access Tags).

\n

The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following\n resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording\n Configurations.

\n

At most 50 tags can be applied to a resource.

\n

\n Authentication versus Authorization\n

\n

Note the differences between these concepts:

\n \n

\n Authentication\n

\n

All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services\n Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying\n API calls for you. However, if your application calls the Amazon IVS API directly, it’s your\n responsibility to sign the requests.

\n

You generate a signature using valid Amazon Web Services credentials that have permission\n to perform the requested action. For example, you must sign PutMetadata requests with a\n signature generated from an IAM user account that has the ivs:PutMetadata\n permission.

\n

For more information:

\n \n

\n Amazon Resource Names (ARNs)\n

\n

ARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.

\n

\n Channel Endpoints\n

\n \n

\n StreamKey Endpoints\n

\n \n

\n Stream Endpoints\n

\n \n

\n PlaybackKeyPair Endpoints\n

\n

For more information, see Setting Up Private Channels in the\n Amazon IVS User Guide.

\n \n

\n RecordingConfiguration Endpoints\n

\n \n

\n Amazon Web Services Tags Endpoints\n

\n ", + "smithy.api#title": "Amazon Interactive Video Service" + } }, "com.amazonaws.ivs#AudioConfiguration": { "type": "structure", @@ -152,18 +152,21 @@ "targetBitrate": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expected ingest bitrate (bits per second). This is configured in the encoder.

" } }, "sampleRate": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of audio samples recorded per second.

" } }, "channels": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of audio channels.

" } } @@ -299,7 +302,10 @@ } }, "com.amazonaws.ivs#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ivs#Channel": { "type": "structure", @@ -349,6 +355,7 @@ "authorized": { "target": "com.amazonaws.ivs#IsAuthorized", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the channel is private (enabled for playback authorization). Default:\n false.

" } }, @@ -466,6 +473,7 @@ "authorized": { "target": "com.amazonaws.ivs#IsAuthorized", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the channel is private (enabled for playback authorization). Default:\n false.

" } }, @@ -581,6 +589,7 @@ "authorized": { "target": "com.amazonaws.ivs#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the channel is private (enabled for playback authorization). Default:\n false.

" } }, @@ -683,6 +692,7 @@ "recordingReconnectWindowSeconds": { "target": "com.amazonaws.ivs#RecordingReconnectWindowSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If a broadcast disconnects and then reconnects within the specified interval, the multiple\n streams will be considered a single broadcast and merged together. Default: 0.

" } } @@ -1375,7 +1385,10 @@ "type": "string" }, "com.amazonaws.ivs#Integer": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ivs#InternalServerException": { "type": "structure", @@ -1394,7 +1407,10 @@ } }, "com.amazonaws.ivs#IsAuthorized": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ivs#ListChannels": { "type": "operation", @@ -1454,6 +1470,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxChannelResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of channels to return. Default: 100.

" } } @@ -1520,6 +1537,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxPlaybackKeyPairResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of key pairs to return. Default: your service quota or 100, whichever is\n smaller.

" } } @@ -1589,6 +1607,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxRecordingConfigurationResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of recording configurations to return. Default: your service quota or 100,\n whichever is smaller.

" } } @@ -1665,6 +1684,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxStreamKeyResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of streamKeys to return. Default: 1.

" } } @@ -1741,6 +1761,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxStreamResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of streams to return. Default: 100.

" } } @@ -1813,6 +1834,7 @@ "maxResults": { "target": "com.amazonaws.ivs#MaxStreamResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of streams to return. Default: 100.

" } } @@ -1893,6 +1915,7 @@ "com.amazonaws.ivs#MaxChannelResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1902,6 +1925,7 @@ "com.amazonaws.ivs#MaxPlaybackKeyPairResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1911,6 +1935,7 @@ "com.amazonaws.ivs#MaxRecordingConfigurationResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1920,6 +1945,7 @@ "com.amazonaws.ivs#MaxStreamKeyResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -1929,6 +1955,7 @@ "com.amazonaws.ivs#MaxStreamResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2151,6 +2178,7 @@ "recordingReconnectWindowSeconds": { "target": "com.amazonaws.ivs#RecordingReconnectWindowSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If a broadcast disconnects and then reconnects within the specified interval, the multiple\n streams will be considered a single broadcast and merged together. Default: 0.

" } } @@ -2263,6 +2291,7 @@ "com.amazonaws.ivs#RecordingReconnectWindowSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 300 @@ -2428,6 +2457,7 @@ "viewerCount": { "target": "com.amazonaws.ivs#StreamViewerCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A count of concurrent views of the stream. Typically, a new view appears in\n viewerCount within 15 seconds of when video playback starts and a view is\n removed from viewerCount within 1 minute of when video playback ends. A value of\n -1 indicates that the request timed out; in this case, retry.

" } } @@ -2709,6 +2739,7 @@ "hasErrorEvent": { "target": "com.amazonaws.ivs#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, this stream encountered a quota breach or failure.

" } } @@ -2768,6 +2799,7 @@ "viewerCount": { "target": "com.amazonaws.ivs#StreamViewerCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A count of concurrent views of the stream. Typically, a new view appears in\n viewerCount within 15 seconds of when video playback starts and a view is\n removed from viewerCount within 1 minute of when video playback ends. A value of\n -1 indicates that the request timed out; in this case, retry.

" } }, @@ -2799,7 +2831,10 @@ } }, "com.amazonaws.ivs#StreamViewerCount": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ivs#String": { "type": "string" @@ -2903,6 +2938,7 @@ "com.amazonaws.ivs#TargetIntervalSeconds": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 60 @@ -2937,6 +2973,7 @@ "targetIntervalSeconds": { "target": "com.amazonaws.ivs#TargetIntervalSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The targeted thumbnail-generation interval in seconds. This is configurable (and required)\n only if recordingMode is INTERVAL. Default: 60.

\n

\n Important: Setting a value for\n targetIntervalSeconds does not guarantee that thumbnails are generated at the\n specified interval. For thumbnails to be generated at the targetIntervalSeconds\n interval, the IDR/Keyframe value for the input video must be less than the\n targetIntervalSeconds value. See Amazon IVS Streaming Configuration\n for information on setting IDR/Keyframe to the recommended value in video-encoder\n settings.

" } } @@ -3070,6 +3107,7 @@ "authorized": { "target": "com.amazonaws.ivs#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the channel is private (enabled for playback authorization).

" } }, @@ -3135,24 +3173,28 @@ "targetBitrate": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expected ingest bitrate (bits per second). This is configured in the encoder.

" } }, "targetFramerate": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expected ingest framerate. This is configured in the encoder.

" } }, "videoHeight": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Video-resolution height in pixels.

" } }, "videoWidth": { "target": "com.amazonaws.ivs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Video-resolution width in pixels.

" } } @@ -3168,4 +3210,4 @@ "type": "string" } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/ivschat.json b/codegen/sdk/aws-models/ivschat.json index c425d4158ed..b9e5768f951 100644 --- a/codegen/sdk/aws-models/ivschat.json +++ b/codegen/sdk/aws-models/ivschat.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.ivschat#AccessDeniedException": { "type": "structure", @@ -19,39 +19,6 @@ }, "com.amazonaws.ivschat#AmazonInteractiveVideoServiceChat": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "ivschat", - "arnNamespace": "ivschat", - "cloudFormationName": "IVSChat", - "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" - }, - "aws.auth#sigv4": { - "name": "ivschat" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "Content-Type", - "X-Api-Key", - "X-Amz-Content-Sha256", - "X-Amz-User-Agent", - "amz-sdk-invocation-id", - "amz-sdk-request" - ], - "additionalExposedHeaders": [ - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-errormessage", - "x-amzn-trace-id", - "x-amzn-requestid", - "x-amz-apigw-id", - "date" - ] - }, - "smithy.api#documentation": "

\n Introduction\n

\n

The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat\n resources. You also need to integrate with the Amazon IVS Chat Messaging\n API, to enable users to interact with chat rooms in real time.

\n

The API is an AWS regional service. For a list of supported regions and Amazon IVS Chat\n HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the\n AWS General Reference.

\n

\n Notes on terminology:\n

\n \n

\n Resources\n

\n

The following resource is part of Amazon IVS Chat:

\n \n

\n Tagging\n

\n

A tag is a metadata label that you assign to an AWS resource. A tag\n comprises a key and a value, both set by you. For\n example, you might set a tag as topic:nature to label a particular video\n category. See Tagging AWS Resources for more information, including restrictions that apply to\n tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no service-specific\n constraints beyond what is documented there.

\n

Tags can help you identify and organize your AWS resources. For example, you can use the\n same tag for different resources to indicate that they are related. You can also use tags to\n manage access (see Access Tags).

\n

The Amazon IVS Chat API has these tag-related endpoints: TagResource, UntagResource, and\n ListTagsForResource. The following resource supports tagging: Room.

\n

At most 50 tags can be applied to a resource.

\n

\n API Access Security\n

\n

Your Amazon IVS Chat applications (service applications and clients) must be authenticated\n and authorized to access Amazon IVS Chat resources. Note the differences between these\n concepts:

\n \n

Users (viewers) connect to a room using secure access tokens that you create using the\n CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for\n every user’s chat session, passing identity and authorization information about the\n user.

\n

\n Signing API Requests\n

\n

HTTP API requests must be signed with an AWS SigV4 signature using your AWS security\n credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the\n underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API\n directly, it’s your responsibility to sign the requests.

\n

You generate a signature using valid AWS credentials for an IAM role that has permission\n to perform the requested action. For example, DeleteMessage requests must be made using an IAM\n role that has the ivschat:DeleteMessage permission.

\n

For more information:

\n \n

\n Amazon Resource Names (ARNs)\n

\n

ARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.

\n

\n Messaging Endpoints\n

\n \n

\n Chat Token Endpoint\n

\n \n

\n Room Endpoints\n

\n \n

\n Tags Endpoints\n

\n \n

All the above are HTTP operations. There is a separate messaging API\n for managing Chat resources; see the Amazon IVS Chat Messaging API\n Reference.

", - "smithy.api#title": "Amazon Interactive Video Service Chat" - }, "version": "2020-07-14", "operations": [ { @@ -90,7 +57,40 @@ { "target": "com.amazonaws.ivschat#UpdateRoom" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "ivschat", + "arnNamespace": "ivschat", + "cloudFormationName": "IVSChat", + "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" + }, + "aws.auth#sigv4": { + "name": "ivschat" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "Content-Type", + "X-Api-Key", + "X-Amz-Content-Sha256", + "X-Amz-User-Agent", + "amz-sdk-invocation-id", + "amz-sdk-request" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-errormessage", + "x-amzn-trace-id", + "x-amzn-requestid", + "x-amz-apigw-id", + "date" + ] + }, + "smithy.api#documentation": "

\n Introduction\n

\n

The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat\n resources. You also need to integrate with the Amazon IVS Chat Messaging\n API, to enable users to interact with chat rooms in real time.

\n

The API is an AWS regional service. For a list of supported regions and Amazon IVS Chat\n HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the\n AWS General Reference.

\n

\n Notes on terminology:\n

\n \n

\n Resources\n

\n

The following resource is part of Amazon IVS Chat:

\n \n

\n Tagging\n

\n

A tag is a metadata label that you assign to an AWS resource. A tag\n comprises a key and a value, both set by you. For\n example, you might set a tag as topic:nature to label a particular video\n category. See Tagging AWS Resources for more information, including restrictions that apply to\n tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no service-specific\n constraints beyond what is documented there.

\n

Tags can help you identify and organize your AWS resources. For example, you can use the\n same tag for different resources to indicate that they are related. You can also use tags to\n manage access (see Access Tags).

\n

The Amazon IVS Chat API has these tag-related endpoints: TagResource, UntagResource, and\n ListTagsForResource. The following resource supports tagging: Room.

\n

At most 50 tags can be applied to a resource.

\n

\n API Access Security\n

\n

Your Amazon IVS Chat applications (service applications and clients) must be authenticated\n and authorized to access Amazon IVS Chat resources. Note the differences between these\n concepts:

\n \n

Users (viewers) connect to a room using secure access tokens that you create using the\n CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for\n every user’s chat session, passing identity and authorization information about the\n user.

\n

\n Signing API Requests\n

\n

HTTP API requests must be signed with an AWS SigV4 signature using your AWS security\n credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the\n underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API\n directly, it’s your responsibility to sign the requests.

\n

You generate a signature using valid AWS credentials for an IAM role that has permission\n to perform the requested action. For example, DeleteMessage requests must be made using an IAM\n role that has the ivschat:DeleteMessage permission.

\n

For more information:

\n \n

\n Amazon Resource Names (ARNs)\n

\n

ARNs uniquely identify AWS resources. An ARN is required when you need to specify a\n resource unambiguously across all of AWS, such as in IAM policies and API calls. For more\n information, see Amazon Resource Names in the AWS General\n Reference.

\n

\n Messaging Endpoints\n

\n \n

\n Chat Token Endpoint\n

\n \n

\n Room Endpoints\n

\n \n

\n Tags Endpoints\n

\n \n

All the above are HTTP operations. There is a separate messaging API\n for managing Chat resources; see the Amazon IVS Chat Messaging API\n Reference.

", + "smithy.api#title": "Amazon Interactive Video Service Chat" + } }, "com.amazonaws.ivschat#ChatToken": { "type": "string" @@ -215,6 +215,7 @@ "sessionDurationInMinutes": { "target": "com.amazonaws.ivschat#SessionDurationInMinutes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Session duration (in minutes), after which the session expires. Default: 60 (1\n hour).

" } }, @@ -297,12 +298,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients).\n Default: 10.

" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of characters in a single message. Messages are expected to be UTF-8\n encoded and this limit applies specifically to rune/code-point count, not number of bytes.\n Default: 500.

" } }, @@ -356,12 +359,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients),\n from the request.

" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of characters in a single message, from the request.

" } }, @@ -662,12 +667,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients).\n Default: 10.

" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of characters in a single message. Messages are expected to be UTF-8\n encoded and this limit applies specifically to rune/code-point count, not number of bytes.\n Default: 500.

" } }, @@ -722,7 +729,10 @@ } }, "com.amazonaws.ivschat#Limit": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ivschat#ListRooms": { "type": "operation", @@ -775,6 +785,7 @@ "maxResults": { "target": "com.amazonaws.ivschat#MaxRoomResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of rooms to return. Default: 50.

" } }, @@ -860,6 +871,7 @@ "com.amazonaws.ivschat#MaxRoomResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -1026,6 +1038,7 @@ "com.amazonaws.ivschat#RoomMaxMessageLength": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -1035,6 +1048,7 @@ "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -1192,6 +1206,7 @@ "limit": { "target": "com.amazonaws.ivschat#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

", "smithy.api#required": {} } @@ -1206,6 +1221,7 @@ "com.amazonaws.ivschat#SessionDurationInMinutes": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 180 @@ -1337,6 +1353,7 @@ "limit": { "target": "com.amazonaws.ivschat#Limit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

", "smithy.api#required": {} } @@ -1456,12 +1473,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients).\n Default: 10.

" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of characters in a single message. Messages are expected to be UTF-8\n encoded and this limit applies specifically to rune/code-point count, not number of bytes.\n Default: 500.

" } }, @@ -1509,12 +1528,14 @@ "maximumMessageRatePerSecond": { "target": "com.amazonaws.ivschat#RoomMaxMessageRatePerSecond", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of messages per second that can be sent to the room (by all clients),\n from the request.

" } }, "maximumMessageLength": { "target": "com.amazonaws.ivschat#RoomMaxMessageLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of characters in a single message, from the request.

" } }, @@ -1618,4 +1639,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/kafka.json b/codegen/sdk/aws-models/kafka.json index a421b532b1e..21be387edb2 100644 --- a/codegen/sdk/aws-models/kafka.json +++ b/codegen/sdk/aws-models/kafka.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -252,6 +252,7 @@ "VolumeSizeGB": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size of the EBS volume to update.

", "smithy.api#jsonName": "volumeSizeGB" } @@ -349,6 +350,7 @@ "BrokerId": { "target": "com.amazonaws.kafka#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the broker.

", "smithy.api#jsonName": "brokerId" } @@ -399,6 +401,7 @@ "ConfigurationRevision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the configuration to use. This field isn't visible in this preview release.

", "smithy.api#jsonName": "configurationRevision" } @@ -470,6 +473,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -656,6 +660,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes" } @@ -977,6 +982,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the configuration to use.

", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -1008,6 +1014,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision number.

", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -1188,6 +1195,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -1915,6 +1923,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A string that uniquely identifies a revision of an MSK configuration.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -1949,6 +1958,7 @@ "Revision": { "target": "com.amazonaws.kafka#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision number.

", "smithy.api#jsonName": "revision" } @@ -1975,6 +1985,7 @@ "VolumeSize": { "target": "com.amazonaws.kafka#__integerMin1Max16384", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size in GiB of the EBS volume for the data drive on each broker node.

", "smithy.api#jsonName": "volumeSize" } @@ -2013,6 +2024,7 @@ "InCluster": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, it indicates that data communication among the broker nodes of the cluster is encrypted. When set to false, the communication happens in plaintext.

\n

The default value is true.

", "smithy.api#jsonName": "inCluster" } @@ -2102,6 +2114,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -2303,6 +2316,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether IAM access control is enabled.

", "smithy.api#jsonName": "enabled" } @@ -2342,6 +2356,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the JMX Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -2358,6 +2373,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the JMX Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -2370,21 +2386,6 @@ }, "com.amazonaws.kafka#Kafka": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kafka", - "arnNamespace": "kafka", - "cloudFormationName": "MSK", - "cloudTrailEventSource": "kafka.amazonaws.com", - "endpointPrefix": "kafka" - }, - "aws.auth#sigv4": { - "name": "kafka" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The operations for managing an Amazon MSK cluster.

", - "smithy.api#title": "Managed Streaming for Kafka" - }, "version": "2018-11-14", "operations": [ { @@ -2492,7 +2493,22 @@ { "target": "com.amazonaws.kafka#UpdateSecurity" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kafka", + "arnNamespace": "kafka", + "cloudFormationName": "MSK", + "cloudTrailEventSource": "kafka.amazonaws.com", + "endpointPrefix": "kafka" + }, + "aws.auth#sigv4": { + "name": "kafka" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The operations for managing an Amazon MSK cluster.

", + "smithy.api#title": "Managed Streaming for Kafka" + } }, "com.amazonaws.kafka#KafkaVersion": { "type": "structure", @@ -2577,6 +2593,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

", "smithy.api#httpQuery": "maxResults" } @@ -2659,6 +2676,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

", "smithy.api#httpQuery": "maxResults" } @@ -2748,6 +2766,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

", "smithy.api#httpQuery": "maxResults" } @@ -2837,6 +2856,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

", "smithy.api#httpQuery": "maxResults" } @@ -2915,6 +2935,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

", "smithy.api#httpQuery": "maxResults" } @@ -2990,6 +3011,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

", "smithy.api#httpQuery": "maxResults" } @@ -3071,6 +3093,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

", "smithy.api#httpQuery": "maxResults" } @@ -3163,6 +3186,7 @@ "MaxResults": { "target": "com.amazonaws.kafka#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maxResults of the query.

", "smithy.api#httpQuery": "maxResults" } @@ -3263,6 +3287,7 @@ "com.amazonaws.kafka#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3289,6 +3314,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes" } @@ -3360,6 +3386,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the Node Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -3376,6 +3403,7 @@ "EnabledInBroker": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether you want to turn on or turn off the Node Exporter.

", "smithy.api#jsonName": "enabledInBroker", "smithy.api#required": {} @@ -3604,6 +3632,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -3692,6 +3721,7 @@ "NumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of broker nodes in the cluster.

", "smithy.api#jsonName": "numberOfBrokerNodes", "smithy.api#required": {} @@ -3708,6 +3738,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Provisioned throughput is enabled or not.", "smithy.api#jsonName": "enabled" } @@ -3715,6 +3746,7 @@ "VolumeThroughput": { "target": "com.amazonaws.kafka#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Throughput value of the EBS volumes for the data drive on each kafka broker node in MiB per second.", "smithy.api#jsonName": "volumeThroughput" } @@ -3834,6 +3866,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#jsonName": "enabled", "smithy.api#required": {} } @@ -3874,6 +3907,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

SASL/SCRAM authentication is enabled or not.

", "smithy.api#jsonName": "enabled" } @@ -4077,6 +4111,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether you want to turn on or turn off TLS authentication.

", "smithy.api#jsonName": "enabled" } @@ -4116,6 +4151,7 @@ "Enabled": { "target": "com.amazonaws.kafka#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether you want to turn on or turn off unauthenticated traffic to your cluster.

", "smithy.api#jsonName": "enabled" } @@ -4280,6 +4316,7 @@ "TargetNumberOfBrokerNodes": { "target": "com.amazonaws.kafka#__integerMin1Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of broker nodes that you want the cluster to have after this operation completes successfully.

", "smithy.api#jsonName": "targetNumberOfBrokerNodes", "smithy.api#required": {} @@ -5069,6 +5106,7 @@ "ZookeeperId": { "target": "com.amazonaws.kafka#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The role-specific ID for Zookeeper.

", "smithy.api#jsonName": "zookeeperId" } @@ -5089,17 +5127,27 @@ "type": "blob" }, "com.amazonaws.kafka#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.kafka#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafka#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafka#__integerMin1Max15": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 15 @@ -5109,6 +5157,7 @@ "com.amazonaws.kafka#__integerMin1Max16384": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 16384 @@ -5194,7 +5243,10 @@ } }, "com.amazonaws.kafka#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafka#__mapOf__string": { "type": "map", diff --git a/codegen/sdk/aws-models/kafkaconnect.json b/codegen/sdk/aws-models/kafkaconnect.json index 37d637406e6..437a9591f28 100644 --- a/codegen/sdk/aws-models/kafkaconnect.json +++ b/codegen/sdk/aws-models/kafkaconnect.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.kafkaconnect#ApacheKafkaCluster": { "type": "structure", @@ -49,6 +49,7 @@ "maxWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of workers allocated to the connector.

", "smithy.api#required": {} } @@ -56,6 +57,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.

", "smithy.api#required": {} } @@ -63,6 +65,7 @@ "minWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of workers allocated to the connector.

", "smithy.api#required": {} } @@ -90,18 +93,21 @@ "maxWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of workers allocated to the connector.

" } }, "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.

" } }, "minWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of workers allocated to the connector.

" } }, @@ -128,6 +134,7 @@ "maxWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The target maximum number of workers allocated to the connector.

", "smithy.api#required": {} } @@ -135,6 +142,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The target number of microcontroller units (MCUs) allocated to each connector worker.\n The valid values are 1,2,4,8.

", "smithy.api#required": {} } @@ -142,6 +150,7 @@ "minWorkerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The target minimum number of workers allocated to the connector.

", "smithy.api#required": {} } @@ -244,6 +253,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether log delivery to Amazon CloudWatch Logs is enabled.

", "smithy.api#required": {} } @@ -265,6 +275,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether log delivery to Amazon CloudWatch Logs is enabled.

" } }, @@ -668,6 +679,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the custom plugin.

" } } @@ -783,6 +795,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__longMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the custom plugin.

", "smithy.api#required": {} } @@ -819,6 +832,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the custom plugin.

" } } @@ -839,6 +853,7 @@ "fileSize": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size in bytes of the custom plugin file. You can use it to validate the file.

" } } @@ -912,6 +927,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the custom plugin.

" } } @@ -1507,6 +1523,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose.

", "smithy.api#required": {} } @@ -1528,6 +1545,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether connector logs get delivered to Amazon Kinesis Data Firehose.

" } } @@ -1681,29 +1699,6 @@ }, "com.amazonaws.kafkaconnect#KafkaConnect": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "KafkaConnect", - "name": "kafkaconnect", - "arnNamespace": "kafkaconnect", - "cloudFormationName": "KafkaConnect", - "cloudTrailEventSource": "kafkaconnect.amazonaws.com", - "endpointPrefix": "kafkaconnect" - }, - "aws.auth#sigv4": { - "name": "kafkaconnect" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "X-Api-Key", - "Content-Type", - "Content-Length" - ] - }, - "smithy.api#documentation": "

", - "smithy.api#title": "Managed Streaming for Kafka Connect" - }, "version": "2021-09-14", "operations": [ { @@ -1742,7 +1737,30 @@ { "target": "com.amazonaws.kafkaconnect#UpdateConnector" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "KafkaConnect", + "name": "kafkaconnect", + "arnNamespace": "kafkaconnect", + "cloudFormationName": "KafkaConnect", + "cloudTrailEventSource": "kafkaconnect.amazonaws.com", + "endpointPrefix": "kafkaconnect" + }, + "aws.auth#sigv4": { + "name": "kafkaconnect" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "X-Api-Key", + "Content-Type", + "Content-Length" + ] + }, + "smithy.api#documentation": "

", + "smithy.api#title": "Managed Streaming for Kafka Connect" + } }, "com.amazonaws.kafkaconnect#ListConnectors": { "type": "operation", @@ -1804,6 +1822,7 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of connectors to list in one response.

", "smithy.api#httpQuery": "maxResults" } @@ -1887,6 +1906,7 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of custom plugins to list in one response.

", "smithy.api#httpQuery": "maxResults" } @@ -1970,6 +1990,7 @@ "maxResults": { "target": "com.amazonaws.kafkaconnect#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of worker configurations to list in one response.

", "smithy.api#httpQuery": "maxResults" } @@ -2032,6 +2053,7 @@ "com.amazonaws.kafkaconnect#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2086,6 +2108,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.

", "smithy.api#required": {} } @@ -2093,6 +2116,7 @@ "workerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of workers that are allocated to the connector.

", "smithy.api#required": {} } @@ -2108,12 +2132,14 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.

" } }, "workerCount": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of workers that are allocated to the connector.

" } } @@ -2128,6 +2154,7 @@ "mcuCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of microcontroller units (MCUs) allocated to each connector worker. The valid\n values are 1,2,4,8.

", "smithy.api#required": {} } @@ -2135,6 +2162,7 @@ "workerCount": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of workers that are allocated to the connector.

", "smithy.api#required": {} } @@ -2210,6 +2238,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether connector logs get sent to the specified Amazon S3 destination.

", "smithy.api#required": {} } @@ -2237,6 +2266,7 @@ "enabled": { "target": "com.amazonaws.kafkaconnect#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether connector logs get sent to the specified Amazon S3 destination.

" } }, @@ -2257,6 +2287,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the CPU utilization percentage threshold at which you want connector scale in\n to be triggered.

", "smithy.api#required": {} } @@ -2272,6 +2303,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the CPU utilization percentage threshold at which you want connector scale in\n to be triggered.

" } } @@ -2286,6 +2318,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The target CPU utilization percentage threshold at which you want connector scale in to\n be triggered.

", "smithy.api#required": {} } @@ -2301,6 +2334,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The CPU utilization percentage threshold at which you want connector scale out to be\n triggered.

", "smithy.api#required": {} } @@ -2316,6 +2350,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The CPU utilization percentage threshold at which you want connector scale out to be\n triggered.

" } } @@ -2330,6 +2365,7 @@ "cpuUtilizationPercentage": { "target": "com.amazonaws.kafkaconnect#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The target CPU utilization percentage threshold at which you want connector scale out to\n be triggered.

", "smithy.api#required": {} } @@ -2531,6 +2567,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__longMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the worker configuration.

", "smithy.api#required": {} } @@ -2553,6 +2590,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of the worker configuration.

" } }, @@ -2591,6 +2629,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The description of a revision of the worker configuration.

" } } @@ -2617,6 +2656,7 @@ "revision": { "target": "com.amazonaws.kafkaconnect#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision of a worker configuration.

" } } @@ -2716,14 +2756,21 @@ } }, "com.amazonaws.kafkaconnect#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.kafkaconnect#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafkaconnect#__integerMin1Max10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -2733,6 +2780,7 @@ "com.amazonaws.kafkaconnect#__integerMin1Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2742,6 +2790,7 @@ "com.amazonaws.kafkaconnect#__integerMin1Max8": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 8 @@ -2785,11 +2834,15 @@ } }, "com.amazonaws.kafkaconnect#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kafkaconnect#__longMin1": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 9223372036854775807 diff --git a/codegen/sdk/aws-models/kendra.json b/codegen/sdk/aws-models/kendra.json index 95a88a3ace6..68f963cf77e 100644 --- a/codegen/sdk/aws-models/kendra.json +++ b/codegen/sdk/aws-models/kendra.json @@ -2693,8 +2693,6 @@ "Edition": { "target": "com.amazonaws.kendra#IndexEdition", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "ENTERPRISE_EDITION", "smithy.api#documentation": "

The Amazon Kendra edition to use for the index. Choose\n DEVELOPER_EDITION for indexes intended for development,\n testing, or proof of concept. Use ENTERPRISE_EDITION for your\n production databases. Once you set the edition for an index, it can't be\n changed.

\n

The Edition parameter is optional. If you don't supply a\n value, the default is ENTERPRISE_EDITION.

\n

For more information on quota limits for enterprise and developer editions, \n see Quotas.

" } }, @@ -8896,7 +8894,7 @@ "type": "float", "traits": { "smithy.api#range": { - "min": 0.000001, + "min": 1.0E-6, "max": 50 } } diff --git a/codegen/sdk/aws-models/keyspaces.json b/codegen/sdk/aws-models/keyspaces.json index 6288c03e9a8..019f68ba1e2 100644 --- a/codegen/sdk/aws-models/keyspaces.json +++ b/codegen/sdk/aws-models/keyspaces.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.keyspaces#ARN": { "type": "string", @@ -91,7 +91,6 @@ "com.amazonaws.keyspaces#CapacityUnits": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -364,7 +363,6 @@ "com.amazonaws.keyspaces#DefaultTimeToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 630720000 @@ -758,21 +756,6 @@ }, "com.amazonaws.keyspaces#KeyspacesService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Keyspaces", - "cloudFormationName": "Cassandra", - "arnNamespace": "cassandra", - "cloudTrailEventSource": "cassandra.amazonaws.com", - "endpointPrefix": "cassandra" - }, - "aws.auth#sigv4": { - "name": "cassandra" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

Amazon Keyspaces (for Apache Cassandra) is a scalable,\n highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,\n run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, \n you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software.

\n

In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, \n Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes\n the supported DDL operations in detail.

\n

For the list of all supported CQL APIs, see Supported Cassandra APIs, operations, and data types \n in Amazon Keyspaces in the Amazon Keyspaces Developer\n Guide.

\n

To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see Amazon Keyspaces information in CloudTrail in the Amazon Keyspaces Developer\n Guide.

\n

For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see Amazon Web Services APIs in the General Reference.

", - "smithy.api#title": "Amazon Keyspaces" - }, "version": "2022-02-10", "operations": [ { @@ -814,7 +797,22 @@ { "target": "com.amazonaws.keyspaces#UpdateTable" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Keyspaces", + "cloudFormationName": "Cassandra", + "arnNamespace": "cassandra", + "cloudTrailEventSource": "cassandra.amazonaws.com", + "endpointPrefix": "cassandra" + }, + "aws.auth#sigv4": { + "name": "cassandra" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

Amazon Keyspaces (for Apache Cassandra) is a scalable,\n highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,\n run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code, \n you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software.

\n

In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers, \n Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes\n the supported DDL operations in detail.

\n

For the list of all supported CQL APIs, see Supported Cassandra APIs, operations, and data types \n in Amazon Keyspaces in the Amazon Keyspaces Developer\n Guide.

\n

To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see Amazon Keyspaces information in CloudTrail in the Amazon Keyspaces Developer\n Guide.

\n

For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see Amazon Web Services APIs in the General Reference.

", + "smithy.api#title": "Amazon Keyspaces" + } }, "com.amazonaws.keyspaces#ListKeyspaces": { "type": "operation", @@ -1041,7 +1039,6 @@ "com.amazonaws.keyspaces#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1759,4 +1756,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/kinesis-analytics-v2.json b/codegen/sdk/aws-models/kinesis-analytics-v2.json index 1a4d9a1848e..f1d8bbe3433 100644 --- a/codegen/sdk/aws-models/kinesis-analytics-v2.json +++ b/codegen/sdk/aws-models/kinesis-analytics-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1144,7 +1144,6 @@ "com.amazonaws.kinesisanalyticsv2#ApplicationVersionId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999999999 @@ -1214,10 +1213,7 @@ } }, "com.amazonaws.kinesisanalyticsv2#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kinesisanalyticsv2#BucketARN": { "type": "string", @@ -1396,7 +1392,6 @@ "com.amazonaws.kinesisanalyticsv2#CheckpointInterval": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1594,7 +1589,6 @@ "com.amazonaws.kinesisanalyticsv2#CodeSize": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 52428800 @@ -3177,7 +3171,6 @@ "com.amazonaws.kinesisanalyticsv2#InputParallelismCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -3900,7 +3893,6 @@ "com.amazonaws.kinesisanalyticsv2#ListApplicationVersionsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -3968,7 +3960,6 @@ "com.amazonaws.kinesisanalyticsv2#ListApplicationsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4013,7 +4004,6 @@ "com.amazonaws.kinesisanalyticsv2#ListSnapshotsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4204,7 +4194,6 @@ "com.amazonaws.kinesisanalyticsv2#MinPauseBetweenCheckpoints": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4457,7 +4446,6 @@ "com.amazonaws.kinesisanalyticsv2#Parallelism": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4569,7 +4557,6 @@ "com.amazonaws.kinesisanalyticsv2#ParallelismPerKPU": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5412,7 +5399,6 @@ "com.amazonaws.kinesisanalyticsv2#SessionExpirationDurationInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1800, "max": 43200 diff --git a/codegen/sdk/aws-models/kinesis-analytics.json b/codegen/sdk/aws-models/kinesis-analytics.json index c3330639a06..7f66d9593a3 100644 --- a/codegen/sdk/aws-models/kinesis-analytics.json +++ b/codegen/sdk/aws-models/kinesis-analytics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -571,7 +571,6 @@ "com.amazonaws.kinesisanalytics#ApplicationVersionId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999999999 @@ -579,10 +578,7 @@ } }, "com.amazonaws.kinesisanalytics#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kinesisanalytics#BucketARN": { "type": "string", @@ -1562,7 +1558,6 @@ "com.amazonaws.kinesisanalytics#InputParallelismCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 @@ -2228,7 +2223,6 @@ "com.amazonaws.kinesisanalytics#ListApplicationsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/kinesis-video-archived-media.json b/codegen/sdk/aws-models/kinesis-video-archived-media.json index 7c144a7b8a9..f66835ae9c6 100644 --- a/codegen/sdk/aws-models/kinesis-video-archived-media.json +++ b/codegen/sdk/aws-models/kinesis-video-archived-media.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.kinesisvideoarchivedmedia#AWSAcuityReader": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kinesis Video Archived Media", - "arnNamespace": "kinesisvideo", - "cloudFormationName": "KinesisVideoArchivedMedia", - "cloudTrailEventSource": "kinesisvideoarchivedmedia.amazonaws.com", - "endpointPrefix": "kinesisvideo" - }, - "aws.auth#sigv4": { - "name": "kinesisvideo" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

", - "smithy.api#title": "Amazon Kinesis Video Streams Archived Media" - }, "version": "2017-09-30", "operations": [ { @@ -66,7 +51,22 @@ { "target": "com.amazonaws.kinesisvideoarchivedmedia#ListFragments" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kinesis Video Archived Media", + "arnNamespace": "kinesisvideo", + "cloudFormationName": "KinesisVideoArchivedMedia", + "cloudTrailEventSource": "kinesisvideoarchivedmedia.amazonaws.com", + "endpointPrefix": "kinesisvideo" + }, + "aws.auth#sigv4": { + "name": "kinesisvideo" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

", + "smithy.api#title": "Amazon Kinesis Video Streams Archived Media" + } }, "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException": { "type": "structure", @@ -233,7 +233,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#DASHMaxResults": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -288,7 +287,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#Expires": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 300, "max": 43200 @@ -358,6 +356,7 @@ "FragmentSizeInBytes": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total fragment size, including information about the fragment and contained media\n data.

" } }, @@ -376,6 +375,7 @@ "FragmentLengthInMilliseconds": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The playback duration or other time value associated with the fragment.

" } } @@ -532,6 +532,7 @@ "Payload": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Payload", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

Traditional MP4 file that contains the media clip from the specified video stream. The\n output will contain the first 100 MB or the first 200 fragments from the specified start\n timestamp. For more information, see Kinesis\n Video Streams Limits.

", "smithy.api#httpPayload": {} } @@ -874,7 +875,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#GetImagesMaxResults": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -966,6 +966,7 @@ "Payload": { "target": "com.amazonaws.kinesisvideoarchivedmedia#Payload", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The payload that Kinesis Video Streams returns is a sequence of chunks from the\n specified stream. For information about the chunks, see PutMedia. The chunks that Kinesis Video Streams returns in the\n GetMediaForFragmentList call also include the following additional\n Matroska (MKV) tags:

\n \n

The following tags will be included if an exception occurs:

\n ", "smithy.api#httpPayload": {} } @@ -1044,7 +1045,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#HLSMaxResults": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -1096,7 +1096,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#HeightPixels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 2160 @@ -1282,7 +1281,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#ListFragmentsMaxResults": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -1307,7 +1305,10 @@ } }, "com.amazonaws.kinesisvideoarchivedmedia#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.kinesisvideoarchivedmedia#MissingCodecPrivateDataException": { "type": "structure", @@ -1390,7 +1391,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#SamplingInterval": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 3000, "max": 20000 @@ -1448,7 +1448,6 @@ "com.amazonaws.kinesisvideoarchivedmedia#WidthPixels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3840 diff --git a/codegen/sdk/aws-models/kinesis-video-media.json b/codegen/sdk/aws-models/kinesis-video-media.json index abe269f3912..c433f264124 100644 --- a/codegen/sdk/aws-models/kinesis-video-media.json +++ b/codegen/sdk/aws-models/kinesis-video-media.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -186,6 +186,7 @@ "Payload": { "target": "com.amazonaws.kinesisvideomedia#Payload", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The payload Kinesis Video Streams returns is a sequence of chunks from the specified\n stream. For information about the chunks, see . The\n chunks that Kinesis Video Streams returns in the GetMedia call also include the\n following additional Matroska (MKV) tags:

\n \n

The following tags will be present if an error occurs:

\n \n

The error codes are as follows:

\n ", "smithy.api#httpPayload": {} } diff --git a/codegen/sdk/aws-models/kinesis-video-signaling.json b/codegen/sdk/aws-models/kinesis-video-signaling.json index 1dc341fdca3..d93e03511a3 100644 --- a/codegen/sdk/aws-models/kinesis-video-signaling.json +++ b/codegen/sdk/aws-models/kinesis-video-signaling.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -193,6 +193,7 @@ "Ttl": { "target": "com.amazonaws.kinesisvideosignaling#Ttl", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The period of time, in seconds, during which the username and password are\n valid.

" } } @@ -384,6 +385,7 @@ "com.amazonaws.kinesisvideosignaling#Ttl": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 30, "max": 86400 diff --git a/codegen/sdk/aws-models/kinesis-video.json b/codegen/sdk/aws-models/kinesis-video.json index 2117b4da103..b88d7c3e918 100644 --- a/codegen/sdk/aws-models/kinesis-video.json +++ b/codegen/sdk/aws-models/kinesis-video.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -454,7 +454,6 @@ "com.amazonaws.kinesisvideo#DataRetentionChangeInHours": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -463,7 +462,6 @@ "com.amazonaws.kinesisvideo#DataRetentionInHours": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1052,7 +1050,6 @@ "com.amazonaws.kinesisvideo#HeightPixels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 2160 @@ -1198,24 +1195,6 @@ }, "com.amazonaws.kinesisvideo#KinesisVideo_20170930": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kinesis Video", - "arnNamespace": "kinesisvideo", - "cloudFormationName": "KinesisVideo", - "cloudTrailEventSource": "kinesisvideo.amazonaws.com", - "endpointPrefix": "kinesisvideo" - }, - "aws.auth#sigv4": { - "name": "kinesisvideo" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

", - "smithy.api#title": "Amazon Kinesis Video Streams", - "smithy.api#xmlNamespace": { - "uri": "https://kinesisvideo.amazonaws.com/doc/2017-09-30/" - } - }, "version": "2017-09-30", "operations": [ { @@ -1287,7 +1266,25 @@ { "target": "com.amazonaws.kinesisvideo#UpdateStream" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kinesis Video", + "arnNamespace": "kinesisvideo", + "cloudFormationName": "KinesisVideo", + "cloudTrailEventSource": "kinesisvideo.amazonaws.com", + "endpointPrefix": "kinesisvideo" + }, + "aws.auth#sigv4": { + "name": "kinesisvideo" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

", + "smithy.api#title": "Amazon Kinesis Video Streams", + "smithy.api#xmlNamespace": { + "uri": "https://kinesisvideo.amazonaws.com/doc/2017-09-30/" + } + } }, "com.amazonaws.kinesisvideo#KmsKeyId": { "type": "string", @@ -1442,7 +1439,6 @@ "com.amazonaws.kinesisvideo#ListStreamsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1619,7 +1615,6 @@ "com.amazonaws.kinesisvideo#MessageTtlSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 120 @@ -1782,7 +1777,6 @@ "com.amazonaws.kinesisvideo#SamplingInterval": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 3000, "max": 20000 @@ -2667,7 +2661,6 @@ "com.amazonaws.kinesisvideo#WidthPixels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3840 diff --git a/codegen/sdk/aws-models/kinesis.json b/codegen/sdk/aws-models/kinesis.json index e18cd110707..1bcbcd17400 100644 --- a/codegen/sdk/aws-models/kinesis.json +++ b/codegen/sdk/aws-models/kinesis.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -34,6 +34,9 @@ "input": { "target": "com.amazonaws.kinesis#AddTagsToStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -75,10 +78,7 @@ } }, "com.amazonaws.kinesis#BooleanObject": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kinesis#ChildShard": { "type": "structure", @@ -163,7 +163,6 @@ "com.amazonaws.kinesis#ConsumerCountObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -253,6 +252,9 @@ "input": { "target": "com.amazonaws.kinesis#CreateStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -309,6 +311,9 @@ "input": { "target": "com.amazonaws.kinesis#DecreaseStreamRetentionPeriodInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -354,6 +359,9 @@ "input": { "target": "com.amazonaws.kinesis#DeleteStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#LimitExceededException" @@ -395,6 +403,9 @@ "input": { "target": "com.amazonaws.kinesis#DeregisterStreamConsumerInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -623,7 +634,6 @@ "com.amazonaws.kinesis#DescribeStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -947,7 +957,6 @@ "com.amazonaws.kinesis#GetRecordsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1098,6 +1107,9 @@ "input": { "target": "com.amazonaws.kinesis#IncreaseStreamRetentionPeriodInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -1266,27 +1278,6 @@ }, "com.amazonaws.kinesis#Kinesis_20131202": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Kinesis", - "arnNamespace": "kinesis", - "cloudFormationName": "Kinesis", - "cloudTrailEventSource": "kinesis.amazonaws.com", - "endpointPrefix": "kinesis" - }, - "aws.auth#sigv4": { - "name": "kinesis" - }, - "aws.protocols#awsJson1_1": { - "http": ["http/1.1", "h2"], - "eventStreamHttp": ["h2"] - }, - "smithy.api#documentation": "Amazon Kinesis Data Streams Service API Reference\n

Amazon Kinesis Data Streams is a managed service that scales elastically for real-time\n processing of streaming big data.

", - "smithy.api#title": "Amazon Kinesis", - "smithy.api#xmlNamespace": { - "uri": "http://kinesis.amazonaws.com/doc/2013-12-02" - } - }, "version": "2013-12-02", "operations": [ { @@ -1376,7 +1367,33 @@ { "target": "com.amazonaws.kinesis#UpdateStreamMode" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Kinesis", + "arnNamespace": "kinesis", + "cloudFormationName": "Kinesis", + "cloudTrailEventSource": "kinesis.amazonaws.com", + "endpointPrefix": "kinesis" + }, + "aws.auth#sigv4": { + "name": "kinesis" + }, + "aws.protocols#awsJson1_1": { + "http": [ + "http/1.1", + "h2" + ], + "eventStreamHttp": [ + "h2" + ] + }, + "smithy.api#documentation": "Amazon Kinesis Data Streams Service API Reference\n

Amazon Kinesis Data Streams is a managed service that scales elastically for real-time\n processing of streaming big data.

", + "smithy.api#title": "Amazon Kinesis", + "smithy.api#xmlNamespace": { + "uri": "http://kinesis.amazonaws.com/doc/2013-12-02" + } + } }, "com.amazonaws.kinesis#LimitExceededException": { "type": "structure", @@ -1466,7 +1483,6 @@ "com.amazonaws.kinesis#ListShardsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1557,7 +1573,6 @@ "com.amazonaws.kinesis#ListStreamConsumersInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1621,7 +1636,6 @@ "com.amazonaws.kinesis#ListStreamsInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -1703,7 +1717,6 @@ "com.amazonaws.kinesis#ListTagsForStreamInputLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -1737,6 +1750,9 @@ "input": { "target": "com.amazonaws.kinesis#MergeShardsInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -1841,7 +1857,6 @@ "com.amazonaws.kinesis#MillisBehindLatest": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1859,7 +1874,6 @@ "com.amazonaws.kinesis#OnDemandStreamCountLimitObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -1869,7 +1883,6 @@ "com.amazonaws.kinesis#OnDemandStreamCountObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -1888,7 +1901,6 @@ "com.amazonaws.kinesis#PositiveIntegerObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2302,6 +2314,9 @@ "input": { "target": "com.amazonaws.kinesis#RemoveTagsFromStreamInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -2373,10 +2388,7 @@ } }, "com.amazonaws.kinesis#RetentionPeriodHours": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.kinesis#ScalingType": { "type": "string", @@ -2460,7 +2472,6 @@ "com.amazonaws.kinesis#ShardCountObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -2588,6 +2599,9 @@ "input": { "target": "com.amazonaws.kinesis#SplitShardInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -2643,6 +2657,9 @@ "input": { "target": "com.amazonaws.kinesis#StartStreamEncryptionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -2737,6 +2754,9 @@ "input": { "target": "com.amazonaws.kinesis#StopStreamEncryptionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" @@ -3331,6 +3351,9 @@ "input": { "target": "com.amazonaws.kinesis#UpdateStreamModeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.kinesis#InvalidArgumentException" diff --git a/codegen/sdk/aws-models/kms.json b/codegen/sdk/aws-models/kms.json index d731ad22a5d..e1806e3778d 100644 --- a/codegen/sdk/aws-models/kms.json +++ b/codegen/sdk/aws-models/kms.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -132,7 +132,10 @@ } }, "com.amazonaws.kms#BooleanType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.kms#CancelKeyDeletion": { "type": "operation", @@ -738,6 +741,7 @@ "BypassPolicyLockoutSafetyCheck": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag to indicate whether to bypass the key policy lockout safety check.

\n \n

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do\n not set this value to true indiscriminately.

\n

For more information, refer to the scenario in the Default Key Policy section in the \n Key Management Service Developer Guide\n .

\n
\n

Use this parameter only when you include a policy in the request and you intend to prevent\n the principal that is making the request from making a subsequent PutKeyPolicy request on the KMS key.

\n

The default value is false.

" } }, @@ -1347,6 +1351,7 @@ "Truncated": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.

" } } @@ -2477,6 +2482,7 @@ "KeyRotationEnabled": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that specifies whether key rotation is enabled.

" } } @@ -3308,6 +3314,7 @@ "Enabled": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the KMS key is enabled. When KeyState is\n Enabled this value is true, otherwise it is false.

" } }, @@ -3591,7 +3598,6 @@ "com.amazonaws.kms#LimitType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3674,6 +3680,7 @@ "Truncated": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.

" } } @@ -3774,6 +3781,7 @@ "Truncated": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.

" } } @@ -3856,6 +3864,7 @@ "Truncated": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.

" } } @@ -3925,6 +3934,7 @@ "Truncated": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.

" } } @@ -4004,6 +4014,7 @@ "Truncated": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more items in the list. When this\n value is true, the list in this response is truncated. To get more items, pass the value of\n the NextMarker element in thisresponse to the Marker parameter in a\n subsequent request.

" } } @@ -4224,15 +4235,11 @@ } }, "com.amazonaws.kms#NullableBooleanType": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.kms#NumberOfBytesType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1024 @@ -4261,7 +4268,6 @@ "com.amazonaws.kms#PendingWindowInDaysType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 365 @@ -4388,6 +4394,7 @@ "BypassPolicyLockoutSafetyCheck": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag to indicate whether to bypass the key policy lockout safety check.

\n \n

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do\n not set this value to true indiscriminately.

\n

For more information, refer to the scenario in the Default Key Policy section in the Key Management Service Developer Guide.

\n
\n

Use this parameter only when you intend to prevent the principal that is making the\n request from making a subsequent PutKeyPolicy request on the KMS key.

\n

The default value is false.

" } } @@ -4607,6 +4614,7 @@ "BypassPolicyLockoutSafetyCheck": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag to indicate whether to bypass the key policy lockout safety check.

\n \n

Setting this value to true increases the risk that the KMS key becomes unmanageable. Do\n not set this value to true indiscriminately.

\n

For more information, refer to the scenario in the Default Key Policy section in the Key Management Service Developer Guide.

\n
\n

Use this parameter only when you intend to prevent the principal that is making the\n request from making a subsequent PutKeyPolicy request on the KMS key.

\n

The default value is false.

" } }, @@ -5106,24 +5114,6 @@ }, "com.amazonaws.kms#TrentService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "KMS", - "arnNamespace": "kms", - "cloudFormationName": "KMS", - "cloudTrailEventSource": "kms.amazonaws.com", - "endpointPrefix": "kms" - }, - "aws.auth#sigv4": { - "name": "kms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Key Management Service\n

Key Management Service (KMS) is an encryption and key management web service. This guide describes\n the KMS operations that you can call programmatically. For general information about KMS,\n see the \n Key Management Service Developer Guide\n .

\n \n

KMS is replacing the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

\n

Amazon Web Services provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs provide a\n convenient way to create programmatic access to KMS and other Amazon Web Services services. For example,\n the SDKs take care of tasks such as signing requests (see below), managing errors, and\n retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to\n download and install them, see Tools for Amazon Web\n Services.

\n
\n

We recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.

\n

If you need to use FIPS 140-2 validated cryptographic modules when communicating with\n Amazon Web Services, use the FIPS endpoint in your preferred Amazon Web Services Region. For more information about the\n available FIPS endpoints, see Service endpoints in the Key Management Service topic of the Amazon Web Services General Reference.

\n

All KMS API calls must be signed and be transmitted using Transport Layer Security (TLS). \n KMS recommends you always use the latest supported TLS version. Clients\n must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral\n Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems\n such as Java 7 and later support these modes.

\n

\n Signing Requests\n

\n

Requests must be signed by using an access key ID and a secret access key. We strongly\n recommend that you do not use your Amazon Web Services account (root) access key ID and\n secret key for everyday work with KMS. Instead, use the access key ID and secret access key\n for an IAM user. You can also use the Amazon Web Services Security Token Service to generate temporary\n security credentials that you can use to sign requests.

\n

All KMS operations require Signature Version 4.

\n

\n Logging API Requests\n

\n

KMS supports CloudTrail, a service that logs Amazon Web Services API calls and related events for your\n Amazon Web Services account and delivers them to an Amazon S3 bucket that you specify. By using the\n information collected by CloudTrail, you can determine what requests were made to KMS, who made\n the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it\n on and find your log files, see the CloudTrail User Guide.

\n

\n Additional Resources\n

\n

For more information about credentials and request signing, see the following:

\n \n

\n Commonly Used API Operations\n

\n

Of the API operations discussed in this guide, the following will prove the most useful\n for most applications. You will likely perform operations other than these, such as creating\n keys and assigning policies, by using the console.

\n ", - "smithy.api#title": "AWS Key Management Service", - "smithy.api#xmlNamespace": { - "uri": "https://trent.amazonaws.com/doc/2014-11-01/" - } - }, "version": "2014-11-01", "operations": [ { @@ -5276,7 +5266,25 @@ { "target": "com.amazonaws.kms#VerifyMac" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "KMS", + "arnNamespace": "kms", + "cloudFormationName": "KMS", + "cloudTrailEventSource": "kms.amazonaws.com", + "endpointPrefix": "kms" + }, + "aws.auth#sigv4": { + "name": "kms" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Key Management Service\n

Key Management Service (KMS) is an encryption and key management web service. This guide describes\n the KMS operations that you can call programmatically. For general information about KMS,\n see the \n Key Management Service Developer Guide\n .

\n \n

KMS is replacing the term customer master key (CMK) with KMS key and KMS key. The concept has not changed. To prevent breaking changes, KMS is keeping some variations of this term.

\n

Amazon Web Services provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, macOS, Android, etc.). The SDKs provide a\n convenient way to create programmatic access to KMS and other Amazon Web Services services. For example,\n the SDKs take care of tasks such as signing requests (see below), managing errors, and\n retrying requests automatically. For more information about the Amazon Web Services SDKs, including how to\n download and install them, see Tools for Amazon Web\n Services.

\n
\n

We recommend that you use the Amazon Web Services SDKs to make programmatic API calls to KMS.

\n

If you need to use FIPS 140-2 validated cryptographic modules when communicating with\n Amazon Web Services, use the FIPS endpoint in your preferred Amazon Web Services Region. For more information about the\n available FIPS endpoints, see Service endpoints in the Key Management Service topic of the Amazon Web Services General Reference.

\n

All KMS API calls must be signed and be transmitted using Transport Layer Security (TLS). \n KMS recommends you always use the latest supported TLS version. Clients\n must also support cipher suites with Perfect Forward Secrecy (PFS) such as Ephemeral\n Diffie-Hellman (DHE) or Elliptic Curve Ephemeral Diffie-Hellman (ECDHE). Most modern systems\n such as Java 7 and later support these modes.

\n

\n Signing Requests\n

\n

Requests must be signed by using an access key ID and a secret access key. We strongly\n recommend that you do not use your Amazon Web Services account (root) access key ID and\n secret key for everyday work with KMS. Instead, use the access key ID and secret access key\n for an IAM user. You can also use the Amazon Web Services Security Token Service to generate temporary\n security credentials that you can use to sign requests.

\n

All KMS operations require Signature Version 4.

\n

\n Logging API Requests\n

\n

KMS supports CloudTrail, a service that logs Amazon Web Services API calls and related events for your\n Amazon Web Services account and delivers them to an Amazon S3 bucket that you specify. By using the\n information collected by CloudTrail, you can determine what requests were made to KMS, who made\n the request, when it was made, and so on. To learn more about CloudTrail, including how to turn it\n on and find your log files, see the CloudTrail User Guide.

\n

\n Additional Resources\n

\n

For more information about credentials and request signing, see the following:

\n \n

\n Commonly Used API Operations\n

\n

Of the API operations discussed in this guide, the following will prove the most useful\n for most applications. You will likely perform operations other than these, such as creating\n keys and assigning policies, by using the console.

\n ", + "smithy.api#title": "AWS Key Management Service", + "smithy.api#xmlNamespace": { + "uri": "https://trent.amazonaws.com/doc/2014-11-01/" + } + } }, "com.amazonaws.kms#TrustAnchorCertificateType": { "type": "string", @@ -5701,6 +5709,7 @@ "MacValid": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether the HMAC was verified. A value of \n True indicates that the HMAC (Mac) was generated with the specified\n Message, HMAC KMS key (KeyID) and\n MacAlgorithm..

\n

If the HMAC is not verified, the VerifyMac operation fails with a\n KMSInvalidMacException exception. This exception indicates that one or more of\n the inputs changed since the HMAC was computed.

" } }, @@ -5769,6 +5778,7 @@ "SignatureValid": { "target": "com.amazonaws.kms#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether the signature was verified. A value of\n True indicates that the Signature was produced by signing the\n Message with the specified KeyID and\n SigningAlgorithm. If the signature is not verified, the Verify\n operation fails with a KMSInvalidSignatureException exception.

" } }, diff --git a/codegen/sdk/aws-models/lakeformation.json b/codegen/sdk/aws-models/lakeformation.json index 1daba89b9df..1fb28689984 100644 --- a/codegen/sdk/aws-models/lakeformation.json +++ b/codegen/sdk/aws-models/lakeformation.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.lakeformation#AWSLakeFormation": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "LakeFormation", - "arnNamespace": "lakeformation", - "cloudFormationName": "LakeFormation", - "cloudTrailEventSource": "lakeformation.amazonaws.com", - "endpointPrefix": "lakeformation" - }, - "aws.auth#sigv4": { - "name": "lakeformation" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Lake Formation\n

Defines the public endpoint for the Lake Formation service.

", - "smithy.api#title": "AWS Lake Formation" - }, "version": "2017-03-31", "operations": [ { @@ -183,7 +168,22 @@ { "target": "com.amazonaws.lakeformation#UpdateTableStorageOptimizer" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LakeFormation", + "arnNamespace": "lakeformation", + "cloudFormationName": "LakeFormation", + "cloudTrailEventSource": "lakeformation.amazonaws.com", + "endpointPrefix": "lakeformation" + }, + "aws.auth#sigv4": { + "name": "lakeformation" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Lake Formation\n

Defines the public endpoint for the Lake Formation service.

", + "smithy.api#title": "AWS Lake Formation" + } }, "com.amazonaws.lakeformation#AccessDeniedException": { "type": "structure", @@ -297,6 +297,7 @@ "Size": { "target": "com.amazonaws.lakeformation#ObjectSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the Amazon S3 object in bytes.

", "smithy.api#required": {} } @@ -639,10 +640,7 @@ } }, "com.amazonaws.lakeformation#BooleanNullable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lakeformation#CancelTransaction": { "type": "operation", @@ -1014,7 +1012,6 @@ "com.amazonaws.lakeformation#CredentialTimeoutDurationSecondInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 43200 @@ -1760,18 +1757,21 @@ "AverageExecutionTimeMillis": { "target": "com.amazonaws.lakeformation#NumberOfMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The average time the request took to be executed.

" } }, "DataScannedBytes": { "target": "com.amazonaws.lakeformation#NumberOfBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of data that was scanned in bytes.

" } }, "WorkUnitsExecutedCount": { "target": "com.amazonaws.lakeformation#NumberOfItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of work units executed.

" } } @@ -2752,6 +2752,7 @@ "WorkUnitId": { "target": "com.amazonaws.lakeformation#GetWorkUnitResultsRequestWorkUnitIdLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The work unit ID for which to get results. Value generated by enumerating WorkUnitIdMin to WorkUnitIdMax (inclusive) from the WorkUnitRange in the output of GetWorkUnits.

", "smithy.api#required": {} } @@ -2777,6 +2778,7 @@ "com.amazonaws.lakeformation#GetWorkUnitResultsRequestWorkUnitIdLong": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -2788,6 +2790,7 @@ "ResultStream": { "target": "com.amazonaws.lakeformation#ResultStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

Rows returned from the GetWorkUnitResults operation as a stream of Apache Arrow v1.0 messages.

", "smithy.api#httpPayload": {} } @@ -3728,22 +3731,31 @@ } }, "com.amazonaws.lakeformation#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lakeformation#NumberOfBytes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lakeformation#NumberOfItems": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lakeformation#NumberOfMilliseconds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lakeformation#ObjectSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lakeformation#OperationTimeoutException": { "type": "structure", @@ -3782,7 +3794,6 @@ "com.amazonaws.lakeformation#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -3960,24 +3971,28 @@ "EstimatedDataToScanBytes": { "target": "com.amazonaws.lakeformation#NumberOfBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An estimate of the data that was scanned in bytes.

" } }, "PlanningTimeMillis": { "target": "com.amazonaws.lakeformation#NumberOfMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time that it took to process the request.

" } }, "QueueTimeMillis": { "target": "com.amazonaws.lakeformation#NumberOfMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time the request was in queue to be processed.

" } }, "WorkUnitsGeneratedCount": { "target": "com.amazonaws.lakeformation#NumberOfItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of work units generated.

" } } @@ -5049,6 +5064,7 @@ "Size": { "target": "com.amazonaws.lakeformation#ObjectSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the Amazon S3 object in bytes.

" } } @@ -5763,7 +5779,10 @@ } }, "com.amazonaws.lakeformation#WorkUnitIdLong": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lakeformation#WorkUnitRange": { "type": "structure", @@ -5771,6 +5790,7 @@ "WorkUnitIdMax": { "target": "com.amazonaws.lakeformation#WorkUnitIdLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the maximum work unit ID in the range. The maximum value is inclusive.

", "smithy.api#required": {} } @@ -5778,6 +5798,7 @@ "WorkUnitIdMin": { "target": "com.amazonaws.lakeformation#WorkUnitIdLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the minimum work unit ID in the range.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/lambda.json b/codegen/sdk/aws-models/lambda.json index e2fa32bf6f7..8e1c600942d 100644 --- a/codegen/sdk/aws-models/lambda.json +++ b/codegen/sdk/aws-models/lambda.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.lambda#AWSGirApiService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Lambda", - "arnNamespace": "lambda", - "cloudFormationName": "Lambda", - "cloudTrailEventSource": "lambda.amazonaws.com", - "endpointPrefix": "lambda" - }, - "aws.auth#sigv4": { - "name": "lambda" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Lambda\n

\n Overview\n

\n

Lambda is a compute service that lets you run code without provisioning or managing servers.\n Lambda runs your code on a high-availability compute infrastructure and performs all of the\n administration of the compute resources, including server and operating system maintenance, capacity provisioning\n and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any\n type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.

\n

The Lambda API Reference provides information about\n each of the API methods, including details about the parameters in each API request and\n response.

\n

\n

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command\n line tools to access the API. For installation instructions, see Tools for\n Amazon Web Services.

\n

For a list of Region-specific endpoints that Lambda supports, \n see Lambda\n endpoints and quotas in the Amazon Web Services General Reference..

\n

When making the API calls, you will need to\n authenticate your request by providing a signature. Lambda supports signature version 4. For more information,\n see Signature Version 4 signing process in the\n Amazon Web Services General Reference..

\n

\n CA certificates\n

\n\n

Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers\n can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your\n computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate\n environment and do not manage your own computer, you might need to ask an administrator to assist with the\n update process. The following list shows minimum operating system and Java versions:

\n \n

When accessing the Lambda management console or Lambda API endpoints, whether through browsers or\n programmatically, you will need to ensure your client machines support any of the following CAs:

\n \n

Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer\n up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.\n

", - "smithy.api#title": "AWS Lambda" - }, "version": "2015-03-31", "operations": [ { @@ -237,7 +222,22 @@ { "target": "com.amazonaws.lambda#UpdateFunctionUrlConfig" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Lambda", + "arnNamespace": "lambda", + "cloudFormationName": "Lambda", + "cloudTrailEventSource": "lambda.amazonaws.com", + "endpointPrefix": "lambda" + }, + "aws.auth#sigv4": { + "name": "lambda" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Lambda\n

\n Overview\n

\n

Lambda is a compute service that lets you run code without provisioning or managing servers.\n Lambda runs your code on a high-availability compute infrastructure and performs all of the\n administration of the compute resources, including server and operating system maintenance, capacity provisioning\n and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any\n type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.

\n

The Lambda API Reference provides information about\n each of the API methods, including details about the parameters in each API request and\n response.

\n

\n

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command\n line tools to access the API. For installation instructions, see Tools for\n Amazon Web Services.

\n

For a list of Region-specific endpoints that Lambda supports, \n see Lambda\n endpoints and quotas in the Amazon Web Services General Reference..

\n

When making the API calls, you will need to\n authenticate your request by providing a signature. Lambda supports signature version 4. For more information,\n see Signature Version 4 signing process in the\n Amazon Web Services General Reference..

\n

\n CA certificates\n

\n\n

Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers\n can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your\n computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate\n environment and do not manage your own computer, you might need to ask an administrator to assist with the\n update process. The following list shows minimum operating system and Java versions:

\n \n

When accessing the Lambda management console or Lambda API endpoints, whether through browsers or\n programmatically, you will need to ensure your client machines support any of the following CAs:

\n \n

Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer\n up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.\n

", + "smithy.api#title": "AWS Lambda" + } }, "com.amazonaws.lambda#AccountLimit": { "type": "structure", @@ -245,24 +245,28 @@ "TotalCodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage space that you can use for all deployment packages and layer archives.

" } }, "CodeSizeUnzipped": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size of a function's deployment package and layers when they're extracted.

" } }, "CodeSizeZipped": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger\n files.

" } }, "ConcurrentExecutions": { "target": "com.amazonaws.lambda#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of simultaneous function executions.

" } }, @@ -283,12 +287,14 @@ "TotalCodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage space, in bytes, that's being used by deployment packages and layer archives.

" } }, "FunctionCount": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Lambda functions.

" } } @@ -357,6 +363,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -637,10 +644,7 @@ } }, "com.amazonaws.lambda#AllowCredentials": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lambda#AllowMethodsList": { "type": "list", @@ -731,7 +735,6 @@ "com.amazonaws.lambda#BatchSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -739,10 +742,7 @@ } }, "com.amazonaws.lambda#BisectBatchOnFunctionError": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lambda#Blob": { "type": "blob", @@ -757,7 +757,10 @@ } }, "com.amazonaws.lambda#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lambda#CodeSigningConfig": { "type": "structure", @@ -1392,6 +1395,7 @@ "Publish": { "target": "com.amazonaws.lambda#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to publish the first version of the function during creation.

" } }, @@ -2040,6 +2044,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -2273,10 +2278,7 @@ } }, "com.amazonaws.lambda#Enabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lambda#EndPointType": { "type": "string", @@ -2423,7 +2425,6 @@ "com.amazonaws.lambda#EphemeralStorageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 512, "max": 10240 @@ -2819,6 +2820,7 @@ "CodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the function's deployment package, in bytes.

" } }, @@ -4046,6 +4048,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -4084,6 +4087,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -4127,6 +4131,7 @@ "Version": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

" } }, @@ -4347,7 +4352,10 @@ } }, "com.amazonaws.lambda#HttpStatus": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#ImageConfig": { "type": "structure", @@ -4416,7 +4424,10 @@ } }, "com.amazonaws.lambda#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#InvalidCodeSignatureException": { "type": "structure", @@ -4596,6 +4607,7 @@ "StatusCode": { "target": "com.amazonaws.lambda#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status code is in the 200 range for a successful request. For the RequestResponse\n invocation type, this status code is 200. For the Event invocation type, this status code is 202. For\n the DryRun invocation type, the status code is 204.

", "smithy.api#httpResponseCode": {} } @@ -4811,6 +4823,7 @@ "Status": { "target": "com.amazonaws.lambda#HttpStatus", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The status code.

", "smithy.api#httpResponseCode": {} } @@ -4972,6 +4985,7 @@ "CodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the layer archive in bytes.

" } }, @@ -5094,6 +5108,7 @@ "CodeSize": { "target": "com.amazonaws.lambda#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the layer archive in bytes.

" } }, @@ -5115,7 +5130,10 @@ } }, "com.amazonaws.lambda#LayerVersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#LayerVersionsList": { "type": "list", @@ -5135,6 +5153,7 @@ "Version": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

" } }, @@ -6212,7 +6231,10 @@ } }, "com.amazonaws.lambda#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lambda#MasterRegion": { "type": "string", @@ -6223,7 +6245,6 @@ "com.amazonaws.lambda#MaxAge": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 86400 @@ -6233,7 +6254,6 @@ "com.amazonaws.lambda#MaxFunctionEventInvokeConfigListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6243,7 +6263,6 @@ "com.amazonaws.lambda#MaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6253,7 +6272,6 @@ "com.amazonaws.lambda#MaxLayerListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6263,7 +6281,6 @@ "com.amazonaws.lambda#MaxListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10000 @@ -6273,7 +6290,6 @@ "com.amazonaws.lambda#MaxProvisionedConcurrencyConfigListItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -6283,7 +6299,6 @@ "com.amazonaws.lambda#MaximumBatchingWindowInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 300 @@ -6293,7 +6308,6 @@ "com.amazonaws.lambda#MaximumEventAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 21600 @@ -6303,7 +6317,6 @@ "com.amazonaws.lambda#MaximumRecordAgeInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1, "max": 604800 @@ -6313,7 +6326,6 @@ "com.amazonaws.lambda#MaximumRetryAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2 @@ -6323,7 +6335,6 @@ "com.amazonaws.lambda#MaximumRetryAttemptsEventSourceMapping": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -1, "max": 10000 @@ -6333,7 +6344,6 @@ "com.amazonaws.lambda#MemorySize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 128, "max": 10240 @@ -6379,7 +6389,6 @@ "com.amazonaws.lambda#NonNegativeInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6451,7 +6460,6 @@ "com.amazonaws.lambda#ParallelizationFactor": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -6487,7 +6495,6 @@ "com.amazonaws.lambda#PositiveInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6736,6 +6743,7 @@ "Version": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

" } }, @@ -7215,6 +7223,7 @@ "VersionNumber": { "target": "com.amazonaws.lambda#LayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} @@ -7325,7 +7334,6 @@ "com.amazonaws.lambda#ReservedConcurrentExecutions": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -7966,7 +7974,6 @@ "com.amazonaws.lambda#Timeout": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8069,7 +8076,6 @@ "com.amazonaws.lambda#TumblingWindowInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 900 @@ -8089,7 +8095,6 @@ "com.amazonaws.lambda#UnreservedConcurrentExecutions": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -8540,12 +8545,14 @@ "Publish": { "target": "com.amazonaws.lambda#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to publish a new version of the function after updating the code. This has the same effect as\n calling PublishVersion separately.

" } }, "DryRun": { "target": "com.amazonaws.lambda#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to validate the request parameters and access permissions without modifying the function\n code.

" } }, @@ -8964,6 +8971,7 @@ "com.amazonaws.lambda#Weight": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0.0, "max": 1.0 diff --git a/codegen/sdk/aws-models/lex-model-building-service.json b/codegen/sdk/aws-models/lex-model-building-service.json index 726483e460e..c9ebf116914 100644 --- a/codegen/sdk/aws-models/lex-model-building-service.json +++ b/codegen/sdk/aws-models/lex-model-building-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -235,10 +235,7 @@ "type": "blob" }, "com.amazonaws.lexmodelbuildingservice#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lexmodelbuildingservice#BotAliasMetadata": { "type": "structure", @@ -613,7 +610,6 @@ "com.amazonaws.lexmodelbuildingservice#ConfidenceThreshold": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -664,7 +660,6 @@ "com.amazonaws.lexmodelbuildingservice#ContextTimeToLiveInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 86400 @@ -674,7 +669,6 @@ "com.amazonaws.lexmodelbuildingservice#ContextTurnsToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -724,10 +718,7 @@ } }, "com.amazonaws.lexmodelbuildingservice#Count": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.lexmodelbuildingservice#CreateBotVersion": { "type": "operation", @@ -1197,6 +1188,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1231,6 +1225,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotAliasRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1286,6 +1283,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotChannelAssociationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1359,6 +1359,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteBotVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1414,6 +1417,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1461,6 +1467,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteIntentVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1516,6 +1525,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1563,6 +1575,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteSlotTypeVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -1618,6 +1633,9 @@ "input": { "target": "com.amazonaws.lexmodelbuildingservice#DeleteUtterancesRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.lexmodelbuildingservice#BadRequestException" @@ -3857,7 +3875,6 @@ "com.amazonaws.lexmodelbuildingservice#GroupNumber": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -4349,7 +4366,6 @@ "com.amazonaws.lexmodelbuildingservice#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -4739,7 +4755,6 @@ "com.amazonaws.lexmodelbuildingservice#Priority": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4792,7 +4807,6 @@ "com.amazonaws.lexmodelbuildingservice#PromptMaxAttempts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -5750,7 +5764,6 @@ "com.amazonaws.lexmodelbuildingservice#SessionTTL": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 86400 diff --git a/codegen/sdk/aws-models/lex-models-v2.json b/codegen/sdk/aws-models/lex-models-v2.json index e85dae1a9b5..725a160dd05 100644 --- a/codegen/sdk/aws-models/lex-models-v2.json +++ b/codegen/sdk/aws-models/lex-models-v2.json @@ -7756,8 +7756,6 @@ "active": { "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Specifies whether an intent's closing response is used. When this\n field is false, the closing response isn't sent to the user. If the\n active field isn't specified, the default is\n true.

" } }, @@ -7797,8 +7795,6 @@ "active": { "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Specifies whether the intent's confirmation is sent to the user.\n When this field is false, confirmation and declination responses aren't\n sent. If the active field isn't specified, the default is\n true.

" } }, @@ -11060,8 +11056,6 @@ "searchOrder": { "target": "com.amazonaws.lexmodelsv2#SearchOrder", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "Descending", "smithy.api#documentation": "

How SearchResults are ordered. Valid values are Ascending or\n Descending. The default is Descending.

" } }, @@ -11918,8 +11912,6 @@ "resolutionStrategy": { "target": "com.amazonaws.lexmodelsv2#SlotValueResolutionStrategy", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "OriginalValue", "smithy.api#documentation": "

Determines the slot resolution strategy that Amazon Lex uses to\n return slot type values. The field can be set to one of the following\n values:

\n\n \n\n

If you don't specify the valueSelectionStrategy, the default is\n OriginalValue.

", "smithy.api#required": {} } @@ -14392,8 +14384,6 @@ "engine": { "target": "com.amazonaws.lexmodelsv2#VoiceEngine", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "standard", "smithy.api#documentation": "

Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more\n information, see the \n engine parameter of the\n SynthesizeSpeech operation in the\n Amazon Polly developer guide.

\n

If you do not specify a value, the default is\n standard.

" } } @@ -14428,8 +14418,6 @@ "active": { "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": true, "smithy.api#documentation": "

Specifies whether the bot will wait for a user to respond. When this\n field is false, wait and continue responses for a slot aren't used. If\n the active field isn't specified, the default is\n true.

" } } diff --git a/codegen/sdk/aws-models/lex-runtime-service.json b/codegen/sdk/aws-models/lex-runtime-service.json index db906a11783..8b5b15bcdaa 100644 --- a/codegen/sdk/aws-models/lex-runtime-service.json +++ b/codegen/sdk/aws-models/lex-runtime-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -145,7 +145,6 @@ "com.amazonaws.lexruntimeservice#ActiveContextTimeToLiveInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 86400 @@ -155,7 +154,6 @@ "com.amazonaws.lexruntimeservice#ActiveContextTurnsToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -521,7 +519,10 @@ } }, "com.amazonaws.lexruntimeservice#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lexruntimeservice#ErrorMessage": { "type": "string" @@ -694,6 +695,7 @@ "score": { "target": "com.amazonaws.lexruntimeservice#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A score that indicates how confident Amazon Lex is that an intent satisfies\n the user's intent. Ranges between 0.00 and 1.00. Higher scores indicate\n higher confidence.

" } } @@ -1132,6 +1134,7 @@ "audioStream": { "target": "com.amazonaws.lexruntimeservice#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The prompt (or statement) to convey to the user. This is based on the\n bot configuration and context. For example, if Amazon Lex did not understand\n the user intent, it sends the clarificationPrompt configured\n for the bot. If the intent requires confirmation before taking the\n fulfillment action, it sends the confirmationPrompt. Another\n example: Suppose that the Lambda function successfully fulfilled the\n intent, and sent a message to convey to the user. Then Amazon Lex sends that\n message in the response.

", "smithy.api#httpPayload": {} } @@ -1546,6 +1549,7 @@ "audioStream": { "target": "com.amazonaws.lexruntimeservice#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The audio version of the message to convey to the user.

", "smithy.api#httpPayload": {} } diff --git a/codegen/sdk/aws-models/lex-runtime-v2.json b/codegen/sdk/aws-models/lex-runtime-v2.json index 333a12c8b90..5ef9fc2f5c3 100644 --- a/codegen/sdk/aws-models/lex-runtime-v2.json +++ b/codegen/sdk/aws-models/lex-runtime-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,27 @@ "shapes": { "com.amazonaws.lexruntimev2#AWSDeepSenseRunTimeServiceApi2_0": { "type": "service", + "version": "2020-08-07", + "operations": [ + { + "target": "com.amazonaws.lexruntimev2#DeleteSession" + }, + { + "target": "com.amazonaws.lexruntimev2#GetSession" + }, + { + "target": "com.amazonaws.lexruntimev2#PutSession" + }, + { + "target": "com.amazonaws.lexruntimev2#RecognizeText" + }, + { + "target": "com.amazonaws.lexruntimev2#RecognizeUtterance" + }, + { + "target": "com.amazonaws.lexruntimev2#StartConversation" + } + ], "traits": { "aws.api#service": { "sdkId": "Lex Runtime V2", @@ -53,28 +74,7 @@ }, "smithy.api#documentation": "

", "smithy.api#title": "Amazon Lex Runtime V2" - }, - "version": "2020-08-07", - "operations": [ - { - "target": "com.amazonaws.lexruntimev2#DeleteSession" - }, - { - "target": "com.amazonaws.lexruntimev2#GetSession" - }, - { - "target": "com.amazonaws.lexruntimev2#PutSession" - }, - { - "target": "com.amazonaws.lexruntimev2#RecognizeText" - }, - { - "target": "com.amazonaws.lexruntimev2#RecognizeUtterance" - }, - { - "target": "com.amazonaws.lexruntimev2#StartConversation" - } - ] + } }, "com.amazonaws.lexruntimev2#AccessDeniedException": { "type": "structure", @@ -171,7 +171,6 @@ "com.amazonaws.lexruntimev2#ActiveContextTimeToLiveInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 86400 @@ -181,7 +180,6 @@ "com.amazonaws.lexruntimev2#ActiveContextTurnsToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -246,6 +244,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.

" } } @@ -303,7 +302,10 @@ } }, "com.amazonaws.lexruntimev2#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lexruntimev2#BotAliasIdentifier": { "type": "string" @@ -376,6 +378,7 @@ "score": { "target": "com.amazonaws.lexruntimev2#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A score that indicates how confident Amazon Lex V2 is that an intent\n satisfies the user's intent. Ranges between 0.00 and 1.00. Higher\n scores indicate higher confidence.

" } } @@ -412,6 +415,7 @@ "disablePlayback": { "target": "com.amazonaws.lexruntimev2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines whether Amazon Lex V2 should send audio responses to the client\n application. \n

\n

Set this field to false when the client is operating in a playback\n mode where audio responses are played to the user. If the client isn't\n operating in playback mode, such as a text chat application, set this\n to true so that Amazon Lex V2 doesn't wait for the prompt to finish playing on\n the client.

" } }, @@ -424,6 +428,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.

" } } @@ -501,6 +506,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.

" } } @@ -715,6 +721,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.

" } } @@ -724,7 +731,10 @@ } }, "com.amazonaws.lexruntimev2#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lexruntimev2#ElicitSubSlot": { "type": "structure", @@ -748,7 +758,10 @@ } }, "com.amazonaws.lexruntimev2#EpochMillis": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lexruntimev2#EventId": { "type": "string", @@ -1191,6 +1204,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.

" } } @@ -1391,6 +1405,7 @@ "audioStream": { "target": "com.amazonaws.lexruntimev2#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

If the requested content type was audio, the audio version of the\n message to convey to the user.

", "smithy.api#httpPayload": {} } @@ -1645,6 +1660,7 @@ "inputStream": { "target": "com.amazonaws.lexruntimev2#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

User input in PCM or Opus audio format or text format as described\n in the requestContentType parameter.

", "smithy.api#httpPayload": {} } @@ -1713,6 +1729,7 @@ "audioStream": { "target": "com.amazonaws.lexruntimev2#BlobStream", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The prompt or statement to send to the user. This is based on the\n bot configuration and context. For example, if Amazon Lex V2 did not understand\n the user intent, it sends the clarificationPrompt\n configured for the bot. If the intent requires confirmation before\n taking the fulfillment action, it sends the\n confirmationPrompt. Another example: Suppose that the\n Lambda function successfully fulfilled the intent, and sent a message\n to convey to the user. Then Amazon Lex V2 sends that message in the\n response.

", "smithy.api#httpPayload": {} } @@ -1834,24 +1851,28 @@ "positive": { "target": "com.amazonaws.lexruntimev2#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the POSITIVE sentiment.

" } }, "negative": { "target": "com.amazonaws.lexruntimev2#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the NEGATIVE sentiment.

" } }, "neutral": { "target": "com.amazonaws.lexruntimev2#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the NEUTRAL sentiment.

" } }, "mixed": { "target": "com.amazonaws.lexruntimev2#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The level of confidence that Amazon Comprehend has in the accuracy\n of its detection of the MIXED sentiment.

" } } @@ -2293,6 +2314,7 @@ "clientTimestampMillis": { "target": "com.amazonaws.lexruntimev2#EpochMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A timestamp set by the client of the date and time that the event\n was sent to Amazon Lex V2.

" } } diff --git a/codegen/sdk/aws-models/license-manager-user-subscriptions.json b/codegen/sdk/aws-models/license-manager-user-subscriptions.json index 04488c6868c..be6f3e64d93 100644 --- a/codegen/sdk/aws-models/license-manager-user-subscriptions.json +++ b/codegen/sdk/aws-models/license-manager-user-subscriptions.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException": { "type": "structure", @@ -113,10 +113,7 @@ } }, "com.amazonaws.licensemanagerusersubscriptions#BoxInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.licensemanagerusersubscriptions#ConflictException": { "type": "structure", @@ -501,6 +498,39 @@ }, "com.amazonaws.licensemanagerusersubscriptions#LicenseManagerUserSubscriptions": { "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.licensemanagerusersubscriptions#AssociateUser" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#DeregisterIdentityProvider" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#DisassociateUser" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListInstances" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListProductSubscriptions" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#ListUserAssociations" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#RegisterIdentityProvider" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#StartProductSubscription" + }, + { + "target": "com.amazonaws.licensemanagerusersubscriptions#StopProductSubscription" + } + ], "traits": { "aws.api#service": { "sdkId": "License Manager User Subscriptions", @@ -536,40 +566,7 @@ }, "smithy.api#documentation": "

With License Manager, you can create user-based subscriptions to utilize licensed software with a per user subscription fee on Amazon EC2 instances.

", "smithy.api#title": "AWS License Manager User Subscriptions" - }, - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.licensemanagerusersubscriptions#AssociateUser" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#DeregisterIdentityProvider" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#DisassociateUser" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListInstances" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListProductSubscriptions" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#ListUserAssociations" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#RegisterIdentityProvider" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#StartProductSubscription" - }, - { - "target": "com.amazonaws.licensemanagerusersubscriptions#StopProductSubscription" - } - ] + } }, "com.amazonaws.licensemanagerusersubscriptions#ListIdentityProviders": { "type": "operation", @@ -1300,4 +1297,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/license-manager.json b/codegen/sdk/aws-models/license-manager.json index a7eeb16f2fb..69f1e7e2fa3 100644 --- a/codegen/sdk/aws-models/license-manager.json +++ b/codegen/sdk/aws-models/license-manager.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -379,7 +379,10 @@ } }, "com.amazonaws.licensemanager#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.licensemanager#BorrowConfiguration": { "type": "structure", @@ -404,22 +407,13 @@ } }, "com.amazonaws.licensemanager#BoxBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.licensemanager#BoxInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.licensemanager#BoxLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.licensemanager#CheckInLicense": { "type": "operation", @@ -2509,6 +2503,7 @@ "DryRun": { "target": "com.amazonaws.licensemanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Checks whether you have the required permissions for the action, without actually making the request. Provides an error response if you do not have the required permissions.

" } } @@ -3471,10 +3466,7 @@ } }, "com.amazonaws.licensemanager#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.licensemanager#InvalidParameterValueException": { "type": "structure", @@ -5349,10 +5341,7 @@ "type": "string" }, "com.amazonaws.licensemanager#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.licensemanager#ManagedResourceSummary": { "type": "structure", @@ -5383,7 +5372,6 @@ "com.amazonaws.licensemanager#MaxSize100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5450,6 +5438,7 @@ "EnableIntegration": { "target": "com.amazonaws.licensemanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables Organizations integration.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/lightsail.json b/codegen/sdk/aws-models/lightsail.json index 4a1ae48f8a0..6e37d246caa 100644 --- a/codegen/sdk/aws-models/lightsail.json +++ b/codegen/sdk/aws-models/lightsail.json @@ -2573,40 +2573,30 @@ "healthyThreshold": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2, "smithy.api#documentation": "

The number of consecutive health checks successes required before moving the container to\n the Healthy state. The default value is 2.

" } }, "unhealthyThreshold": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2, "smithy.api#documentation": "

The number of consecutive health check failures required before moving the container to\n the Unhealthy state. The default value is 2.

" } }, "timeoutSeconds": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 2, "smithy.api#documentation": "

The amount of time, in seconds, during which no response means a failed health check. You\n can specify between 2 and 60 seconds. The default value is 2.

" } }, "intervalSeconds": { "target": "com.amazonaws.lightsail#integer", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 5, "smithy.api#documentation": "

The approximate interval, in seconds, between health checks of an individual container.\n You can specify between 5 and 300 seconds. The default value is 5.

" } }, "path": { "target": "com.amazonaws.lightsail#string", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "/", "smithy.api#documentation": "

The path on the container on which to perform the health check. The default value is\n /.

" } }, @@ -4056,8 +4046,6 @@ "ipAddressType": { "target": "com.amazonaws.lightsail#IpAddressType", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "dualstack", "smithy.api#documentation": "

The IP address type for the distribution.

\n\n

The possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.

\n\n

The default value is dualstack.

" } }, @@ -4444,8 +4432,6 @@ "ipAddressType": { "target": "com.amazonaws.lightsail#IpAddressType", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "dualstack", "smithy.api#documentation": "

The IP address type for the instance.

\n\n

The possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.

\n\n

The default value is dualstack.

" } }, @@ -4545,8 +4531,6 @@ "ipAddressType": { "target": "com.amazonaws.lightsail#IpAddressType", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "dualstack", "smithy.api#documentation": "

The IP address type for the instance.

\n\n

The possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.

\n\n

The default value is dualstack.

" } } @@ -4741,8 +4725,6 @@ "ipAddressType": { "target": "com.amazonaws.lightsail#IpAddressType", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "dualstack", "smithy.api#documentation": "

The IP address type for the load balancer.

\n\n

The possible values are ipv4 for IPv4 only, and dualstack for\n IPv4 and IPv6.

\n\n

The default value is dualstack.

" } }, diff --git a/codegen/sdk/aws-models/location.json b/codegen/sdk/aws-models/location.json index b4cb979d5ea..09c704d4a2a 100644 --- a/codegen/sdk/aws-models/location.json +++ b/codegen/sdk/aws-models/location.json @@ -7356,4 +7356,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/lookoutequipment.json b/codegen/sdk/aws-models/lookoutequipment.json index 456f28574f5..d1004f7df08 100644 --- a/codegen/sdk/aws-models/lookoutequipment.json +++ b/codegen/sdk/aws-models/lookoutequipment.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.lookoutequipment#AWSLookoutEquipmentFrontendService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "LookoutEquipment", - "arnNamespace": "lookoutequipment", - "cloudFormationName": "LookoutEquipment", - "cloudTrailEventSource": "lookoutequipment.amazonaws.com", - "endpointPrefix": "lookoutequipment" - }, - "aws.auth#sigv4": { - "name": "lookoutequipment" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify\n anomalies in machines from sensor data for use in predictive maintenance.

", - "smithy.api#title": "Amazon Lookout for Equipment" - }, "version": "2020-12-15", "operations": [ { @@ -147,7 +132,22 @@ { "target": "com.amazonaws.lookoutequipment#UpdateLabelGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LookoutEquipment", + "arnNamespace": "lookoutequipment", + "cloudFormationName": "LookoutEquipment", + "cloudTrailEventSource": "lookoutequipment.amazonaws.com", + "endpointPrefix": "lookoutequipment" + }, + "aws.auth#sigv4": { + "name": "lookoutequipment" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

Amazon Lookout for Equipment is a machine learning service that uses advanced analytics to identify\n anomalies in machines from sensor data for use in predictive maintenance.

", + "smithy.api#title": "Amazon Lookout for Equipment" + } }, "com.amazonaws.lookoutequipment#AccessDeniedException": { "type": "structure", @@ -175,7 +175,10 @@ } }, "com.amazonaws.lookoutequipment#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lookoutequipment#BoundedLengthString": { "type": "string", @@ -267,6 +270,7 @@ "Percentage": { "target": "com.amazonaws.lookoutequipment#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the percentage of occurances of the given statistic.

", "smithy.api#required": {} } @@ -834,7 +838,6 @@ "com.amazonaws.lookoutequipment#DataDelayOffsetInMinutes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 60 @@ -945,7 +948,6 @@ "com.amazonaws.lookoutequipment#DataSizeInBytes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2058,7 +2060,6 @@ "com.amazonaws.lookoutequipment#EventDurationInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -2093,7 +2094,10 @@ } }, "com.amazonaws.lookoutequipment#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lookoutequipment#IamRoleArn": { "type": "string", @@ -2616,10 +2620,7 @@ } }, "com.amazonaws.lookoutequipment#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.lookoutequipment#InternalServerException": { "type": "structure", @@ -3720,7 +3721,6 @@ "com.amazonaws.lookoutequipment#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -4048,6 +4048,7 @@ "DataExists": { "target": "com.amazonaws.lookoutequipment#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Parameter that indicates whether data exists for the sensor that the statistics belong\n to.

" } }, diff --git a/codegen/sdk/aws-models/lookoutmetrics.json b/codegen/sdk/aws-models/lookoutmetrics.json index 3d8a99f7b73..70c6058b9e6 100644 --- a/codegen/sdk/aws-models/lookoutmetrics.json +++ b/codegen/sdk/aws-models/lookoutmetrics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -169,6 +169,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum severity for an anomaly to trigger the alert.

" } }, @@ -286,6 +287,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum severity for an anomaly to trigger the alert.

" } }, @@ -642,6 +644,7 @@ "TotalCount": { "target": "com.amazonaws.lookoutmetrics#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of groups found.

" } }, @@ -1033,10 +1036,7 @@ } }, "com.amazonaws.lookoutmetrics#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lookoutmetrics#CSVFileCompression": { "type": "string", @@ -1207,6 +1207,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer from 0 to 100 specifying the alert sensitivity threshold.

" } }, @@ -1413,7 +1414,7 @@ "Offset": { "target": "com.amazonaws.lookoutmetrics#Offset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

" } }, @@ -1628,6 +1629,7 @@ "com.amazonaws.lookoutmetrics#DatabasePort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -1925,7 +1927,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of items to return in the response.

" } }, @@ -2153,7 +2155,7 @@ "Offset": { "target": "com.amazonaws.lookoutmetrics#Offset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

" } }, @@ -2568,10 +2570,7 @@ } }, "com.amazonaws.lookoutmetrics#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.lookoutmetrics#ErrorMessage": { "type": "string", @@ -2898,7 +2897,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3027,7 +3026,10 @@ } }, "com.amazonaws.lookoutmetrics#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lookoutmetrics#InterMetricImpactDetails": { "type": "structure", @@ -3095,6 +3097,7 @@ "OccurrenceCount": { "target": "com.amazonaws.lookoutmetrics#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times that the measure appears.

" } } @@ -3233,7 +3236,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results that will be displayed by the request.

" } } @@ -3301,7 +3304,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3395,7 +3398,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3476,6 +3479,7 @@ "SensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum severity score for inclusion in the output.

", "smithy.api#required": {} } @@ -3483,7 +3487,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3584,7 +3588,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3682,7 +3686,7 @@ "MaxResults": { "target": "com.amazonaws.lookoutmetrics#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } }, @@ -3767,21 +3771,6 @@ }, "com.amazonaws.lookoutmetrics#LookoutMetrics": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "LookoutMetrics", - "arnNamespace": "lookoutmetrics", - "cloudFormationName": "LookoutMetrics", - "cloudTrailEventSource": "lookoutmetrics.amazonaws.com", - "endpointPrefix": "lookoutmetrics" - }, - "aws.auth#sigv4": { - "name": "lookoutmetrics" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This is the Amazon Lookout for Metrics API Reference. For an introduction to the service\n with tutorials for getting started, visit Amazon\n Lookout for Metrics Developer Guide.

", - "smithy.api#title": "Amazon Lookout for Metrics" - }, "version": "2017-07-25", "operations": [ { @@ -3874,11 +3863,27 @@ { "target": "com.amazonaws.lookoutmetrics#UpdateMetricSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LookoutMetrics", + "arnNamespace": "lookoutmetrics", + "cloudFormationName": "LookoutMetrics", + "cloudTrailEventSource": "lookoutmetrics.amazonaws.com", + "endpointPrefix": "lookoutmetrics" + }, + "aws.auth#sigv4": { + "name": "lookoutmetrics" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

This is the Amazon Lookout for Metrics API Reference. For an introduction to the service\n with tutorials for getting started, visit Amazon\n Lookout for Metrics Developer Guide.

", + "smithy.api#title": "Amazon Lookout for Metrics" + } }, "com.amazonaws.lookoutmetrics#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -3919,7 +3924,6 @@ "com.amazonaws.lookoutmetrics#MetricChangePercentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 100.0 @@ -3938,6 +3942,7 @@ "NumTimeSeries": { "target": "com.amazonaws.lookoutmetrics#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of anomalous metrics for the measure.

" } }, @@ -4161,10 +4166,7 @@ } }, "com.amazonaws.lookoutmetrics#MetricValue": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.lookoutmetrics#MetricValueList": { "type": "list", @@ -4204,6 +4206,7 @@ "com.amazonaws.lookoutmetrics#Offset": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 432000 @@ -4328,7 +4331,7 @@ "DatabasePort": { "target": "com.amazonaws.lookoutmetrics#DatabasePort", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The port number where the database can be accessed.

" } }, @@ -4405,7 +4408,7 @@ "DatabasePort": { "target": "com.amazonaws.lookoutmetrics#DatabasePort", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The port number where the database can be accessed.

" } }, @@ -4611,7 +4614,6 @@ "com.amazonaws.lookoutmetrics#Score": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 100.0 @@ -4637,6 +4639,7 @@ "com.amazonaws.lookoutmetrics#SensitivityThreshold": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5115,6 +5118,7 @@ "AlertSensitivityThreshold": { "target": "com.amazonaws.lookoutmetrics#SensitivityThreshold", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer from 0 to 100 specifying the alert sensitivity threshold.

" } }, @@ -5280,7 +5284,7 @@ "Offset": { "target": "com.amazonaws.lookoutmetrics#Offset", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.

" } }, diff --git a/codegen/sdk/aws-models/lookoutvision.json b/codegen/sdk/aws-models/lookoutvision.json index 80d9d65af0d..8f09f809c2f 100644 --- a/codegen/sdk/aws-models/lookoutvision.json +++ b/codegen/sdk/aws-models/lookoutvision.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -101,7 +101,10 @@ } }, "com.amazonaws.lookoutvision#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.lookoutvision#ClientToken": { "type": "string", @@ -1276,6 +1279,7 @@ "IsAnomalous": { "target": "com.amazonaws.lookoutvision#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if Amazon Lookout for Vision classifies the image as containing an anomaly, otherwise false.

" } }, @@ -1306,10 +1310,7 @@ "type": "string" }, "com.amazonaws.lookoutvision#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.lookoutvision#GreengrassConfiguration": { "type": "structure", @@ -1418,7 +1419,6 @@ "com.amazonaws.lookoutvision#InferenceUnits": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1453,10 +1453,7 @@ } }, "com.amazonaws.lookoutvision#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.lookoutvision#InternalServerException": { "type": "structure", @@ -1470,6 +1467,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The period of time, in seconds, before the operation can be retried.

", "smithy.api#httpHeader": "Retry-After" } @@ -1482,10 +1480,7 @@ } }, "com.amazonaws.lookoutvision#IsLabeled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.lookoutvision#KmsKeyId": { "type": "string", @@ -1940,21 +1935,6 @@ }, "com.amazonaws.lookoutvision#LookoutVisionService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "LookoutVision", - "arnNamespace": "lookoutvision", - "cloudFormationName": "LookoutVision", - "cloudTrailEventSource": "lookoutvision.amazonaws.com", - "endpointPrefix": "lookoutvision" - }, - "aws.auth#sigv4": { - "name": "lookoutvision" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, \n data types, common parameters, and common errors.

\n

Amazon Lookout for Vision enables you to find visual defects in industrial products,\n accurately and at scale. It uses computer vision to identify missing components in an industrial product,\n damage to vehicles or structures, irregularities in production lines, and even minuscule defects in\n silicon wafers — or any other physical item where quality is important such as a missing capacitor\n on printed circuit boards.

", - "smithy.api#title": "Amazon Lookout for Vision" - }, "version": "2020-11-20", "operations": [ { @@ -2023,7 +2003,22 @@ { "target": "com.amazonaws.lookoutvision#UpdateDatasetEntries" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "LookoutVision", + "arnNamespace": "lookoutvision", + "cloudFormationName": "LookoutVision", + "cloudTrailEventSource": "lookoutvision.amazonaws.com", + "endpointPrefix": "lookoutvision" + }, + "aws.auth#sigv4": { + "name": "lookoutvision" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

This is the Amazon Lookout for Vision API Reference. It provides descriptions of actions, \n data types, common parameters, and common errors.

\n

Amazon Lookout for Vision enables you to find visual defects in industrial products,\n accurately and at scale. It uses computer vision to identify missing components in an industrial product,\n damage to vehicles or structures, irregularities in production lines, and even minuscule defects in\n silicon wafers — or any other physical item where quality is important such as a missing capacitor\n on printed circuit boards.

", + "smithy.api#title": "Amazon Lookout for Vision" + } }, "com.amazonaws.lookoutvision#ModelArn": { "type": "string" @@ -2572,7 +2567,6 @@ "com.amazonaws.lookoutvision#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2754,7 +2748,10 @@ } }, "com.amazonaws.lookoutvision#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.lookoutvision#S3BucketName": { "type": "string", @@ -3373,6 +3370,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.lookoutvision#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The period of time, in seconds, before the operation can be retried.

", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/m2.json b/codegen/sdk/aws-models/m2.json index 929aab2e34f..33aab884986 100644 --- a/codegen/sdk/aws-models/m2.json +++ b/codegen/sdk/aws-models/m2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.m2#AccessDeniedException": { "type": "structure", @@ -29,6 +29,7 @@ "offset": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A positive integer value representing the offset to mark the start of the alternate key\n part in the record byte array.

", "smithy.api#required": {} } @@ -36,6 +37,7 @@ "length": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A strictly positive integer value representing the length of the alternate key.

", "smithy.api#required": {} } @@ -43,6 +45,7 @@ "allowDuplicates": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the alternate key values are supposed to be unique for the given data\n set.

" } } @@ -379,6 +382,29 @@ }, "com.amazonaws.m2#AwsSupernovaControlPlaneService": { "type": "service", + "version": "2021-04-28", + "operations": [ + { + "target": "com.amazonaws.m2#ListEngineVersions" + }, + { + "target": "com.amazonaws.m2#ListTagsForResource" + }, + { + "target": "com.amazonaws.m2#TagResource" + }, + { + "target": "com.amazonaws.m2#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.m2#Application" + }, + { + "target": "com.amazonaws.m2#Environment" + } + ], "traits": { "aws.api#service": { "sdkId": "m2", @@ -417,30 +443,7 @@ }, "smithy.api#documentation": "

Amazon Web Services Mainframe Modernization provides tools and resources to help you plan and implement migration and\n modernization from mainframes to Amazon Web Services managed runtime environments. It provides tools for\n analyzing existing mainframe applications, developing or updating mainframe applications\n using COBOL or PL/I, and implementing an automated pipeline for continuous integration and\n continuous delivery (CI/CD) of the applications.

", "smithy.api#title": "AWSMainframeModernization" - }, - "version": "2021-04-28", - "operations": [ - { - "target": "com.amazonaws.m2#ListEngineVersions" - }, - { - "target": "com.amazonaws.m2#ListTagsForResource" - }, - { - "target": "com.amazonaws.m2#TagResource" - }, - { - "target": "com.amazonaws.m2#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.m2#Application" - }, - { - "target": "com.amazonaws.m2#Environment" - } - ] + } }, "com.amazonaws.m2#BatchJobDefinition": { "type": "union", @@ -654,7 +657,10 @@ } }, "com.amazonaws.m2#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.m2#CancelBatchJobExecution": { "type": "operation", @@ -725,7 +731,6 @@ "com.amazonaws.m2#CapacityValue": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1166,6 +1171,7 @@ "publiclyAccessible": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the environment is publicly accessible.

" } }, @@ -1309,6 +1315,7 @@ "total": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of data set imports.

", "smithy.api#required": {} } @@ -1316,6 +1323,7 @@ "succeeded": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of data set imports that have succeeded.

", "smithy.api#required": {} } @@ -1323,6 +1331,7 @@ "failed": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of data set imports that have failed.

", "smithy.api#required": {} } @@ -1330,6 +1339,7 @@ "pending": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of data set imports that are pending.

", "smithy.api#required": {} } @@ -1337,6 +1347,7 @@ "inProgress": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of data set imports that are in progress.

", "smithy.api#required": {} } @@ -2107,6 +2118,7 @@ "limit": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of generation data sets, up to 255, in a GDG.

" } }, @@ -2127,6 +2139,7 @@ "limit": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of generation data sets, up to 255, in a GDG.

" } }, @@ -2630,7 +2643,7 @@ "recordLength": { "target": "com.amazonaws.m2#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The length of records in the data set.

" } }, @@ -2643,7 +2656,7 @@ "blocksize": { "target": "com.amazonaws.m2#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The size of the block on disk.

" } }, @@ -3018,6 +3031,7 @@ "publiclyAccessible": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether applications running in this runtime environment are publicly accessible.\n

" } }, @@ -3087,7 +3101,10 @@ } }, "com.amazonaws.m2#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.m2#InternalServerException": { "type": "structure", @@ -3101,6 +3118,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds to wait before retrying the request.

", "smithy.api#httpHeader": "Retry-After" } @@ -3171,7 +3189,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of application versions to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3265,7 +3283,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of applications to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3373,7 +3391,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of batch job definitions to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3477,7 +3495,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of batch job executions to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3603,7 +3621,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3708,7 +3726,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3804,7 +3822,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3905,7 +3923,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects to return.

", "smithy.api#httpQuery": "maxResults" } @@ -3985,7 +4003,7 @@ "maxResults": { "target": "com.amazonaws.m2#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of environments to return.

", "smithy.api#httpQuery": "maxResults" } @@ -4150,7 +4168,6 @@ "com.amazonaws.m2#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4206,6 +4223,7 @@ "offset": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A positive integer value representing the offset to mark the start of the primary key in\n the record byte array.

", "smithy.api#required": {} } @@ -4213,6 +4231,7 @@ "length": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A strictly positive integer value representing the length of the primary key.

", "smithy.api#required": {} } @@ -4228,6 +4247,7 @@ "min": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum record length of a record.

", "smithy.api#required": {} } @@ -4235,6 +4255,7 @@ "max": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum record length. In case of fixed, both minimum and maximum are the\n same.

", "smithy.api#required": {} } @@ -4525,6 +4546,7 @@ "forceStop": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Stopping an application process can take a long time. Setting this parameter to true\n lets you force stop the application so you don't need to wait until the process finishes to\n apply another action on the application. The default value is false.

" } } @@ -4735,6 +4757,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.m2#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds to wait before retrying the request.

", "smithy.api#httpHeader": "Retry-After" } @@ -4956,7 +4979,7 @@ "desiredCapacity": { "target": "com.amazonaws.m2#CapacityValue", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The desired capacity for the environment to update.

" } }, @@ -4981,6 +5004,7 @@ "applyDuringMaintenanceWindow": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to update the environment during the maintenance window. The default\n is false. Currently, Amazon Web Services Mainframe Modernization accepts the engineVersion parameter only if\n applyDuringMaintenanceWindow is true. If any parameter other than\n engineVersion is provided in UpdateEnvironmentRequest, it will\n fail if applyDuringMaintenanceWindow is set to true.

" } } @@ -5080,7 +5104,6 @@ "com.amazonaws.m2#Version": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5105,6 +5128,7 @@ "compressed": { "target": "com.amazonaws.m2#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether indexes for this dataset are stored as compressed values. If you have\n a large data set (typically > 100 Mb), consider setting this flag to True.

" } }, @@ -5143,14 +5167,14 @@ "compressed": { "target": "com.amazonaws.m2#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Indicates whether indexes for this dataset are stored as compressed values. If you have\n a large data set (typically > 100 Mb), consider setting this flag to True.

" } }, "cacheAtStartup": { "target": "com.amazonaws.m2#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

If set to True, enforces loading the data set into cache before it’s used by the\n application.

" } }, @@ -5172,4 +5196,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/machine-learning.json b/codegen/sdk/aws-models/machine-learning.json index bf6408b6711..e62f958651f 100644 --- a/codegen/sdk/aws-models/machine-learning.json +++ b/codegen/sdk/aws-models/machine-learning.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -378,7 +378,10 @@ } }, "com.amazonaws.machinelearning#ComputeStatistics": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.machinelearning#CreateBatchPrediction": { "type": "operation", @@ -512,6 +515,7 @@ "ComputeStatistics": { "target": "com.amazonaws.machinelearning#ComputeStatistics", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by \n a DataSource. Amazon ML uses the statistics internally during MLModel training.\n This parameter must be set to true if the DataSource needs to be used for MLModel training.\n

" } } @@ -587,6 +591,7 @@ "ComputeStatistics": { "target": "com.amazonaws.machinelearning#ComputeStatistics", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by \n a DataSource. Amazon ML uses the statistics internally during MLModel training.\n This parameter must be set to true if the DataSource needs to\n be used for MLModel training.

" } } @@ -655,6 +660,7 @@ "ComputeStatistics": { "target": "com.amazonaws.machinelearning#ComputeStatistics", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by \n a DataSource. Amazon ML uses the statistics internally during MLModel training.\n This parameter must be set to true if the DataSource needs to be used for MLModel training.

" } } @@ -979,6 +985,7 @@ "ComputeStatistics": { "target": "com.amazonaws.machinelearning#ComputeStatistics", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n The parameter is true if statistics need to be generated from the observation data.\n

" } }, @@ -2144,7 +2151,10 @@ } }, "com.amazonaws.machinelearning#ErrorCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.machinelearning#ErrorMessage": { "type": "string", @@ -2465,6 +2475,7 @@ "Verbose": { "target": "com.amazonaws.machinelearning#Verbose", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the GetDataSource operation should return DataSourceSchema.

\n

If true, DataSourceSchema is returned.

\n

If false, DataSourceSchema is not returned.

" } } @@ -2557,6 +2568,7 @@ "ComputeStatistics": { "target": "com.amazonaws.machinelearning#ComputeStatistics", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n The parameter is true if statistics need to be generated from the observation data.\n

" } }, @@ -2758,6 +2770,7 @@ "Verbose": { "target": "com.amazonaws.machinelearning#Verbose", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the GetMLModel operation should return Recipe.

\n

If true, Recipe is returned.

\n

If false, Recipe is not returned.

" } } @@ -2901,7 +2914,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -2913,6 +2929,7 @@ "com.amazonaws.machinelearning#IntegerType": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Integer type that is a 32-bit signed number.

" } }, @@ -2923,7 +2940,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -2939,7 +2959,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -2974,7 +2997,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -2986,7 +3012,6 @@ "com.amazonaws.machinelearning#LongType": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

Long integer type that is a 64-bit signed number.

" } }, @@ -3191,7 +3216,6 @@ "com.amazonaws.machinelearning#PageLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3548,6 +3572,7 @@ "PeakRequestsPerSecond": { "target": "com.amazonaws.machinelearning#IntegerType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum processing rate for the real-time endpoint for MLModel, measured in incoming requests per second.

" } }, @@ -3791,7 +3816,10 @@ "target": "com.amazonaws.machinelearning#ErrorMessage" }, "code": { - "target": "com.amazonaws.machinelearning#ErrorCode" + "target": "com.amazonaws.machinelearning#ErrorCode", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -3855,14 +3883,14 @@ } }, "com.amazonaws.machinelearning#ScoreThreshold": { + "type": "float" + }, + "com.amazonaws.machinelearning#ScoreValue": { "type": "float", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, - "com.amazonaws.machinelearning#ScoreValue": { - "type": "float" - }, "com.amazonaws.machinelearning#ScoreValuePerLabelMap": { "type": "map", "key": { @@ -4248,6 +4276,7 @@ "com.amazonaws.machinelearning#Verbose": { "type": "boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a describe operation should return exhaustive or abbreviated information.

" } }, @@ -4262,10 +4291,7 @@ } }, "com.amazonaws.machinelearning#floatLabel": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" } } } diff --git a/codegen/sdk/aws-models/macie.json b/codegen/sdk/aws-models/macie.json index bd9c3c4b71a..e3d38d6b113 100644 --- a/codegen/sdk/aws-models/macie.json +++ b/codegen/sdk/aws-models/macie.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -55,6 +55,9 @@ "input": { "target": "com.amazonaws.macie#AssociateMemberAccountRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.macie#InternalException" @@ -193,6 +196,9 @@ "input": { "target": "com.amazonaws.macie#DisassociateMemberAccountRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.macie#InternalException" @@ -510,21 +516,6 @@ }, "com.amazonaws.macie#MacieService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Macie", - "arnNamespace": "macie", - "cloudFormationName": "Macie", - "cloudTrailEventSource": "macie.amazonaws.com", - "endpointPrefix": "macie" - }, - "aws.auth#sigv4": { - "name": "macie" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Macie Classic\n

Amazon Macie Classic has been discontinued and is no longer available.

\n \n

A new Amazon Macie is now available with significant design improvements and additional\n features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the\n new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User\n Guide.

", - "smithy.api#title": "Amazon Macie" - }, "version": "2017-12-19", "operations": [ { @@ -548,12 +539,26 @@ { "target": "com.amazonaws.macie#UpdateS3Resources" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Macie", + "arnNamespace": "macie", + "cloudFormationName": "Macie", + "cloudTrailEventSource": "macie.amazonaws.com", + "endpointPrefix": "macie" + }, + "aws.auth#sigv4": { + "name": "macie" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Macie Classic\n

Amazon Macie Classic has been discontinued and is no longer available.

\n \n

A new Amazon Macie is now available with significant design improvements and additional\n features, at a lower price and in most Amazon Web Services Regions. We encourage you to take advantage of the\n new and improved features, and benefit from the reduced cost. To learn about features and pricing for the new Macie, see Amazon Macie. To learn how to use the new Macie, see the Amazon Macie User\n Guide.

", + "smithy.api#title": "Amazon Macie" + } }, "com.amazonaws.macie#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 250 } diff --git a/codegen/sdk/aws-models/macie2.json b/codegen/sdk/aws-models/macie2.json index a95d98d0f73..fd2bf3b565b 100644 --- a/codegen/sdk/aws-models/macie2.json +++ b/codegen/sdk/aws-models/macie2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -106,6 +106,7 @@ "allowsPublicReadAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the ACL grants the general public with read access permissions for the bucket.

", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -113,6 +114,7 @@ "allowsPublicWriteAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the ACL grants the general public with write access permissions for the bucket.

", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -522,6 +524,7 @@ "deleted": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.

", "smithy.api#jsonName": "deleted" } @@ -629,6 +632,7 @@ "blockPublicAcls": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.

", "smithy.api#jsonName": "blockPublicAcls" } @@ -636,6 +640,7 @@ "blockPublicPolicy": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 blocks public bucket policies for the bucket.

", "smithy.api#jsonName": "blockPublicPolicy" } @@ -643,6 +648,7 @@ "ignorePublicAcls": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.

", "smithy.api#jsonName": "ignorePublicAcls" } @@ -650,6 +656,7 @@ "restrictPublicBuckets": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 restricts public bucket policies for the bucket.

", "smithy.api#jsonName": "restrictPublicBuckets" } @@ -665,6 +672,7 @@ "publiclyAccessible": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that allow the general public to have read or write access to the bucket.

", "smithy.api#jsonName": "publiclyAccessible" } @@ -672,6 +680,7 @@ "publiclyReadable": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that allow the general public to have read access to the bucket.

", "smithy.api#jsonName": "publiclyReadable" } @@ -679,6 +688,7 @@ "publiclyWritable": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that allow the general public to have write access to the bucket.

", "smithy.api#jsonName": "publiclyWritable" } @@ -686,6 +696,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.

", "smithy.api#jsonName": "unknown" } @@ -701,6 +712,7 @@ "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that use an KMS key to encrypt new objects by default, either an Amazon Web Services managed key or a customer managed key. These buckets use KMS encryption (SSE-KMS) by default.

", "smithy.api#jsonName": "kmsManaged" } @@ -708,6 +720,7 @@ "s3Managed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that use an Amazon S3 managed key to encrypt new objects by default. These buckets use Amazon S3 managed encryption (SSE-S3) by default.

", "smithy.api#jsonName": "s3Managed" } @@ -715,6 +728,7 @@ "unencrypted": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that don't encrypt new objects by default. Default encryption is disabled for these buckets.

", "smithy.api#jsonName": "unencrypted" } @@ -722,6 +736,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.

", "smithy.api#jsonName": "unknown" } @@ -737,6 +752,7 @@ "external": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that are shared with an Amazon Web Services account that isn't part of the same Amazon Macie organization.

", "smithy.api#jsonName": "external" } @@ -744,6 +760,7 @@ "internal": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that are shared with an Amazon Web Services account that's part of the same Amazon Macie organization.

", "smithy.api#jsonName": "internal" } @@ -751,6 +768,7 @@ "notShared": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that aren't shared with other Amazon Web Services accounts.

", "smithy.api#jsonName": "notShared" } @@ -758,6 +776,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts.

", "smithy.api#jsonName": "unknown" } @@ -773,6 +792,7 @@ "allowsUnencryptedObjectUploads": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

", "smithy.api#jsonName": "allowsUnencryptedObjectUploads" } @@ -780,6 +800,7 @@ "deniesUnencryptedObjectUploads": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

", "smithy.api#jsonName": "deniesUnencryptedObjectUploads" } @@ -787,6 +808,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets that Amazon Macie wasn't able to evaluate server-side encryption requirements for. Macie can't determine whether the bucket policies for these buckets require server-side encryption of new objects.

", "smithy.api#jsonName": "unknown" } @@ -821,6 +843,7 @@ "gt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is greater than the specified value.

", "smithy.api#jsonName": "gt" } @@ -828,6 +851,7 @@ "gte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is greater than or equal to the specified value.

", "smithy.api#jsonName": "gte" } @@ -835,6 +859,7 @@ "lt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is less than the specified value.

", "smithy.api#jsonName": "lt" } @@ -842,6 +867,7 @@ "lte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is less than or equal to the specified value.

", "smithy.api#jsonName": "lte" } @@ -935,6 +961,7 @@ "classifiableObjectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", "smithy.api#jsonName": "classifiableObjectCount" } @@ -942,6 +969,7 @@ "classifiableSizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.

", "smithy.api#jsonName": "classifiableSizeInBytes" } @@ -977,6 +1005,7 @@ "objectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects in the bucket.

", "smithy.api#jsonName": "objectCount" } @@ -1026,6 +1055,7 @@ "sizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the bucket.

If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.

", "smithy.api#jsonName": "sizeInBytes" } @@ -1033,6 +1063,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.

If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.

", "smithy.api#jsonName": "sizeInBytesCompressed" } @@ -1061,6 +1092,7 @@ "versioning": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether versioning is enabled for the bucket.

", "smithy.api#jsonName": "versioning" } @@ -1110,6 +1142,7 @@ "allowsPublicReadAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the bucket policy allows the general public to have read access to the bucket.

", "smithy.api#jsonName": "allowsPublicReadAccess" } @@ -1117,6 +1150,7 @@ "allowsPublicWriteAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the bucket policy allows the general public to have write access to the bucket.

", "smithy.api#jsonName": "allowsPublicWriteAccess" } @@ -1205,6 +1239,7 @@ "column": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The column number of the column that contains the sensitive data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier, for example: 1 for column A, 2 for column B, and so on.

", "smithy.api#jsonName": "column" } @@ -1219,6 +1254,7 @@ "row": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The row number of the row that contains the sensitive data.

", "smithy.api#jsonName": "row" } @@ -1301,6 +1337,7 @@ "additionalOccurrences": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.

This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).

", "smithy.api#jsonName": "additionalOccurrences" } @@ -1329,6 +1366,7 @@ "sizeClassified": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size, in bytes, of the data that the finding applies to.

", "smithy.api#jsonName": "sizeClassified" } @@ -1563,6 +1601,7 @@ "initialRun": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.

If you configure the job to run only once, don't specify a value for this property.

", "smithy.api#jsonName": "initialRun" } @@ -1608,6 +1647,7 @@ "samplingPercentage": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The sampling depth, as a percentage, for the job to apply when processing objects. This value determines the percentage of eligible objects that the job analyzes. If this value is less than 100, Amazon Macie selects the objects to analyze at random, up to the specified percentage, and analyzes all the data in those objects.

", "smithy.api#jsonName": "samplingPercentage" } @@ -1722,6 +1762,7 @@ "maximumMatchDistance": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. The distance can be 1-300 characters. The default value is 50.

", "smithy.api#jsonName": "maximumMatchDistance" } @@ -1855,6 +1896,7 @@ "position": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", "smithy.api#jsonName": "position" } @@ -1941,6 +1983,7 @@ "disableEmailNotification": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.

", "smithy.api#jsonName": "disableEmailNotification" } @@ -2163,6 +2206,7 @@ "gt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is greater than the specified value.

", "smithy.api#jsonName": "gt" } @@ -2170,6 +2214,7 @@ "gte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is greater than or equal to the specified value.

", "smithy.api#jsonName": "gte" } @@ -2177,6 +2222,7 @@ "lt": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is less than the specified value.

", "smithy.api#jsonName": "lt" } @@ -2184,6 +2230,7 @@ "lte": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the property is less than or equal to the specified value.

", "smithy.api#jsonName": "lte" } @@ -2268,6 +2315,7 @@ "totalCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.

", "smithy.api#jsonName": "totalCount" } @@ -2290,6 +2338,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of the sensitive data that the custom data identifier detected.

", "smithy.api#jsonName": "count" } @@ -2455,6 +2504,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of the type of sensitive data that was detected.

", "smithy.api#jsonName": "count" } @@ -2840,6 +2890,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of the response. The default value is 50.

", "smithy.api#jsonName": "maxResults" } @@ -2974,6 +3025,7 @@ "initialRun": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

For a recurring job, specifies whether you configured the job to analyze all existing, eligible objects immediately after the job was created (true). If you configured the job to analyze only those objects that were created or changed after the job was created and before the job's first scheduled run, this value is false. This value is also false for a one-time job.

", "smithy.api#jsonName": "initialRun" } @@ -3051,6 +3103,7 @@ "samplingPercentage": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The sampling depth, as a percentage, that determines the percentage of eligible objects that the job analyzes.

", "smithy.api#jsonName": "samplingPercentage" } @@ -3135,6 +3188,7 @@ "autoEnable": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.

", "smithy.api#jsonName": "autoEnable" } @@ -3142,6 +3196,7 @@ "maxAccountLimitReached": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the maximum number of Amazon Macie member accounts are part of the organization.

", "smithy.api#jsonName": "maxAccountLimitReached" } @@ -3688,6 +3743,7 @@ "archived": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the finding is archived (suppressed).

", "smithy.api#jsonName": "archived" } @@ -3709,6 +3765,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.

", "smithy.api#jsonName": "count" } @@ -3765,6 +3822,7 @@ "sample": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.

", "smithy.api#jsonName": "sample" } @@ -4297,6 +4355,7 @@ "bucketCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of buckets.

", "smithy.api#jsonName": "bucketCount" } @@ -4332,6 +4391,7 @@ "classifiableObjectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", "smithy.api#jsonName": "classifiableObjectCount" } @@ -4339,6 +4399,7 @@ "classifiableSizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.

", "smithy.api#jsonName": "classifiableSizeInBytes" } @@ -4353,6 +4414,7 @@ "objectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects in the buckets.

", "smithy.api#jsonName": "objectCount" } @@ -4360,6 +4422,7 @@ "sizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the buckets.

If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.

", "smithy.api#jsonName": "sizeInBytes" } @@ -4367,6 +4430,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets.

If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.

", "smithy.api#jsonName": "sizeInBytesCompressed" } @@ -4516,6 +4580,7 @@ "deleted": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the custom data identifier was deleted. If you delete a custom data identifier, Amazon Macie doesn't delete it permanently. Instead, it soft deletes the identifier.

", "smithy.api#jsonName": "deleted" } @@ -4551,6 +4616,7 @@ "maximumMatchDistance": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. Otherwise, Macie excludes the result.

", "smithy.api#jsonName": "maximumMatchDistance" } @@ -4646,6 +4712,7 @@ "size": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of the response.

", "smithy.api#jsonName": "size" } @@ -4812,6 +4879,7 @@ "position": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", "smithy.api#jsonName": "position" } @@ -4963,6 +5031,7 @@ "invitationsCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of invitations that were received by the account, not including the currently accepted invitation.

", "smithy.api#jsonName": "invitationsCount" } @@ -5502,6 +5571,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of the response.

", "smithy.api#jsonName": "maxResults" } @@ -5655,6 +5725,7 @@ "count": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of findings in the group of query results.

", "smithy.api#jsonName": "count" } @@ -5846,6 +5917,7 @@ "lat": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latitude coordinate of the location, rounded to four decimal places.

", "smithy.api#jsonName": "lat" } @@ -5853,6 +5925,7 @@ "lon": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The longitude coordinate of the location, rounded to four decimal places.

", "smithy.api#jsonName": "lon" } @@ -6296,6 +6369,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of a paginated response.

", "smithy.api#httpQuery": "maxResults" } @@ -6387,6 +6461,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of the response.

", "smithy.api#jsonName": "maxResults" } @@ -6478,6 +6553,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of the response.

", "smithy.api#jsonName": "maxResults" } @@ -6608,6 +6684,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of a paginated response.

", "smithy.api#httpQuery": "maxResults" } @@ -6653,6 +6730,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of the response.

", "smithy.api#jsonName": "maxResults" } @@ -6744,6 +6822,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of a paginated response.

", "smithy.api#httpQuery": "maxResults" } @@ -6997,6 +7076,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of a paginated response.

", "smithy.api#httpQuery": "maxResults" } @@ -7088,6 +7168,7 @@ "maxResults": { "target": "com.amazonaws.macie2#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of a paginated response.

", "smithy.api#httpQuery": "maxResults" } @@ -7164,21 +7245,6 @@ }, "com.amazonaws.macie2#Macie2": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Macie2", - "arnNamespace": "macie2", - "cloudFormationName": "Macie2", - "cloudTrailEventSource": "macie2.amazonaws.com", - "endpointPrefix": "macie2" - }, - "aws.auth#sigv4": { - "name": "macie2" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.

", - "smithy.api#title": "Amazon Macie 2" - }, "version": "2020-01-01", "operations": [ { @@ -7379,7 +7445,22 @@ { "target": "com.amazonaws.macie2#UpdateRevealConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Macie2", + "arnNamespace": "macie2", + "cloudFormationName": "Macie2", + "cloudTrailEventSource": "macie2.amazonaws.com", + "endpointPrefix": "macie2" + }, + "aws.auth#sigv4": { + "name": "macie2" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.

", + "smithy.api#title": "Amazon Macie 2" + } }, "com.amazonaws.macie2#MacieStatus": { "type": "string", @@ -7463,6 +7544,7 @@ "classifiableObjectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

", "smithy.api#jsonName": "classifiableObjectCount" } @@ -7470,6 +7552,7 @@ "classifiableSizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.

If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.

", "smithy.api#jsonName": "classifiableSizeInBytes" } @@ -7498,6 +7581,7 @@ "objectCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects in the bucket.

", "smithy.api#jsonName": "objectCount" } @@ -7512,6 +7596,7 @@ "sizeInBytes": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the bucket.

If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.

", "smithy.api#jsonName": "sizeInBytes" } @@ -7519,6 +7604,7 @@ "sizeInBytesCompressed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.

If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.

", "smithy.api#jsonName": "sizeInBytesCompressed" } @@ -7560,6 +7646,7 @@ "com.amazonaws.macie2#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 @@ -7643,6 +7730,7 @@ "dayOfMonth": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31.

If this value exceeds the number of days in a certain month, Macie doesn't run the job that month. Macie runs the job only during months that have the specified day. For example, if this value is 31 and a month has only 30 days, Macie doesn't run the job that month. To run the job every month, specify a value that's less than 29.

", "smithy.api#jsonName": "dayOfMonth" } @@ -7658,6 +7746,7 @@ "customerManaged": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that are encrypted with a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).

", "smithy.api#jsonName": "customerManaged" } @@ -7665,6 +7754,7 @@ "kmsManaged": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that are encrypted with an KMS key, either an Amazon Web Services managed key or a customer managed key. The objects use KMS encryption (SSE-KMS).

", "smithy.api#jsonName": "kmsManaged" } @@ -7672,6 +7762,7 @@ "s3Managed": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that are encrypted with an Amazon S3 managed key. The objects use Amazon S3 managed encryption (SSE-S3).

", "smithy.api#jsonName": "s3Managed" } @@ -7679,6 +7770,7 @@ "unencrypted": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that aren't encrypted or use client-side encryption.

", "smithy.api#jsonName": "unencrypted" } @@ -7686,6 +7778,7 @@ "unknown": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the encryption settings for these objects.

", "smithy.api#jsonName": "unknown" } @@ -7701,6 +7794,7 @@ "fileType": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects don't have a file name extension for a supported file or storage format.

", "smithy.api#jsonName": "fileType" } @@ -7708,6 +7802,7 @@ "storageClass": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class.

", "smithy.api#jsonName": "storageClass" } @@ -7715,6 +7810,7 @@ "total": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.

", "smithy.api#jsonName": "total" } @@ -7814,6 +7910,7 @@ "pageNumber": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The page number of the page that contains the sensitive data.

", "smithy.api#jsonName": "pageNumber" } @@ -7989,6 +8086,7 @@ "end": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of lines from the beginning of the file to the end of the sensitive data.

", "smithy.api#jsonName": "end" } @@ -7996,6 +8094,7 @@ "start": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of lines from the beginning of the file to the beginning of the sensitive data.

", "smithy.api#jsonName": "start" } @@ -8003,6 +8102,7 @@ "startColumn": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of characters, with spaces and starting from 1, from the beginning of the first line that contains the sensitive data (start) to the beginning of the sensitive data.

", "smithy.api#jsonName": "startColumn" } @@ -8034,6 +8134,7 @@ "recordIndex": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For an Avro object container or Parquet file, the record index, starting from 0, for the record that contains the sensitive data. For a JSON Lines file, the line index, starting from 0, for the line that contains the sensitive data. This value is always 0 for JSON files.

", "smithy.api#jsonName": "recordIndex" } @@ -8106,6 +8207,7 @@ "replicated": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the bucket is configured to replicate one or more objects to any destination.

", "smithy.api#jsonName": "replicated" } @@ -8113,6 +8215,7 @@ "replicatedExternally": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the bucket is configured to replicate one or more objects to an Amazon Web Services account that isn't part of the same Amazon Macie organization.

", "smithy.api#jsonName": "replicatedExternally" } @@ -8467,6 +8570,7 @@ "publicAccess": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.

", "smithy.api#jsonName": "publicAccess" } @@ -8481,6 +8585,7 @@ "size": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total storage size, in bytes, of the object.

", "smithy.api#jsonName": "size" } @@ -8715,6 +8820,7 @@ "maxResults": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to include in each page of the response. The default value is 50.

", "smithy.api#jsonName": "maxResults" } @@ -8903,6 +9009,7 @@ "publishClassificationFindings": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to publish sensitive data findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all sensitive data findings that weren't suppressed by a findings filter. The default value is false.

", "smithy.api#jsonName": "publishClassificationFindings", "smithy.api#required": {} @@ -8911,6 +9018,7 @@ "publishPolicyFindings": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The default value is true.

", "smithy.api#jsonName": "publishPolicyFindings", "smithy.api#required": {} @@ -8950,6 +9058,7 @@ "totalCount": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of the sensitive data that was detected.

", "smithy.api#jsonName": "totalCount" } @@ -9023,6 +9132,7 @@ "isServiceLimited": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.

", "smithy.api#jsonName": "isServiceLimited" } @@ -9037,6 +9147,7 @@ "value": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the metric specified by the UsageByAccount.type field in the response.

", "smithy.api#jsonName": "value" } @@ -9098,6 +9209,7 @@ "mfaAuthenticated": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the credentials were authenticated with a multi-factor authentication (MFA) device.

", "smithy.api#jsonName": "mfaAuthenticated" } @@ -9163,6 +9275,7 @@ "score": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).

", "smithy.api#jsonName": "score" } @@ -9198,6 +9311,7 @@ "occurrencesThreshold": { "target": "com.amazonaws.macie2#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).

", "smithy.api#jsonName": "occurrencesThreshold", "smithy.api#required": {} @@ -9358,6 +9472,7 @@ "approximateNumberOfObjectsToProcess": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The approximate number of objects that the job has yet to process during its current run.

", "smithy.api#jsonName": "approximateNumberOfObjectsToProcess" } @@ -9365,6 +9480,7 @@ "numberOfRuns": { "target": "com.amazonaws.macie2#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times that the job has run.

", "smithy.api#jsonName": "numberOfRuns" } @@ -9638,6 +9754,7 @@ "maximumMatchDistance": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern. If a complete keyword precedes all the text that matches the pattern and the keyword is within the specified distance, Amazon Macie includes the result. The distance can be 1-300 characters. The default value is 50.

", "smithy.api#jsonName": "maximumMatchDistance" } @@ -9666,6 +9783,7 @@ "matchCount": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of occurrences of sample text that matched the criteria specified by the custom data identifier.

", "smithy.api#jsonName": "matchCount" } @@ -10088,6 +10206,7 @@ "position": { "target": "com.amazonaws.macie2#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

", "smithy.api#jsonName": "position" } @@ -10295,6 +10414,7 @@ "autoEnable": { "target": "com.amazonaws.macie2#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.

", "smithy.api#jsonName": "autoEnable", "smithy.api#required": {} @@ -10787,13 +10907,22 @@ } }, "com.amazonaws.macie2#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.macie2#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.macie2#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.macie2#__listOfAdminAccount": { "type": "list", @@ -10987,7 +11116,10 @@ } }, "com.amazonaws.macie2#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.macie2#__string": { "type": "string" diff --git a/codegen/sdk/aws-models/managedblockchain.json b/codegen/sdk/aws-models/managedblockchain.json index 0d0e9d19756..d328607dbcc 100644 --- a/codegen/sdk/aws-models/managedblockchain.json +++ b/codegen/sdk/aws-models/managedblockchain.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -656,10 +656,7 @@ } }, "com.amazonaws.managedblockchain#Enabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.managedblockchain#ExceptionMessage": { "type": "string" @@ -1100,10 +1097,7 @@ } }, "com.amazonaws.managedblockchain#IsOwned": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.managedblockchain#ListInvitations": { "type": "operation", @@ -1932,7 +1926,6 @@ "com.amazonaws.managedblockchain#MemberListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2220,7 +2213,6 @@ "com.amazonaws.managedblockchain#NetworkListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2528,7 +2520,6 @@ "com.amazonaws.managedblockchain#NodeListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2795,7 +2786,6 @@ "com.amazonaws.managedblockchain#ProposalDurationInt": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 168 @@ -2805,7 +2795,6 @@ "com.amazonaws.managedblockchain#ProposalListMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3263,7 +3252,6 @@ "com.amazonaws.managedblockchain#ThresholdPercentageInt": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -3507,10 +3495,7 @@ } }, "com.amazonaws.managedblockchain#VoteCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.managedblockchain#VoteOnProposal": { "type": "operation", diff --git a/codegen/sdk/aws-models/marketplace-catalog.json b/codegen/sdk/aws-models/marketplace-catalog.json index 2608187b943..2243da28f10 100644 --- a/codegen/sdk/aws-models/marketplace-catalog.json +++ b/codegen/sdk/aws-models/marketplace-catalog.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -41,21 +41,6 @@ }, "com.amazonaws.marketplacecatalog#AWSMPSeymour": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Marketplace Catalog", - "arnNamespace": "aws-marketplace", - "cloudFormationName": "MarketplaceCatalog", - "cloudTrailEventSource": "marketplacecatalog.amazonaws.com", - "endpointPrefix": "catalog.marketplace" - }, - "aws.auth#sigv4": { - "name": "aws-marketplace" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Catalog API actions allow you to manage your entities through list, describe, and update\n capabilities. An entity can be a product or an offer on AWS Marketplace.

\n\n

You can automate your entity update process by integrating the AWS Marketplace Catalog\n API with your AWS Marketplace product build or deployment pipelines. You can also create\n your own applications on top of the Catalog API to manage your products on AWS\n Marketplace.

", - "smithy.api#title": "AWS Marketplace Catalog Service" - }, "version": "2018-09-17", "operations": [ { @@ -76,7 +61,22 @@ { "target": "com.amazonaws.marketplacecatalog#StartChangeSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Marketplace Catalog", + "arnNamespace": "aws-marketplace", + "cloudFormationName": "MarketplaceCatalog", + "cloudTrailEventSource": "marketplacecatalog.amazonaws.com", + "endpointPrefix": "catalog.marketplace" + }, + "aws.auth#sigv4": { + "name": "aws-marketplace" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Catalog API actions allow you to manage your entities through list, describe, and update\n capabilities. An entity can be a product or an offer on AWS Marketplace.

\n\n

You can automate your entity update process by integrating the AWS Marketplace Catalog\n API with your AWS Marketplace product build or deployment pipelines. You can also create\n your own applications on top of the Catalog API to manage your products on AWS\n Marketplace.

", + "smithy.api#title": "AWS Marketplace Catalog Service" + } }, "com.amazonaws.marketplacecatalog#AccessDeniedException": { "type": "structure", @@ -1029,7 +1029,6 @@ "com.amazonaws.marketplacecatalog#MaxResultInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 diff --git a/codegen/sdk/aws-models/marketplace-commerce-analytics.json b/codegen/sdk/aws-models/marketplace-commerce-analytics.json index a69f51aaf6c..958b23847a4 100644 --- a/codegen/sdk/aws-models/marketplace-commerce-analytics.json +++ b/codegen/sdk/aws-models/marketplace-commerce-analytics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { diff --git a/codegen/sdk/aws-models/marketplace-entitlement-service.json b/codegen/sdk/aws-models/marketplace-entitlement-service.json index 38f18b59c9c..4b3fa6804ed 100644 --- a/codegen/sdk/aws-models/marketplace-entitlement-service.json +++ b/codegen/sdk/aws-models/marketplace-entitlement-service.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -54,16 +54,10 @@ } }, "com.amazonaws.marketplaceentitlementservice#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.marketplaceentitlementservice#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.marketplaceentitlementservice#Entitlement": { "type": "structure", @@ -264,10 +258,7 @@ } }, "com.amazonaws.marketplaceentitlementservice#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.marketplaceentitlementservice#InternalServiceErrorException": { "type": "structure", diff --git a/codegen/sdk/aws-models/marketplace-metering.json b/codegen/sdk/aws-models/marketplace-metering.json index 2f613d80313..9adf2fab0a3 100644 --- a/codegen/sdk/aws-models/marketplace-metering.json +++ b/codegen/sdk/aws-models/marketplace-metering.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.marketplacemetering#AWSMPMeteringService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Marketplace Metering", - "arnNamespace": "aws-marketplace", - "cloudFormationName": "MarketplaceMetering", - "cloudTrailEventSource": "marketplacemetering.amazonaws.com", - "endpointPrefix": "metering.marketplace" - }, - "aws.auth#sigv4": { - "name": "aws-marketplace" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS Marketplace Metering Service\n

This reference provides descriptions of the low-level AWS Marketplace Metering Service\n API.

\n

AWS Marketplace sellers can use this API to submit usage data for custom usage\n dimensions.

\n

For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the\n AWS Marketplace Seller Guide.\n

\n

\n Submitting Metering Records\n

\n \n

\n Accepting New Customers\n

\n \n

\n Entitlement and Metering for Paid Container Products\n

\n \n

\n BatchMeterUsage API calls are captured by AWS CloudTrail. You can use\n Cloudtrail to verify that the SaaS metering records that you sent are accurate by\n searching for records with the eventName of BatchMeterUsage.\n You can also use CloudTrail to audit records over time. For more information, see the\n \n AWS CloudTrail User Guide.\n

", - "smithy.api#title": "AWSMarketplace Metering" - }, "version": "2016-01-14", "operations": [ { @@ -60,12 +45,26 @@ { "target": "com.amazonaws.marketplacemetering#ResolveCustomer" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Marketplace Metering", + "arnNamespace": "aws-marketplace", + "cloudFormationName": "MarketplaceMetering", + "cloudTrailEventSource": "marketplacemetering.amazonaws.com", + "endpointPrefix": "metering.marketplace" + }, + "aws.auth#sigv4": { + "name": "aws-marketplace" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "AWS Marketplace Metering Service\n

This reference provides descriptions of the low-level AWS Marketplace Metering Service\n API.

\n

AWS Marketplace sellers can use this API to submit usage data for custom usage\n dimensions.

\n

For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the\n AWS Marketplace Seller Guide.\n

\n

\n Submitting Metering Records\n

\n \n

\n Accepting New Customers\n

\n \n

\n Entitlement and Metering for Paid Container Products\n

\n \n

\n BatchMeterUsage API calls are captured by AWS CloudTrail. You can use\n Cloudtrail to verify that the SaaS metering records that you sent are accurate by\n searching for records with the eventName of BatchMeterUsage.\n You can also use CloudTrail to audit records over time. For more information, see the\n \n AWS CloudTrail User Guide.\n

", + "smithy.api#title": "AWSMarketplace Metering" + } }, "com.amazonaws.marketplacemetering#AllocatedUsageQuantity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -156,10 +155,7 @@ } }, "com.amazonaws.marketplacemetering#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.marketplacemetering#CustomerAWSAccountId": { "type": "string", @@ -766,7 +762,6 @@ "com.amazonaws.marketplacemetering#UsageQuantity": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -880,7 +875,6 @@ "com.amazonaws.marketplacemetering#VersionInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/mediaconvert.json b/codegen/sdk/aws-models/mediaconvert.json index 963ad297300..2776bd507ec 100644 --- a/codegen/sdk/aws-models/mediaconvert.json +++ b/codegen/sdk/aws-models/mediaconvert.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -138,6 +138,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin6000Max1024000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second. The set of valid values for this setting is: 6000, 8000, 10000, 12000, 14000, 16000, 20000, 24000, 28000, 32000, 40000, 48000, 56000, 64000, 80000, 96000, 112000, 128000, 160000, 192000, 224000, 256000, 288000, 320000, 384000, 448000, 512000, 576000, 640000, 768000, 896000, 1024000. The value you set is also constrained by the values that you choose for Profile (codecProfile), Bitrate control mode (codingMode), and Sample rate (sampleRate). Default values depend on Bitrate control mode and Profile.", "smithy.api#jsonName": "bitrate" } @@ -173,6 +174,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin8000Max96000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in Hz. Valid values depend on rate control mode and profile.", "smithy.api#jsonName": "sampleRate" } @@ -418,6 +420,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin64000Max640000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.", "smithy.api#jsonName": "bitrate" } @@ -439,6 +442,7 @@ "Dialnorm": { "target": "com.amazonaws.mediaconvert#__integerMin1Max31", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the dialnorm for the output. If blank and input audio is Dolby Digital, dialnorm will be passed through.", "smithy.api#jsonName": "dialnorm" } @@ -481,6 +485,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin48000Max48000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This value is always 48000. It represents the sample rate in Hz.", "smithy.api#jsonName": "sampleRate" } @@ -576,6 +581,7 @@ "BitDepth": { "target": "com.amazonaws.mediaconvert#__integerMin16Max24", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.", "smithy.api#jsonName": "bitDepth" } @@ -583,6 +589,7 @@ "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max64", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.", "smithy.api#jsonName": "channels" } @@ -590,6 +597,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin8000Max192000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in hz.", "smithy.api#jsonName": "sampleRate" } @@ -605,6 +613,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", "smithy.api#jsonName": "height" } @@ -619,6 +628,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", "smithy.api#jsonName": "width" } @@ -673,6 +683,7 @@ "SourceAncillaryChannelNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the 608 channel number in the ancillary data track from which to extract captions. Unused for passthrough.", "smithy.api#jsonName": "sourceAncillaryChannelNumber" } @@ -1038,6 +1049,7 @@ "AudioType": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Applies only if Follow Input Audio Type is unchecked (false). A number between 0 and 255. The following are defined in ISO-IEC 13818-1: 0 = Undefined, 1 = Clean Effects, 2 = Hearing Impaired, 3 = Visually Impaired Commentary, 4-255 = Reserved.", "smithy.api#jsonName": "audioType" } @@ -1228,6 +1240,7 @@ "CorrectionGateLevel": { "target": "com.amazonaws.mediaconvert#__integerMinNegative70Max0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Content measuring above this level will be corrected to the target level. Content measuring below this level will not be corrected.", "smithy.api#jsonName": "correctionGateLevel" } @@ -1249,6 +1262,7 @@ "TargetLkfs": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative59Max0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use Audio normalization (AudioNormalizationSettings), optionally use this setting to specify a target loudness. If you don't specify a value here, the encoder chooses a value for you, based on the algorithm that you choose for Algorithm (algorithm). If you choose algorithm 1770-1, the encoder will choose -24 LKFS; otherwise, the encoder will choose -23 LKFS.", "smithy.api#jsonName": "targetLkfs" } @@ -1306,6 +1320,7 @@ "Offset": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies a time delta in milliseconds to offset the audio from the input video.", "smithy.api#jsonName": "offset" } @@ -1320,6 +1335,7 @@ "ProgramSelection": { "target": "com.amazonaws.mediaconvert#__integerMin0Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting for input streams that contain Dolby E, to have the service extract specific program data from the track. To select multiple programs, create multiple selectors with the same Track and different Program numbers. In the console, this setting is visible when you set Selector type to Track. Choose the program number from the dropdown list. If you are sending a JSON file, provide the program ID, which is part of the audio metadata. If your input file has incorrect metadata, you can choose All channels instead of a program number to have the service ignore the program IDs and include all the programs in the track.", "smithy.api#jsonName": "programSelection" } @@ -1454,6 +1470,7 @@ "MaxAbrBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin100000Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. The maximum target bit rate used in your automated ABR stack. Use this value to set an upper limit on the bandwidth consumed by the highest-quality rendition. This is the rendition that is delivered to viewers with the fastest internet connections. If you don't specify a value, MediaConvert uses 8,000,000 (8 mb/s) by default.", "smithy.api#jsonName": "maxAbrBitrate" } @@ -1461,6 +1478,7 @@ "MaxRenditions": { "target": "com.amazonaws.mediaconvert#__integerMin3Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. The maximum number of renditions that MediaConvert will create in your automated ABR stack. The number of renditions is determined automatically, based on analysis of each job, but will never exceed this limit. When you set this to Auto in the console, which is equivalent to excluding it from your JSON job specification, MediaConvert defaults to a limit of 15.", "smithy.api#jsonName": "maxRenditions" } @@ -1468,6 +1486,7 @@ "MinAbrBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin100000Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. The minimum target bitrate used in your automated ABR stack. Use this value to set a lower limit on the bitrate of video delivered to viewers with slow internet connections. If you don't specify a value, MediaConvert uses 600,000 (600 kb/s) by default.", "smithy.api#jsonName": "minAbrBitrate" } @@ -1589,6 +1608,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } @@ -1596,6 +1616,7 @@ "QvbrQualityLevelFineTune": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.", "smithy.api#jsonName": "qvbrQualityLevelFineTune" } @@ -1651,6 +1672,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -1658,6 +1680,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -1665,6 +1688,7 @@ "GopSize": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the GOP length (keyframe interval) in frames. With AV1, MediaConvert doesn't support GOP length in seconds. This value must be greater than zero and preferably equal to 1 + ((numberBFrames + 1) * x), where x is an integer value.", "smithy.api#jsonName": "gopSize" } @@ -1672,6 +1696,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.", "smithy.api#jsonName": "maxBitrate" } @@ -1679,6 +1704,7 @@ "NumberBFramesBetweenReferenceFrames": { "target": "com.amazonaws.mediaconvert#__integerMin0Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify from the number of B-frames, in the range of 0-15. For AV1 encoding, we recommend using 7 or 15. Choose a larger number for a lower bitrate and smaller file size; choose a smaller number for better video quality.", "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } @@ -1700,6 +1726,7 @@ "Slices": { "target": "com.amazonaws.mediaconvert#__integerMin1Max32", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of slices per picture. This value must be 1, 2, 4, 8, 16, or 32. For progressive pictures, this value must be less than or equal to the number of macroblock rows. For interlaced pictures, this value must be less than or equal to half the number of macroblock rows.", "smithy.api#jsonName": "slices" } @@ -1885,6 +1912,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max1001", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -1892,6 +1920,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin24Max60000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -2075,6 +2104,7 @@ "BackgroundOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the opacity of the background rectangle. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough (StylePassthrough) is set to enabled, leave blank to pass through the background style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all backgrounds from your output captions.", "smithy.api#jsonName": "backgroundOpacity" } @@ -2096,6 +2126,7 @@ "FontOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent.", "smithy.api#jsonName": "fontOpacity" } @@ -2103,6 +2134,7 @@ "FontResolution": { "target": "com.amazonaws.mediaconvert#__integerMin96Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the Font resolution (FontResolution) in DPI (dots per inch).", "smithy.api#jsonName": "fontResolution" } @@ -2117,6 +2149,7 @@ "FontSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max96", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the Font size (FontSize) in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size.", "smithy.api#jsonName": "fontSize" } @@ -2138,6 +2171,7 @@ "OutlineSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the Outline size (OutlineSize) of the caption text, in pixels. Leave Outline size blank and set Style passthrough (StylePassthrough) to enabled to use the outline size data from your input captions, if present.", "smithy.api#jsonName": "outlineSize" } @@ -2152,6 +2186,7 @@ "ShadowOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough (StylePassthrough) is set to Enabled, leave Shadow opacity (ShadowOpacity) blank to pass through the shadow style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all shadows from your output captions.", "smithy.api#jsonName": "shadowOpacity" } @@ -2159,6 +2194,7 @@ "ShadowXOffset": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the horizontal offset of the shadow, relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left.", "smithy.api#jsonName": "shadowXOffset" } @@ -2166,6 +2202,7 @@ "ShadowYOffset": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. Leave Shadow y-offset (ShadowYOffset) blank and set Style passthrough (StylePassthrough) to enabled to use the shadow y-offset data from your input captions, if present.", "smithy.api#jsonName": "shadowYOffset" } @@ -2187,6 +2224,7 @@ "XPosition": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the horizontal position (XPosition) of the captions, relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit x_position is provided, the horizontal caption position will be determined by the alignment parameter.", "smithy.api#jsonName": "xPosition" } @@ -2194,6 +2232,7 @@ "YPosition": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the vertical position (YPosition) of the captions, relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output.", "smithy.api#jsonName": "yPosition" } @@ -2713,6 +2752,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max1001", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the denominator of the fraction that represents the frame rate for the setting Caption source frame rate (CaptionSourceFramerate). Use this setting along with the setting Framerate numerator (framerateNumerator).", "smithy.api#jsonName": "framerateDenominator" } @@ -2720,6 +2760,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max60000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the numerator of the fraction that represents the frame rate for the setting Caption source frame rate (CaptionSourceFramerate). Use this setting along with the setting Framerate denominator (framerateDenominator).", "smithy.api#jsonName": "framerateNumerator" } @@ -3047,6 +3088,7 @@ "FragmentLength": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the length, in whole seconds, of the mp4 fragments. When you don't specify a value, MediaConvert defaults to 2. Related setting: Use Fragment length control (FragmentLengthControl) to specify whether the encoder enforces this value strictly.", "smithy.api#jsonName": "fragmentLength" } @@ -3082,6 +3124,7 @@ "MinBufferTime": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum time of initially buffered media that is needed to ensure smooth playout.", "smithy.api#jsonName": "minBufferTime" } @@ -3089,6 +3132,7 @@ "MinFinalSegmentLength": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", "smithy.api#jsonName": "minFinalSegmentLength" } @@ -3117,6 +3161,7 @@ "SegmentLength": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the length, in whole seconds, of each segment. When you don't specify a value, MediaConvert defaults to 10. Related settings: Use Segment length control (SegmentLengthControl) to specify whether the encoder enforces this value strictly. Use Segment control (CmafSegmentControl) to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.", "smithy.api#jsonName": "segmentLength" } @@ -3205,6 +3250,7 @@ "ThumbnailHeight": { "target": "com.amazonaws.mediaconvert#__integerMin2Max4096", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2.", "smithy.api#jsonName": "thumbnailHeight" } @@ -3212,6 +3258,7 @@ "ThumbnailInterval": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.", "smithy.api#jsonName": "thumbnailInterval" } @@ -3219,6 +3266,7 @@ "ThumbnailWidth": { "target": "com.amazonaws.mediaconvert#__integerMin8Max4096", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.", "smithy.api#jsonName": "thumbnailWidth" } @@ -3226,6 +3274,7 @@ "TileHeight": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2048", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.", "smithy.api#jsonName": "tileHeight" } @@ -3233,6 +3282,7 @@ "TileWidth": { "target": "com.amazonaws.mediaconvert#__integerMin1Max512", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of thumbnails in each row of a tile image. Set a value between 1 and 512.", "smithy.api#jsonName": "tileWidth" } @@ -3682,6 +3732,7 @@ "Brightness": { "target": "com.amazonaws.mediaconvert#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Brightness level.", "smithy.api#jsonName": "brightness" } @@ -3696,6 +3747,7 @@ "Contrast": { "target": "com.amazonaws.mediaconvert#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Contrast level.", "smithy.api#jsonName": "contrast" } @@ -3710,6 +3762,7 @@ "Hue": { "target": "com.amazonaws.mediaconvert#__integerMinNegative180Max180", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Hue in degrees.", "smithy.api#jsonName": "hue" } @@ -3724,6 +3777,7 @@ "Saturation": { "target": "com.amazonaws.mediaconvert#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Saturation level.", "smithy.api#jsonName": "saturation" } @@ -4067,6 +4121,7 @@ "Priority": { "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.", "smithy.api#jsonName": "priority" } @@ -4215,6 +4270,7 @@ "Priority": { "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.", "smithy.api#jsonName": "priority" } @@ -4558,6 +4614,7 @@ "FragmentLength": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Length of fragments to generate (in seconds). Fragment length must be compatible with GOP size and Framerate. Note that fragments will end on the next keyframe after this number of seconds, so actual fragment length may be longer. When Emit Single File is checked, the fragmentation is internal to a single output file and it does not cause the creation of many output files as in other output types.", "smithy.api#jsonName": "fragmentLength" } @@ -4586,6 +4643,7 @@ "MinBufferTime": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum time of initially buffered media that is needed to ensure smooth playout.", "smithy.api#jsonName": "minBufferTime" } @@ -4593,6 +4651,7 @@ "MinFinalSegmentLength": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", "smithy.api#jsonName": "minFinalSegmentLength" } @@ -4621,6 +4680,7 @@ "SegmentLength": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the length, in whole seconds, of each segment. When you don't specify a value, MediaConvert defaults to 30. Related settings: Use Segment length control (SegmentLengthControl) to specify whether the encoder enforces this value strictly. Use Segment control (DashIsoSegmentControl) to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.", "smithy.api#jsonName": "segmentLength" } @@ -4697,6 +4757,7 @@ "ThumbnailHeight": { "target": "com.amazonaws.mediaconvert#__integerMin1Max4096", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2.", "smithy.api#jsonName": "thumbnailHeight" } @@ -4704,6 +4765,7 @@ "ThumbnailInterval": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.", "smithy.api#jsonName": "thumbnailInterval" } @@ -4711,6 +4773,7 @@ "ThumbnailWidth": { "target": "com.amazonaws.mediaconvert#__integerMin8Max4096", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.", "smithy.api#jsonName": "thumbnailWidth" } @@ -4718,6 +4781,7 @@ "TileHeight": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2048", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.", "smithy.api#jsonName": "tileHeight" } @@ -4725,6 +4789,7 @@ "TileWidth": { "target": "com.amazonaws.mediaconvert#__integerMin1Max512", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of thumbnails in each row of a tile image. Set a value between 1 and 512.", "smithy.api#jsonName": "tileWidth" } @@ -5227,6 +5292,7 @@ "MaxResults": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Max number of endpoints, up to twenty, that will be returned at one time.", "smithy.api#jsonName": "maxResults" } @@ -5380,6 +5446,7 @@ "MaxCll": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum Content Light Level. Static HDR metadata that corresponds to the brightest pixel in the entire stream. Measured in nits.", "smithy.api#jsonName": "maxCll" } @@ -5387,6 +5454,7 @@ "MaxFall": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum Frame-Average Light Level. Static HDR metadata that corresponds to the highest frame-average brightness in the entire stream. Measured in nits.", "smithy.api#jsonName": "maxFall" } @@ -5470,6 +5538,7 @@ "NetworkId": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The numeric value placed in the Network Information Table (NIT).", "smithy.api#jsonName": "networkId" } @@ -5484,6 +5553,7 @@ "NitInterval": { "target": "com.amazonaws.mediaconvert#__integerMin25Max10000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "nitInterval" } @@ -5506,6 +5576,7 @@ "SdtInterval": { "target": "com.amazonaws.mediaconvert#__integerMin25Max2000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "sdtInterval" } @@ -5556,6 +5627,7 @@ "BackgroundOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the opacity of the background rectangle. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough (StylePassthrough) is set to enabled, leave blank to pass through the background style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all backgrounds from your output captions. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "backgroundOpacity" } @@ -5570,6 +5642,7 @@ "DdsXCoordinate": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting, along with DDS y-coordinate (ddsYCoordinate), to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the left side of the frame and the left side of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling (ddsHandling) to a value other than None (NONE). MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment (PCS). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "ddsXCoordinate" } @@ -5577,6 +5650,7 @@ "DdsYCoordinate": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting, along with DDS x-coordinate (ddsXCoordinate), to specify the upper left corner of the display definition segment (DDS) display window. With this setting, specify the distance, in pixels, between the top of the frame and the top of the DDS display window. Keep the default value, 0, to have MediaConvert automatically choose this offset. Related setting: When you use this setting, you must set DDS handling (ddsHandling) to a value other than None (NONE). MediaConvert uses these values to determine whether to write page position data to the DDS or to the page composition segment (PCS). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "ddsYCoordinate" } @@ -5598,6 +5672,7 @@ "FontOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the opacity of the burned-in captions. 255 is opaque; 0 is transparent.\nWithin your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "fontOpacity" } @@ -5605,6 +5680,7 @@ "FontResolution": { "target": "com.amazonaws.mediaconvert#__integerMin96Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the Font resolution (FontResolution) in DPI (dots per inch).\nWithin your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "fontResolution" } @@ -5619,6 +5695,7 @@ "FontSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max96", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the Font size (FontSize) in pixels. Must be a positive integer. Set to 0, or leave blank, for automatic font size. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "fontSize" } @@ -5626,6 +5703,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the height, in pixels, of this set of DVB-Sub captions. The default value is 576 pixels. Related setting: When you use this setting, you must set DDS handling (ddsHandling) to a value other than None (NONE). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "height" } @@ -5647,6 +5725,7 @@ "OutlineSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the Outline size (OutlineSize) of the caption text, in pixels. Leave Outline size blank and set Style passthrough (StylePassthrough) to enabled to use the outline size data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "outlineSize" } @@ -5661,6 +5740,7 @@ "ShadowOpacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the opacity of the shadow. Enter a value from 0 to 255, where 0 is transparent and 255 is opaque. If Style passthrough (StylePassthrough) is set to Enabled, leave Shadow opacity (ShadowOpacity) blank to pass through the shadow style information in your input captions to your output captions. If Style passthrough is set to disabled, leave blank to use a value of 0 and remove all shadows from your output captions. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "shadowOpacity" } @@ -5668,6 +5748,7 @@ "ShadowXOffset": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the horizontal offset of the shadow, relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "shadowXOffset" } @@ -5675,6 +5756,7 @@ "ShadowYOffset": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. Leave Shadow y-offset (ShadowYOffset) blank and set Style passthrough (StylePassthrough) to enabled to use the shadow y-offset data from your input captions, if present. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "shadowYOffset" } @@ -5703,6 +5785,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the width, in pixels, of this set of DVB-Sub captions. The default value is 720 pixels. Related setting: When you use this setting, you must set DDS handling (ddsHandling) to a value other than None (NONE). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "width" } @@ -5710,6 +5793,7 @@ "XPosition": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the horizontal position (XPosition) of the captions, relative to the left side of the outputin pixels. A value of 10 would result in the captions starting 10 pixels from the left ofthe output. If no explicit x_position is provided, the horizontal caption position will bedetermined by the alignment parameter. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "xPosition" } @@ -5717,6 +5801,7 @@ "YPosition": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the vertical position (YPosition) of the captions, relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit y_position is provided, the caption will be positioned towards the bottom of the output. Within your job settings, all of your DVB-Sub settings must be identical.", "smithy.api#jsonName": "yPosition" } @@ -5732,6 +5817,7 @@ "Pid": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.", "smithy.api#jsonName": "pid" } @@ -5987,6 +6073,7 @@ "TdtInterval": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "tdtInterval" } @@ -6198,6 +6285,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin384000Max1024000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate for this output in bits per second. Valid values: 384k, 448k, 576k, 640k, 768k, 1024k Default value: 448k Note that MediaConvert supports 384k only with channel-based immersive (CBI) 7.1.4 and 5.1.4 inputs. For CBI 9.1.6 and other input types, MediaConvert automatically increases your output bitrate to 448k.", "smithy.api#jsonName": "bitrate" } @@ -6254,6 +6342,7 @@ "LoRoCenterMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative6Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left only/Right only center mix (Lo/Ro center). MediaConvert uses this value for downmixing. Default value: -3 dB (ATMOS_STORAGE_DDP_MIXLEV_MINUS_3_DB). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0. Related setting: How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Related setting: To have MediaConvert use this value, keep the default value, Custom (SPECIFIED) for the setting Downmix control (DownmixControl). Otherwise, MediaConvert ignores Left only/Right only center (LoRoCenterMixLevel).", "smithy.api#jsonName": "loRoCenterMixLevel" } @@ -6261,6 +6350,7 @@ "LoRoSurroundMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. Default value: -3 dB (ATMOS_STORAGE_DDP_MIXLEV_MINUS_3_DB). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. Related setting: How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Related setting: To have MediaConvert use this value, keep the default value, Custom (SPECIFIED) for the setting Downmix control (DownmixControl). Otherwise, MediaConvert ignores Left only/Right only surround (LoRoSurroundMixLevel).", "smithy.api#jsonName": "loRoSurroundMixLevel" } @@ -6268,6 +6358,7 @@ "LtRtCenterMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative6Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. Default value: -3 dB (ATMOS_STORAGE_DDP_MIXLEV_MINUS_3_DB) Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, and -6.0. Related setting: How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Related setting: To have MediaConvert use this value, keep the default value, Custom (SPECIFIED) for the setting Downmix control (DownmixControl). Otherwise, MediaConvert ignores Left total/Right total center (LtRtCenterMixLevel).", "smithy.api#jsonName": "ltRtCenterMixLevel" } @@ -6275,6 +6366,7 @@ "LtRtSurroundMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Atmos setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. Default value: -3 dB (ATMOS_STORAGE_DDP_MIXLEV_MINUS_3_DB) Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. Related setting: How the service uses this value depends on the value that you choose for Stereo downmix (Eac3AtmosStereoDownmix). Related setting: To have MediaConvert use this value, keep the default value, Custom (SPECIFIED) for the setting Downmix control (DownmixControl). Otherwise, the service ignores Left total/Right total surround (LtRtSurroundMixLevel).", "smithy.api#jsonName": "ltRtSurroundMixLevel" } @@ -6289,6 +6381,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin48000Max48000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This value is always 48000. It represents the sample rate in Hz.", "smithy.api#jsonName": "sampleRate" } @@ -6296,6 +6389,7 @@ "SpeechThreshold": { "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the percentage of audio content, from 0% to 100%, that must be speech in order for the encoder to use the measured speech loudness as the overall program loudness. Default value: 15%", "smithy.api#jsonName": "speechThreshold" } @@ -6600,6 +6694,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin64000Max640000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second. Valid bitrates depend on the coding mode.", "smithy.api#jsonName": "bitrate" } @@ -6628,6 +6723,7 @@ "Dialnorm": { "target": "com.amazonaws.mediaconvert#__integerMin1Max31", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.", "smithy.api#jsonName": "dialnorm" } @@ -6663,6 +6759,7 @@ "LoRoCenterMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative60Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left only/Right only center mix (Lo/Ro center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only center (loRoCenterMixLevel).", "smithy.api#jsonName": "loRoCenterMixLevel" } @@ -6670,6 +6767,7 @@ "LoRoSurroundMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left only/Right only (Lo/Ro surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left only/Right only surround (loRoSurroundMixLevel).", "smithy.api#jsonName": "loRoSurroundMixLevel" } @@ -6677,6 +6775,7 @@ "LtRtCenterMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative60Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left total/Right total center mix (Lt/Rt center). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: 3.0, 1.5, 0.0, -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total center (ltRtCenterMixLevel).", "smithy.api#jsonName": "ltRtCenterMixLevel" } @@ -6684,6 +6783,7 @@ "LtRtSurroundMixLevel": { "target": "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for the following Dolby Digital Plus setting: Left total/Right total surround mix (Lt/Rt surround). MediaConvert uses this value for downmixing. How the service uses this value depends on the value that you choose for Stereo downmix (Eac3StereoDownmix). Valid values: -1.5, -3.0, -4.5, -6.0, and -60. The value -60 mutes the channel. This setting applies only if you keep the default value of 3/2 - L, R, C, Ls, Rs (CODING_MODE_3_2) for the setting Coding mode (Eac3CodingMode). If you choose a different value for Coding mode, the service ignores Left total/Right total surround (ltRtSurroundMixLevel).", "smithy.api#jsonName": "ltRtSurroundMixLevel" } @@ -6712,6 +6812,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin48000Max48000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This value is always 48000. It represents the sample rate in Hz.", "smithy.api#jsonName": "sampleRate" } @@ -6828,6 +6929,7 @@ "Destination608ChannelNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless your input captions are SCC format and your output captions are embedded in the video stream. Specify a CC number for each captions channel in this output. If you have two channels, choose CC numbers that aren't in the same field. For example, choose 1 and 3. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded.", "smithy.api#jsonName": "destination608ChannelNumber" } @@ -6835,6 +6937,7 @@ "Destination708ServiceNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max6", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless your input captions are SCC format and you want both 608 and 708 captions embedded in your output stream. Optionally, specify the 708 service number for each output captions channel. Choose a different number for each channel. To use this setting, also set Force 608 to 708 upconvert (Convert608To708) to Upconvert (UPCONVERT) in your input captions selector settings. If you choose to upconvert but don't specify a 708 service number, MediaConvert uses the number that you specify for CC channel number (destination608ChannelNumber) for the 708 service number. For more information, see https://docs.aws.amazon.com/console/mediaconvert/dual-scc-to-embedded.", "smithy.api#jsonName": "destination708ServiceNumber" } @@ -6857,6 +6960,7 @@ "Source608ChannelNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough.", "smithy.api#jsonName": "source608ChannelNumber" } @@ -6864,6 +6968,7 @@ "Source608TrackNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the video track index used for extracting captions. The system only supports one input video track, so this should always be set to '1'.", "smithy.api#jsonName": "source608TrackNumber" } @@ -6955,6 +7060,7 @@ "ResponseSignalPreroll": { "target": "com.amazonaws.mediaconvert#__integerMin0Max30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the stream distance, in milliseconds, between the SCTE 35 messages that the transcoder places and the splice points that they refer to. If the time between the start of the asset and the SCTE-35 message is less than this value, then the transcoder places the SCTE-35 marker at the beginning of the stream.", "smithy.api#jsonName": "responseSignalPreroll" } @@ -7104,6 +7210,7 @@ "TimeDelta": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Use this setting when you need to adjust the sync between your sidecar captions and your video. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/time-delta-use-cases.html. Enter a positive or negative number to modify the times in the captions file. For example, type 15 to add 15 seconds to all the times in the captions file. Type -5 to subtract 5 seconds from the times in the captions file. You can optionally specify your time delta in milliseconds instead of seconds. When you do so, set the related setting, Time delta units (TimeDeltaUnits) to Milliseconds (MILLISECONDS). Note that, when you specify a time delta for timecode-based caption sources, such as SCC and STL, and your time delta isn't a multiple of the input frame rate, MediaConvert snaps the captions to the nearest frame. For example, when your input video frame rate is 25 fps and you specify 1010ms for time delta, MediaConvert delays your captions by 1000 ms.", "smithy.api#jsonName": "timeDelta" } @@ -7178,6 +7285,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", "smithy.api#jsonName": "height" } @@ -7185,6 +7293,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", "smithy.api#jsonName": "width" } @@ -7200,6 +7309,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.n.jpg where n is the 0-based sequence number of each Capture.", "smithy.api#jsonName": "framerateDenominator" } @@ -7207,6 +7317,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Frame capture will encode the first frame of the output stream, then one frame every framerateDenominator/framerateNumerator seconds. For example, settings of framerateNumerator = 1 and framerateDenominator = 3 (a rate of 1/3 frame per second) will capture the first frame, then 1 frame every 3s. Files will be named as filename.NNNNNNN.jpg where N is the 0-based frame sequence number zero padded to 7 decimal places.", "smithy.api#jsonName": "framerateNumerator" } @@ -7214,6 +7325,7 @@ "MaxCaptures": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum number of captures (encoded jpg output files).", "smithy.api#jsonName": "maxCaptures" } @@ -7221,6 +7333,7 @@ "Quality": { "target": "com.amazonaws.mediaconvert#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "JPEG Quality - a higher value equals higher quality.", "smithy.api#jsonName": "quality" } @@ -7885,6 +7998,7 @@ "MaxAverageBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when Rate control mode is QVBR and Quality tuning level is Multi-pass HQ. For Max average bitrate values suited to the complexity of your input video, the service limits the average bitrate of the video part of this output to the value that you choose. That is, the total size of the video element is less than or equal to the value you set multiplied by the number of seconds of encoded output.", "smithy.api#jsonName": "maxAverageBitrate" } @@ -7892,6 +8006,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } @@ -7899,6 +8014,7 @@ "QvbrQualityLevelFineTune": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.", "smithy.api#jsonName": "qvbrQualityLevelFineTune" } @@ -7993,6 +8109,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", "smithy.api#jsonName": "bitrate" } @@ -8056,6 +8173,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -8063,6 +8181,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -8077,6 +8196,7 @@ "GopClosedCadence": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. If you do explicitly specify a value, for segmented outputs, don't set this value to 0.", "smithy.api#jsonName": "gopClosedCadence" } @@ -8084,6 +8204,7 @@ "GopSize": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using a whole number of frames or a decimal value of seconds. MediaConvert will interpret this value as frames or seconds depending on the value you choose for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to automatically determine GOP size, leave GOP size blank and set GOP mode control to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave GOP size blank and set GOP mode control to Auto in each output in your output group.", "smithy.api#jsonName": "gopSize" } @@ -8098,6 +8219,7 @@ "HrdBufferInitialFillPercentage": { "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", "smithy.api#jsonName": "hrdBufferInitialFillPercentage" } @@ -8105,6 +8227,7 @@ "HrdBufferSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", "smithy.api#jsonName": "hrdBufferSize" } @@ -8119,6 +8242,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.", "smithy.api#jsonName": "maxBitrate" } @@ -8126,6 +8250,7 @@ "MinIInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max30", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.", "smithy.api#jsonName": "minIInterval" } @@ -8133,6 +8258,7 @@ "NumberBFramesBetweenReferenceFrames": { "target": "com.amazonaws.mediaconvert#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This setting to determines the number of B-frames that MediaConvert puts between reference frames in this output. We recommend that you use automatic behavior to allow the transcoder to choose the best value based on characteristics of your input video. In the console, choose AUTO to select this automatic behavior. When you manually edit your JSON job specification, leave this setting out to choose automatic behavior. When you want to specify this number explicitly, choose a whole number from 0 through 7.", "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } @@ -8140,6 +8266,7 @@ "NumberReferenceFrames": { "target": "com.amazonaws.mediaconvert#__integerMin1Max6", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.", "smithy.api#jsonName": "numberReferenceFrames" } @@ -8154,6 +8281,7 @@ "ParDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", "smithy.api#jsonName": "parDenominator" } @@ -8161,6 +8289,7 @@ "ParNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", "smithy.api#jsonName": "parNumerator" } @@ -8210,6 +8339,7 @@ "Slices": { "target": "com.amazonaws.mediaconvert#__integerMin1Max32", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.", "smithy.api#jsonName": "slices" } @@ -8224,6 +8354,7 @@ "Softness": { "target": "com.amazonaws.mediaconvert#__integerMin0Max128", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", "smithy.api#jsonName": "softness" } @@ -8698,6 +8829,7 @@ "MaxAverageBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1466400000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when Rate control mode is QVBR and Quality tuning level is Multi-pass HQ. For Max average bitrate values suited to the complexity of your input video, the service limits the average bitrate of the video part of this output to the value that you choose. That is, the total size of the video element is less than or equal to the value you set multiplied by the number of seconds of encoded output.", "smithy.api#jsonName": "maxAverageBitrate" } @@ -8705,6 +8837,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.mediaconvert#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you set Rate control mode (RateControlMode) to QVBR. Specify the target quality level for this output. MediaConvert determines the right number of bits to use for each part of the video to maintain the video quality that you specify. When you keep the default value, AUTO, MediaConvert picks a quality level for you, based on characteristics of your input video. If you prefer to specify a quality level, specify a number from 1 through 10. Use higher numbers for greater quality. Level 10 results in nearly lossless compression. The quality level for most broadcast-quality transcodes is between 6 and 9. Optionally, to specify a value between whole numbers, also provide a value for the setting qvbrQualityLevelFineTune. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33.", "smithy.api#jsonName": "qvbrQualityLevel" } @@ -8712,6 +8845,7 @@ "QvbrQualityLevelFineTune": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify a value here to set the QVBR quality to a level that is between whole numbers. For example, if you want your QVBR quality level to be 7.33, set qvbrQualityLevel to 7 and set qvbrQualityLevelFineTune to .33. MediaConvert rounds your QVBR quality level to the nearest third of a whole number. For example, if you set qvbrQualityLevel to 7 and you set qvbrQualityLevelFineTune to .25, your actual QVBR quality level is 7.33.", "smithy.api#jsonName": "qvbrQualityLevelFineTune" } @@ -8817,6 +8951,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1466400000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", "smithy.api#jsonName": "bitrate" } @@ -8866,6 +9001,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -8873,6 +9009,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -8887,6 +9024,7 @@ "GopClosedCadence": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. If you do explicitly specify a value, for segmented outputs, don't set this value to 0.", "smithy.api#jsonName": "gopClosedCadence" } @@ -8894,6 +9032,7 @@ "GopSize": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you set GOP mode control (GopSizeUnits) to Specified, frames (FRAMES) or Specified, seconds (SECONDS). Specify the GOP length using a whole number of frames or a decimal value of seconds. MediaConvert will interpret this value as frames or seconds depending on the value you choose for GOP mode control (GopSizeUnits). If you want to allow MediaConvert to automatically determine GOP size, leave GOP size blank and set GOP mode control to Auto (AUTO). If your output group specifies HLS, DASH, or CMAF, leave GOP size blank and set GOP mode control to Auto in each output in your output group.", "smithy.api#jsonName": "gopSize" } @@ -8908,6 +9047,7 @@ "HrdBufferInitialFillPercentage": { "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", "smithy.api#jsonName": "hrdBufferInitialFillPercentage" } @@ -8915,6 +9055,7 @@ "HrdBufferSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1466400000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", "smithy.api#jsonName": "hrdBufferSize" } @@ -8929,6 +9070,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1466400000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. Required when Rate control mode is QVBR.", "smithy.api#jsonName": "maxBitrate" } @@ -8936,6 +9078,7 @@ "MinIInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max30", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, keep the default value by leaving this setting out of your JSON job specification. In the console, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.", "smithy.api#jsonName": "minIInterval" } @@ -8943,6 +9086,7 @@ "NumberBFramesBetweenReferenceFrames": { "target": "com.amazonaws.mediaconvert#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of B-frames that MediaConvert puts between reference frames in this output. Valid values are whole numbers from 0 through 7. When you don't specify a value, MediaConvert defaults to 2.", "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } @@ -8950,6 +9094,7 @@ "NumberReferenceFrames": { "target": "com.amazonaws.mediaconvert#__integerMin1Max6", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.", "smithy.api#jsonName": "numberReferenceFrames" } @@ -8964,6 +9109,7 @@ "ParDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", "smithy.api#jsonName": "parDenominator" } @@ -8971,6 +9117,7 @@ "ParNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", "smithy.api#jsonName": "parNumerator" } @@ -9020,6 +9167,7 @@ "Slices": { "target": "com.amazonaws.mediaconvert#__integerMin1Max32", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.", "smithy.api#jsonName": "slices" } @@ -9223,6 +9371,7 @@ "BluePrimaryX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "bluePrimaryX" } @@ -9230,6 +9379,7 @@ "BluePrimaryY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "bluePrimaryY" } @@ -9237,6 +9387,7 @@ "GreenPrimaryX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "greenPrimaryX" } @@ -9244,6 +9395,7 @@ "GreenPrimaryY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "greenPrimaryY" } @@ -9251,6 +9403,7 @@ "MaxContentLightLevel": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum light level among all samples in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content.", "smithy.api#jsonName": "maxContentLightLevel" } @@ -9258,6 +9411,7 @@ "MaxFrameAverageLightLevel": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum average light level of any frame in the coded video sequence, in units of candelas per square meter. This setting doesn't have a default value; you must specify a value that is suitable for the content.", "smithy.api#jsonName": "maxFrameAverageLightLevel" } @@ -9265,6 +9419,7 @@ "MaxLuminance": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Nominal maximum mastering display luminance in units of of 0.0001 candelas per square meter.", "smithy.api#jsonName": "maxLuminance" } @@ -9272,6 +9427,7 @@ "MinLuminance": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Nominal minimum mastering display luminance in units of of 0.0001 candelas per square meter", "smithy.api#jsonName": "minLuminance" } @@ -9279,6 +9435,7 @@ "RedPrimaryX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "redPrimaryX" } @@ -9286,6 +9443,7 @@ "RedPrimaryY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "redPrimaryY" } @@ -9293,6 +9451,7 @@ "WhitePointX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "whitePointX" } @@ -9300,6 +9459,7 @@ "WhitePointY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max50000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "HDR Master Display Information must be provided by a color grader, using color grading tools. Range is 0 to 50,000, each increment represents 0.00002 in CIE1931 color coordinate. Note that this setting is not for color correction.", "smithy.api#jsonName": "whitePointY" } @@ -9315,6 +9475,7 @@ "MasteringMonitorNits": { "target": "com.amazonaws.mediaconvert#__integerMin0Max4000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the HDR10+ mastering display normalized peak luminance, in nits. This is the normalized actual peak luminance of the mastering display, as defined by ST 2094-40.", "smithy.api#jsonName": "masteringMonitorNits" } @@ -9322,6 +9483,7 @@ "TargetMonitorNits": { "target": "com.amazonaws.mediaconvert#__integerMin0Max4000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the HDR10+ target display nominal peak luminance, in nits. This is the nominal maximum luminance of the target display as defined by ST 2094-40.", "smithy.api#jsonName": "targetMonitorNits" } @@ -9430,6 +9592,7 @@ "CaptionChannel": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Caption channel.", "smithy.api#jsonName": "captionChannel" } @@ -9758,6 +9921,7 @@ "MinFinalSegmentLength": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Keep this setting at the default value of 0, unless you are troubleshooting a problem with how devices play back the end of your video asset. If you know that player devices are hanging on the final segment of your video because the length of your final segment is too short, use this setting to specify a minimum final segment length, in seconds. Choose a value that is greater than or equal to 1 and less than your segment length. When you specify a value for this setting, the encoder will combine any final segment that is shorter than the length that you specify with the previous segment. For example, your segment length is 3 seconds and your final segment is .5 seconds without a minimum final segment length; when you set the minimum final segment length to 1, your final segment is 3.5 seconds.", "smithy.api#jsonName": "minFinalSegmentLength" } @@ -9765,6 +9929,7 @@ "MinSegmentLength": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When set, Minimum Segment Size is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.", "smithy.api#jsonName": "minSegmentLength" } @@ -9786,6 +9951,7 @@ "ProgramDateTimePeriod": { "target": "com.amazonaws.mediaconvert#__integerMin0Max3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.", "smithy.api#jsonName": "programDateTimePeriod" } @@ -9800,6 +9966,7 @@ "SegmentLength": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the length, in whole seconds, of each segment. When you don't specify a value, MediaConvert defaults to 10. Related settings: Use Segment length control (SegmentLengthControl) to specify whether the encoder enforces this value strictly. Use Segment control (HlsSegmentControl) to specify whether MediaConvert creates separate segment files or one content file that has metadata to mark the segment boundaries.", "smithy.api#jsonName": "segmentLength" } @@ -9814,6 +9981,7 @@ "SegmentsPerSubdirectory": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of segments to write to a subdirectory before starting a new one. directoryStructure must be SINGLE_DIRECTORY for this setting to have an effect.", "smithy.api#jsonName": "segmentsPerSubdirectory" } @@ -9842,6 +10010,7 @@ "TimedMetadataId3Period": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the interval in seconds to write ID3 timestamps in your output. The first timestamp starts at the output timecode and date, and increases incrementally with each ID3 timestamp. To use the default interval of 10 seconds: Leave blank. To include this metadata in your output: Set ID3 timestamp frame type (timedMetadataId3Frame) to PRIV (PRIV) or TDRL (TDRL), and set ID3 metadata (timedMetadata) to Passthrough (PASSTHROUGH).", "smithy.api#jsonName": "timedMetadataId3Period" } @@ -9849,6 +10018,7 @@ "TimestampDeltaMilliseconds": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Provides an extra millisecond delta offset to fine tune the timestamps.", "smithy.api#jsonName": "timestampDeltaMilliseconds" } @@ -9911,6 +10081,7 @@ "ThumbnailHeight": { "target": "com.amazonaws.mediaconvert#__integerMin2Max4096", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Height of each thumbnail within each tile image, in pixels. Leave blank to maintain aspect ratio with thumbnail width. If following the aspect ratio would lead to a total tile height greater than 4096, then the job will be rejected. Must be divisible by 2.", "smithy.api#jsonName": "thumbnailHeight" } @@ -9918,6 +10089,7 @@ "ThumbnailInterval": { "target": "com.amazonaws.mediaconvert#__doubleMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Enter the interval, in seconds, that MediaConvert uses to generate thumbnails. If the interval you enter doesn't align with the output frame rate, MediaConvert automatically rounds the interval to align with the output frame rate. For example, if the output frame rate is 29.97 frames per second and you enter 5, MediaConvert uses a 150 frame interval to generate thumbnails.", "smithy.api#jsonName": "thumbnailInterval" } @@ -9925,6 +10097,7 @@ "ThumbnailWidth": { "target": "com.amazonaws.mediaconvert#__integerMin8Max4096", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Width of each thumbnail within each tile image, in pixels. Default is 312. Must be divisible by 8.", "smithy.api#jsonName": "thumbnailWidth" } @@ -9932,6 +10105,7 @@ "TileHeight": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2048", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of thumbnails in each column of a tile image. Set a value between 2 and 2048. Must be divisible by 2.", "smithy.api#jsonName": "tileHeight" } @@ -9939,6 +10113,7 @@ "TileWidth": { "target": "com.amazonaws.mediaconvert#__integerMin1Max512", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of thumbnails in each row of a tile image. Set a value between 1 and 512.", "smithy.api#jsonName": "tileWidth" } @@ -10252,6 +10427,7 @@ "Priority": { "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. When you set up a job to use queue hopping, you can specify a different relative priority for the job in the destination queue. If you don't specify, the relative priority will remain the same as in the previous queue.", "smithy.api#jsonName": "priority" } @@ -10266,6 +10442,7 @@ "WaitMinutes": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required for setting up a job to use queue hopping. Minimum wait time in minutes until the job can hop to the destination queue. Valid range is 1 to 1440 minutes, inclusive.", "smithy.api#jsonName": "waitMinutes" } @@ -10442,6 +10619,7 @@ "FilterStrength": { "target": "com.amazonaws.mediaconvert#__integerMinNegative5Max5", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0.", "smithy.api#jsonName": "filterStrength" } @@ -10477,6 +10655,7 @@ "ProgramNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.", "smithy.api#jsonName": "programNumber" } @@ -10796,6 +10975,7 @@ "FilterStrength": { "target": "com.amazonaws.mediaconvert#__integerMinNegative5Max5", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Filter strength (FilterStrength) to adjust the magnitude the input filter settings (Deblock and Denoise). The range is -5 to 5. Default is 0.", "smithy.api#jsonName": "filterStrength" } @@ -10831,6 +11011,7 @@ "ProgramNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Program (programNumber) to select a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported. Default is the first program within the transport stream. If the program you specify doesn't exist, the transcoding service will use this default.", "smithy.api#jsonName": "programNumber" } @@ -10894,6 +11075,7 @@ "Duration": { "target": "com.amazonaws.mediaconvert#__integerMin50Max86400000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify an integer value for Black video duration from 50 to 86400000 to generate a black video input for that many milliseconds. Required when you include Video generator.", "smithy.api#jsonName": "duration" } @@ -10909,6 +11091,7 @@ "Duration": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the time, in milliseconds, for the image to remain on the output video. This duration includes fade-in time but not fade-out time.", "smithy.api#jsonName": "duration" } @@ -10916,6 +11099,7 @@ "FadeIn": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the length of time, in milliseconds, between the Start time that you specify for the image insertion and the time that the image appears at full opacity. Full opacity is the level that you specify for the opacity setting. If you don't specify a value for Fade-in, the image will appear abruptly at the overlay start time.", "smithy.api#jsonName": "fadeIn" } @@ -10923,6 +11107,7 @@ "FadeOut": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the length of time, in milliseconds, between the end of the time that you have specified for the image overlay Duration and when the overlaid image has faded to total transparency. If you don't specify a value for Fade-out, the image will disappear abruptly at the end of the inserted image duration.", "smithy.api#jsonName": "fadeOut" } @@ -10930,6 +11115,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the height of the inserted image in pixels. If you specify a value that's larger than the video resolution height, the service will crop your overlaid image to fit. To use the native height of the image, keep this setting blank.", "smithy.api#jsonName": "height" } @@ -10944,6 +11130,7 @@ "ImageX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the distance, in pixels, between the inserted image and the left edge of the video frame. Required for any image overlay that you specify.", "smithy.api#jsonName": "imageX" } @@ -10951,6 +11138,7 @@ "ImageY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the distance, in pixels, between the overlaid image and the top edge of the video frame. Required for any image overlay that you specify.", "smithy.api#jsonName": "imageY" } @@ -10958,6 +11146,7 @@ "Layer": { "target": "com.amazonaws.mediaconvert#__integerMin0Max99", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify how overlapping inserted images appear. Images with higher values for Layer appear on top of images with lower values for Layer.", "smithy.api#jsonName": "layer" } @@ -10965,6 +11154,7 @@ "Opacity": { "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Opacity (Opacity) to specify how much of the underlying video shows through the inserted image. 0 is transparent and 100 is fully opaque. Default is 50.", "smithy.api#jsonName": "opacity" } @@ -10979,6 +11169,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the width of the inserted image in pixels. If you specify a value that's larger than the video resolution width, the service will crop your overlaid image to fit. To use the native width of the image, keep this setting blank.", "smithy.api#jsonName": "width" } @@ -11052,6 +11243,7 @@ "ErrorCode": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Error code for the job", "smithy.api#jsonName": "errorCode" } @@ -11080,6 +11272,7 @@ "JobPercentComplete": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "An estimate of how far your job has progressed. This estimate is shown as a percentage of the total time from when your job leaves its queue to when your output files appear in your output Amazon S3 bucket. AWS Elemental MediaConvert provides jobPercentComplete in CloudWatch STATUS_UPDATE events and in the response to GetJob and ListJobs requests. The jobPercentComplete estimate is reliable for the following input containers: Quicktime, Transport Stream, MP4, and MXF. For some jobs, the service can't provide information about job progress. In those cases, jobPercentComplete returns a null value.", "smithy.api#jsonName": "jobPercentComplete" } @@ -11108,6 +11301,7 @@ "Priority": { "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Relative priority on the job.", "smithy.api#jsonName": "priority" } @@ -11129,6 +11323,7 @@ "RetryCount": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of times that the service automatically attempted to process your job after encountering an error.", "smithy.api#jsonName": "retryCount" } @@ -11237,6 +11432,7 @@ "AdAvailOffset": { "target": "com.amazonaws.mediaconvert#__integerMinNegative1000Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.", "smithy.api#jsonName": "adAvailOffset" } @@ -11414,6 +11610,7 @@ "Priority": { "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Relative priority on the job.", "smithy.api#jsonName": "priority" } @@ -11478,6 +11675,7 @@ "AdAvailOffset": { "target": "com.amazonaws.mediaconvert#__integerMinNegative1000Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time.", "smithy.api#jsonName": "adAvailOffset" } @@ -11591,6 +11789,7 @@ "FileOffset": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify an offset, in whole seconds, from the start of your output and the beginning of the watermarking. When you don't specify an offset, Kantar defaults to zero.", "smithy.api#jsonName": "fileOffset" } @@ -11598,6 +11797,7 @@ "KantarLicenseId": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Provide your Kantar license ID number. You should get this number from Kantar.", "smithy.api#jsonName": "kantarLicenseId" } @@ -12502,6 +12702,7 @@ "MaxResults": { "target": "com.amazonaws.mediaconvert#__integerMin1Max20", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Number of job templates, up to twenty, that will be returned at one time.", "smithy.api#httpQuery": "maxResults" } @@ -12590,6 +12791,7 @@ "MaxResults": { "target": "com.amazonaws.mediaconvert#__integerMin1Max20", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Number of jobs, up to twenty, that will be returned at one time.", "smithy.api#httpQuery": "maxResults" } @@ -12706,6 +12908,7 @@ "MaxResults": { "target": "com.amazonaws.mediaconvert#__integerMin1Max20", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Number of presets, up to twenty, that will be returned at one time", "smithy.api#httpQuery": "maxResults" } @@ -12801,6 +13004,7 @@ "MaxResults": { "target": "com.amazonaws.mediaconvert#__integerMin1Max20", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Number of queues, up to twenty, that will be returned at one time.", "smithy.api#httpQuery": "maxResults" } @@ -13100,6 +13304,7 @@ "Scte35EsamPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) of the SCTE-35 stream in the transport stream generated by ESAM.", "smithy.api#jsonName": "scte35EsamPid" } @@ -13193,6 +13398,7 @@ "AudioFramesPerPes": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of audio frames to insert for each PES packet.", "smithy.api#jsonName": "audioFramesPerPes" } @@ -13207,6 +13413,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate. Other common values are 3750000, 7500000, and 15000000.", "smithy.api#jsonName": "bitrate" } @@ -13256,6 +13463,7 @@ "DvbTeletextPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the packet identifier (PID) for DVB teletext data you include in this output. Default is 499.", "smithy.api#jsonName": "dvbTeletextPid" } @@ -13291,6 +13499,7 @@ "FragmentTime": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length, in seconds, of each fragment. Only used with EBP markers.", "smithy.api#jsonName": "fragmentTime" } @@ -13305,6 +13514,7 @@ "MaxPcrInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max500", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.", "smithy.api#jsonName": "maxPcrInterval" } @@ -13312,6 +13522,7 @@ "MinEbpInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max10000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is \"stretched\" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.", "smithy.api#jsonName": "minEbpInterval" } @@ -13326,6 +13537,7 @@ "NullPacketBitrate": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.", "smithy.api#jsonName": "nullPacketBitrate" } @@ -13333,6 +13545,7 @@ "PatInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "patInterval" } @@ -13347,6 +13560,7 @@ "PcrPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the packet identifier (PID) for the program clock reference (PCR) in this output. If you do not specify a value, the service will use the value for Video PID (VideoPid).", "smithy.api#jsonName": "pcrPid" } @@ -13354,6 +13568,7 @@ "PmtInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of milliseconds between instances of the program map table (PMT) in the output transport stream.", "smithy.api#jsonName": "pmtInterval" } @@ -13361,6 +13576,7 @@ "PmtPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the packet identifier (PID) for the program map table (PMT) itself. Default is 480.", "smithy.api#jsonName": "pmtPid" } @@ -13368,6 +13584,7 @@ "PrivateMetadataPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the packet identifier (PID) of the private metadata stream. Default is 503.", "smithy.api#jsonName": "privateMetadataPid" } @@ -13375,6 +13592,7 @@ "ProgramNumber": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Program number (programNumber) to specify the program number used in the program map table (PMT) for this output. Default is 1. Program numbers and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.", "smithy.api#jsonName": "programNumber" } @@ -13396,6 +13614,7 @@ "Scte35Pid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the packet identifier (PID) of the SCTE-35 stream in the transport stream.", "smithy.api#jsonName": "scte35Pid" } @@ -13424,6 +13643,7 @@ "SegmentationTime": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the length, in seconds, of each segment. Required unless markers is set to _none_.", "smithy.api#jsonName": "segmentationTime" } @@ -13431,6 +13651,7 @@ "TimedMetadataPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) of the ID3 metadata stream in the transport stream.", "smithy.api#jsonName": "timedMetadataPid" } @@ -13438,6 +13659,7 @@ "TransportStreamId": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the ID for the transport stream itself in the program map table for this output. Transport stream IDs and program map tables are parts of MPEG-2 transport stream containers, used for organizing data.", "smithy.api#jsonName": "transportStreamId" } @@ -13445,6 +13667,7 @@ "VideoPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the packet identifier (PID) of the elementary video stream in the transport stream.", "smithy.api#jsonName": "videoPid" } @@ -13547,6 +13770,7 @@ "AudioFramesPerPes": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of audio frames to insert for each PES packet.", "smithy.api#jsonName": "audioFramesPerPes" } @@ -13568,6 +13792,7 @@ "MaxPcrInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max500", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the maximum time, in milliseconds, between Program Clock References (PCRs) inserted into the transport stream.", "smithy.api#jsonName": "maxPcrInterval" } @@ -13582,6 +13807,7 @@ "PatInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "patInterval" } @@ -13596,6 +13822,7 @@ "PcrPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) of the Program Clock Reference (PCR) in the transport stream. When no value is given, the encoder will assign the same value as the Video PID.", "smithy.api#jsonName": "pcrPid" } @@ -13603,6 +13830,7 @@ "PmtInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "pmtInterval" } @@ -13610,6 +13838,7 @@ "PmtPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) for the Program Map Table (PMT) in the transport stream.", "smithy.api#jsonName": "pmtPid" } @@ -13617,6 +13846,7 @@ "PrivateMetadataPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) of the private metadata stream in the transport stream.", "smithy.api#jsonName": "privateMetadataPid" } @@ -13624,6 +13854,7 @@ "ProgramNumber": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the program number field in the Program Map Table.", "smithy.api#jsonName": "programNumber" } @@ -13631,6 +13862,7 @@ "Scte35Pid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) of the SCTE-35 stream in the transport stream.", "smithy.api#jsonName": "scte35Pid" } @@ -13652,6 +13884,7 @@ "TimedMetadataPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) of the ID3 metadata stream in the transport stream.", "smithy.api#jsonName": "timedMetadataPid" } @@ -13659,6 +13892,7 @@ "TransportStreamId": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the transport stream ID field in the Program Map Table.", "smithy.api#jsonName": "transportStreamId" } @@ -13666,6 +13900,7 @@ "VideoPid": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8182", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Packet Identifier (PID) of the elementary video stream in the transport stream.", "smithy.api#jsonName": "videoPid" } @@ -13677,21 +13912,6 @@ }, "com.amazonaws.mediaconvert#MediaConvert": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MediaConvert", - "arnNamespace": "mediaconvert", - "cloudFormationName": "MediaConvert", - "cloudTrailEventSource": "mediaconvert.amazonaws.com", - "endpointPrefix": "mediaconvert" - }, - "aws.auth#sigv4": { - "name": "mediaconvert" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS Elemental MediaConvert", - "smithy.api#title": "AWS Elemental MediaConvert" - }, "version": "2017-08-29", "operations": [ { @@ -13778,7 +13998,22 @@ { "target": "com.amazonaws.mediaconvert#UpdateQueue" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MediaConvert", + "arnNamespace": "mediaconvert", + "cloudFormationName": "MediaConvert", + "cloudTrailEventSource": "mediaconvert.amazonaws.com", + "endpointPrefix": "mediaconvert" + }, + "aws.auth#sigv4": { + "name": "mediaconvert" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AWS Elemental MediaConvert", + "smithy.api#title": "AWS Elemental MediaConvert" + } }, "com.amazonaws.mediaconvert#MinBottomRenditionSize": { "type": "structure", @@ -13786,6 +14021,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", "smithy.api#jsonName": "height" } @@ -13793,6 +14029,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", "smithy.api#jsonName": "width" } @@ -13808,6 +14045,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Height to define the video resolution height, in pixels, for this rule.", "smithy.api#jsonName": "height" } @@ -13815,6 +14053,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Width to define the video resolution width, in pixels, for this rule.", "smithy.api#jsonName": "width" } @@ -13880,6 +14119,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max17895697", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The bottom of the fraction that expresses your overlay frame rate. For example, if your frame rate is 24 fps, set this value to 1.", "smithy.api#jsonName": "framerateDenominator" } @@ -13887,6 +14127,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483640", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The top of the fraction that expresses your overlay frame rate. For example, if your frame rate is 24 fps, set this value to 24.", "smithy.api#jsonName": "framerateNumerator" } @@ -13918,6 +14159,7 @@ "ImageX": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set the distance, in pixels, between the overlay and the left edge of the video frame.", "smithy.api#jsonName": "imageX" } @@ -13925,6 +14167,7 @@ "ImageY": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set the distance, in pixels, between the overlay and the top edge of the video frame.", "smithy.api#jsonName": "imageY" } @@ -14079,6 +14322,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin32000Max384000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second.", "smithy.api#jsonName": "bitrate" } @@ -14086,6 +14330,7 @@ "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Set Channels to specify the number of channels in this output audio track. Choosing Mono in the console will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.", "smithy.api#jsonName": "channels" } @@ -14093,6 +14338,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin32000Max48000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in hz.", "smithy.api#jsonName": "sampleRate" } @@ -14124,6 +14370,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin16000Max320000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second.", "smithy.api#jsonName": "bitrate" } @@ -14131,6 +14378,7 @@ "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.", "smithy.api#jsonName": "channels" } @@ -14145,6 +14393,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin22050Max48000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in hz.", "smithy.api#jsonName": "sampleRate" } @@ -14152,6 +14401,7 @@ "VbrQuality": { "target": "com.amazonaws.mediaconvert#__integerMin0Max9", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Bitrate control mode (rateControlMode) to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).", "smithy.api#jsonName": "vbrQuality" } @@ -14229,6 +14479,7 @@ "CttsVersion": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless compliance to the CTTS box version specification matters in your workflow. Specify a value of 1 to set your CTTS box version to 1 and make your output compliant with the specification. When you specify a value of 1, you must also set CSLG atom (cslgAtom) to the value INCLUDE. Keep the default value 0 to set your CTTS box version to 0. This can provide backward compatibility for some players and packagers.", "smithy.api#jsonName": "cttsVersion" } @@ -14713,6 +14964,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max288000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the average bitrate in bits per second. Required for VBR and CBR. For MS Smooth outputs, bitrates must be unique when rounded down to the nearest multiple of 1000.", "smithy.api#jsonName": "bitrate" } @@ -14755,6 +15007,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max1001", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -14762,6 +15015,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin24Max60000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -14769,6 +15023,7 @@ "GopClosedCadence": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the relative frequency of open to closed GOPs in this output. For example, if you want to allow four open GOPs and then require a closed GOP, set this value to 5. When you create a streaming output, we recommend that you keep the default value, 1, so that players starting mid-stream receive an IDR frame as quickly as possible. Don't set this value to 0; that would break output segmenting.", "smithy.api#jsonName": "gopClosedCadence" } @@ -14776,6 +15031,7 @@ "GopSize": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the interval between keyframes, in seconds or frames, for this output. Default: 12 Related settings: When you specify the GOP size in seconds, set GOP mode control (GopSizeUnits) to Specified, seconds (SECONDS). The default value for GOP mode control (GopSizeUnits) is Frames (FRAMES).", "smithy.api#jsonName": "gopSize" } @@ -14790,6 +15046,7 @@ "HrdBufferInitialFillPercentage": { "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", "smithy.api#jsonName": "hrdBufferInitialFillPercentage" } @@ -14797,6 +15054,7 @@ "HrdBufferSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", "smithy.api#jsonName": "hrdBufferSize" } @@ -14818,6 +15076,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max300000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum bitrate in bits/second. For example, enter five megabits per second as 5000000.", "smithy.api#jsonName": "maxBitrate" } @@ -14825,6 +15084,7 @@ "MinIInterval": { "target": "com.amazonaws.mediaconvert#__integerMin0Max30", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting only when you also enable Scene change detection (SceneChangeDetect). This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. When you specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval (minIInterval) to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.", "smithy.api#jsonName": "minIInterval" } @@ -14832,6 +15092,7 @@ "NumberBFramesBetweenReferenceFrames": { "target": "com.amazonaws.mediaconvert#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of B-frames that MediaConvert puts between reference frames in this output. Valid values are whole numbers from 0 through 7. When you don't specify a value, MediaConvert defaults to 2.", "smithy.api#jsonName": "numberBFramesBetweenReferenceFrames" } @@ -14846,6 +15107,7 @@ "ParDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", "smithy.api#jsonName": "parDenominator" } @@ -14853,6 +15115,7 @@ "ParNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", "smithy.api#jsonName": "parNumerator" } @@ -14895,6 +15158,7 @@ "Softness": { "target": "com.amazonaws.mediaconvert#__integerMin0Max128", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless you need to comply with a specification that requires a specific value. If you don't have a specification requirement, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, to use the AWS Elemental default matrices. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", "smithy.api#jsonName": "softness" } @@ -15126,6 +15390,7 @@ "FragmentLength": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify how you want MediaConvert to determine the fragment length. Choose Exact (EXACT) to have the encoder use the exact length that you specify with the setting Fragment length (FragmentLength). This might result in extra I-frames. Choose Multiple of GOP (GOP_MULTIPLE) to have the encoder round up the segment lengths to match the next GOP boundary.", "smithy.api#jsonName": "fragmentLength" } @@ -15263,6 +15528,7 @@ "MaxAncDataSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify a value for this setting only for outputs that you set up with one of these two XAVC profiles: XAVC HD Intra CBG (XAVC_HD_INTRA_CBG) or XAVC 4K Intra CBG (XAVC_4K_INTRA_CBG). Specify the amount of space in each frame that the service reserves for ancillary data, such as teletext captions. The default value for this setting is 1492 bytes per frame. This should be sufficient to prevent overflow unless you have multiple pages of teletext captions data. If you have a large amount of teletext data, specify a larger number.", "smithy.api#jsonName": "maxAncDataSize" } @@ -15285,6 +15551,7 @@ "Payload": { "target": "com.amazonaws.mediaconvert#__integerMin0Max4194303", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the payload ID that you want associated with this output. Valid values vary depending on your Nagra NexGuard forensic watermarking workflow. Required when you include Nagra NexGuard File Marker watermarking (NexGuardWatermarkingSettings) in your job. For PreRelease Content (NGPR/G2), specify an integer from 1 through 4,194,303. You must generate a unique ID for each asset you watermark, and keep a record of which ID you have assigned to each asset. Neither Nagra nor MediaConvert keep track of the relationship between output files and your IDs. For OTT Streaming, create two adaptive bitrate (ABR) stacks for each asset. Do this by setting up two output groups. For one output group, set the value of Payload ID (payload) to 0 in every output. For the other output group, set Payload ID (payload) to 1 in every output.", "smithy.api#jsonName": "payload" } @@ -15334,6 +15601,7 @@ "BreakoutCode": { "target": "com.amazonaws.mediaconvert#__integerMin0Max0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Nielsen has discontinued the use of breakout code functionality. If you must include this property, set the value to zero.", "smithy.api#jsonName": "breakoutCode" } @@ -15405,6 +15673,7 @@ "SourceId": { "target": "com.amazonaws.mediaconvert#__integerMin0Max65534", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use the SID that Nielsen provides to you. This source ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking. This ID should be unique to your Nielsen account but common to all of your output assets. Required for all Nielsen non-linear watermarking.", "smithy.api#jsonName": "sourceId" } @@ -15589,6 +15858,7 @@ "Strength": { "target": "com.amazonaws.mediaconvert#__integerMin0Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Relative strength of noise reducing filter. Higher values produce stronger filtering.", "smithy.api#jsonName": "strength" } @@ -15604,6 +15874,7 @@ "PostFilterSharpenStrength": { "target": "com.amazonaws.mediaconvert#__integerMin0Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify strength of post noise reduction sharpening filter, with 0 disabling the filter and 3 enabling it at maximum strength.", "smithy.api#jsonName": "postFilterSharpenStrength" } @@ -15611,6 +15882,7 @@ "Speed": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The speed of the filter, from -2 (lower speed) to 3 (higher speed), with 0 being the nominal value.", "smithy.api#jsonName": "speed" } @@ -15618,6 +15890,7 @@ "Strength": { "target": "com.amazonaws.mediaconvert#__integerMin0Max16", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Relative strength of noise reducing filter. Higher values produce stronger filtering.", "smithy.api#jsonName": "strength" } @@ -15633,6 +15906,7 @@ "AggressiveMode": { "target": "com.amazonaws.mediaconvert#__integerMin0Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Aggressive mode for content that has complex motion. Higher values produce stronger temporal filtering. This filters highly complex scenes more aggressively and creates better VQ for low bitrate outputs.", "smithy.api#jsonName": "aggressiveMode" } @@ -15654,6 +15928,7 @@ "Speed": { "target": "com.amazonaws.mediaconvert#__integerMinNegative1Max3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The speed of the filter (higher number is faster). Low setting reduces bit rate at the cost of transcode time, high setting improves transcode time at the cost of bit rate.", "smithy.api#jsonName": "speed" } @@ -15661,6 +15936,7 @@ "Strength": { "target": "com.amazonaws.mediaconvert#__integerMin0Max16", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the strength of the noise reducing filter on this output. Higher values produce stronger filtering. We recommend the following value ranges, depending on the result that you want: * 0-2 for complexity reduction with minimal sharpness loss * 2-8 for complexity reduction with image preservation * 8-16 for a high level of complexity reduction", "smithy.api#jsonName": "strength" } @@ -15692,6 +15968,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin32000Max192000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify the average bitrate in bits per second. Valid values are multiples of 8000, from 32000 through 192000. The default value is 96000, which we recommend for quality and bandwidth.", "smithy.api#jsonName": "bitrate" } @@ -15699,6 +15976,7 @@ "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.", "smithy.api#jsonName": "channels" } @@ -15706,6 +15984,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin16000Max48000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Sample rate in hz. Valid values are 16000, 24000, and 48000. The default value is 48000.", "smithy.api#jsonName": "sampleRate" } @@ -15823,6 +16102,7 @@ "DurationInMs": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration in milliseconds", "smithy.api#jsonName": "durationInMs" } @@ -16390,6 +16670,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -16397,6 +16678,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -16418,6 +16700,7 @@ "ParDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", "smithy.api#jsonName": "parDenominator" } @@ -16425,6 +16708,7 @@ "ParNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", "smithy.api#jsonName": "parNumerator" } @@ -16598,6 +16882,7 @@ "ProgressingJobsCount": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimated number of jobs with a PROGRESSING status.", "smithy.api#jsonName": "progressingJobsCount" } @@ -16619,6 +16904,7 @@ "SubmittedJobsCount": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The estimated number of jobs with a SUBMITTED status.", "smithy.api#jsonName": "submittedJobsCount" } @@ -16702,6 +16988,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin2Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Height of rectangle in pixels. Specify only even numbers.", "smithy.api#jsonName": "height" } @@ -16709,6 +16996,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin2Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Width of rectangle in pixels. Specify only even numbers.", "smithy.api#jsonName": "width" } @@ -16716,6 +17004,7 @@ "X": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The distance, in pixels, between the rectangle and the left edge of the video frame. Specify only even numbers.", "smithy.api#jsonName": "x" } @@ -16723,6 +17012,7 @@ "Y": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The distance, in pixels, between the rectangle and the top edge of the video frame. Specify only even numbers.", "smithy.api#jsonName": "y" } @@ -16745,6 +17035,7 @@ "ChannelsIn": { "target": "com.amazonaws.mediaconvert#__integerMin1Max64", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of audio channels from your input that you want to use in your output. With remixing, you might combine or split the data in these channels, so the number of channels in your final output might be different. If you are doing both input channel mapping and output channel mapping, the number of output channels in your input mapping must be the same as the number of input channels in your output mapping.", "smithy.api#jsonName": "channelsIn" } @@ -16752,6 +17043,7 @@ "ChannelsOut": { "target": "com.amazonaws.mediaconvert#__integerMin1Max64", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of channels in this output after remixing. Valid values: 1, 2, 4, 6, 8... 64. (1 and even numbers to 64.) If you are doing both input channel mapping and output channel mapping, the number of output channels in your input mapping must be the same as the number of input channels in your output mapping.", "smithy.api#jsonName": "channelsOut" } @@ -16827,6 +17119,7 @@ "ReservedSlots": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. When you increase this number, you extend your existing commitment with a new 12-month commitment for a larger number of RTS. The new commitment begins when you purchase the additional capacity. You can't decrease the number of RTS in your reserved queue.", "smithy.api#jsonName": "reservedSlots" } @@ -16865,6 +17158,7 @@ "ReservedSlots": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number of reserved transcode slots (RTS) for this queue. The number of RTS determines how many jobs the queue can process in parallel; each RTS can process one job at a time. You can't decrease the number of RTS in your reserved queue. You can increase the number of RTS by extending your existing commitment with a new 12-month commitment for the larger number. The new commitment begins when you purchase the additional capacity. You can't cancel your commitment or revert to your original commitment after you increase the capacity.", "smithy.api#jsonName": "reservedSlots", "smithy.api#required": {} @@ -17501,6 +17795,7 @@ "FontSize": { "target": "com.amazonaws.mediaconvert#__integerMin10Max48", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Font Size (FontSize) to set the font size of any burned-in timecode. Valid values are 10, 16, 32, 48.", "smithy.api#jsonName": "fontSize" } @@ -17706,6 +18001,7 @@ "TrackNumber": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use this setting to select a single captions track from a source. Track numbers correspond to the order in the captions source file. For IMF sources, track numbering is based on the order that the captions appear in the CPL. For example, use 1 to select the captions asset that is listed first in the CPL. To include more than one captions track in your job outputs, create multiple input captions selectors. Specify one track per selector.", "smithy.api#jsonName": "trackNumber" } @@ -17901,6 +18197,7 @@ "Priority": { "target": "com.amazonaws.mediaconvert#__integerMinNegative50Max50", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the relative priority for this job. In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0.", "smithy.api#jsonName": "priority" } @@ -18214,6 +18511,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max1001", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -18221,6 +18519,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin24Max60000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -18505,6 +18804,7 @@ "FixedAfd": { "target": "com.amazonaws.mediaconvert#__integerMin0Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Applies only if you set AFD Signaling(AfdSignaling) to Fixed (FIXED). Use Fixed (FixedAfd) to specify a four-bit AFD value which the service will write on all frames of this video output.", "smithy.api#jsonName": "fixedAfd" } @@ -18512,6 +18812,7 @@ "Height": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use the Height (Height) setting to define the video resolution height for this output. Specify in pixels. If you don't provide a value here, the service will use the input height.", "smithy.api#jsonName": "height" } @@ -18540,6 +18841,7 @@ "Sharpness": { "target": "com.amazonaws.mediaconvert#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Sharpness (Sharpness) setting to specify the strength of anti-aliasing. This setting changes the width of the anti-alias filter kernel used for scaling. Sharpness only applies if your output resolution is different from your input resolution. 0 is the softest setting, 100 the sharpest, and 50 recommended for most content.", "smithy.api#jsonName": "sharpness" } @@ -18561,6 +18863,7 @@ "Width": { "target": "com.amazonaws.mediaconvert#__integerMin32Max8192", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use Width (Width) to define the video resolution width, in pixels, for this output. If you don't provide a value here, the service will use the input width.", "smithy.api#jsonName": "width" } @@ -18576,6 +18879,7 @@ "HeightInPx": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Height in pixels for the output", "smithy.api#jsonName": "heightInPx" } @@ -18583,6 +18887,7 @@ "WidthInPx": { "target": "com.amazonaws.mediaconvert#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Width in pixels for the output", "smithy.api#jsonName": "widthInPx" } @@ -18704,6 +19009,7 @@ "Pid": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Use PID (Pid) to select specific video data from an input file. Specify this value as an integer; the system automatically converts it to the hexidecimal value. For example, 257 selects PID 0x101. A PID, or packet identifier, is an identifier for a set of data in an MPEG-2 transport stream container.", "smithy.api#jsonName": "pid" } @@ -18711,6 +19017,7 @@ "ProgramNumber": { "target": "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported.", "smithy.api#jsonName": "programNumber" } @@ -18756,6 +19063,7 @@ "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify the number of channels in this output audio track. Choosing Mono on the console gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2. The default value is 2.", "smithy.api#jsonName": "channels" } @@ -18763,6 +19071,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin22050Max48000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify the audio sample rate in Hz. Valid values are 22050, 32000, 44100, and 48000. The default value is 48000.", "smithy.api#jsonName": "sampleRate" } @@ -18770,6 +19079,7 @@ "VbrQuality": { "target": "com.amazonaws.mediaconvert#__integerMinNegative1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to 10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately 160 and 192 kbit/s, respectively.", "smithy.api#jsonName": "vbrQuality" } @@ -18865,6 +19175,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Target bitrate in bits/second. For example, enter five megabits per second as 5000000.", "smithy.api#jsonName": "bitrate" } @@ -18886,6 +19197,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -18893,6 +19205,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -18900,6 +19213,7 @@ "GopSize": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "GOP Length (keyframe interval) in frames. Must be greater than zero.", "smithy.api#jsonName": "gopSize" } @@ -18907,6 +19221,7 @@ "HrdBufferSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional. Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", "smithy.api#jsonName": "hrdBufferSize" } @@ -18914,6 +19229,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate.", "smithy.api#jsonName": "maxBitrate" } @@ -18928,6 +19244,7 @@ "ParDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", "smithy.api#jsonName": "parDenominator" } @@ -18935,6 +19252,7 @@ "ParNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", "smithy.api#jsonName": "parNumerator" } @@ -19044,6 +19362,7 @@ "Bitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max480000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Target bitrate in bits/second. For example, enter five megabits per second as 5000000.", "smithy.api#jsonName": "bitrate" } @@ -19065,6 +19384,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -19072,6 +19392,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -19079,6 +19400,7 @@ "GopSize": { "target": "com.amazonaws.mediaconvert#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "GOP Length (keyframe interval) in frames. Must be greater than zero.", "smithy.api#jsonName": "gopSize" } @@ -19086,6 +19408,7 @@ "HrdBufferSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max47185920", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits. For example, enter five megabits as 5000000.", "smithy.api#jsonName": "hrdBufferSize" } @@ -19093,6 +19416,7 @@ "MaxBitrate": { "target": "com.amazonaws.mediaconvert#__integerMin1000Max480000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless you set qualityTuningLevel to MULTI_PASS. Optional. Specify the maximum bitrate in bits/second. For example, enter five megabits per second as 5000000. The default behavior uses twice the target bitrate as the maximum bitrate.", "smithy.api#jsonName": "maxBitrate" } @@ -19107,6 +19431,7 @@ "ParDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parDenominator is 33.", "smithy.api#jsonName": "parDenominator" } @@ -19114,6 +19439,7 @@ "ParNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Required when you set Pixel aspect ratio (parControl) to SPECIFIED. On the console, this corresponds to any value other than Follow source. When you specify an output pixel aspect ratio (PAR) that is different from your input video PAR, provide your output PAR as a ratio. For example, for D1/DV NTSC widescreen, you would specify the ratio 40:33. In this example, the value for parNumerator is 40.", "smithy.api#jsonName": "parNumerator" } @@ -19187,6 +19513,7 @@ "BitDepth": { "target": "com.amazonaws.mediaconvert#__integerMin16Max24", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.", "smithy.api#jsonName": "bitDepth" } @@ -19194,6 +19521,7 @@ "Channels": { "target": "com.amazonaws.mediaconvert#__integerMin1Max64", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.", "smithy.api#jsonName": "channels" } @@ -19208,6 +19536,7 @@ "SampleRate": { "target": "com.amazonaws.mediaconvert#__integerMin8000Max192000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in Hz.", "smithy.api#jsonName": "sampleRate" } @@ -19464,6 +19793,7 @@ "GopClosedCadence": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", "smithy.api#jsonName": "gopClosedCadence" } @@ -19471,6 +19801,7 @@ "HrdBufferSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the size of the buffer that MediaConvert uses in the HRD buffer model for this output. Specify this value in bits; for example, enter five megabits as 5000000. When you don't set this value, or you set it to zero, MediaConvert calculates the default by doubling the bitrate of this output point.", "smithy.api#jsonName": "hrdBufferSize" } @@ -19485,6 +19816,7 @@ "Slices": { "target": "com.amazonaws.mediaconvert#__integerMin8Max12", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.", "smithy.api#jsonName": "slices" } @@ -19720,6 +20052,7 @@ "GopClosedCadence": { "target": "com.amazonaws.mediaconvert#__integerMin0Max2147483647", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", "smithy.api#jsonName": "gopClosedCadence" } @@ -19727,6 +20060,7 @@ "HrdBufferSize": { "target": "com.amazonaws.mediaconvert#__integerMin0Max1152000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specify the size of the buffer that MediaConvert uses in the HRD buffer model for this output. Specify this value in bits; for example, enter five megabits as 5000000. When you don't set this value, or you set it to zero, MediaConvert calculates the default by doubling the bitrate of this output point.", "smithy.api#jsonName": "hrdBufferSize" } @@ -19748,6 +20082,7 @@ "Slices": { "target": "com.amazonaws.mediaconvert#__integerMin4Max12", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.", "smithy.api#jsonName": "slices" } @@ -19870,6 +20205,7 @@ "FramerateDenominator": { "target": "com.amazonaws.mediaconvert#__integerMin1Max1001", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateDenominator to specify the denominator of this fraction. In this example, use 1001 for the value of FramerateDenominator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Frame rate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateDenominator" } @@ -19877,6 +20213,7 @@ "FramerateNumerator": { "target": "com.amazonaws.mediaconvert#__integerMin24Max60000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When you use the API for transcode jobs that use frame rate conversion, specify the frame rate as a fraction. For example, 24000 / 1001 = 23.976 fps. Use FramerateNumerator to specify the numerator of this fraction. In this example, use 24000 for the value of FramerateNumerator. When you use the console for transcode jobs that use frame rate conversion, provide the value as a decimal number for Framerate. In this example, specify 23.976.", "smithy.api#jsonName": "framerateNumerator" } @@ -19898,6 +20235,7 @@ "Softness": { "target": "com.amazonaws.mediaconvert#__integerMin0Max128", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Ignore this setting unless your downstream workflow requires that you specify it explicitly. Otherwise, we recommend that you adjust the softness of your output by using a lower value for the setting Sharpness (sharpness) or by enabling a noise reducer filter (noiseReducerFilter). The Softness (softness) setting specifies the quantization matrices that the encoder uses. Keep the default value, 0, for flat quantization. Choose the value 1 or 16 to use the default JVT softening quantization matricies from the H.264 specification. Choose a value from 17 to 128 to use planar interpolation. Increasing values from 17 to 128 result in increasing reduction of high-frequency data. The value 128 results in the softest video.", "smithy.api#jsonName": "softness" } @@ -20005,35 +20343,63 @@ } }, "com.amazonaws.mediaconvert#__doubleMin0": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__doubleMin0Max1": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__doubleMin0Max2147483647": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__doubleMinNegative59Max0": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__doubleMinNegative60Max3": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__doubleMinNegative60Max6": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__doubleMinNegative60MaxNegative1": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__doubleMinNegative6Max3": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediaconvert#__integerMin0Max0": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 0 @@ -20043,6 +20409,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max1": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -20052,6 +20419,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10 @@ -20061,6 +20429,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -20070,6 +20439,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max1000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -20079,6 +20449,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max10000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 10000 @@ -20088,6 +20459,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max1152000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1152000000 @@ -20097,6 +20469,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max128": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 128 @@ -20106,6 +20479,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max1466400000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1466400000 @@ -20115,6 +20489,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max15": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 15 @@ -20124,6 +20499,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max16": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 16 @@ -20133,6 +20509,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max2147483647": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -20142,6 +20519,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max255": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 255 @@ -20151,6 +20529,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max3": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 3 @@ -20160,6 +20539,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max30": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 30 @@ -20169,6 +20549,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max30000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 30000 @@ -20178,6 +20559,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max3600": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 3600 @@ -20187,6 +20569,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max4": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 4 @@ -20196,6 +20579,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max4000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 4000 @@ -20205,6 +20589,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max4194303": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 4194303 @@ -20214,6 +20599,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max47185920": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 47185920 @@ -20223,6 +20609,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max500": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 500 @@ -20232,6 +20619,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max50000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 50000 @@ -20241,6 +20629,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max65534": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65534 @@ -20250,6 +20639,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max65535": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -20259,6 +20649,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max7": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 7 @@ -20268,6 +20659,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max8": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 8 @@ -20277,6 +20669,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max9": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 9 @@ -20286,6 +20679,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max96": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 96 @@ -20295,6 +20689,7 @@ "com.amazonaws.mediaconvert#__integerMin0Max99": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 99 @@ -20304,6 +20699,7 @@ "com.amazonaws.mediaconvert#__integerMin100000Max100000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 100000, "max": 100000000 @@ -20313,6 +20709,7 @@ "com.amazonaws.mediaconvert#__integerMin1000Max1152000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000, "max": 1152000000 @@ -20322,6 +20719,7 @@ "com.amazonaws.mediaconvert#__integerMin1000Max1466400000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000, "max": 1466400000 @@ -20331,6 +20729,7 @@ "com.amazonaws.mediaconvert#__integerMin1000Max288000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000, "max": 288000000 @@ -20340,6 +20739,7 @@ "com.amazonaws.mediaconvert#__integerMin1000Max30000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000, "max": 30000 @@ -20349,6 +20749,7 @@ "com.amazonaws.mediaconvert#__integerMin1000Max300000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000, "max": 300000000 @@ -20358,6 +20759,7 @@ "com.amazonaws.mediaconvert#__integerMin1000Max480000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1000, "max": 480000000 @@ -20367,6 +20769,7 @@ "com.amazonaws.mediaconvert#__integerMin10Max48": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 10, "max": 48 @@ -20376,6 +20779,7 @@ "com.amazonaws.mediaconvert#__integerMin16000Max320000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 16000, "max": 320000 @@ -20385,6 +20789,7 @@ "com.amazonaws.mediaconvert#__integerMin16000Max48000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 16000, "max": 48000 @@ -20394,6 +20799,7 @@ "com.amazonaws.mediaconvert#__integerMin16Max24": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 16, "max": 24 @@ -20403,6 +20809,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max1": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1 @@ -20412,6 +20819,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -20421,6 +20829,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -20430,6 +20839,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max10000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10000000 @@ -20439,6 +20849,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max1001": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1001 @@ -20448,6 +20859,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max17895697": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 17895697 @@ -20457,6 +20869,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max2": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2 @@ -20466,6 +20879,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max20": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -20475,6 +20889,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max2048": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2048 @@ -20484,6 +20899,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max2147483640": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2147483640 @@ -20493,6 +20909,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max2147483647": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 2147483647 @@ -20502,6 +20919,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max31": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 31 @@ -20511,6 +20929,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max32": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 32 @@ -20520,6 +20939,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max4": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 4 @@ -20529,6 +20949,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max4096": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 4096 @@ -20538,6 +20959,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max512": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 512 @@ -20547,6 +20969,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max6": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 6 @@ -20556,6 +20979,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max60000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 60000 @@ -20565,6 +20989,7 @@ "com.amazonaws.mediaconvert#__integerMin1Max64": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 64 @@ -20574,6 +20999,7 @@ "com.amazonaws.mediaconvert#__integerMin22050Max48000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 22050, "max": 48000 @@ -20583,6 +21009,7 @@ "com.amazonaws.mediaconvert#__integerMin24Max60000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 24, "max": 60000 @@ -20592,6 +21019,7 @@ "com.amazonaws.mediaconvert#__integerMin25Max10000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 25, "max": 10000 @@ -20601,6 +21029,7 @@ "com.amazonaws.mediaconvert#__integerMin25Max2000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 25, "max": 2000 @@ -20610,6 +21039,7 @@ "com.amazonaws.mediaconvert#__integerMin2Max2147483647": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 2147483647 @@ -20619,6 +21049,7 @@ "com.amazonaws.mediaconvert#__integerMin2Max4096": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 2, "max": 4096 @@ -20628,6 +21059,7 @@ "com.amazonaws.mediaconvert#__integerMin32000Max192000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 32000, "max": 192000 @@ -20637,6 +21069,7 @@ "com.amazonaws.mediaconvert#__integerMin32000Max384000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 32000, "max": 384000 @@ -20646,6 +21079,7 @@ "com.amazonaws.mediaconvert#__integerMin32000Max48000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 32000, "max": 48000 @@ -20655,6 +21089,7 @@ "com.amazonaws.mediaconvert#__integerMin32Max8182": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 32, "max": 8182 @@ -20664,6 +21099,7 @@ "com.amazonaws.mediaconvert#__integerMin32Max8192": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 32, "max": 8192 @@ -20673,6 +21109,7 @@ "com.amazonaws.mediaconvert#__integerMin384000Max1024000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 384000, "max": 1024000 @@ -20682,6 +21119,7 @@ "com.amazonaws.mediaconvert#__integerMin3Max15": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 3, "max": 15 @@ -20691,6 +21129,7 @@ "com.amazonaws.mediaconvert#__integerMin48000Max48000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 48000, "max": 48000 @@ -20700,6 +21139,7 @@ "com.amazonaws.mediaconvert#__integerMin4Max12": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 4, "max": 12 @@ -20709,6 +21149,7 @@ "com.amazonaws.mediaconvert#__integerMin50Max86400000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 50, "max": 86400000 @@ -20718,6 +21159,7 @@ "com.amazonaws.mediaconvert#__integerMin6000Max1024000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 6000, "max": 1024000 @@ -20727,6 +21169,7 @@ "com.amazonaws.mediaconvert#__integerMin64000Max640000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 64000, "max": 640000 @@ -20736,6 +21179,7 @@ "com.amazonaws.mediaconvert#__integerMin8000Max192000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 8000, "max": 192000 @@ -20745,6 +21189,7 @@ "com.amazonaws.mediaconvert#__integerMin8000Max96000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 8000, "max": 96000 @@ -20754,6 +21199,7 @@ "com.amazonaws.mediaconvert#__integerMin8Max12": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 8, "max": 12 @@ -20763,6 +21209,7 @@ "com.amazonaws.mediaconvert#__integerMin8Max4096": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 8, "max": 4096 @@ -20772,6 +21219,7 @@ "com.amazonaws.mediaconvert#__integerMin96Max600": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 96, "max": 600 @@ -20781,6 +21229,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative1000Max1000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1000, "max": 1000 @@ -20790,6 +21239,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative180Max180": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -180, "max": 180 @@ -20799,6 +21249,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative1Max10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1, "max": 10 @@ -20808,6 +21259,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative1Max3": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1, "max": 3 @@ -20817,6 +21269,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative2147483648Max2147483647": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -2147483648, "max": 2147483647 @@ -20826,6 +21279,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative2Max3": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -2, "max": 3 @@ -20835,6 +21289,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative50Max50": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -50, "max": 50 @@ -20844,6 +21299,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative5Max5": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -5, "max": 5 @@ -20853,6 +21309,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative60Max6": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -60, "max": 6 @@ -20862,6 +21319,7 @@ "com.amazonaws.mediaconvert#__integerMinNegative70Max0": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -70, "max": 0 diff --git a/codegen/sdk/aws-models/medialive.json b/codegen/sdk/aws-models/medialive.json index ebad48a220b..383e46849b8 100644 --- a/codegen/sdk/aws-models/medialive.json +++ b/codegen/sdk/aws-models/medialive.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -131,6 +131,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Average bitrate in bits/second. Valid values depend on rate control mode and profile.", "smithy.api#jsonName": "bitrate" } @@ -173,6 +174,7 @@ "SampleRate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in Hz. Valid values depend on rate control mode and profile.", "smithy.api#jsonName": "sampleRate" } @@ -354,6 +356,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Average bitrate in bits/second. Valid bitrates depend on the coding mode.", "smithy.api#jsonName": "bitrate" } @@ -375,6 +378,7 @@ "Dialnorm": { "target": "com.amazonaws.medialive#__integerMin1Max31", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the dialnorm for the output. If excluded and input audio is Dolby Digital, dialnorm will be passed through.", "smithy.api#jsonName": "dialnorm" } @@ -528,6 +532,7 @@ "SourceAncillaryChannelNumber": { "target": "com.amazonaws.medialive#__integerMin1Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the number (1 to 4) of the captions channel you want to extract from the ancillary captions. If you plan to convert the ancillary captions to another format, complete this field. If you plan to choose Embedded as the captions destination in the output (to pass through all the channels in the ancillary captions), leave this field blank because MediaLive ignores the field.", "smithy.api#jsonName": "sourceAncillaryChannelNumber" } @@ -592,6 +597,7 @@ "RolloverInterval": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds to write to archive file before closing and starting a new one.", "smithy.api#jsonName": "rolloverInterval" } @@ -674,6 +680,7 @@ "OutputChannel": { "target": "com.amazonaws.medialive#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The index of the output channel being produced.", "smithy.api#jsonName": "outputChannel", "smithy.api#required": {} @@ -964,6 +971,7 @@ "TargetLkfs": { "target": "com.amazonaws.medialive#__doubleMinNegative59Max0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Target LKFS(loudness) to adjust volume to. If no value is entered, a default value will be used according to the chosen algorithm. The CALM Act (1770-1) recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends a target of -23 LKFS.", "smithy.api#jsonName": "targetLkfs" } @@ -1055,6 +1063,7 @@ "Pid": { "target": "com.amazonaws.medialive#__integerMin0Max8191", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Selects a specific PID from within a source.", "smithy.api#jsonName": "pid", "smithy.api#required": {} @@ -1134,6 +1143,7 @@ "AudioSilenceThresholdMsec": { "target": "com.amazonaws.medialive#__integerMin1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time (in milliseconds) that the active input must be silent before automatic input failover occurs. Silence is defined as audio loss or audio quieter than -50 dBFS.", "smithy.api#jsonName": "audioSilenceThresholdMsec" } @@ -1149,6 +1159,7 @@ "Track": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "1-based integer value that maps to a specific audio track", "smithy.api#jsonName": "track", "smithy.api#required": {} @@ -1236,6 +1247,7 @@ "ErrorClearTimeMsec": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This clear time defines the requirement a recovered input must meet to be considered healthy. The input must have no failover conditions for this length of time. Enter a time in milliseconds. This value is particularly important if the input_preference for the failover pair is set to PRIMARY_INPUT_PREFERRED, because after this time, MediaLive will switch back to the primary input.", "smithy.api#jsonName": "errorClearTimeMsec" } @@ -2006,6 +2018,7 @@ "BackgroundOpacity": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "backgroundOpacity" } @@ -2027,6 +2040,7 @@ "FontOpacity": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "fontOpacity" } @@ -2034,6 +2048,7 @@ "FontResolution": { "target": "com.amazonaws.medialive#__integerMin96Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "fontResolution" } @@ -2055,6 +2070,7 @@ "OutlineSize": { "target": "com.amazonaws.medialive#__integerMin0Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "outlineSize" } @@ -2069,6 +2085,7 @@ "ShadowOpacity": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "shadowOpacity" } @@ -2076,6 +2093,7 @@ "ShadowXOffset": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "shadowXOffset" } @@ -2083,6 +2101,7 @@ "ShadowYOffset": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "shadowYOffset" } @@ -2097,6 +2116,7 @@ "XPosition": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit xPosition is provided, the horizontal caption position will be determined by the alignment parameter. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "xPosition" } @@ -2104,6 +2124,7 @@ "YPosition": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit yPosition is provided, the caption will be positioned towards the bottom of the output. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "yPosition" } @@ -2426,6 +2447,7 @@ "CaptionChannel": { "target": "com.amazonaws.medialive#__integerMin1Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)", "smithy.api#jsonName": "captionChannel", "smithy.api#required": {} @@ -2458,6 +2480,7 @@ "Height": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "See the description in leftOffset.\nFor height, specify the entire height of the rectangle as a percentage of the underlying frame height. For example, \\\"80\\\" means the rectangle height is 80% of the underlying frame height. The topOffset and rectangleHeight must add up to 100% or less.\nThis field corresponds to tts:extent - Y in the TTML standard.", "smithy.api#jsonName": "height", "smithy.api#required": {} @@ -2466,6 +2489,7 @@ "LeftOffset": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output. (Make sure to leave the default if you don't have either of these formats in the output.) You can define a display rectangle for the captions that is smaller than the underlying video frame. You define the rectangle by specifying the position of the left edge, top edge, bottom edge, and right edge of the rectangle, all within the underlying video frame. The units for the measurements are percentages.\nIf you specify a value for one of these fields, you must specify a value for all of them.\nFor leftOffset, specify the position of the left edge of the rectangle, as a percentage of the underlying frame width, and relative to the left edge of the frame. For example, \\\"10\\\" means the measurement is 10% of the underlying frame width. The rectangle left edge starts at that position from the left edge of the frame.\nThis field corresponds to tts:origin - X in the TTML standard.", "smithy.api#jsonName": "leftOffset", "smithy.api#required": {} @@ -2474,6 +2498,7 @@ "TopOffset": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "See the description in leftOffset.\nFor topOffset, specify the position of the top edge of the rectangle, as a percentage of the underlying frame height, and relative to the top edge of the frame. For example, \\\"10\\\" means the measurement is 10% of the underlying frame height. The rectangle top edge starts at that position from the top edge of the frame.\nThis field corresponds to tts:origin - Y in the TTML standard.", "smithy.api#jsonName": "topOffset", "smithy.api#required": {} @@ -2482,6 +2507,7 @@ "Width": { "target": "com.amazonaws.medialive#__doubleMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "See the description in leftOffset.\nFor width, specify the entire width of the rectangle as a percentage of the underlying frame width. For example, \\\"80\\\" means the rectangle width is 80% of the underlying frame width. The leftOffset and rectangleWidth must add up to 100% or less.\nThis field corresponds to tts:extent - X in the TTML standard.", "smithy.api#jsonName": "width", "smithy.api#required": {} @@ -2707,6 +2733,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -2909,6 +2936,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -3910,6 +3938,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -4292,6 +4321,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -4299,6 +4329,7 @@ "ProgramCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of programs in the multiplex.", "smithy.api#jsonName": "programCount" } @@ -4394,6 +4425,7 @@ "Count": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of reserved resources", "smithy.api#jsonName": "count" } @@ -4408,6 +4440,7 @@ "Duration": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Lease duration, e.g. '12'", "smithy.api#jsonName": "duration" } @@ -4429,6 +4462,7 @@ "FixedPrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering", "smithy.api#jsonName": "fixedPrice" } @@ -4513,6 +4547,7 @@ "UsagePrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Recurring usage charge for each reserved resource, e.g. '157.0'", "smithy.api#jsonName": "usagePrice" } @@ -4931,6 +4966,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -5333,6 +5369,7 @@ "Body": { "target": "com.amazonaws.medialive#InputDeviceThumbnail", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "The binary data for the thumbnail that the Link device has most recently sent to MediaLive.", "smithy.api#httpPayload": {}, "smithy.api#jsonName": "body" @@ -5348,6 +5385,7 @@ "ContentLength": { "target": "com.amazonaws.medialive#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length of the content.", "smithy.api#httpHeader": "Content-Length" } @@ -5962,6 +6000,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -5969,6 +6008,7 @@ "ProgramCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of programs in the multiplex.", "smithy.api#jsonName": "programCount" } @@ -6068,6 +6108,7 @@ "Duration": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Lease duration, e.g. '12'", "smithy.api#jsonName": "duration" } @@ -6082,6 +6123,7 @@ "FixedPrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering", "smithy.api#jsonName": "fixedPrice" } @@ -6124,6 +6166,7 @@ "UsagePrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Recurring usage charge for each reserved resource, e.g. '157.0'", "smithy.api#jsonName": "usagePrice" } @@ -6202,6 +6245,7 @@ "Count": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of reserved resources", "smithy.api#jsonName": "count" } @@ -6216,6 +6260,7 @@ "Duration": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Lease duration, e.g. '12'", "smithy.api#jsonName": "duration" } @@ -6237,6 +6282,7 @@ "FixedPrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering", "smithy.api#jsonName": "fixedPrice" } @@ -6321,6 +6367,7 @@ "UsagePrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Recurring usage charge for each reserved resource, e.g. '157.0'", "smithy.api#jsonName": "usagePrice" } @@ -6390,6 +6437,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -6475,6 +6523,7 @@ "NetworkId": { "target": "com.amazonaws.medialive#__integerMin0Max65536", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The numeric value placed in the Network Information Table (NIT).", "smithy.api#jsonName": "networkId", "smithy.api#required": {} @@ -6491,6 +6540,7 @@ "RepInterval": { "target": "com.amazonaws.medialive#__integerMin25Max10000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "repInterval" } @@ -6537,6 +6587,7 @@ "RepInterval": { "target": "com.amazonaws.medialive#__integerMin25Max2000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "repInterval" } @@ -6684,6 +6735,7 @@ "BackgroundOpacity": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "backgroundOpacity" } @@ -6705,6 +6757,7 @@ "FontOpacity": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "fontOpacity" } @@ -6712,6 +6765,7 @@ "FontResolution": { "target": "com.amazonaws.medialive#__integerMin96Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "fontResolution" } @@ -6733,6 +6787,7 @@ "OutlineSize": { "target": "com.amazonaws.medialive#__integerMin0Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies font outline size in pixels. This option is not valid for source captions that are either 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "outlineSize" } @@ -6747,6 +6802,7 @@ "ShadowOpacity": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "shadowOpacity" } @@ -6754,6 +6810,7 @@ "ShadowXOffset": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the horizontal offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "shadowXOffset" } @@ -6761,6 +6818,7 @@ "ShadowYOffset": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the vertical offset of the shadow relative to the captions in pixels. A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "shadowYOffset" } @@ -6775,6 +6833,7 @@ "XPosition": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the horizontal position of the caption relative to the left side of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit xPosition is provided, the horizontal caption position will be determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "xPosition" } @@ -6782,6 +6841,7 @@ "YPosition": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the vertical position of the caption relative to the top of the output in pixels. A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit yPosition is provided, the caption will be positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub font settings must match.", "smithy.api#jsonName": "yPosition" } @@ -6872,6 +6932,7 @@ "Pid": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When using DVB-Sub with Burn-In or SMPTE-TT, use this PID for the source content. Unused for DVB-Sub passthrough. All DVB-Sub content is passed through, regardless of selectors.", "smithy.api#jsonName": "pid" } @@ -6887,6 +6948,7 @@ "RepInterval": { "target": "com.amazonaws.medialive#__integerMin1000Max30000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream.", "smithy.api#jsonName": "repInterval" } @@ -6986,6 +7048,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Average bitrate in bits/second. Valid bitrates depend on the coding mode.\n// * @affectsRightSizing true", "smithy.api#jsonName": "bitrate" } @@ -7000,6 +7063,7 @@ "Dialnorm": { "target": "com.amazonaws.medialive#__integerMin1Max31", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the dialnorm for the output. Default 23.", "smithy.api#jsonName": "dialnorm" } @@ -7021,6 +7085,7 @@ "HeightTrim": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Height dimensional trim. Sets the maximum amount to attenuate the height channels when the downstream player isn??t configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.", "smithy.api#jsonName": "heightTrim" } @@ -7028,6 +7093,7 @@ "SurroundTrim": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Surround dimensional trim. Sets the maximum amount to attenuate the surround channels when the downstream player isn't configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.", "smithy.api#jsonName": "surroundTrim" } @@ -7274,6 +7340,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Average bitrate in bits/second. Valid bitrates depend on the coding mode.", "smithy.api#jsonName": "bitrate" } @@ -7302,6 +7369,7 @@ "Dialnorm": { "target": "com.amazonaws.medialive#__integerMin1Max31", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sets the dialnorm for the output. If blank and input audio is Dolby Digital Plus, dialnorm will be passed through.", "smithy.api#jsonName": "dialnorm" } @@ -7337,6 +7405,7 @@ "LoRoCenterMixLevel": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Left only/Right only center mix level. Only used for 3/2 coding mode.", "smithy.api#jsonName": "loRoCenterMixLevel" } @@ -7344,6 +7413,7 @@ "LoRoSurroundMixLevel": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Left only/Right only surround mix level. Only used for 3/2 coding mode.", "smithy.api#jsonName": "loRoSurroundMixLevel" } @@ -7351,6 +7421,7 @@ "LtRtCenterMixLevel": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Left total/Right total center mix level. Only used for 3/2 coding mode.", "smithy.api#jsonName": "ltRtCenterMixLevel" } @@ -7358,6 +7429,7 @@ "LtRtSurroundMixLevel": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Left total/Right total surround mix level. Only used for 3/2 coding mode.", "smithy.api#jsonName": "ltRtSurroundMixLevel" } @@ -7607,6 +7679,7 @@ "Source608ChannelNumber": { "target": "com.amazonaws.medialive#__integerMin1Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough.", "smithy.api#jsonName": "source608ChannelNumber" } @@ -7614,6 +7687,7 @@ "Source608TrackNumber": { "target": "com.amazonaws.medialive#__integerMin1Max5", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "This field is unused and deprecated.", "smithy.api#jsonName": "source608TrackNumber" } @@ -7813,6 +7887,7 @@ "ColumnDepth": { "target": "com.amazonaws.medialive#__integerMin4Max20", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Parameter D from SMPTE 2022-1. The height of the FEC protection matrix. The number of transport stream packets per column error correction packet. Must be between 4 and 20, inclusive.", "smithy.api#jsonName": "columnDepth" } @@ -7827,6 +7902,7 @@ "RowLength": { "target": "com.amazonaws.medialive#__integerMin1Max20", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Parameter L from SMPTE 2022-1. The width of the FEC protection matrix. Must be between 1 and 20, inclusive. If only Column FEC is used, then larger values increase robustness. If Row FEC is used, then this is the number of transport stream packets per row error correction packet, and the value must be between 4 and 20, inclusive, if includeFec is columnAndRow. If includeFec is column, this value must be 1 to 20, inclusive.", "smithy.api#jsonName": "rowLength" } @@ -8117,6 +8193,7 @@ "CaptureInterval": { "target": "com.amazonaws.medialive#__integerMin1Max3600000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The frequency at which to capture frames for inclusion in the output. May be specified in either seconds or milliseconds, as specified by captureIntervalUnits.", "smithy.api#jsonName": "captureInterval" } @@ -8155,6 +8232,7 @@ "InitialAudioGain": { "target": "com.amazonaws.medialive#__integerMinNegative60Max60", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Value to set the initial audio gain for the Live Event.", "smithy.api#jsonName": "initialAudioGain" } @@ -8687,6 +8765,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__integerMin1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Average bitrate in bits/second. Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.", "smithy.api#jsonName": "bitrate" } @@ -8694,6 +8773,7 @@ "BufFillPct": { "target": "com.amazonaws.medialive#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Percentage of the buffer that should initially be filled (HRD buffer model).", "smithy.api#jsonName": "bufFillPct" } @@ -8701,6 +8781,7 @@ "BufSize": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits.", "smithy.api#jsonName": "bufSize" } @@ -8764,6 +8845,7 @@ "FramerateDenominator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Framerate denominator.", "smithy.api#jsonName": "framerateDenominator" } @@ -8771,6 +8853,7 @@ "FramerateNumerator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.", "smithy.api#jsonName": "framerateNumerator" } @@ -8785,6 +8868,7 @@ "GopClosedCadence": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", "smithy.api#jsonName": "gopClosedCadence" } @@ -8792,6 +8876,7 @@ "GopNumBFrames": { "target": "com.amazonaws.medialive#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of B-frames between reference frames.", "smithy.api#jsonName": "gopNumBFrames" } @@ -8799,6 +8884,7 @@ "GopSize": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.\nIf gopSizeUnits is frames, gopSize must be an integer and must be greater than or equal to 1.\nIf gopSizeUnits is seconds, gopSize must be greater than 0, but need not be an integer.", "smithy.api#jsonName": "gopSize" } @@ -8827,6 +8913,7 @@ "MaxBitrate": { "target": "com.amazonaws.medialive#__integerMin1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For QVBR: See the tooltip for Quality level\n\nFor VBR: Set the maximum bitrate in order to accommodate expected spikes in the complexity of the video.", "smithy.api#jsonName": "maxBitrate" } @@ -8834,6 +8921,7 @@ "MinIInterval": { "target": "com.amazonaws.medialive#__integerMin0Max30", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", "smithy.api#jsonName": "minIInterval" } @@ -8841,6 +8929,7 @@ "NumRefFrames": { "target": "com.amazonaws.medialive#__integerMin1Max6", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of reference frames to use. The encoder may use more than requested if using B-frames and/or interlaced encoding.", "smithy.api#jsonName": "numRefFrames" } @@ -8855,6 +8944,7 @@ "ParDenominator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Pixel Aspect Ratio denominator.", "smithy.api#jsonName": "parDenominator" } @@ -8862,6 +8952,7 @@ "ParNumerator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Pixel Aspect Ratio numerator.", "smithy.api#jsonName": "parNumerator" } @@ -8883,6 +8974,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.medialive#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. You can set a target quality or you can let MediaLive determine the best quality. To set a target quality, enter values in the QVBR quality level field and the Max bitrate field. Enter values that suit your most important viewing devices. Recommended values are:\n- Primary screen: Quality level: 8 to 10. Max bitrate: 4M\n- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M\n- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M\nTo let MediaLive decide, leave the QVBR quality level field empty, and in Max bitrate enter the maximum rate you want in the video. For more information, see the section called \"Video - rate control mode\" in the MediaLive user guide", "smithy.api#jsonName": "qvbrQualityLevel" } @@ -8911,6 +9003,7 @@ "Slices": { "target": "com.amazonaws.medialive#__integerMin1Max32", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.\nThis field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.", "smithy.api#jsonName": "slices" } @@ -8918,6 +9011,7 @@ "Softness": { "target": "com.amazonaws.medialive#__integerMin0Max128", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Softness. Selects quantizer matrix, larger values reduce high-frequency content in the encoded image. If not set to zero, must be greater than 15.", "smithy.api#jsonName": "softness" } @@ -9373,6 +9467,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__integerMin100000Max40000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Average bitrate in bits/second. Required when the rate control mode is VBR or CBR. Not used for QVBR. In an MS Smooth output group, each output must have a unique value when its bitrate is rounded down to the nearest multiple of 1000.", "smithy.api#jsonName": "bitrate" } @@ -9380,6 +9475,7 @@ "BufSize": { "target": "com.amazonaws.medialive#__integerMin100000Max80000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size of buffer (HRD buffer model) in bits.", "smithy.api#jsonName": "bufSize" } @@ -9422,6 +9518,7 @@ "FramerateDenominator": { "target": "com.amazonaws.medialive#__integerMin1Max3003", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Framerate denominator.", "smithy.api#jsonName": "framerateDenominator", "smithy.api#required": {} @@ -9430,6 +9527,7 @@ "FramerateNumerator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Framerate numerator - framerate is a fraction, e.g. 24000 / 1001 = 23.976 fps.", "smithy.api#jsonName": "framerateNumerator", "smithy.api#required": {} @@ -9438,6 +9536,7 @@ "GopClosedCadence": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Frequency of closed GOPs. In streaming applications, it is recommended that this be set to 1 so a decoder joining mid-stream will receive an IDR frame as quickly as possible. Setting this value to 0 will break output segmenting.", "smithy.api#jsonName": "gopClosedCadence" } @@ -9445,6 +9544,7 @@ "GopSize": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "GOP size (keyframe interval) in units of either frames or seconds per gopSizeUnits.\nIf gopSizeUnits is frames, gopSize must be an integer and must be greater than or equal to 1.\nIf gopSizeUnits is seconds, gopSize must be greater than 0, but need not be an integer.", "smithy.api#jsonName": "gopSize" } @@ -9473,6 +9573,7 @@ "MaxBitrate": { "target": "com.amazonaws.medialive#__integerMin100000Max40000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "For QVBR: See the tooltip for Quality level", "smithy.api#jsonName": "maxBitrate" } @@ -9480,6 +9581,7 @@ "MinIInterval": { "target": "com.amazonaws.medialive#__integerMin0Max30", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1", "smithy.api#jsonName": "minIInterval" } @@ -9487,6 +9589,7 @@ "ParDenominator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Pixel Aspect Ratio denominator.", "smithy.api#jsonName": "parDenominator" } @@ -9494,6 +9597,7 @@ "ParNumerator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Pixel Aspect Ratio numerator.", "smithy.api#jsonName": "parNumerator" } @@ -9508,6 +9612,7 @@ "QvbrQualityLevel": { "target": "com.amazonaws.medialive#__integerMin1Max10", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:\n- Primary screen: Quality level: 8 to 10. Max bitrate: 4M\n- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M\n- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M", "smithy.api#jsonName": "qvbrQualityLevel" } @@ -9536,6 +9641,7 @@ "Slices": { "target": "com.amazonaws.medialive#__integerMin1Max16", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.\nThis field is optional; when no value is specified the encoder will choose the number of slices based on encode resolution.", "smithy.api#jsonName": "slices" } @@ -9597,6 +9703,7 @@ "MaxCll": { "target": "com.amazonaws.medialive#__integerMin0Max32768", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum Content Light Level\nAn integer metadata value defining the maximum light level, in nits,\nof any single pixel within an encoded HDR video stream or file.", "smithy.api#jsonName": "maxCll" } @@ -9604,6 +9711,7 @@ "MaxFall": { "target": "com.amazonaws.medialive#__integerMin0Max32768", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum Frame Average Light Level\nAn integer metadata value defining the maximum average light level, in nits,\nfor any single frame within an encoded HDR video stream or file.", "smithy.api#jsonName": "maxFall" } @@ -9655,6 +9763,7 @@ "ConnectionRetryInterval": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds to wait before retrying connection to the CDN if the connection is lost.", "smithy.api#jsonName": "connectionRetryInterval" } @@ -9662,6 +9771,7 @@ "FilecacheDuration": { "target": "com.amazonaws.medialive#__integerMin0Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in seconds of file cache for streaming outputs.", "smithy.api#jsonName": "filecacheDuration" } @@ -9676,6 +9786,7 @@ "NumRetries": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of retry attempts that will be made before the Live Event is put into an error state.", "smithy.api#jsonName": "numRetries" } @@ -9683,6 +9794,7 @@ "RestartDelay": { "target": "com.amazonaws.medialive#__integerMin0Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.", "smithy.api#jsonName": "restartDelay" } @@ -9712,6 +9824,7 @@ "ConnectionRetryInterval": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds to wait before retrying connection to the CDN if the connection is lost.", "smithy.api#jsonName": "connectionRetryInterval" } @@ -9719,6 +9832,7 @@ "FilecacheDuration": { "target": "com.amazonaws.medialive#__integerMin0Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in seconds of file cache for streaming outputs.", "smithy.api#jsonName": "filecacheDuration" } @@ -9726,6 +9840,7 @@ "NumRetries": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of retry attempts that will be made before the Live Event is put into an error state.", "smithy.api#jsonName": "numRetries" } @@ -9733,6 +9848,7 @@ "RestartDelay": { "target": "com.amazonaws.medialive#__integerMin0Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.", "smithy.api#jsonName": "restartDelay" } @@ -10013,6 +10129,7 @@ "IndexNSegments": { "target": "com.amazonaws.medialive#__integerMin3", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Applies only if Mode field is LIVE.\n\nSpecifies the maximum number of segments in the media manifest file. After this maximum, older segments are removed from the media manifest. This number must be smaller than the number in the Keep Segments field.", "smithy.api#jsonName": "indexNSegments" } @@ -10041,6 +10158,7 @@ "KeepSegments": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Applies only if Mode field is LIVE.\n\nSpecifies the number of media segments to retain in the destination directory. This number should be bigger than indexNSegments (Num segments). We recommend (value = (2 x indexNsegments) + 1).\n\nIf this \"keep segments\" number is too low, the following might happen: the player is still reading a media manifest file that lists this segment, but that segment has been removed from the destination directory (as directed by indexNSegments). This situation would result in a 404 HTTP error on the player.", "smithy.api#jsonName": "keepSegments" } @@ -10083,6 +10201,7 @@ "MinSegmentLength": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When set, minimumSegmentLength is enforced by looking ahead and back within the specified range for a nearby avail and extending the segment size if needed.", "smithy.api#jsonName": "minSegmentLength" } @@ -10118,6 +10237,7 @@ "ProgramDateTimePeriod": { "target": "com.amazonaws.medialive#__integerMin0Max3600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Period of insertion of EXT-X-PROGRAM-DATE-TIME entry, in seconds.", "smithy.api#jsonName": "programDateTimePeriod" } @@ -10132,6 +10252,7 @@ "SegmentLength": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Length of MPEG-2 Transport Stream segments to create (in seconds). Note that segments will end on the next keyframe after this number of seconds, so actual segment length may be longer.", "smithy.api#jsonName": "segmentLength" } @@ -10146,6 +10267,7 @@ "SegmentsPerSubdirectory": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of segments to write to a subdirectory before starting a new one. directoryStructure must be subdirectoryPerStream for this setting to have an effect.", "smithy.api#jsonName": "segmentsPerSubdirectory" } @@ -10167,6 +10289,7 @@ "TimedMetadataId3Period": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Timed Metadata interval in seconds.", "smithy.api#jsonName": "timedMetadataId3Period" } @@ -10174,6 +10297,7 @@ "TimestampDeltaMilliseconds": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Provides an extra millisecond delta offset to fine tune the timestamps.", "smithy.api#jsonName": "timestampDeltaMilliseconds" } @@ -10260,6 +10384,7 @@ "Bandwidth": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When specified the HLS stream with the m3u8 BANDWIDTH that most closely matches this value will be chosen, otherwise the highest bandwidth stream in the m3u8 will be chosen. The bitrate is specified in bits per second, as in an HLS manifest.", "smithy.api#jsonName": "bandwidth" } @@ -10267,6 +10392,7 @@ "BufferSegments": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When specified, reading of the HLS input will begin this many buffer segments from the end (most recently written segment). When not specified, the HLS input will begin with the first segment specified in the m3u8.", "smithy.api#jsonName": "bufferSegments" } @@ -10274,6 +10400,7 @@ "Retries": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of consecutive times that attempts to read a manifest or segment must fail before the input is considered unavailable.", "smithy.api#jsonName": "retries" } @@ -10281,6 +10408,7 @@ "RetryInterval": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds between retries when an attempt to read a manifest or segment fails.", "smithy.api#jsonName": "retryInterval" } @@ -10367,6 +10495,7 @@ "ConnectionRetryInterval": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds to wait before retrying connection to the CDN if the connection is lost.", "smithy.api#jsonName": "connectionRetryInterval" } @@ -10374,6 +10503,7 @@ "FilecacheDuration": { "target": "com.amazonaws.medialive#__integerMin0Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in seconds of file cache for streaming outputs.", "smithy.api#jsonName": "filecacheDuration" } @@ -10388,6 +10518,7 @@ "NumRetries": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of retry attempts that will be made before the Live Event is put into an error state.", "smithy.api#jsonName": "numRetries" } @@ -10395,6 +10526,7 @@ "RestartDelay": { "target": "com.amazonaws.medialive#__integerMin0Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.", "smithy.api#jsonName": "restartDelay" } @@ -10706,6 +10838,7 @@ "ConnectionRetryInterval": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds to wait before retrying connection to the CDN if the connection is lost.", "smithy.api#jsonName": "connectionRetryInterval" } @@ -10713,6 +10846,7 @@ "FilecacheDuration": { "target": "com.amazonaws.medialive#__integerMin0Max600", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in seconds of file cache for streaming outputs.", "smithy.api#jsonName": "filecacheDuration" } @@ -10727,6 +10861,7 @@ "NumRetries": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of retry attempts that will be made before the Live Event is put into an error state.", "smithy.api#jsonName": "numRetries" } @@ -10734,6 +10869,7 @@ "RestartDelay": { "target": "com.amazonaws.medialive#__integerMin0Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.", "smithy.api#jsonName": "restartDelay" } @@ -10933,6 +11069,7 @@ "Gain": { "target": "com.amazonaws.medialive#__integerMinNegative60Max6", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Remixing value. Units are in dB and acceptable values are within the range from -60 (mute) and 6 dB.", "smithy.api#jsonName": "gain", "smithy.api#required": {} @@ -10941,6 +11078,7 @@ "InputChannel": { "target": "com.amazonaws.medialive#__integerMin0Max15", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The index of the input channel used as a source.", "smithy.api#jsonName": "inputChannel", "smithy.api#required": {} @@ -11150,6 +11288,7 @@ "MaxBitrate": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum bitrate in bits per second. Set a value here to throttle the bitrate of the source video.", "smithy.api#jsonName": "maxBitrate" } @@ -11222,6 +11361,7 @@ "Framerate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The frame rate of the video source.", "smithy.api#jsonName": "framerate" } @@ -11229,6 +11369,7 @@ "Height": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The height of the video source, in pixels.", "smithy.api#jsonName": "height" } @@ -11236,6 +11377,7 @@ "MaxBitrate": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current maximum bitrate for ingesting this source, in bits per second. You can specify this maximum.", "smithy.api#jsonName": "maxBitrate" } @@ -11250,6 +11392,7 @@ "Width": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The width of the video source, in pixels.", "smithy.api#jsonName": "width" } @@ -11534,6 +11677,7 @@ "Framerate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The frame rate of the video source.", "smithy.api#jsonName": "framerate" } @@ -11541,6 +11685,7 @@ "Height": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The height of the video source, in pixels.", "smithy.api#jsonName": "height" } @@ -11548,6 +11693,7 @@ "MaxBitrate": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The current maximum bitrate for ingesting this source, in bits per second. You can specify this maximum.", "smithy.api#jsonName": "maxBitrate" } @@ -11562,6 +11708,7 @@ "Width": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The width of the video source, in pixels.", "smithy.api#jsonName": "width" } @@ -11695,6 +11842,7 @@ "BlackFrameMsec": { "target": "com.amazonaws.medialive#__integerMin0Max1000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Documentation update needed", "smithy.api#jsonName": "blackFrameMsec" } @@ -11723,6 +11871,7 @@ "RepeatFrameMsec": { "target": "com.amazonaws.medialive#__integerMin0Max1000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Documentation update needed", "smithy.api#jsonName": "repeatFrameMsec" } @@ -11738,6 +11887,7 @@ "InputLossThresholdMsec": { "target": "com.amazonaws.medialive#__integerMin100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time (in milliseconds) that no input is detected. After that time, an input failover will occur.", "smithy.api#jsonName": "inputLossThresholdMsec" } @@ -11956,6 +12106,7 @@ "FilterStrength": { "target": "com.amazonaws.medialive#__integerMin1Max5", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Adjusts the magnitude of filtering from 1 (minimal) to 5 (strongest).", "smithy.api#jsonName": "filterStrength" } @@ -11977,6 +12128,7 @@ "Scte35Pid": { "target": "com.amazonaws.medialive#__integerMin32Max8191", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "PID from which to read SCTE-35 messages. If left undefined, EML will select the first SCTE-35 PID found in the input.", "smithy.api#jsonName": "scte35Pid" } @@ -12396,6 +12548,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -12482,6 +12635,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -12574,6 +12728,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -12659,6 +12814,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -12743,6 +12899,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -12829,6 +12986,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return.", "smithy.api#httpQuery": "maxResults" } @@ -12924,6 +13082,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum number of items to return.", "smithy.api#httpQuery": "maxResults" } @@ -13039,6 +13198,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -13180,6 +13340,7 @@ "MaxResults": { "target": "com.amazonaws.medialive#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -13691,6 +13852,7 @@ "AudioFramesPerPes": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of audio frames to insert for each PES packet.", "smithy.api#jsonName": "audioFramesPerPes" } @@ -13712,6 +13874,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The output bitrate of the transport stream in bits per second. Setting to 0 lets the muxer automatically determine the appropriate bitrate.", "smithy.api#jsonName": "bitrate" } @@ -13782,6 +13945,7 @@ "EbpLookaheadMs": { "target": "com.amazonaws.medialive#__integerMin0Max10000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is \"stretched\" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.", "smithy.api#jsonName": "ebpLookaheadMs" } @@ -13824,6 +13988,7 @@ "FragmentTime": { "target": "com.amazonaws.medialive#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length in seconds of each fragment. Only used with EBP markers.", "smithy.api#jsonName": "fragmentTime" } @@ -13852,6 +14017,7 @@ "NullPacketBitrate": { "target": "com.amazonaws.medialive#__doubleMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.", "smithy.api#jsonName": "nullPacketBitrate" } @@ -13859,6 +14025,7 @@ "PatInterval": { "target": "com.amazonaws.medialive#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.", "smithy.api#jsonName": "patInterval" } @@ -13873,6 +14040,7 @@ "PcrPeriod": { "target": "com.amazonaws.medialive#__integerMin0Max500", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum time in milliseconds between Program Clock Reference (PCRs) inserted into the transport stream.", "smithy.api#jsonName": "pcrPeriod" } @@ -13887,6 +14055,7 @@ "PmtInterval": { "target": "com.amazonaws.medialive#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream. Valid values are 0, 10..1000.", "smithy.api#jsonName": "pmtInterval" } @@ -13901,6 +14070,7 @@ "ProgramNum": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the program number field in the Program Map Table.", "smithy.api#jsonName": "programNum" } @@ -13950,6 +14120,7 @@ "SegmentationTime": { "target": "com.amazonaws.medialive#__doubleMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The length in seconds of each segment. Required unless markers is set to _none_.", "smithy.api#jsonName": "segmentationTime" } @@ -13971,6 +14142,7 @@ "TransportStreamId": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the transport stream ID field in the Program Map Table.", "smithy.api#jsonName": "transportStreamId" } @@ -14057,6 +14229,7 @@ "AudioFramesPerPes": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of audio frames to insert for each PES packet.", "smithy.api#jsonName": "audioFramesPerPes" } @@ -14085,6 +14258,7 @@ "PatInterval": { "target": "com.amazonaws.medialive#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream. A value of \\\"0\\\" writes out the PMT once per segment file.", "smithy.api#jsonName": "patInterval" } @@ -14099,6 +14273,7 @@ "PcrPeriod": { "target": "com.amazonaws.medialive#__integerMin0Max500", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream.", "smithy.api#jsonName": "pcrPeriod" } @@ -14113,6 +14288,7 @@ "PmtInterval": { "target": "com.amazonaws.medialive#__integerMin0Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of milliseconds between instances of this table in the output transport stream. A value of \\\"0\\\" writes out the PMT once per segment file.", "smithy.api#jsonName": "pmtInterval" } @@ -14127,6 +14303,7 @@ "ProgramNum": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the program number field in the Program Map Table.", "smithy.api#jsonName": "programNum" } @@ -14162,6 +14339,7 @@ "TransportStreamId": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The value of the transport stream ID field in the Program Map Table.", "smithy.api#jsonName": "transportStreamId" } @@ -14320,6 +14498,7 @@ "com.amazonaws.medialive#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for MaxResults", "smithy.api#range": { "min": 1, @@ -14359,21 +14538,6 @@ }, "com.amazonaws.medialive#MediaLive": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MediaLive", - "arnNamespace": "medialive", - "cloudFormationName": "MediaLive", - "cloudTrailEventSource": "medialive.amazonaws.com", - "endpointPrefix": "medialive" - }, - "aws.auth#sigv4": { - "name": "medialive" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "API for AWS Elemental MediaLive", - "smithy.api#title": "AWS Elemental MediaLive" - }, "version": "2017-10-14", "operations": [ { @@ -14553,7 +14717,22 @@ { "target": "com.amazonaws.medialive#UpdateReservation" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MediaLive", + "arnNamespace": "medialive", + "cloudFormationName": "MediaLive", + "cloudTrailEventSource": "medialive.amazonaws.com", + "endpointPrefix": "medialive" + }, + "aws.auth#sigv4": { + "name": "medialive" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "API for AWS Elemental MediaLive", + "smithy.api#title": "AWS Elemental MediaLive" + } }, "com.amazonaws.medialive#MediaPackageGroupSettings": { "type": "structure", @@ -14599,6 +14778,7 @@ "Duration": { "target": "com.amazonaws.medialive#__longMin0Max86400000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in milliseconds) that motion graphics should render on to the video stream. Leaving out this property or setting to 0 will result in rendering continuing until a deactivate action is processed.", "smithy.api#jsonName": "duration" } @@ -14710,6 +14890,7 @@ "Bitrate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Average bitrate in bits/second.", "smithy.api#jsonName": "bitrate" } @@ -14724,6 +14905,7 @@ "SampleRate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in Hz.", "smithy.api#jsonName": "sampleRate" } @@ -14910,6 +15092,7 @@ "FramerateDenominator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "description\": \"The framerate denominator. For example, 1001. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.", "smithy.api#jsonName": "framerateDenominator", "smithy.api#required": {} @@ -14918,6 +15101,7 @@ "FramerateNumerator": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The framerate numerator. For example, 24000. The framerate is the numerator divided by the denominator. For example, 24000 / 1001 = 23.976 FPS.", "smithy.api#jsonName": "framerateNumerator", "smithy.api#required": {} @@ -14926,6 +15110,7 @@ "GopClosedCadence": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "MPEG2: default is open GOP.", "smithy.api#jsonName": "gopClosedCadence" } @@ -14933,6 +15118,7 @@ "GopNumBFrames": { "target": "com.amazonaws.medialive#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Relates to the GOP structure. The number of B-frames between reference frames. If you do not know what a B-frame is, use the default.", "smithy.api#jsonName": "gopNumBFrames" } @@ -14940,6 +15126,7 @@ "GopSize": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Relates to the GOP structure. The GOP size (keyframe interval) in the units specified in gopSizeUnits. If you do not know what GOP is, use the default.\nIf gopSizeUnits is frames, then the gopSize must be an integer and must be greater than or equal to 1.\nIf gopSizeUnits is seconds, the gopSize must be greater than 0, but does not need to be an integer.", "smithy.api#jsonName": "gopSize" } @@ -15036,6 +15223,7 @@ "ConnectionRetryInterval": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds to wait before retrying connection to the IIS server if the connection is lost. Content will be cached during this time and the cache will be be delivered to the IIS server once the connection is re-established.", "smithy.api#jsonName": "connectionRetryInterval" } @@ -15072,6 +15260,7 @@ "FilecacheDuration": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Size in seconds of file cache for streaming outputs.", "smithy.api#jsonName": "filecacheDuration" } @@ -15079,6 +15268,7 @@ "FragmentLength": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Length of mp4 fragments to generate (in seconds). Fragment length must be compatible with GOP size and framerate.", "smithy.api#jsonName": "fragmentLength" } @@ -15093,6 +15283,7 @@ "NumRetries": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of retry attempts.", "smithy.api#jsonName": "numRetries" } @@ -15100,6 +15291,7 @@ "RestartDelay": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds before initiating a restart due to output failure, due to exhausting the numRetries on one segment, or exceeding filecacheDuration.", "smithy.api#jsonName": "restartDelay" } @@ -15114,6 +15306,7 @@ "SendDelayMs": { "target": "com.amazonaws.medialive#__integerMin0Max10000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of milliseconds to delay the output from the second pipeline.", "smithy.api#jsonName": "sendDelayMs" } @@ -15237,6 +15430,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -15244,6 +15438,7 @@ "ProgramCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of programs in the multiplex.", "smithy.api#jsonName": "programCount" } @@ -15403,18 +15598,21 @@ "DvbTeletextPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "dvbTeletextPid" } }, "EtvPlatformPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "etvPlatformPid" } }, "EtvSignalPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "etvSignalPid" } }, @@ -15427,18 +15625,21 @@ "PcrPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "pcrPid" } }, "PmtPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "pmtPid" } }, "PrivateMetadataPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "privateMetadataPid" } }, @@ -15451,18 +15652,21 @@ "Scte35Pid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "scte35Pid" } }, "TimedMetadataPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "timedMetadataPid" } }, "VideoPid": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#jsonName": "videoPid" } } @@ -15530,6 +15734,7 @@ "ProgramNumber": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Unique program number.", "smithy.api#jsonName": "programNumber", "smithy.api#required": {} @@ -15582,6 +15787,7 @@ "MaximumVideoBufferDelayMilliseconds": { "target": "com.amazonaws.medialive#__integerMin800Max3000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum video buffer delay in milliseconds.", "smithy.api#jsonName": "maximumVideoBufferDelayMilliseconds" } @@ -15589,6 +15795,7 @@ "TransportStreamBitrate": { "target": "com.amazonaws.medialive#__integerMin1000000Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Transport stream bit rate.", "smithy.api#jsonName": "transportStreamBitrate", "smithy.api#required": {} @@ -15597,6 +15804,7 @@ "TransportStreamId": { "target": "com.amazonaws.medialive#__integerMin0Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Transport stream ID.", "smithy.api#jsonName": "transportStreamId", "smithy.api#required": {} @@ -15605,6 +15813,7 @@ "TransportStreamReservedBitrate": { "target": "com.amazonaws.medialive#__integerMin0Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Transport stream reserved bit rate.", "smithy.api#jsonName": "transportStreamReservedBitrate" } @@ -15620,6 +15829,7 @@ "TransportStreamBitrate": { "target": "com.amazonaws.medialive#__integerMin1000000Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Transport stream bit rate.", "smithy.api#jsonName": "transportStreamBitrate" } @@ -15679,6 +15889,7 @@ "MaximumBitrate": { "target": "com.amazonaws.medialive#__integerMin100000Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum statmux bitrate.", "smithy.api#jsonName": "maximumBitrate" } @@ -15686,6 +15897,7 @@ "MinimumBitrate": { "target": "com.amazonaws.medialive#__integerMin100000Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum statmux bitrate.", "smithy.api#jsonName": "minimumBitrate" } @@ -15693,6 +15905,7 @@ "Priority": { "target": "com.amazonaws.medialive#__integerMinNegative5Max5", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The purpose of the priority is to use a combination of the\\nmultiplex rate control algorithm and the QVBR capability of the\\nencoder to prioritize the video quality of some channels in a\\nmultiplex over others. Channels that have a higher priority will\\nget higher video quality at the expense of the video quality of\\nother channels in the multiplex with lower priority.", "smithy.api#jsonName": "priority" } @@ -15743,6 +15956,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -15750,6 +15964,7 @@ "ProgramCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of programs in the multiplex.", "smithy.api#jsonName": "programCount" } @@ -15779,6 +15994,7 @@ "ConstantBitrate": { "target": "com.amazonaws.medialive#__integerMin100000Max100000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The constant bitrate configuration for the video encode.\nWhen this field is defined, StatmuxSettings must be undefined.", "smithy.api#jsonName": "constantBitrate" } @@ -15901,6 +16117,7 @@ "Sid": { "target": "com.amazonaws.medialive#__doubleMin1Max65535", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Enter the Nielsen Source ID (SID) to include in the watermark", "smithy.api#jsonName": "sid", "smithy.api#required": {} @@ -16024,6 +16241,7 @@ "Duration": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Lease duration, e.g. '12'", "smithy.api#jsonName": "duration" } @@ -16038,6 +16256,7 @@ "FixedPrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering", "smithy.api#jsonName": "fixedPrice" } @@ -16080,6 +16299,7 @@ "UsagePrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Recurring usage charge for each reserved resource, e.g. '157.0'", "smithy.api#jsonName": "usagePrice" } @@ -16550,6 +16770,7 @@ "Count": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of resources", "smithy.api#jsonName": "count", "smithy.api#required": {} @@ -16811,6 +17032,7 @@ "ChannelsIn": { "target": "com.amazonaws.medialive#__integerMin1Max16", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of input channels to be used.", "smithy.api#jsonName": "channelsIn" } @@ -16818,6 +17040,7 @@ "ChannelsOut": { "target": "com.amazonaws.medialive#__integerMin1Max8", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of output channels to be produced.\nValid values: 1, 2, 4, 6, 8", "smithy.api#jsonName": "channelsOut" } @@ -16840,6 +17063,7 @@ "RenewalCount": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Count for the reservation renewal", "smithy.api#jsonName": "renewalCount" } @@ -16862,6 +17086,7 @@ "Count": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of reserved resources", "smithy.api#jsonName": "count" } @@ -16876,6 +17101,7 @@ "Duration": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Lease duration, e.g. '12'", "smithy.api#jsonName": "duration" } @@ -16897,6 +17123,7 @@ "FixedPrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering", "smithy.api#jsonName": "fixedPrice" } @@ -16981,6 +17208,7 @@ "UsagePrice": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Recurring usage charge for each reserved resource, e.g. '157.0'", "smithy.api#jsonName": "usagePrice" } @@ -17336,6 +17564,7 @@ "CacheLength": { "target": "com.amazonaws.medialive#__integerMin30", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Cache length, in seconds, is used to calculate buffer size.", "smithy.api#jsonName": "cacheLength" } @@ -17357,6 +17586,7 @@ "RestartDelay": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "If a streaming output fails, number of seconds to wait until a restart is initiated. A value of 0 means never restart.", "smithy.api#jsonName": "restartDelay" } @@ -17395,6 +17625,7 @@ "ConnectionRetryInterval": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of seconds to wait before retrying a connection to the Flash Media server if the connection is lost.", "smithy.api#jsonName": "connectionRetryInterval" } @@ -17410,6 +17641,7 @@ "NumRetries": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Number of retry attempts.", "smithy.api#jsonName": "numRetries" } @@ -17632,6 +17864,7 @@ "Source608ChannelNumber": { "target": "com.amazonaws.medialive#__integerMin1Max4", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Specifies the 608/708 channel number within the video track from which to extract captions. Unused for passthrough.", "smithy.api#jsonName": "source608ChannelNumber" } @@ -17693,6 +17926,7 @@ "Pid": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The pid field is used in conjunction with the caption selector languageCode field as follows:\n - Specify PID and Language: Extracts captions from that PID; the language is \"informational\".\n - Specify PID and omit Language: Extracts the specified PID.\n - Omit PID and specify Language: Extracts the specified language, whichever PID that happens to be.\n - Omit PID and omit Language: Valid only if source is DVB-Sub that is being passed through; all languages will be passed through.", "smithy.api#jsonName": "pid" } @@ -17868,6 +18102,7 @@ "SpliceEventId": { "target": "com.amazonaws.medialive#__longMin0Max4294967295", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.", "smithy.api#jsonName": "spliceEventId", "smithy.api#required": {} @@ -17907,6 +18142,7 @@ "SegmentNum": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 segment_num. A value that is valid for the specified segmentation_type_id.", "smithy.api#jsonName": "segmentNum" } @@ -17922,6 +18158,7 @@ "SegmentationDuration": { "target": "com.amazonaws.medialive#__longMin0Max1099511627775", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 segmentation_duration. Optional. The duration for the time_signal, in 90 KHz ticks. To convert seconds to ticks, multiple the seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter a duration, the time_signal will continue until you insert a cancellation message.", "smithy.api#jsonName": "segmentationDuration" } @@ -17929,6 +18166,7 @@ "SegmentationEventId": { "target": "com.amazonaws.medialive#__longMin0Max4294967295", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 segmentation_event_id.", "smithy.api#jsonName": "segmentationEventId", "smithy.api#required": {} @@ -17937,6 +18175,7 @@ "SegmentationTypeId": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 segmentation_type_id. One of the segmentation_type_id values listed in the SCTE-35 specification. On the console, enter the ID in decimal (for example, \"52\"). In the CLI, API, or an SDK, enter the ID in hex (for example, \"0x34\") or decimal (for example, \"52\").", "smithy.api#jsonName": "segmentationTypeId" } @@ -17951,6 +18190,7 @@ "SegmentationUpidType": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 segmentation_upid_type. On the console, enter one of the types listed in the SCTE-35 specification, converted to a decimal. For example, \"0x0C\" hex from the specification is \"12\" in decimal. In the CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, in either hex (for example, \"0x0C\" ) or in decimal (for example, \"12\").", "smithy.api#jsonName": "segmentationUpidType" } @@ -17958,6 +18198,7 @@ "SegmentsExpected": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 segments_expected. A value that is valid for the specified segmentation_type_id.", "smithy.api#jsonName": "segmentsExpected" } @@ -17965,6 +18206,7 @@ "SubSegmentNum": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified segmentation_type_id.", "smithy.api#jsonName": "subSegmentNum" } @@ -17972,6 +18214,7 @@ "SubSegmentsExpected": { "target": "com.amazonaws.medialive#__integerMin0Max255", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the specified segmentation_type_id.", "smithy.api#jsonName": "subSegmentsExpected" } @@ -17987,6 +18230,7 @@ "AdAvailOffset": { "target": "com.amazonaws.medialive#__integerMinNegative1000Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. This only applies to embedded SCTE 104/35 messages and does not apply to OOB messages.", "smithy.api#jsonName": "adAvailOffset" } @@ -18032,6 +18276,7 @@ "Duration": { "target": "com.amazonaws.medialive#__longMin0Max8589934591", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Optional, the duration for the splice_insert, in 90 KHz ticks. To convert seconds to ticks, multiple the seconds by 90,000. If you enter a duration, there is an expectation that the downstream system can read the duration and cue in at that time. If you do not enter a duration, the splice_insert will continue indefinitely and there is an expectation that you will enter a return_to_network to end the splice_insert at the appropriate time.", "smithy.api#jsonName": "duration" } @@ -18039,6 +18284,7 @@ "SpliceEventId": { "target": "com.amazonaws.medialive#__longMin0Max4294967295", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.", "smithy.api#jsonName": "spliceEventId", "smithy.api#required": {} @@ -18071,6 +18317,7 @@ "AdAvailOffset": { "target": "com.amazonaws.medialive#__integerMinNegative1000Max1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "When specified, this offset (in milliseconds) is added to the input Ad Avail PTS time. This only applies to embedded SCTE 104/35 messages and does not apply to OOB messages.", "smithy.api#jsonName": "adAvailOffset" } @@ -18462,6 +18709,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -18671,6 +18919,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -18678,6 +18927,7 @@ "ProgramCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of programs in the multiplex.", "smithy.api#jsonName": "programCount" } @@ -18722,6 +18972,7 @@ "Duration": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration in milliseconds for the image to remain on the video. If omitted or set to 0 the duration is unlimited and the image will remain until it is explicitly deactivated.", "smithy.api#jsonName": "duration" } @@ -18729,6 +18980,7 @@ "FadeIn": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time in milliseconds for the image to fade in. The fade-in starts at the start time of the overlay. Default is 0 (no fade-in).", "smithy.api#jsonName": "fadeIn" } @@ -18736,6 +18988,7 @@ "FadeOut": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Applies only if a duration is specified. The time in milliseconds for the image to fade out. The fade-out starts when the duration time is hit, so it effectively extends the duration. Default is 0 (no fade-out).", "smithy.api#jsonName": "fadeOut" } @@ -18743,6 +18996,7 @@ "Height": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The height of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified height. Leave blank to use the native height of the overlay.", "smithy.api#jsonName": "height" } @@ -18758,6 +19012,7 @@ "ImageX": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels. 0 (the default) is the left edge of the frame. If the placement causes the overlay to extend beyond the right edge of the underlying video, then the overlay is cropped on the right.", "smithy.api#jsonName": "imageX" } @@ -18765,6 +19020,7 @@ "ImageY": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels. 0 (the default) is the top edge of the frame. If the placement causes the overlay to extend beyond the bottom edge of the underlying video, then the overlay is cropped on the bottom.", "smithy.api#jsonName": "imageY" } @@ -18772,6 +19028,7 @@ "Layer": { "target": "com.amazonaws.medialive#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of the layer, 0 to 7. There are 8 layers that can be overlaid on the video, each layer with a different image. The layers are in Z order, which means that overlays with higher values of layer are inserted on top of overlays with lower values of layer. Default is 0.", "smithy.api#jsonName": "layer" } @@ -18779,6 +19036,7 @@ "Opacity": { "target": "com.amazonaws.medialive#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Opacity of image where 0 is transparent and 100 is fully opaque. Default is 100.", "smithy.api#jsonName": "opacity" } @@ -18786,6 +19044,7 @@ "Width": { "target": "com.amazonaws.medialive#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The width of the image when inserted into the video, in pixels. The overlay will be scaled up or down to the specified width. Leave blank to use the native width of the overlay.", "smithy.api#jsonName": "width" } @@ -18801,6 +19060,7 @@ "FadeOut": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time in milliseconds for the image to fade out. Default is 0 (no fade-out).", "smithy.api#jsonName": "fadeOut" } @@ -18808,6 +19068,7 @@ "Layer": { "target": "com.amazonaws.medialive#__integerMin0Max7", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The image overlay layer to deactivate, 0 to 7. Default is 0.", "smithy.api#jsonName": "layer" } @@ -18995,6 +19256,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -19138,6 +19400,7 @@ "PipelinesRunningCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of currently healthy pipelines.", "smithy.api#jsonName": "pipelinesRunningCount" } @@ -19145,6 +19408,7 @@ "ProgramCount": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The number of programs in the multiplex.", "smithy.api#jsonName": "programCount" } @@ -19363,6 +19627,7 @@ "SyncThreshold": { "target": "com.amazonaws.medialive#__integerMin1Max1000000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Threshold in frames beyond which output timecode is resynchronized to the input timecode. Discrepancies below this threshold are permitted to avoid unnecessary discontinuities in the output timecode. No timecode sync when this is not specified.", "smithy.api#jsonName": "syncThreshold" } @@ -19599,6 +19864,7 @@ "TimedMetadataId3Period": { "target": "com.amazonaws.medialive#__integerMin0", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Timed Metadata interval in seconds.", "smithy.api#jsonName": "timedMetadataId3Period" } @@ -19614,6 +19880,7 @@ "BufferMsec": { "target": "com.amazonaws.medialive#__integerMin0Max10000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "UDP output buffering in milliseconds. Larger values increase latency through the transcoder but simultaneously assist the transcoder in maintaining a constant, low-jitter UDP/RTP output while accommodating clock recovery, input switching, input disruptions, picture reordering, etc.", "smithy.api#jsonName": "bufferMsec" } @@ -20579,6 +20846,7 @@ "BlackDetectThreshold": { "target": "com.amazonaws.medialive#__doubleMin0Max1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "A value used in calculating the threshold below which MediaLive considers a pixel to be 'black'. For the input to be considered black, every pixel in a frame must be below this threshold. The threshold is calculated as a percentage (expressed as a decimal) of white. Therefore .1 means 10% white (or 90% black). Note how the formula works for any color depth. For example, if you set this field to 0.1 in 10-bit color depth: (1023*0.1=102.3), which means a pixel value of 102 or less is 'black'. If you set this field to .1 in an 8-bit color depth: (255*0.1=25.5), which means a pixel value of 25 or less is 'black'. The range is 0.0 to 1.0, with any number of decimal places.", "smithy.api#jsonName": "blackDetectThreshold" } @@ -20586,6 +20854,7 @@ "VideoBlackThresholdMsec": { "target": "com.amazonaws.medialive#__integerMin1000", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The amount of time (in milliseconds) that the active input must be black before automatic input failover occurs.", "smithy.api#jsonName": "videoBlackThresholdMsec" } @@ -20640,6 +20909,7 @@ "Height": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Output video height, in pixels. Must be an even number. For most codecs, you can leave this field and width blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.", "smithy.api#jsonName": "height" } @@ -20669,6 +20939,7 @@ "Sharpness": { "target": "com.amazonaws.medialive#__integerMin0Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Changes the strength of the anti-alias filter used for scaling. 0 is the softest setting, 100 is the sharpest. A setting of 50 is recommended for most content.", "smithy.api#jsonName": "sharpness" } @@ -20676,6 +20947,7 @@ "Width": { "target": "com.amazonaws.medialive#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Output video width, in pixels. Must be an even number. For most codecs, you can leave this field and height blank in order to use the height and width (resolution) from the source. Note, however, that leaving blank is not recommended. For the Frame Capture codec, height and width are required.", "smithy.api#jsonName": "width" } @@ -20821,6 +21093,7 @@ "Pid": { "target": "com.amazonaws.medialive#__integerMin0Max8191", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Selects a specific PID from within a video source.", "smithy.api#jsonName": "pid" } @@ -20836,6 +21109,7 @@ "ProgramId": { "target": "com.amazonaws.medialive#__integerMin0Max65536", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Selects a specific program from within a multi-program transport stream. If the program doesn't exist, the first program within the transport stream will be selected by default.", "smithy.api#jsonName": "programId" } @@ -20961,6 +21235,7 @@ "BitDepth": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Bits per sample.", "smithy.api#jsonName": "bitDepth" } @@ -20975,6 +21250,7 @@ "SampleRate": { "target": "com.amazonaws.medialive#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Sample rate in Hz.", "smithy.api#jsonName": "sampleRate" } @@ -21018,54 +21294,63 @@ "com.amazonaws.medialive#__double": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __double" } }, "com.amazonaws.medialive#__doubleMin0": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __doubleMin0" } }, "com.amazonaws.medialive#__doubleMin0Max1": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __doubleMin0Max1" } }, "com.amazonaws.medialive#__doubleMin0Max100": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __doubleMin0Max100" } }, "com.amazonaws.medialive#__doubleMin1": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __doubleMin1" } }, "com.amazonaws.medialive#__doubleMin1Max65535": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __doubleMin1Max65535" } }, "com.amazonaws.medialive#__doubleMinNegative59Max0": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __doubleMinNegative59Max0" } }, "com.amazonaws.medialive#__integer": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integer" } }, "com.amazonaws.medialive#__integerMin0": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0", "smithy.api#range": { "min": 0 @@ -21075,6 +21360,7 @@ "com.amazonaws.medialive#__integerMin0Max10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max10", "smithy.api#range": { "min": 0, @@ -21085,6 +21371,7 @@ "com.amazonaws.medialive#__integerMin0Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max100", "smithy.api#range": { "min": 0, @@ -21095,6 +21382,7 @@ "com.amazonaws.medialive#__integerMin0Max1000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max1000", "smithy.api#range": { "min": 0, @@ -21105,6 +21393,7 @@ "com.amazonaws.medialive#__integerMin0Max10000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max10000", "smithy.api#range": { "min": 0, @@ -21115,6 +21404,7 @@ "com.amazonaws.medialive#__integerMin0Max1000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max1000000", "smithy.api#range": { "min": 0, @@ -21125,6 +21415,7 @@ "com.amazonaws.medialive#__integerMin0Max100000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max100000000", "smithy.api#range": { "min": 0, @@ -21135,6 +21426,7 @@ "com.amazonaws.medialive#__integerMin0Max128": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max128", "smithy.api#range": { "min": 0, @@ -21145,6 +21437,7 @@ "com.amazonaws.medialive#__integerMin0Max15": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max15", "smithy.api#range": { "min": 0, @@ -21155,6 +21448,7 @@ "com.amazonaws.medialive#__integerMin0Max255": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max255", "smithy.api#range": { "min": 0, @@ -21165,6 +21459,7 @@ "com.amazonaws.medialive#__integerMin0Max30": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max30", "smithy.api#range": { "min": 0, @@ -21175,6 +21470,7 @@ "com.amazonaws.medialive#__integerMin0Max32768": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max32768", "smithy.api#range": { "min": 0, @@ -21185,6 +21481,7 @@ "com.amazonaws.medialive#__integerMin0Max3600": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max3600", "smithy.api#range": { "min": 0, @@ -21195,6 +21492,7 @@ "com.amazonaws.medialive#__integerMin0Max500": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max500", "smithy.api#range": { "min": 0, @@ -21205,6 +21503,7 @@ "com.amazonaws.medialive#__integerMin0Max600": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max600", "smithy.api#range": { "min": 0, @@ -21215,6 +21514,7 @@ "com.amazonaws.medialive#__integerMin0Max65535": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max65535", "smithy.api#range": { "min": 0, @@ -21225,6 +21525,7 @@ "com.amazonaws.medialive#__integerMin0Max65536": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max65536", "smithy.api#range": { "min": 0, @@ -21235,6 +21536,7 @@ "com.amazonaws.medialive#__integerMin0Max7": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max7", "smithy.api#range": { "min": 0, @@ -21245,6 +21547,7 @@ "com.amazonaws.medialive#__integerMin0Max8191": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin0Max8191", "smithy.api#range": { "min": 0, @@ -21255,6 +21558,7 @@ "com.amazonaws.medialive#__integerMin1": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1", "smithy.api#range": { "min": 1 @@ -21264,6 +21568,7 @@ "com.amazonaws.medialive#__integerMin100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin100", "smithy.api#range": { "min": 100 @@ -21273,6 +21578,7 @@ "com.amazonaws.medialive#__integerMin1000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1000", "smithy.api#range": { "min": 1000 @@ -21282,6 +21588,7 @@ "com.amazonaws.medialive#__integerMin1000000Max100000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1000000Max100000000", "smithy.api#range": { "min": 1000000, @@ -21292,6 +21599,7 @@ "com.amazonaws.medialive#__integerMin100000Max100000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin100000Max100000000", "smithy.api#range": { "min": 100000, @@ -21302,6 +21610,7 @@ "com.amazonaws.medialive#__integerMin100000Max40000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin100000Max40000000", "smithy.api#range": { "min": 100000, @@ -21312,6 +21621,7 @@ "com.amazonaws.medialive#__integerMin100000Max80000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin100000Max80000000", "smithy.api#range": { "min": 100000, @@ -21322,6 +21632,7 @@ "com.amazonaws.medialive#__integerMin1000Max30000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1000Max30000", "smithy.api#range": { "min": 1000, @@ -21332,6 +21643,7 @@ "com.amazonaws.medialive#__integerMin1Max10": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max10", "smithy.api#range": { "min": 1, @@ -21342,6 +21654,7 @@ "com.amazonaws.medialive#__integerMin1Max1000000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max1000000", "smithy.api#range": { "min": 1, @@ -21352,6 +21665,7 @@ "com.amazonaws.medialive#__integerMin1Max16": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max16", "smithy.api#range": { "min": 1, @@ -21362,6 +21676,7 @@ "com.amazonaws.medialive#__integerMin1Max20": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max20", "smithy.api#range": { "min": 1, @@ -21372,6 +21687,7 @@ "com.amazonaws.medialive#__integerMin1Max3003": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max3003", "smithy.api#range": { "min": 1, @@ -21382,6 +21698,7 @@ "com.amazonaws.medialive#__integerMin1Max31": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max31", "smithy.api#range": { "min": 1, @@ -21392,6 +21709,7 @@ "com.amazonaws.medialive#__integerMin1Max32": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max32", "smithy.api#range": { "min": 1, @@ -21402,6 +21720,7 @@ "com.amazonaws.medialive#__integerMin1Max3600000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max3600000", "smithy.api#range": { "min": 1, @@ -21412,6 +21731,7 @@ "com.amazonaws.medialive#__integerMin1Max4": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max4", "smithy.api#range": { "min": 1, @@ -21422,6 +21742,7 @@ "com.amazonaws.medialive#__integerMin1Max5": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max5", "smithy.api#range": { "min": 1, @@ -21432,6 +21753,7 @@ "com.amazonaws.medialive#__integerMin1Max6": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max6", "smithy.api#range": { "min": 1, @@ -21442,6 +21764,7 @@ "com.amazonaws.medialive#__integerMin1Max8": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin1Max8", "smithy.api#range": { "min": 1, @@ -21452,6 +21775,7 @@ "com.amazonaws.medialive#__integerMin25Max10000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin25Max10000", "smithy.api#range": { "min": 25, @@ -21462,6 +21786,7 @@ "com.amazonaws.medialive#__integerMin25Max2000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin25Max2000", "smithy.api#range": { "min": 25, @@ -21472,6 +21797,7 @@ "com.amazonaws.medialive#__integerMin3": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin3", "smithy.api#range": { "min": 3 @@ -21481,6 +21807,7 @@ "com.amazonaws.medialive#__integerMin30": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin30", "smithy.api#range": { "min": 30 @@ -21490,6 +21817,7 @@ "com.amazonaws.medialive#__integerMin32Max8191": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin32Max8191", "smithy.api#range": { "min": 32, @@ -21500,6 +21828,7 @@ "com.amazonaws.medialive#__integerMin4Max20": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin4Max20", "smithy.api#range": { "min": 4, @@ -21510,6 +21839,7 @@ "com.amazonaws.medialive#__integerMin800Max3000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin800Max3000", "smithy.api#range": { "min": 800, @@ -21520,6 +21850,7 @@ "com.amazonaws.medialive#__integerMin96Max600": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMin96Max600", "smithy.api#range": { "min": 96, @@ -21530,6 +21861,7 @@ "com.amazonaws.medialive#__integerMinNegative1000Max1000": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMinNegative1000Max1000", "smithy.api#range": { "min": -1000, @@ -21540,6 +21872,7 @@ "com.amazonaws.medialive#__integerMinNegative5Max5": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMinNegative5Max5", "smithy.api#range": { "min": -5, @@ -21550,6 +21883,7 @@ "com.amazonaws.medialive#__integerMinNegative60Max6": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMinNegative60Max6", "smithy.api#range": { "min": -60, @@ -21560,6 +21894,7 @@ "com.amazonaws.medialive#__integerMinNegative60Max60": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __integerMinNegative60Max60", "smithy.api#range": { "min": -60, @@ -22011,12 +22346,14 @@ "com.amazonaws.medialive#__long": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __long" } }, "com.amazonaws.medialive#__longMin0Max1099511627775": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __longMin0Max1099511627775", "smithy.api#range": { "min": 0, @@ -22027,6 +22364,7 @@ "com.amazonaws.medialive#__longMin0Max4294967295": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __longMin0Max4294967295", "smithy.api#range": { "min": 0, @@ -22037,6 +22375,7 @@ "com.amazonaws.medialive#__longMin0Max8589934591": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __longMin0Max8589934591", "smithy.api#range": { "min": 0, @@ -22047,6 +22386,7 @@ "com.amazonaws.medialive#__longMin0Max86400000": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Placeholder documentation for __longMin0Max86400000", "smithy.api#range": { "min": 0, diff --git a/codegen/sdk/aws-models/mediapackage-vod.json b/codegen/sdk/aws-models/mediapackage-vod.json index d0a268f3e7d..88c6c581d48 100644 --- a/codegen/sdk/aws-models/mediapackage-vod.json +++ b/codegen/sdk/aws-models/mediapackage-vod.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -177,6 +177,7 @@ "IncludeEncoderConfigurationInSegments": { "target": "com.amazonaws.mediapackagevod#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.", "smithy.api#jsonName": "includeEncoderConfigurationInSegments" } @@ -184,6 +185,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each fragment. Actual fragments will be\nrounded to the nearest multiple of the source fragment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -750,6 +752,7 @@ "MinBufferTimeSeconds": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum duration (in seconds) that a player will buffer media before starting the presentation.", "smithy.api#jsonName": "minBufferTimeSeconds" } @@ -799,6 +802,7 @@ "IncludeEncoderConfigurationInSegments": { "target": "com.amazonaws.mediapackagevod#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When includeEncoderConfigurationInSegments is set to true, MediaPackage places your encoder's Sequence Parameter Set (SPS), Picture Parameter Set (PPS), and Video Parameter Set (VPS) metadata in every video segment instead of in the init fragment. This lets you use different SPS/PPS/VPS settings for your assets during content playback.", "smithy.api#jsonName": "includeEncoderConfigurationInSegments" } @@ -813,6 +817,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -1425,6 +1430,7 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackagevod#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -1439,6 +1445,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag\ninserted into manifests. Additionally, when an interval is specified\nID3Timed Metadata messages will be generated every 5 seconds using the\ningest time of the content.\nIf the interval is not specified, or set to 0, then\nno EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no\nID3Timed Metadata messages will be generated. Note that irrespective\nof this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,\nit will be passed through to HLS output.", "smithy.api#jsonName": "programDateTimeIntervalSeconds" } @@ -1446,6 +1453,7 @@ "RepeatExtXKey": { "target": "com.amazonaws.mediapackagevod#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, the EXT-X-KEY tag will be repeated in output manifests.", "smithy.api#jsonName": "repeatExtXKey" } @@ -1481,6 +1489,7 @@ "IncludeDvbSubtitles": { "target": "com.amazonaws.mediapackagevod#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.", "smithy.api#jsonName": "includeDvbSubtitles" } @@ -1488,6 +1497,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each fragment. Actual fragments will be\nrounded to the nearest multiple of the source fragment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -1495,6 +1505,7 @@ "UseAudioRenditionGroup": { "target": "com.amazonaws.mediapackagevod#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, audio streams will be placed in rendition groups in the output.", "smithy.api#jsonName": "useAudioRenditionGroup" } @@ -1569,6 +1580,7 @@ "MaxResults": { "target": "com.amazonaws.mediapackagevod#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -1657,6 +1669,7 @@ "MaxResults": { "target": "com.amazonaws.mediapackagevod#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -1745,6 +1758,7 @@ "MaxResults": { "target": "com.amazonaws.mediapackagevod#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -1837,6 +1851,7 @@ "com.amazonaws.mediapackagevod#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -1845,21 +1860,6 @@ }, "com.amazonaws.mediapackagevod#MediaPackageVod": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MediaPackage Vod", - "arnNamespace": "mediapackage-vod", - "cloudFormationName": "MediaPackageVod", - "cloudTrailEventSource": "mediapackagevod.amazonaws.com", - "endpointPrefix": "mediapackage-vod" - }, - "aws.auth#sigv4": { - "name": "mediapackage-vod" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS Elemental MediaPackage VOD", - "smithy.api#title": "AWS Elemental MediaPackage VOD" - }, "version": "2018-11-07", "operations": [ { @@ -1913,7 +1913,22 @@ { "target": "com.amazonaws.mediapackagevod#UpdatePackagingGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MediaPackage Vod", + "arnNamespace": "mediapackage-vod", + "cloudFormationName": "MediaPackageVod", + "cloudTrailEventSource": "mediapackagevod.amazonaws.com", + "endpointPrefix": "mediapackage-vod" + }, + "aws.auth#sigv4": { + "name": "mediapackage-vod" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AWS Elemental MediaPackage VOD", + "smithy.api#title": "AWS Elemental MediaPackage VOD" + } }, "com.amazonaws.mediapackagevod#MssEncryption": { "type": "structure", @@ -1971,6 +1986,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration (in seconds) of each segment.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -2224,6 +2240,7 @@ "MaxVideoBitsPerSecond": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum video bitrate (bps) to include in output.", "smithy.api#jsonName": "maxVideoBitsPerSecond" } @@ -2231,6 +2248,7 @@ "MinVideoBitsPerSecond": { "target": "com.amazonaws.mediapackagevod#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum video bitrate (bps) to include in output.", "smithy.api#jsonName": "minVideoBitsPerSecond" } @@ -2252,6 +2270,9 @@ "input": { "target": "com.amazonaws.mediapackagevod#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Adds tags to the specified resource. You can specify one or more tags to add.", "smithy.api#http": { @@ -2331,6 +2352,9 @@ "input": { "target": "com.amazonaws.mediapackagevod#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "Removes tags from the specified resource. You can specify one or more tags to remove.", "smithy.api#http": { @@ -2476,10 +2500,16 @@ } }, "com.amazonaws.mediapackagevod#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mediapackagevod#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediapackagevod#__listOfAssetShallow": { "type": "list", diff --git a/codegen/sdk/aws-models/mediapackage.json b/codegen/sdk/aws-models/mediapackage.json index bb3bee610d6..065404f3175 100644 --- a/codegen/sdk/aws-models/mediapackage.json +++ b/codegen/sdk/aws-models/mediapackage.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -181,6 +181,7 @@ "KeyRotationIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time (in seconds) between each encryption key rotation.", "smithy.api#jsonName": "keyRotationIntervalSeconds" } @@ -232,6 +233,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -273,6 +275,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -787,6 +790,7 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -800,6 +804,7 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -894,6 +899,7 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -907,6 +913,7 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -933,6 +940,7 @@ "KeyRotationIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time (in seconds) between each encryption key rotation.", "smithy.api#jsonName": "keyRotationIntervalSeconds" } @@ -973,6 +981,7 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -987,6 +996,7 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each manifest.", "smithy.api#jsonName": "manifestWindowSeconds" } @@ -994,6 +1004,7 @@ "MinBufferTimeSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum duration (in seconds) that a player will buffer media before starting the presentation.", "smithy.api#jsonName": "minBufferTimeSeconds" } @@ -1001,6 +1012,7 @@ "MinUpdatePeriodSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Minimum duration (in seconds) between potential changes to the Dynamic Adaptive Streaming over HTTP (DASH) Media Presentation Description (MPD).", "smithy.api#jsonName": "minUpdatePeriodSeconds" } @@ -1022,6 +1034,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each segment. Actual segments will be\nrounded to the nearest multiple of the source segment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -1042,6 +1055,7 @@ "SuggestedPresentationDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) to delay live content before presentation.", "smithy.api#jsonName": "suggestedPresentationDelaySeconds" } @@ -1518,6 +1532,7 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -1531,6 +1546,7 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -1711,6 +1727,7 @@ "KeyRotationIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Interval (in seconds) between each encryption key rotation.", "smithy.api#jsonName": "keyRotationIntervalSeconds" } @@ -1718,6 +1735,7 @@ "RepeatExtXKey": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, the EXT-X-KEY tag will be repeated in output manifests.", "smithy.api#jsonName": "repeatExtXKey" } @@ -1770,6 +1788,7 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -1791,6 +1810,7 @@ "PlaylistWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each parent manifest.", "smithy.api#jsonName": "playlistWindowSeconds" } @@ -1798,6 +1818,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag\ninserted into manifests. Additionally, when an interval is specified\nID3Timed Metadata messages will be generated every 5 seconds using the\ningest time of the content.\nIf the interval is not specified, or set to 0, then\nno EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no\nID3Timed Metadata messages will be generated. Note that irrespective\nof this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,\nit will be passed through to HLS output.", "smithy.api#jsonName": "programDateTimeIntervalSeconds" } @@ -1859,6 +1880,7 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -1880,6 +1902,7 @@ "PlaylistWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each parent manifest.", "smithy.api#jsonName": "playlistWindowSeconds" } @@ -1887,6 +1910,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag\ninserted into manifests. Additionally, when an interval is specified\nID3Timed Metadata messages will be generated every 5 seconds using the\ningest time of the content.\nIf the interval is not specified, or set to 0, then\nno EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no\nID3Timed Metadata messages will be generated. Note that irrespective\nof this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,\nit will be passed through to HLS output.", "smithy.api#jsonName": "programDateTimeIntervalSeconds" } @@ -1927,6 +1951,7 @@ "IncludeDvbSubtitles": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, MediaPackage passes through digital video broadcasting (DVB) subtitles into the output.", "smithy.api#jsonName": "includeDvbSubtitles" } @@ -1934,6 +1959,7 @@ "IncludeIframeOnlyStream": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, an I-Frame only stream will be included in the output.", "smithy.api#jsonName": "includeIframeOnlyStream" } @@ -1948,6 +1974,7 @@ "PlaylistWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Time window (in seconds) contained in each parent manifest.", "smithy.api#jsonName": "playlistWindowSeconds" } @@ -1955,6 +1982,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag\ninserted into manifests. Additionally, when an interval is specified\nID3Timed Metadata messages will be generated every 5 seconds using the\ningest time of the content.\nIf the interval is not specified, or set to 0, then\nno EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no\nID3Timed Metadata messages will be generated. Note that irrespective\nof this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input,\nit will be passed through to HLS output.", "smithy.api#jsonName": "programDateTimeIntervalSeconds" } @@ -1962,6 +1990,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Duration (in seconds) of each fragment. Actual fragments will be\nrounded to the nearest multiple of the source fragment duration.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -1975,6 +2004,7 @@ "UseAudioRenditionGroup": { "target": "com.amazonaws.mediapackage#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "When enabled, audio streams will be placed in rendition groups in the output.", "smithy.api#jsonName": "useAudioRenditionGroup" } @@ -2100,6 +2130,7 @@ "MaxResults": { "target": "com.amazonaws.mediapackage#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Upper bound on number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -2195,6 +2226,7 @@ "MaxResults": { "target": "com.amazonaws.mediapackage#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The upper bound on the number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -2283,6 +2315,7 @@ "MaxResults": { "target": "com.amazonaws.mediapackage#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The upper bound on the number of records to return.", "smithy.api#httpQuery": "maxResults" } @@ -2372,6 +2405,7 @@ "com.amazonaws.mediapackage#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2380,21 +2414,6 @@ }, "com.amazonaws.mediapackage#MediaPackage": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MediaPackage", - "arnNamespace": "mediapackage", - "cloudFormationName": "MediaPackage", - "cloudTrailEventSource": "mediapackage.amazonaws.com", - "endpointPrefix": "mediapackage" - }, - "aws.auth#sigv4": { - "name": "mediapackage" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "AWS Elemental MediaPackage", - "smithy.api#title": "AWS Elemental MediaPackage" - }, "version": "2017-10-12", "operations": [ { @@ -2454,7 +2473,22 @@ { "target": "com.amazonaws.mediapackage#UpdateOriginEndpoint" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MediaPackage", + "arnNamespace": "mediapackage", + "cloudFormationName": "MediaPackage", + "cloudTrailEventSource": "mediapackage.amazonaws.com", + "endpointPrefix": "mediapackage" + }, + "aws.auth#sigv4": { + "name": "mediapackage" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "AWS Elemental MediaPackage", + "smithy.api#title": "AWS Elemental MediaPackage" + } }, "com.amazonaws.mediapackage#MssEncryption": { "type": "structure", @@ -2483,6 +2517,7 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The time window (in seconds) contained in each manifest.", "smithy.api#jsonName": "manifestWindowSeconds" } @@ -2490,6 +2525,7 @@ "SegmentDurationSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The duration (in seconds) of each segment.", "smithy.api#jsonName": "segmentDurationSeconds" } @@ -2599,6 +2635,7 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -2612,6 +2649,7 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -3147,6 +3185,7 @@ "MaxVideoBitsPerSecond": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum video bitrate (bps) to include in output.", "smithy.api#jsonName": "maxVideoBitsPerSecond" } @@ -3154,6 +3193,7 @@ "MinVideoBitsPerSecond": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The minimum video bitrate (bps) to include in output.", "smithy.api#jsonName": "minVideoBitsPerSecond" } @@ -3497,6 +3537,7 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (in seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -3504,6 +3545,7 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (in seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -3598,6 +3640,7 @@ "StartoverWindowSeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Maximum duration (seconds) of content to retain for startover playback.\nIf not specified, startover playback will be disabled for the OriginEndpoint.", "smithy.api#jsonName": "startoverWindowSeconds" } @@ -3611,6 +3654,7 @@ "TimeDelaySeconds": { "target": "com.amazonaws.mediapackage#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Amount of delay (seconds) to enforce on the playback of live content.\nIf not specified, there will be no time delay in effect for the OriginEndpoint.", "smithy.api#jsonName": "timeDelaySeconds" } @@ -3705,10 +3749,16 @@ } }, "com.amazonaws.mediapackage#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mediapackage#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediapackage#__listOfChannel": { "type": "list", diff --git a/codegen/sdk/aws-models/mediastore-data.json b/codegen/sdk/aws-models/mediastore-data.json index 3367b120ee2..134f291759e 100644 --- a/codegen/sdk/aws-models/mediastore-data.json +++ b/codegen/sdk/aws-models/mediastore-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -257,6 +257,7 @@ "Body": { "target": "com.amazonaws.mediastoredata#PayloadBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The bytes of the object.

", "smithy.api#httpPayload": {} } @@ -306,6 +307,7 @@ "StatusCode": { "target": "com.amazonaws.mediastoredata#statusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTML status code of the request. Status codes ranging from 200 to 299 indicate\n success. All other status codes indicate the type of error that occurred.

", "smithy.api#httpResponseCode": {}, "smithy.api#required": {} @@ -472,7 +474,6 @@ "com.amazonaws.mediastoredata#ListLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -531,7 +532,6 @@ "com.amazonaws.mediastoredata#NonNegativeLong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -740,7 +740,10 @@ } }, "com.amazonaws.mediastoredata#statusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/mediastore.json b/codegen/sdk/aws-models/mediastore.json index 0bd53ee1906..f453312133a 100644 --- a/codegen/sdk/aws-models/mediastore.json +++ b/codegen/sdk/aws-models/mediastore.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -120,10 +120,7 @@ } }, "com.amazonaws.mediastore#ContainerAccessLoggingEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.mediastore#ContainerInUseException": { "type": "structure", @@ -161,7 +158,6 @@ "com.amazonaws.mediastore#ContainerListLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -274,6 +270,7 @@ "MaxAgeSeconds": { "target": "com.amazonaws.mediastore#MaxAgeSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time in seconds that your browser caches the preflight response for the specified\n resource.

\n

A CORS rule can have only one MaxAgeSeconds element.

" } }, @@ -972,6 +969,7 @@ "com.amazonaws.mediastore#MaxAgeSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 2147483647 diff --git a/codegen/sdk/aws-models/mediatailor.json b/codegen/sdk/aws-models/mediatailor.json index e6301ccd19f..202f5a9ae98 100644 --- a/codegen/sdk/aws-models/mediatailor.json +++ b/codegen/sdk/aws-models/mediatailor.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -76,6 +76,7 @@ "OffsetMillis": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

How long (in milliseconds) after the beginning of the program that an ad starts. This value must fall within 100ms of a segment boundary, otherwise the ad break will be skipped.

" } }, @@ -102,6 +103,7 @@ "Enabled": { "target": "com.amazonaws.mediatailor#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables ad marker passthrough for your configuration.

" } } @@ -397,6 +399,7 @@ "PercentEnabled": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

", "smithy.api#required": {} } @@ -419,6 +422,7 @@ "PercentEnabled": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account.

" } }, @@ -1161,24 +1165,28 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.

" } }, "MinBufferTimeSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Minimum amount of content (measured in seconds) that a player must keep available in the buffer. Minimum value: 2 seconds. Maximum value: 60 seconds.

" } }, "MinUpdatePeriodSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Minimum amount of time (in seconds) that the player should wait before requesting updates to the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.

" } }, "SuggestedPresentationDelaySeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Amount of time (in seconds) that the player should be from the live point at the end of the manifest. Minimum value: 2 seconds. Maximum value: 60 seconds.

" } } @@ -2045,6 +2053,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Upper bound on number of records to return. The maximum number of results is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2177,6 +2186,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

" } }, @@ -2324,6 +2334,7 @@ "ManifestWindowSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total duration (in seconds) of each manifest. Minimum value: 30 seconds. Maximum value: 3600 seconds.

" } } @@ -2414,6 +2425,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Upper bound on number of records to return. The maximum number of results is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2481,6 +2493,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Upper bound on number of records to return. The maximum number of results is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2540,6 +2553,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Upper bound on number of records to return. The maximum number of results is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2607,6 +2621,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of records to return.

", "smithy.api#httpQuery": "MaxResults" } @@ -2666,6 +2681,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#__integerMin1Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of prefetch schedules that you want MediaTailor to return in response to the current request. If the playback configuration has more than MaxResults prefetch schedules, use the value of NextToken in the response to get the next page of results.

" } }, @@ -2737,6 +2753,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Upper bound on number of records to return. The maximum number of results is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2843,6 +2860,7 @@ "MaxResults": { "target": "com.amazonaws.mediatailor#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Upper bound on number of records to return. The maximum number of results is 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2893,6 +2911,7 @@ "MaxDurationSeconds": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "The maximum allowed duration for the pre-roll ad avail. AWS Elemental MediaTailor won't play pre-roll ads to exceed this duration, regardless of the total duration of ads that the ADS returns." } } @@ -2962,6 +2981,7 @@ "PercentEnabled": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of session logs that MediaTailor sends to your Cloudwatch Logs account. For example, if your playback configuration has 1000 sessions and percentEnabled is set to 60, MediaTailor sends logs for 600 of the sessions to CloudWatch Logs. MediaTailor decides at random which of the playback configuration sessions to send logs for. If you want to view logs for a specific session, you can use the debug log mode.

Valid values: 0 - 100

", "smithy.api#required": {} } @@ -2988,6 +3008,7 @@ "com.amazonaws.mediatailor#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2996,21 +3017,6 @@ }, "com.amazonaws.mediatailor#MediaTailor": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MediaTailor", - "arnNamespace": "mediatailor", - "cloudFormationName": "MediaTailor", - "cloudTrailEventSource": "mediatailor.amazonaws.com", - "endpointPrefix": "api.mediatailor" - }, - "aws.auth#sigv4": { - "name": "mediatailor" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.

Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).

", - "smithy.api#title": "AWS MediaTailor" - }, "version": "2018-04-23", "operations": [ { @@ -3139,7 +3145,22 @@ { "target": "com.amazonaws.mediatailor#UpdateVodSource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MediaTailor", + "arnNamespace": "mediatailor", + "cloudFormationName": "MediaTailor", + "cloudTrailEventSource": "mediatailor.amazonaws.com", + "endpointPrefix": "api.mediatailor" + }, + "aws.auth#sigv4": { + "name": "mediatailor" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion and linear channels. With MediaTailor, you can assemble existing content into a linear stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.

Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and channels the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).

", + "smithy.api#title": "AWS MediaTailor" + } }, "com.amazonaws.mediatailor#MessageType": { "type": "string", @@ -3265,6 +3286,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

" } }, @@ -3552,6 +3574,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

" } }, @@ -3654,6 +3677,7 @@ "PersonalizationThresholdSeconds": { "target": "com.amazonaws.mediatailor#__integerMin1", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the maximum duration of underfilled ad time (in seconds) allowed in an ad break. If the duration of underfilled ad time exceeds the personalization threshold, then the personalization of the ad break is abandoned and the underlying content is shown. This feature applies to ad replacement in live and VOD streams, rather than ad insertion, because it relies on an underlying content stream. For more information about ad break behavior, including ad replacement and insertion, see Ad Behavior in AWS Elemental MediaTailor.

" } }, @@ -3813,6 +3837,7 @@ "ApproximateDurationSeconds": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The approximate duration of the ad break, in seconds.

" } }, @@ -3860,6 +3885,7 @@ "ApproximateDurationSeconds": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The approximate duration of this program, in seconds.

" } }, @@ -4079,24 +4105,28 @@ "AvailNum": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This is written to splice_insert.avail_num, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

" } }, "AvailsExpected": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This is written to splice_insert.avails_expected, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

" } }, "SpliceEventId": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This is written to splice_insert.splice_event_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 1.

" } }, "UniqueProgramId": { "target": "com.amazonaws.mediatailor#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This is written to splice_insert.unique_program_id, as defined in section 9.7.3.1 of the SCTE-35 specification. The default value is 0. Values must be between 0 and 256, inclusive.

" } } @@ -4178,6 +4208,9 @@ "input": { "target": "com.amazonaws.mediatailor#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.mediatailor#BadRequestException" @@ -4234,6 +4267,7 @@ "DurationMillis": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the live program in seconds.

" } }, @@ -4253,6 +4287,7 @@ "ScheduledStartTimeMillis": { "target": "com.amazonaws.mediatailor#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The date and time that the program is scheduled to start, in epoch milliseconds.

" } }, @@ -4288,6 +4323,9 @@ "input": { "target": "com.amazonaws.mediatailor#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.mediatailor#BadRequestException" @@ -4789,14 +4827,21 @@ } }, "com.amazonaws.mediatailor#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mediatailor#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediatailor#__integerMin1": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4805,6 +4850,7 @@ "com.amazonaws.mediatailor#__integerMin1Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -4890,7 +4936,10 @@ } }, "com.amazonaws.mediatailor#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mediatailor#__mapOf__string": { "type": "map", diff --git a/codegen/sdk/aws-models/memorydb.json b/codegen/sdk/aws-models/memorydb.json index d4527604b6c..64631f8d491 100644 --- a/codegen/sdk/aws-models/memorydb.json +++ b/codegen/sdk/aws-models/memorydb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -486,14 +486,14 @@ } }, "com.amazonaws.memorydb#Boolean": { - "type": "boolean" - }, - "com.amazonaws.memorydb#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.memorydb#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.memorydb#Cluster": { "type": "structure", "members": { @@ -2019,6 +2019,7 @@ "DefaultOnly": { "target": "com.amazonaws.memorydb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, specifies that only the default version of the specified engine or engine and major version combination is to be returned.

" } } @@ -2544,7 +2545,10 @@ } }, "com.amazonaws.memorydb#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.memorydb#DuplicateUserNameFault": { "type": "structure", @@ -2575,6 +2579,7 @@ "Port": { "target": "com.amazonaws.memorydb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number that the engine is listening on.

" } } @@ -2807,14 +2812,14 @@ } }, "com.amazonaws.memorydb#Integer": { - "type": "integer" - }, - "com.amazonaws.memorydb#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.memorydb#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.memorydb#InvalidACLStateFault": { "type": "structure", "members": { @@ -3500,6 +3505,7 @@ "ReplicaCount": { "target": "com.amazonaws.memorydb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of replicas to scale up or down to

" } } @@ -3550,6 +3556,7 @@ "AllParameters": { "target": "com.amazonaws.memorydb#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, all parameters in the parameter group are reset to their default values. If false, only the parameters listed by ParameterNames are reset to their default values.

" } }, @@ -3844,6 +3851,7 @@ "ShardCount": { "target": "com.amazonaws.memorydb#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of shards in the cluster

" } } @@ -3939,6 +3947,7 @@ "ProgressPercentage": { "target": "com.amazonaws.memorydb#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the slot migration that is complete.

" } } diff --git a/codegen/sdk/aws-models/mgn.json b/codegen/sdk/aws-models/mgn.json index 1e586be51ed..d48419761ea 100644 --- a/codegen/sdk/aws-models/mgn.json +++ b/codegen/sdk/aws-models/mgn.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.mgn#ARN": { "type": "string", @@ -46,34 +46,6 @@ }, "com.amazonaws.mgn#ApplicationMigrationService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "mgn", - "arnNamespace": "mgn", - "awsProductName": "mgn", - "cloudTrailEventSource": "mgn.amazonaws.com" - }, - "aws.auth#sigv4": { - "name": "mgn" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-trace-id" - ], - "additionalExposedHeaders": [ - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-trace-id", - "x-amz-apigw-id" - ] - }, - "smithy.api#documentation": "

The Application Migration Service service.

", - "smithy.api#title": "Application Migration Service" - }, "version": "2020-02-26", "operations": [ { @@ -108,7 +80,35 @@ { "target": "com.amazonaws.mgn#VcenterClientResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "mgn", + "arnNamespace": "mgn", + "awsProductName": "mgn", + "cloudTrailEventSource": "mgn.amazonaws.com" + }, + "aws.auth#sigv4": { + "name": "mgn" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-trace-id" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id", + "x-amz-apigw-id" + ] + }, + "smithy.api#documentation": "

The Application Migration Service service.

", + "smithy.api#title": "Application Migration Service" + } }, "com.amazonaws.mgn#BootMode": { "type": "string", @@ -140,6 +140,7 @@ "cores": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU cores on the source server.

" } }, @@ -434,6 +435,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to configure bandwidth throttling during Replication Settings template creation.

", "smithy.api#required": {} } @@ -620,24 +622,28 @@ "totalStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to query total amount of data replicated in bytes.

" } }, "replicatedStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to query amount of data replicated in bytes.

" } }, "rescannedStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to query amount of data rescanned in bytes.

" } }, "backloggedStorageBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to query data replication backlog size in bytes.

" } } @@ -1109,6 +1115,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to describe Job log item maximum results.

" } }, @@ -1181,6 +1188,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to describe job log items by max results.

" } }, @@ -1294,6 +1302,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to disconnect Source Server from service by Server ID.

" } }, @@ -1369,6 +1378,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to describe Replication Configuration template by max results.

" } }, @@ -1441,6 +1451,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Request to filter Source Servers list by maximum results.

" } }, @@ -1554,6 +1565,7 @@ "maxResults": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum results to be returned in DescribeVcenterClients.

", "smithy.api#httpQuery": "maxResults" } @@ -1636,6 +1648,7 @@ "bytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage on the disk in bytes.

" } } @@ -1980,6 +1993,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The server encountered an unexpected condition that prevented it from fulfilling the request. The request will be retried again after x seconds.

", "smithy.api#httpHeader": "Retry-After" } @@ -2997,6 +3011,7 @@ "com.amazonaws.mgn#PositiveInteger": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3172,6 +3187,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Replication Configuration set bandwidth throttling.

" } }, @@ -3268,12 +3284,14 @@ "iops": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Replication Configuration replicated disk IOPs.

" } }, "throughput": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Replication Configuration replicated disk throughput.

" } } @@ -3400,6 +3418,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Replication Configuration template bandwidth throttling.

" } }, @@ -3644,6 +3663,7 @@ "quotaValue": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Exceeded the service quota value.

" } } @@ -3705,6 +3725,7 @@ "ramBytes": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Source server RAM in bytes.

" } }, @@ -3892,6 +3913,7 @@ "timeoutSeconds": { "target": "com.amazonaws.mgn#StrictlyPositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Source server replication type.

" } }, @@ -4216,6 +4238,7 @@ "com.amazonaws.mgn#StrictlyPositiveInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -4760,6 +4783,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Update replication configuration bandwidth throttling request.

" } }, @@ -4881,6 +4905,7 @@ "bandwidthThrottling": { "target": "com.amazonaws.mgn#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Update replication configuration template bandwidth throttling request.

" } }, @@ -5123,4 +5148,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/migration-hub-refactor-spaces.json b/codegen/sdk/aws-models/migration-hub-refactor-spaces.json index d9d870581bd..aad71e5442f 100644 --- a/codegen/sdk/aws-models/migration-hub-refactor-spaces.json +++ b/codegen/sdk/aws-models/migration-hub-refactor-spaces.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException": { "type": "structure", @@ -345,10 +345,7 @@ } }, "com.amazonaws.migrationhubrefactorspaces#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.migrationhubrefactorspaces#CidrBlock": { "type": "string" @@ -3288,7 +3285,6 @@ "com.amazonaws.migrationhubrefactorspaces#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3448,34 +3444,6 @@ }, "com.amazonaws.migrationhubrefactorspaces#RefactorSpaces": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Migration Hub Refactor Spaces", - "arnNamespace": "refactor-spaces", - "cloudFormationName": "RefactorSpaces", - "cloudTrailEventSource": "refactor-spaces.amazonaws.com", - "endpointPrefix": "refactor-spaces" - }, - "aws.auth#sigv4": { - "name": "refactor-spaces" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "content-type" - ], - "additionalExposedHeaders": [ - "date", - "x-amz-apigw-id", - "x-amzn-trace-id", - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-errormessage" - ] - }, - "smithy.api#documentation": "Amazon Web Services Migration Hub Refactor Spaces\n \n

This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services SDKs.

\n

To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations\n and their OUs, use Resource Access Manager's CreateResourceShare API. See CreateResourceShare in the Amazon Web Services RAM API Reference.

", - "smithy.api#title": "AWS Migration Hub Refactor Spaces" - }, "version": "2021-10-26", "operations": [ { @@ -3550,7 +3518,35 @@ { "target": "com.amazonaws.migrationhubrefactorspaces#UpdateRoute" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Migration Hub Refactor Spaces", + "arnNamespace": "refactor-spaces", + "cloudFormationName": "RefactorSpaces", + "cloudTrailEventSource": "refactor-spaces.amazonaws.com", + "endpointPrefix": "refactor-spaces" + }, + "aws.auth#sigv4": { + "name": "refactor-spaces" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "content-type" + ], + "additionalExposedHeaders": [ + "date", + "x-amz-apigw-id", + "x-amzn-trace-id", + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-errormessage" + ] + }, + "smithy.api#documentation": "Amazon Web Services Migration Hub Refactor Spaces\n \n

This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services SDKs.

\n

To share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations\n and their OUs, use Resource Access Manager's CreateResourceShare API. See CreateResourceShare in the Amazon Web Services RAM API Reference.

", + "smithy.api#title": "AWS Migration Hub Refactor Spaces" + } }, "com.amazonaws.migrationhubrefactorspaces#ResourceArn": { "type": "string", @@ -3613,7 +3609,10 @@ } }, "com.amazonaws.migrationhubrefactorspaces#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.migrationhubrefactorspaces#RouteActivationState": { "type": "string", @@ -4145,6 +4144,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.migrationhubrefactorspaces#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds to wait before retrying.

", "smithy.api#httpHeader": "Retry-After" } @@ -4486,4 +4486,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/migration-hub.json b/codegen/sdk/aws-models/migration-hub.json index ce4be1658a5..5db573feeb6 100644 --- a/codegen/sdk/aws-models/migration-hub.json +++ b/codegen/sdk/aws-models/migration-hub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -260,6 +260,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -340,6 +341,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -410,6 +412,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -520,6 +523,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -729,6 +733,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -806,6 +811,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -853,7 +859,10 @@ } }, "com.amazonaws.migrationhub#DryRun": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.migrationhub#DryRunOperation": { "type": "structure", @@ -943,6 +952,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -1403,7 +1413,6 @@ "com.amazonaws.migrationhub#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1413,7 +1422,6 @@ "com.amazonaws.migrationhub#MaxResultsCreatedArtifacts": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -1423,7 +1431,6 @@ "com.amazonaws.migrationhub#MaxResultsResources": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -1531,6 +1538,7 @@ "com.amazonaws.migrationhub#NextUpdateSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1606,6 +1614,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -1690,6 +1699,7 @@ "NextUpdateSeconds": { "target": "com.amazonaws.migrationhub#NextUpdateSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of seconds after the UpdateDateTime within which the Migration Hub can expect an\n update. If Migration Hub does not receive an update within the specified interval, then the\n migration task will be considered stale.

", "smithy.api#required": {} } @@ -1697,6 +1707,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -1721,7 +1732,6 @@ "com.amazonaws.migrationhub#ProgressPercent": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -1826,6 +1836,7 @@ "DryRun": { "target": "com.amazonaws.migrationhub#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional boolean flag to indicate whether any effect should take place. Used to test if\n the caller has permission to make the call.

" } } @@ -1949,7 +1960,10 @@ } }, "com.amazonaws.migrationhub#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.migrationhub#ServiceUnavailableException": { "type": "structure", @@ -2036,6 +2050,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.migrationhub#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds the caller should wait before retrying.

", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/migrationhub-config.json b/codegen/sdk/aws-models/migrationhub-config.json index e6516a575fc..eab4dad4c21 100644 --- a/codegen/sdk/aws-models/migrationhub-config.json +++ b/codegen/sdk/aws-models/migrationhub-config.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -133,6 +133,7 @@ "DryRun": { "target": "com.amazonaws.migrationhubconfig#DryRun", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional Boolean flag to indicate whether any effect should take place. It tests whether\n the caller has permission to make the call.

" } } @@ -186,7 +187,6 @@ "com.amazonaws.migrationhubconfig#DescribeHomeRegionControlsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -246,7 +246,10 @@ } }, "com.amazonaws.migrationhubconfig#DryRun": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.migrationhubconfig#DryRunOperation": { "type": "structure", @@ -389,7 +392,10 @@ "type": "timestamp" }, "com.amazonaws.migrationhubconfig#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.migrationhubconfig#ServiceUnavailableException": { "type": "structure", @@ -457,6 +463,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.migrationhubconfig#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds the caller should wait before retrying.

", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/migrationhuborchestrator.json b/codegen/sdk/aws-models/migrationhuborchestrator.json index 7e74f47c2b7..6e527911b0d 100644 --- a/codegen/sdk/aws-models/migrationhuborchestrator.json +++ b/codegen/sdk/aws-models/migrationhuborchestrator.json @@ -4526,4 +4526,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/migrationhubstrategy.json b/codegen/sdk/aws-models/migrationhubstrategy.json index b92609d2bce..7b7c4afc296 100644 --- a/codegen/sdk/aws-models/migrationhubstrategy.json +++ b/codegen/sdk/aws-models/migrationhubstrategy.json @@ -1,23 +1,8 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.migrationhubstrategy#AWSMigrationHubStrategyRecommendation": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MigrationHubStrategy", - "arnNamespace": "awsmigrationhubstrategyrecommendation", - "cloudFormationName": "AWSMigrationHubStrategyRecommendation", - "cloudTrailEventSource": "migrationhub-strategy.amazonaws.com", - "endpointPrefix": "migrationhub-strategy" - }, - "aws.auth#sigv4": { - "name": "migrationhub-strategy" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Migration Hub Strategy Recommendations\n\n

This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the AWS SDKs to access\n an API that is tailored to the programming language or platform that you're using. For more\n information, see AWS SDKs.

", - "smithy.api#title": "Migration Hub Strategy Recommendations" - }, "version": "2020-02-19", "operations": [ { @@ -80,7 +65,22 @@ { "target": "com.amazonaws.migrationhubstrategy#UpdateServerConfig" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MigrationHubStrategy", + "arnNamespace": "awsmigrationhubstrategyrecommendation", + "cloudFormationName": "AWSMigrationHubStrategyRecommendation", + "cloudTrailEventSource": "migrationhub-strategy.amazonaws.com", + "endpointPrefix": "migrationhub-strategy" + }, + "aws.auth#sigv4": { + "name": "migrationhub-strategy" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Migration Hub Strategy Recommendations\n\n

This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Migration Hub Strategy Recommendations (Strategy Recommendations). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the AWS SDKs to access\n an API that is tailored to the programming language or platform that you're using. For more\n information, see AWS SDKs.

", + "smithy.api#title": "Migration Hub Strategy Recommendations" + } }, "com.amazonaws.migrationhubstrategy#AccessDeniedException": { "type": "structure", @@ -576,10 +576,7 @@ } }, "com.amazonaws.migrationhubstrategy#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.migrationhubstrategy#BusinessGoals": { "type": "structure", @@ -616,7 +613,6 @@ "com.amazonaws.migrationhubstrategy#BusinessGoalsInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -1764,10 +1760,7 @@ } }, "com.amazonaws.migrationhubstrategy#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.migrationhubstrategy#InterfaceName": { "type": "string", @@ -2210,10 +2203,7 @@ } }, "com.amazonaws.migrationhubstrategy#MaxResult": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.migrationhubstrategy#NetMask": { "type": "string", @@ -3996,4 +3986,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/mobile.json b/codegen/sdk/aws-models/mobile.json index 731bea56020..713b6268d19 100644 --- a/codegen/sdk/aws-models/mobile.json +++ b/codegen/sdk/aws-models/mobile.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -131,7 +131,10 @@ } }, "com.amazonaws.mobile#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mobile#BundleDescription": { "type": "string", @@ -482,6 +485,7 @@ "syncFromResources": { "target": "com.amazonaws.mobile#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n If set to true, causes AWS Mobile Hub to synchronize information from other services, e.g., update state of AWS CloudFormation stacks in the AWS Mobile Hub project.\n

", "smithy.api#httpQuery": "syncFromResources" } @@ -763,6 +767,7 @@ "maxResults": { "target": "com.amazonaws.mobile#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Maximum number of records to list in a single response.\n

", "smithy.api#httpQuery": "maxResults" } @@ -844,6 +849,7 @@ "maxResults": { "target": "com.amazonaws.mobile#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Maximum number of records to list in a single response.\n

", "smithy.api#httpQuery": "maxResults" } @@ -877,6 +883,7 @@ "com.amazonaws.mobile#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Maximum number of records to list in a single response.\n

" } }, diff --git a/codegen/sdk/aws-models/mq.json b/codegen/sdk/aws-models/mq.json index dc66e1558e7..a2467b034c8 100644 --- a/codegen/sdk/aws-models/mq.json +++ b/codegen/sdk/aws-models/mq.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -442,6 +442,7 @@ "Revision": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision number of the configuration.

", "smithy.api#jsonName": "revision" } @@ -472,6 +473,7 @@ "Revision": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Required. The revision number of the configuration.

", "smithy.api#jsonName": "revision", "smithy.api#required": {} @@ -582,6 +584,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot. Set to true by default, if no value is specified.

", "smithy.api#jsonName": "autoMinorVersionUpgrade", "smithy.api#required": {} @@ -673,6 +676,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables connections from applications outside of the VPC that hosts the broker's subnets. Set to false by default, if no value is provided.

", "smithy.api#jsonName": "publiclyAccessible", "smithy.api#required": {} @@ -964,6 +968,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables access to the ActiveMQ Web Console for the ActiveMQ user.

", "smithy.api#jsonName": "consoleAccess" } @@ -1291,6 +1296,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -1317,6 +1323,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integerMin5Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Required. The maximum number of engine types that can be returned per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#jsonName": "maxResults" } @@ -1378,6 +1385,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -1411,6 +1419,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integerMin5Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Required. The maximum number of instance options that can be returned per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#jsonName": "maxResults" } @@ -1457,6 +1466,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.

", "smithy.api#jsonName": "autoMinorVersionUpgrade" } @@ -1604,6 +1614,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables connections from applications outside of the VPC that hosts the broker's subnets.

", "smithy.api#jsonName": "publiclyAccessible" } @@ -1914,6 +1925,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

", "smithy.api#jsonName": "consoleAccess" } @@ -1954,6 +1966,7 @@ "UseAwsOwnedKey": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables the use of an AWS owned CMK using AWS Key Management Service (KMS). Set to true by default, if no value is provided, for example, for RabbitMQ brokers.

", "smithy.api#jsonName": "useAwsOwnedKey", "smithy.api#required": {} @@ -2080,6 +2093,7 @@ "RoleSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The directory search scope for the role. If set to true, scope is to search the entire subtree.

", "smithy.api#jsonName": "roleSearchSubtree" } @@ -2126,6 +2140,7 @@ "UserSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The directory search scope for the user. If set to true, scope is to search the entire subtree.

", "smithy.api#jsonName": "userSearchSubtree" } @@ -2172,6 +2187,7 @@ "RoleSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The directory search scope for the role. If set to true, scope is to search the entire subtree.

", "smithy.api#jsonName": "roleSearchSubtree" } @@ -2210,6 +2226,7 @@ "UserSearchSubtree": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The directory search scope for the user. If set to true, scope is to search the entire subtree.

", "smithy.api#jsonName": "userSearchSubtree" } @@ -2259,6 +2276,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2336,6 +2354,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2362,6 +2381,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of configuration revisions that can be returned per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#jsonName": "maxResults" } @@ -2416,6 +2436,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2442,6 +2463,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of configurations that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#jsonName": "maxResults" } @@ -2556,6 +2578,7 @@ "MaxResults": { "target": "com.amazonaws.mq#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of brokers that Amazon MQ can return per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2582,6 +2605,7 @@ "MaxResults": { "target": "com.amazonaws.mq#__integerMin5Max100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Required. The maximum number of ActiveMQ users that can be returned per page (20 by default). This value must be an integer from 5 to 100.

", "smithy.api#jsonName": "maxResults" } @@ -2608,6 +2632,7 @@ "Audit": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ brokers.

", "smithy.api#jsonName": "audit" } @@ -2615,6 +2640,7 @@ "General": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables general logging.

", "smithy.api#jsonName": "general" } @@ -2630,6 +2656,7 @@ "Audit": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged.

", "smithy.api#jsonName": "audit" } @@ -2644,6 +2671,7 @@ "General": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables general logging.

", "smithy.api#jsonName": "general", "smithy.api#required": {} @@ -2672,6 +2700,7 @@ "com.amazonaws.mq#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2708,6 +2737,7 @@ "Audit": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables audit logging. Every user management action made using JMX or the ActiveMQ Web Console is logged.

", "smithy.api#jsonName": "audit" } @@ -2715,6 +2745,7 @@ "General": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables general logging.

", "smithy.api#jsonName": "general" } @@ -2893,6 +2924,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables automatic upgrades to new minor versions for brokers, as new versions are released and supported by Amazon MQ. Automatic upgrades occur during the scheduled maintenance window of the broker or after a manual broker reboot.

", "smithy.api#jsonName": "autoMinorVersionUpgrade" } @@ -2972,6 +3004,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The new boolean value that specifies whether broker engines automatically upgrade to new minor versions as new versions are released and supported by Amazon MQ.

", "smithy.api#jsonName": "autoMinorVersionUpgrade" } @@ -3194,6 +3227,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

", "smithy.api#jsonName": "consoleAccess" } @@ -3235,6 +3269,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables access to the ActiveMQ Web Console for the ActiveMQ user. Does not apply to RabbitMQ brokers.

", "smithy.api#jsonName": "consoleAccess" } @@ -3273,6 +3308,7 @@ "ConsoleAccess": { "target": "com.amazonaws.mq#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

", "smithy.api#jsonName": "consoleAccess" } @@ -3352,14 +3388,21 @@ } }, "com.amazonaws.mq#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.mq#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.mq#__integerMin5Max100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 5, "max": 100 @@ -3476,21 +3519,6 @@ }, "com.amazonaws.mq#mq": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "mq", - "arnNamespace": "mq", - "cloudFormationName": "AmazonMQ", - "cloudTrailEventSource": "mq.amazonaws.com", - "endpointPrefix": "mq" - }, - "aws.auth#sigv4": { - "name": "mq" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.

", - "smithy.api#title": "AmazonMQ" - }, "version": "2017-11-27", "operations": [ { @@ -3559,7 +3587,22 @@ { "target": "com.amazonaws.mq#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "mq", + "arnNamespace": "mq", + "cloudFormationName": "AmazonMQ", + "cloudTrailEventSource": "mq.amazonaws.com", + "endpointPrefix": "mq" + }, + "aws.auth#sigv4": { + "name": "mq" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud. A message broker allows software applications and components to communicate using various programming languages, operating systems, and formal messaging protocols.

", + "smithy.api#title": "AmazonMQ" + } } } } diff --git a/codegen/sdk/aws-models/mturk.json b/codegen/sdk/aws-models/mturk.json index 873b681e272..84ca8953c45 100644 --- a/codegen/sdk/aws-models/mturk.json +++ b/codegen/sdk/aws-models/mturk.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -328,10 +328,7 @@ } }, "com.amazonaws.mturk#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.mturk#Comparator": { "type": "string", @@ -1681,10 +1678,7 @@ } }, "com.amazonaws.mturk#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.mturk#IntegerList": { "type": "list", @@ -2457,10 +2451,7 @@ } }, "com.amazonaws.mturk#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.mturk#MTurkRequesterServiceV20170117": { "type": "service", @@ -3207,7 +3198,6 @@ "com.amazonaws.mturk#ResultSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/mwaa.json b/codegen/sdk/aws-models/mwaa.json index 9b75e400566..8218ec716c9 100644 --- a/codegen/sdk/aws-models/mwaa.json +++ b/codegen/sdk/aws-models/mwaa.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.mwaa#AccessDeniedException": { "type": "structure", @@ -38,18 +38,6 @@ }, "com.amazonaws.mwaa#AmazonMWAA": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "MWAA", - "arnNamespace": "airflow" - }, - "aws.auth#sigv4": { - "name": "airflow" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon Managed Workflows for Apache Airflow\n

This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.

\n

\n Endpoints\n

\n \n

\n Regions\n

\n

For a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.

", - "smithy.api#title": "AmazonMWAA" - }, "version": "2020-07-01", "operations": [ { @@ -85,7 +73,19 @@ { "target": "com.amazonaws.mwaa#UpdateEnvironment" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "MWAA", + "arnNamespace": "airflow" + }, + "aws.auth#sigv4": { + "name": "airflow" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon Managed Workflows for Apache Airflow\n

This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more information, see What Is Amazon MWAA?.

\n

\n Endpoints\n

\n \n

\n Regions\n

\n

For a list of regions that Amazon MWAA supports, see Region availability in the Amazon MWAA User Guide.

", + "smithy.api#title": "AmazonMWAA" + } }, "com.amazonaws.mwaa#CloudWatchLogGroupArn": { "type": "string", @@ -1083,10 +1083,7 @@ } }, "com.amazonaws.mwaa#LoggingEnabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.mwaa#LoggingLevel": { "type": "string", @@ -1118,7 +1115,6 @@ "com.amazonaws.mwaa#MaxWorkers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1179,7 +1175,6 @@ "com.amazonaws.mwaa#MinWorkers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1358,7 +1353,6 @@ "com.amazonaws.mwaa#Schedulers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 5 } @@ -1992,4 +1986,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/neptune.json b/codegen/sdk/aws-models/neptune.json index 0aadddd7f8d..570a2d909ae 100644 --- a/codegen/sdk/aws-models/neptune.json +++ b/codegen/sdk/aws-models/neptune.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -171,24 +171,6 @@ }, "com.amazonaws.neptune#AmazonRDSv19": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Neptune", - "arnNamespace": "rds", - "cloudFormationName": "Neptune", - "cloudTrailEventSource": "neptune.amazonaws.com", - "endpointPrefix": "rds" - }, - "aws.auth#sigv4": { - "name": "rds" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon Neptune\n

Amazon Neptune is a fast, reliable, fully-managed graph database service that makes it\n easy to build and run applications that work with highly connected datasets. The core of\n Amazon Neptune is a purpose-built, high-performance graph database engine optimized for\n storing billions of relationships and querying the graph with milliseconds latency. Amazon\n Neptune supports popular graph models Property Graph and W3C's RDF, and their respective query\n languages Apache TinkerPop Gremlin and SPARQL, allowing you to easily build queries that\n efficiently navigate highly connected datasets. Neptune powers graph use cases such as\n recommendation engines, fraud detection, knowledge graphs, drug discovery, and network\n security.

\n\n

This interface reference for Amazon Neptune contains documentation for a programming or\n command line interface you can use to manage Amazon Neptune. Note that Amazon Neptune is\n asynchronous, which means that some interfaces might require techniques such as polling or\n callback functions to determine when a command has been applied. In this reference, the\n parameter descriptions indicate whether a command is applied immediately, on the next instance\n reboot, or during the maintenance window. The reference structure is as follows, and we list\n following some related topics from the user guide.

", - "smithy.api#title": "Amazon Neptune", - "smithy.api#xmlNamespace": { - "uri": "http://rds.amazonaws.com/doc/2014-10-31/" - } - }, "version": "2014-10-31", "operations": [ { @@ -398,7 +380,25 @@ { "target": "com.amazonaws.neptune#StopDBCluster" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Neptune", + "arnNamespace": "rds", + "cloudFormationName": "Neptune", + "cloudTrailEventSource": "neptune.amazonaws.com", + "endpointPrefix": "rds" + }, + "aws.auth#sigv4": { + "name": "rds" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon Neptune\n

Amazon Neptune is a fast, reliable, fully-managed graph database service that makes it\n easy to build and run applications that work with highly connected datasets. The core of\n Amazon Neptune is a purpose-built, high-performance graph database engine optimized for\n storing billions of relationships and querying the graph with milliseconds latency. Amazon\n Neptune supports popular graph models Property Graph and W3C's RDF, and their respective query\n languages Apache TinkerPop Gremlin and SPARQL, allowing you to easily build queries that\n efficiently navigate highly connected datasets. Neptune powers graph use cases such as\n recommendation engines, fraud detection, knowledge graphs, drug discovery, and network\n security.

\n\n

This interface reference for Amazon Neptune contains documentation for a programming or\n command line interface you can use to manage Amazon Neptune. Note that Amazon Neptune is\n asynchronous, which means that some interfaces might require techniques such as polling or\n callback functions to determine when a command has been applied. In this reference, the\n parameter descriptions indicate whether a command is applied immediately, on the next instance\n reboot, or during the maintenance window. The reference structure is as follows, and we list\n following some related topics from the user guide.

", + "smithy.api#title": "Amazon Neptune", + "smithy.api#xmlNamespace": { + "uri": "http://rds.amazonaws.com/doc/2014-10-31/" + } + } }, "com.amazonaws.neptune#ApplyMethod": { "type": "string", @@ -528,14 +528,14 @@ } }, "com.amazonaws.neptune#Boolean": { - "type": "boolean" - }, - "com.amazonaws.neptune#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.neptune#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.neptune#CertificateNotFoundFault": { "type": "structure", "members": { @@ -2031,6 +2031,7 @@ "MultiAZ": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB cluster has instances in multiple Availability Zones.

" } }, @@ -2115,6 +2116,7 @@ "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB cluster is encrypted.

" } }, @@ -2145,6 +2147,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts\n is enabled, and otherwise false.

" } }, @@ -2390,6 +2393,7 @@ "IsClusterWriter": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Value that is true if the cluster member is the primary instance for the DB\n cluster and false otherwise.

" } }, @@ -2742,6 +2746,7 @@ "AllocatedStorage": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the allocated storage size in gibibytes (GiB).

" } }, @@ -2754,6 +2759,7 @@ "Port": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the DB cluster was listening on at the time of the\n snapshot.

" } }, @@ -2796,12 +2802,14 @@ "PercentProgress": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the percentage of the estimated data that has been transferred.

" } }, "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB cluster snapshot is encrypted.

" } }, @@ -2826,6 +2834,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts\n is enabled, and otherwise false.

" } } @@ -3015,18 +3024,21 @@ "SupportsLogExportsToCloudwatchLogs": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the engine version supports exporting the log types\n specified by ExportableLogTypes to CloudWatch Logs.

" } }, "SupportsReadReplica": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the database engine version supports read replicas.

" } }, "SupportsGlobalDatabases": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether you can use Aurora global databases with a specific DB engine version.

" } } @@ -3109,6 +3121,7 @@ "AllocatedStorage": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Not supported by Neptune.

" } }, @@ -3127,6 +3140,7 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days for which automatic DB snapshots are retained.

" } }, @@ -3181,6 +3195,7 @@ "MultiAZ": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if the DB instance is a Multi-AZ deployment.

" } }, @@ -3193,6 +3208,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that minor version patches are applied automatically.

" } }, @@ -3247,6 +3263,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#deprecated": {}, "smithy.api#documentation": "

This flag should no longer be used.

" } @@ -3272,6 +3289,7 @@ "DbInstancePort": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the DB instance listens on. If the DB instance is part of a DB\n cluster, this can be a different port than the DB cluster port.

" } }, @@ -3284,6 +3302,7 @@ "StorageEncrypted": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Not supported: The encryption for DB instances is managed by the DB cluster.

" } }, @@ -3314,6 +3333,7 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether tags are copied from the DB instance to snapshots of the DB\n instance.

" } }, @@ -3356,6 +3376,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise\n false.

" } }, @@ -3466,6 +3487,7 @@ "Normal": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that is true if the instance is operating normally, or false if the instance\n is in an error state.

" } }, @@ -4103,6 +4125,7 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final DB cluster snapshot is created before the DB cluster is\n deleted. If true is specified, no DB cluster snapshot is created. If\n false is specified, a DB cluster snapshot is created before the DB cluster is\n deleted.

\n \n

You must specify a FinalDBSnapshotIdentifier parameter if\n SkipFinalSnapshot is false.

\n
\n

Default: false\n

" } }, @@ -4236,6 +4259,7 @@ "SkipFinalSnapshot": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final DB snapshot is created before the DB instance is deleted. If\n true is specified, no DBSnapshot is created. If false is specified,\n a DB snapshot is created before the DB instance is deleted.

\n

Note that when a DB instance is in a failure state and has a status of 'failed',\n 'incompatible-restore', or 'incompatible-network', it can only be deleted when the\n SkipFinalSnapshot parameter is set to \"true\".

\n

Specify true when deleting a Read Replica.

\n \n

The FinalDBSnapshotIdentifier parameter must be specified if SkipFinalSnapshot is\n false.

\n
\n

Default: false\n

" } }, @@ -4673,12 +4697,14 @@ "IncludeShared": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True to include shared manual DB cluster snapshots from other Amazon accounts that this Amazon\n account has been given permission to copy or restore, and otherwise false. The default is\n false.

\n

You can give an Amazon account permission to restore a manual DB cluster snapshot from\n another Amazon account by the ModifyDBClusterSnapshotAttribute API\n action.

" } }, "IncludePublic": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True to include manual DB cluster snapshots that are public and can be copied or restored\n by any Amazon account, and otherwise false. The default is false. The default is\n false.

\n

You can share a manual DB cluster snapshot as public by using the ModifyDBClusterSnapshotAttribute API action.

" } } @@ -4796,6 +4822,7 @@ "DefaultOnly": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that only the default version of the specified engine or engine and major\n version combination is returned.

" } }, @@ -5689,26 +5716,28 @@ } }, "com.amazonaws.neptune#Double": { - "type": "double" - }, - "com.amazonaws.neptune#DoubleOptional": { "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.neptune#DoubleOptional": { + "type": "double" + }, "com.amazonaws.neptune#DoubleRange": { "type": "structure", "members": { "From": { "target": "com.amazonaws.neptune#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value in the range.

" } }, "To": { "target": "com.amazonaws.neptune#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value in the range.

" } } @@ -5738,6 +5767,7 @@ "Port": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine is listening on.

" } }, @@ -5934,6 +5964,7 @@ "Enabled": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value indicating if the subscription is enabled. True indicates the subscription\n is enabled.

" } }, @@ -6274,6 +6305,7 @@ "IsWriter": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n Specifies whether the Neptune cluster is the primary cluster\n (that is, has read-write capability) for the Neptune global\n database with which it is associated.\n

" } } @@ -6429,14 +6461,14 @@ } }, "com.amazonaws.neptune#Integer": { - "type": "integer" - }, - "com.amazonaws.neptune#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.neptune#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.neptune#InvalidDBClusterEndpointStateFault": { "type": "structure", "members": { @@ -6983,6 +7015,7 @@ "ApplyImmediately": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether the modifications in this request and any pending\n modifications are asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the DB cluster. If this parameter is set\n to false, changes to the DB cluster are applied during the next maintenance\n window.

\n

The ApplyImmediately parameter only affects NewDBClusterIdentifier\n values. If you set the ApplyImmediately parameter value to false, then changes to\n NewDBClusterIdentifier values are applied during the next maintenance window.\n All other changes are applied immediately, regardless of the value of the\n ApplyImmediately parameter.

\n

Default: false\n

" } }, @@ -7055,6 +7088,7 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether upgrades between different major versions are allowed.

\n

Constraints: You must set the allow-major-version-upgrade flag when providing an\n EngineVersion parameter that uses a different major version than the DB cluster's current\n version.

" } }, @@ -7292,6 +7326,7 @@ "ApplyImmediately": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the modifications in this request and any pending modifications are\n asynchronously applied as soon as possible, regardless of the\n PreferredMaintenanceWindow setting for the DB instance.

\n

If this parameter is set to false, changes to the DB instance are applied\n during the next maintenance window. Some parameter changes can cause an outage and are applied\n on the next call to RebootDBInstance, or the next\n failure reboot.

\n

Default: false\n

" } }, @@ -7340,6 +7375,7 @@ "AllowMajorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that major version upgrades are allowed. Changing this parameter doesn't result\n in an outage and the change is asynchronously applied as soon as possible.

" } }, @@ -7812,24 +7848,28 @@ "MultiAZCapable": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance is Multi-AZ capable.

" } }, "ReadReplicaCapable": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance can have a Read Replica.

" } }, "Vpc": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance is in a VPC.

" } }, "SupportsStorageEncryption": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports encrypted storage.

" } }, @@ -7842,24 +7882,28 @@ "SupportsIops": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports provisioned IOPS.

" } }, "SupportsEnhancedMonitoring": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports Enhanced Monitoring at intervals from 1 to 60\n seconds.

" } }, "SupportsIAMDatabaseAuthentication": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a DB instance supports IAM database authentication.

" } }, "SupportsPerformanceInsights": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n (Not supported by Neptune)\n

" } }, @@ -7902,6 +7946,7 @@ "SupportsGlobalDatabases": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether you can use Neptune global databases with a specific combination of other DB engine attributes.

" } } @@ -7984,6 +8029,7 @@ "IsModifiable": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether (true) or not (false) the parameter can be\n modified. Some parameters have security or operational implications that prevent them from\n being changed.

" } }, @@ -8270,12 +8316,14 @@ "From": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum value in the range.

" } }, "To": { "target": "com.amazonaws.neptune#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value in the range.

" } }, @@ -8598,6 +8646,7 @@ "ResetAllParameters": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to reset all parameters in the DB cluster\n parameter group to their default values, and false otherwise. You can't use this\n parameter if there is a list of parameter names specified for the Parameters\n parameter.

" } }, @@ -8642,6 +8691,7 @@ "ResetAllParameters": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether (true) or not (false) to reset all parameters\n in the DB parameter group to default values.

\n

Default: true\n

" } }, @@ -8970,6 +9020,7 @@ "UseLatestRestorableTime": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that is set to true to restore the DB cluster to the latest\n restorable backup time, and false otherwise.

\n

Default: false\n

\n

Constraints: Cannot be specified if RestoreToTime parameter is\n provided.

" } }, @@ -9561,12 +9612,14 @@ "AutoUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the target version is applied to any source DB instances\n that have AutoMinorVersionUpgrade set to true.

" } }, "IsMajorVersionUpgrade": { "target": "com.amazonaws.neptune#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether a database engine is upgraded to a major version.

" } }, diff --git a/codegen/sdk/aws-models/network-firewall.json b/codegen/sdk/aws-models/network-firewall.json index 45939e0a656..a1e5c27b22b 100644 --- a/codegen/sdk/aws-models/network-firewall.json +++ b/codegen/sdk/aws-models/network-firewall.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -296,26 +296,32 @@ } }, "com.amazonaws.networkfirewall#AttachmentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "SCALING", - "name": "SCALING" - }, - { - "value": "READY", - "name": "READY" - } - ] + "type": "enum", + "members": { + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "SCALING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCALING" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + } } }, "com.amazonaws.networkfirewall#AvailabilityZone": { @@ -343,7 +349,6 @@ "com.amazonaws.networkfirewall#CIDRCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000 @@ -394,22 +399,26 @@ "type": "string" }, "com.amazonaws.networkfirewall#ConfigurationSyncState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "IN_SYNC", - "name": "IN_SYNC" - }, - { - "value": "CAPACITY_CONSTRAINED", - "name": "CAPACITY_CONSTRAINED" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "IN_SYNC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_SYNC" + } + }, + "CAPACITY_CONSTRAINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAPACITY_CONSTRAINED" + } + } } }, "com.amazonaws.networkfirewall#CreateFirewall": { @@ -1577,18 +1586,20 @@ } }, "com.amazonaws.networkfirewall#EncryptionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CUSTOMER_KMS", - "name": "CUSTOMER_KMS" - }, - { - "value": "AWS_OWNED_KMS_KEY", - "name": "AWS_OWNED_KMS_KEY" + "type": "enum", + "members": { + "CUSTOMER_KMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_KMS" } - ] + }, + "AWS_OWNED_KMS_KEY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_OWNED_KMS_KEY" + } + } } }, "com.amazonaws.networkfirewall#EndpointId": { @@ -1891,22 +1902,26 @@ } }, "com.amazonaws.networkfirewall#FirewallStatusValue": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PROVISIONING", - "name": "PROVISIONING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "READY", - "name": "READY" - } - ] + "type": "enum", + "members": { + "PROVISIONING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROVISIONING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "READY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READY" + } + } } }, "com.amazonaws.networkfirewall#Firewalls": { @@ -1922,18 +1937,20 @@ } }, "com.amazonaws.networkfirewall#GeneratedRulesType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALLOWLIST", - "name": "ALLOWLIST" - }, - { - "value": "DENYLIST", - "name": "DENYLIST" + "type": "enum", + "members": { + "ALLOWLIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOWLIST" } - ] + }, + "DENYLIST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENYLIST" + } + } } }, "com.amazonaws.networkfirewall#HashMapKey": { @@ -2539,22 +2556,28 @@ } }, "com.amazonaws.networkfirewall#LogDestinationType": { - "type": "string", + "type": "enum", + "members": { + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "CLOUDWATCH_LOGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CloudWatchLogs" + } + }, + "KINESIS_DATA_FIREHOSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KinesisDataFirehose" + } + } + }, "traits": { - "smithy.api#enum": [ - { - "value": "S3", - "name": "S3" - }, - { - "value": "CloudWatchLogs", - "name": "CLOUDWATCH_LOGS" - }, - { - "value": "KinesisDataFirehose", - "name": "KINESIS_DATA_FIREHOSE" - } - ], "smithy.api#length": { "min": 2, "max": 30 @@ -2563,18 +2586,20 @@ } }, "com.amazonaws.networkfirewall#LogType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALERT", - "name": "ALERT" - }, - { - "value": "FLOW", - "name": "FLOW" + "type": "enum", + "members": { + "ALERT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALERT" + } + }, + "FLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FLOW" } - ] + } } }, "com.amazonaws.networkfirewall#LoggingConfiguration": { @@ -2638,21 +2663,6 @@ }, "com.amazonaws.networkfirewall#NetworkFirewall_20201112": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Network Firewall", - "arnNamespace": "network-firewall", - "cloudFormationName": "NetworkFirewall", - "cloudTrailEventSource": "networkfirewall.amazonaws.com", - "endpointPrefix": "network-firewall" - }, - "aws.auth#sigv4": { - "name": "network-firewall" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

This is the API Reference for Network Firewall. This guide is for developers who need\n detailed information about the Network Firewall API actions, data types, and errors.

\n \n

Network Firewall is a stateful, managed, network firewall and intrusion detection and\n prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the\n perimeter of your VPC. This includes filtering traffic going to and coming from an internet\n gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible\n with Suricata, a free, open source intrusion detection system (IDS) engine.\n Network Firewall supports Suricata version 5.0.2. For information about Suricata,\n see the Suricata website.

\n

You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.\n The following are just a few examples:

\n \n

To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in\n Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.

\n

To start using Network Firewall, do the following:

\n
    \n
  1. \n

    (Optional) If you don't already have a VPC that you want to protect, create it in\n Amazon VPC.

    \n
  2. \n
  3. \n

    In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a\n subnet for the sole use of Network Firewall.

    \n
  4. \n
  5. \n

    In Network Firewall, create stateless and stateful rule groups,\n to define the components of the network traffic filtering behavior that you want your firewall to have.

    \n
  6. \n
  7. \n

    In Network Firewall, create a firewall policy that uses your rule groups and\n specifies additional default traffic filtering behavior.

    \n
  8. \n
  9. \n

    In Network Firewall, create a firewall and specify your new firewall policy and\n VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you\n specify, with the behavior that's defined in the firewall policy.

    \n
  10. \n
  11. \n

    In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall\n endpoints.

    \n
  12. \n
", - "smithy.api#title": "AWS Network Firewall" - }, "version": "2020-11-12", "operations": [ { @@ -2748,29 +2758,40 @@ { "target": "com.amazonaws.networkfirewall#UpdateSubnetChangeProtection" } - ] - }, - "com.amazonaws.networkfirewall#NumberOfAssociations": { - "type": "integer", + ], "traits": { - "smithy.api#box": {} + "aws.api#service": { + "sdkId": "Network Firewall", + "arnNamespace": "network-firewall", + "cloudFormationName": "NetworkFirewall", + "cloudTrailEventSource": "networkfirewall.amazonaws.com", + "endpointPrefix": "network-firewall" + }, + "aws.auth#sigv4": { + "name": "network-firewall" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

This is the API Reference for Network Firewall. This guide is for developers who need\n detailed information about the Network Firewall API actions, data types, and errors.

\n \n

Network Firewall is a stateful, managed, network firewall and intrusion detection and\n prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the\n perimeter of your VPC. This includes filtering traffic going to and coming from an internet\n gateway, NAT gateway, or over VPN or Direct Connect. Network Firewall uses rules that are compatible\n with Suricata, a free, open source network analysis and threat detection engine.\n Network Firewall supports Suricata version 5.0.2. For information about Suricata,\n see the Suricata website.

\n

You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.\n The following are just a few examples:

\n \n

To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in\n Network Firewall. For information about using Amazon VPC, see Amazon VPC User Guide.

\n

To start using Network Firewall, do the following:

\n
    \n
  1. \n

    (Optional) If you don't already have a VPC that you want to protect, create it in\n Amazon VPC.

    \n
  2. \n
  3. \n

    In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a\n subnet for the sole use of Network Firewall.

    \n
  4. \n
  5. \n

    In Network Firewall, create stateless and stateful rule groups,\n to define the components of the network traffic filtering behavior that you want your firewall to have.

    \n
  6. \n
  7. \n

    In Network Firewall, create a firewall policy that uses your rule groups and\n specifies additional default traffic filtering behavior.

    \n
  8. \n
  9. \n

    In Network Firewall, create a firewall and specify your new firewall policy and\n VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you\n specify, with the behavior that's defined in the firewall policy.

    \n
  10. \n
  11. \n

    In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall\n endpoints.

    \n
  12. \n
", + "smithy.api#title": "AWS Network Firewall" } }, + "com.amazonaws.networkfirewall#NumberOfAssociations": { + "type": "integer" + }, "com.amazonaws.networkfirewall#OverrideAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DROP_TO_ALERT", - "name": "DROP_TO_ALERT" + "type": "enum", + "members": { + "DROP_TO_ALERT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DROP_TO_ALERT" } - ] + } } }, "com.amazonaws.networkfirewall#PaginationMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2808,22 +2829,26 @@ } }, "com.amazonaws.networkfirewall#PerObjectSyncStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "IN_SYNC", - "name": "IN_SYNC" - }, - { - "value": "CAPACITY_CONSTRAINED", - "name": "CAPACITY_CONSTRAINED" - } - ] + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "IN_SYNC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_SYNC" + } + }, + "CAPACITY_CONSTRAINED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CAPACITY_CONSTRAINED" + } + } } }, "com.amazonaws.networkfirewall#PolicyString": { @@ -2852,6 +2877,7 @@ "FromPort": { "target": "com.amazonaws.networkfirewall#PortRangeBound", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The lower limit of the port range. This must be less than or equal to the\n ToPort specification.

", "smithy.api#required": {} } @@ -2859,6 +2885,7 @@ "ToPort": { "target": "com.amazonaws.networkfirewall#PortRangeBound", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The upper limit of the port range. This must be greater than or equal to the\n FromPort specification.

", "smithy.api#required": {} } @@ -2871,6 +2898,7 @@ "com.amazonaws.networkfirewall#PortRangeBound": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -2909,6 +2937,7 @@ "com.amazonaws.networkfirewall#Priority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -2918,6 +2947,7 @@ "com.amazonaws.networkfirewall#ProtocolNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 255 @@ -3032,33 +3062,37 @@ } }, "com.amazonaws.networkfirewall#ResourceManagedStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "MANAGED", - "name": "MANAGED" - }, - { - "value": "ACCOUNT", - "name": "ACCOUNT" + "type": "enum", + "members": { + "MANAGED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANAGED" } - ] + }, + "ACCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT" + } + } } }, "com.amazonaws.networkfirewall#ResourceManagedType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AWS_MANAGED_THREAT_SIGNATURES", - "name": "AWS_MANAGED_THREAT_SIGNATURES" - }, - { - "value": "AWS_MANAGED_DOMAIN_LISTS", - "name": "AWS_MANAGED_DOMAIN_LISTS" + "type": "enum", + "members": { + "AWS_MANAGED_THREAT_SIGNATURES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_MANAGED_THREAT_SIGNATURES" + } + }, + "AWS_MANAGED_DOMAIN_LISTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_MANAGED_DOMAIN_LISTS" } - ] + } } }, "com.amazonaws.networkfirewall#ResourceName": { @@ -3096,25 +3130,24 @@ } }, "com.amazonaws.networkfirewall#ResourceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "DELETING", - "name": "DELETING" + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" } - ] + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + } } }, "com.amazonaws.networkfirewall#RuleCapacity": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.networkfirewall#RuleDefinition": { "type": "structure", @@ -3287,18 +3320,20 @@ } }, "com.amazonaws.networkfirewall#RuleGroupType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STATELESS", - "name": "STATELESS" - }, - { - "value": "STATEFUL", - "name": "STATEFUL" + "type": "enum", + "members": { + "STATELESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATELESS" + } + }, + "STATEFUL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATEFUL" } - ] + } } }, "com.amazonaws.networkfirewall#RuleGroups": { @@ -3335,18 +3370,20 @@ } }, "com.amazonaws.networkfirewall#RuleOrder": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DEFAULT_ACTION_ORDER", - "name": "DEFAULT_ACTION_ORDER" - }, - { - "value": "STRICT_ORDER", - "name": "STRICT_ORDER" + "type": "enum", + "members": { + "DEFAULT_ACTION_ORDER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DEFAULT_ACTION_ORDER" } - ] + }, + "STRICT_ORDER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRICT_ORDER" + } + } } }, "com.amazonaws.networkfirewall#RuleTargets": { @@ -3403,7 +3440,7 @@ "StatefulRules": { "target": "com.amazonaws.networkfirewall#StatefulRules", "traits": { - "smithy.api#documentation": "

An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" + "smithy.api#documentation": "

An array of individual stateful rules inspection criteria to be used together in a stateful rule group.\n Use this option to specify simple Suricata rules with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" } }, "StatelessRulesAndCustomActions": { @@ -3502,22 +3539,26 @@ } }, "com.amazonaws.networkfirewall#StatefulAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PASS", - "name": "PASS" - }, - { - "value": "DROP", - "name": "DROP" - }, - { - "value": "ALERT", - "name": "ALERT" - } - ] + "type": "enum", + "members": { + "PASS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASS" + } + }, + "DROP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DROP" + } + }, + "ALERT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALERT" + } + } } }, "com.amazonaws.networkfirewall#StatefulActions": { @@ -3534,6 +3575,12 @@ "traits": { "smithy.api#documentation": "

Indicates how to manage the order of stateful rule evaluation for the policy. DEFAULT_ACTION_ORDER is\n the default behavior. Stateful rules are provided to the rule engine as Suricata compatible strings, and Suricata evaluates them\n based on certain settings. For more information, see\n Evaluation order for stateful rules in the Network Firewall Developer Guide.\n

" } + }, + "StreamExceptionPolicy": { + "target": "com.amazonaws.networkfirewall#StreamExceptionPolicy", + "traits": { + "smithy.api#documentation": "

Configures how Network Firewall processes traffic when a network connection breaks midstream. Network connections can break due to disruptions in external networks or within the firewall itself.

\n " + } } }, "traits": { @@ -3566,22 +3613,24 @@ } }, "traits": { - "smithy.api#documentation": "

A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" + "smithy.api#documentation": "

A single Suricata rules specification, for use in a stateful rule group.\n Use this option to specify a simple Suricata rule with protocol, source and destination, ports, direction, and rule options.\n For information about the Suricata Rules format, see\n Rules Format.

" } }, "com.amazonaws.networkfirewall#StatefulRuleDirection": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FORWARD", - "name": "FORWARD" - }, - { - "value": "ANY", - "name": "ANY" + "type": "enum", + "members": { + "FORWARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FORWARD" } - ] + }, + "ANY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANY" + } + } } }, "com.amazonaws.networkfirewall#StatefulRuleGroupOverride": { @@ -3611,7 +3660,7 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An integer setting that indicates the order in which to run the stateful rule groups in\n a single FirewallPolicy. This setting only applies to firewall policies\n that specify the STRICT_ORDER rule order in the stateful engine options settings.

\n

Network Firewall evalutes each stateful rule group\n against a packet starting with the group that has the lowest priority setting. You must ensure\n that the priority settings are unique within each policy.

\n

You can change the priority settings of your rule groups at any time. To make it easier to\n insert rule groups later, number them so there's a wide range in between, for example use 100,\n 200, and so on.

" } }, @@ -3647,86 +3696,122 @@ } }, "com.amazonaws.networkfirewall#StatefulRuleProtocol": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IP", - "name": "ANY" - }, - { - "value": "TCP", - "name": "TCP" - }, - { - "value": "UDP", - "name": "UDP" - }, - { - "value": "ICMP", - "name": "ICMP" - }, - { - "value": "HTTP", - "name": "HTTP" - }, - { - "value": "FTP", - "name": "FTP" - }, - { - "value": "TLS", - "name": "TLS" - }, - { - "value": "SMB", - "name": "SMB" - }, - { - "value": "DNS", - "name": "DNS" - }, - { - "value": "DCERPC", - "name": "DCERPC" - }, - { - "value": "SSH", - "name": "SSH" - }, - { - "value": "SMTP", - "name": "SMTP" - }, - { - "value": "IMAP", - "name": "IMAP" - }, - { - "value": "MSN", - "name": "MSN" - }, - { - "value": "KRB5", - "name": "KRB5" - }, - { - "value": "IKEV2", - "name": "IKEV2" - }, - { - "value": "TFTP", - "name": "TFTP" - }, - { - "value": "NTP", - "name": "NTP" - }, - { - "value": "DHCP", - "name": "DHCP" - } - ] + "type": "enum", + "members": { + "ANY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IP" + } + }, + "TCP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TCP" + } + }, + "UDP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UDP" + } + }, + "ICMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ICMP" + } + }, + "HTTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP" + } + }, + "FTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FTP" + } + }, + "TLS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS" + } + }, + "SMB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMB" + } + }, + "DNS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DNS" + } + }, + "DCERPC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DCERPC" + } + }, + "SSH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSH" + } + }, + "SMTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SMTP" + } + }, + "IMAP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMAP" + } + }, + "MSN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MSN" + } + }, + "KRB5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "KRB5" + } + }, + "IKEV2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IKEV2" + } + }, + "TFTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TFTP" + } + }, + "NTP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NTP" + } + }, + "DHCP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DHCP" + } + } } }, "com.amazonaws.networkfirewall#StatefulRules": { @@ -3754,6 +3839,7 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the order in which to run this rule relative to all of the\n rules that are defined for a stateless rule group. Network Firewall evaluates the rules in a\n rule group starting with the lowest priority setting. You must ensure that the priority\n settings are unique for the rule group.

\n

Each stateless rule group uses exactly one StatelessRulesAndCustomActions\n object, and each StatelessRulesAndCustomActions contains exactly one\n StatelessRules object. To ensure unique priority settings for your rule\n groups, set unique priorities for the stateless rules that you define inside any single\n StatelessRules object.

\n

You can change the priority settings of your rules at any time. To make it easier to\n insert rules later, number them so there's a wide range in between, for example use 100,\n 200, and so on.

", "smithy.api#required": {} } @@ -3776,6 +3862,7 @@ "Priority": { "target": "com.amazonaws.networkfirewall#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer setting that indicates the order in which to run the stateless rule groups in\n a single FirewallPolicy. Network Firewall applies each stateless rule group\n to a packet starting with the group that has the lowest priority setting. You must ensure\n that the priority settings are unique within each policy.

", "smithy.api#required": {} } @@ -3818,6 +3905,23 @@ "smithy.api#documentation": "

Stateless inspection criteria. Each stateless rule group uses exactly one of these data\n types to define its stateless rules.

" } }, + "com.amazonaws.networkfirewall#StreamExceptionPolicy": { + "type": "enum", + "members": { + "DROP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DROP" + } + }, + "CONTINUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONTINUE" + } + } + } + }, "com.amazonaws.networkfirewall#SubnetMapping": { "type": "structure", "members": { @@ -3878,42 +3982,56 @@ } }, "com.amazonaws.networkfirewall#TCPFlag": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FIN", - "name": "FIN" - }, - { - "value": "SYN", - "name": "SYN" - }, - { - "value": "RST", - "name": "RST" - }, - { - "value": "PSH", - "name": "PSH" - }, - { - "value": "ACK", - "name": "ACK" - }, - { - "value": "URG", - "name": "URG" - }, - { - "value": "ECE", - "name": "ECE" - }, - { - "value": "CWR", - "name": "CWR" - } - ] + "type": "enum", + "members": { + "FIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FIN" + } + }, + "SYN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYN" + } + }, + "RST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RST" + } + }, + "PSH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PSH" + } + }, + "ACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACK" + } + }, + "URG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "URG" + } + }, + "ECE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECE" + } + }, + "CWR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CWR" + } + } } }, "com.amazonaws.networkfirewall#TCPFlagField": { @@ -4061,7 +4179,6 @@ "com.amazonaws.networkfirewall#TagsPaginationMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4069,18 +4186,20 @@ } }, "com.amazonaws.networkfirewall#TargetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TLS_SNI", - "name": "TLS_SNI" - }, - { - "value": "HTTP_HOST", - "name": "HTTP_HOST" - } - ] + "type": "enum", + "members": { + "TLS_SNI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TLS_SNI" + } + }, + "HTTP_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HTTP_HOST" + } + } } }, "com.amazonaws.networkfirewall#TargetTypes": { diff --git a/codegen/sdk/aws-models/networkmanager.json b/codegen/sdk/aws-models/networkmanager.json index 71dbc49159a..9e1e3cc04bf 100644 --- a/codegen/sdk/aws-models/networkmanager.json +++ b/codegen/sdk/aws-models/networkmanager.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -719,7 +719,10 @@ } }, "com.amazonaws.networkmanager#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.networkmanager#ChangeAction": { "type": "string", @@ -6976,10 +6979,7 @@ } }, "com.amazonaws.networkmanager#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.networkmanager#InternalServerException": { "type": "structure", @@ -7779,15 +7779,11 @@ } }, "com.amazonaws.networkmanager#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.networkmanager#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 @@ -7796,21 +7792,6 @@ }, "com.amazonaws.networkmanager#NetworkManager": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "NetworkManager", - "arnNamespace": "networkmanager", - "cloudFormationName": "NetworkManager", - "cloudTrailEventSource": "networkmanager.amazonaws.com", - "endpointPrefix": "networkmanager" - }, - "aws.auth#sigv4": { - "name": "networkmanager" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.

", - "smithy.api#title": "AWS Network Manager" - }, "version": "2019-07-05", "operations": [ { @@ -8068,7 +8049,22 @@ { "target": "com.amazonaws.networkmanager#UpdateVpcAttachment" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "NetworkManager", + "arnNamespace": "networkmanager", + "cloudFormationName": "NetworkManager", + "cloudTrailEventSource": "networkmanager.amazonaws.com", + "endpointPrefix": "networkmanager" + }, + "aws.auth#sigv4": { + "name": "networkmanager" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.

", + "smithy.api#title": "AWS Network Manager" + } }, "com.amazonaws.networkmanager#NetworkResource": { "type": "structure", @@ -8221,6 +8217,7 @@ "IsMiddlebox": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this is a middlebox appliance.

" } } @@ -9080,10 +9077,7 @@ } }, "com.amazonaws.networkmanager#RetryAfterSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.networkmanager#RouteAnalysis": { "type": "structure", @@ -9133,12 +9127,14 @@ "IncludeReturnPath": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to analyze the return path. The return path is not analyzed if the forward path\n analysis does not succeed.

" } }, "UseMiddleboxes": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to include the location of middlebox appliances in the route analysis.

" } }, @@ -9731,12 +9727,14 @@ "IncludeReturnPath": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to analyze the return path. The default is false.

" } }, "UseMiddleboxes": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to include the location of middlebox appliances in the route analysis.\n The default is false.

" } } @@ -11064,6 +11062,7 @@ "Ipv6Support": { "target": "com.amazonaws.networkmanager#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether IPv6 is supported.

" } } diff --git a/codegen/sdk/aws-models/nimble.json b/codegen/sdk/aws-models/nimble.json index f83bf01de31..df73f11350d 100644 --- a/codegen/sdk/aws-models/nimble.json +++ b/codegen/sdk/aws-models/nimble.json @@ -8801,4 +8801,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/opensearch.json b/codegen/sdk/aws-models/opensearch.json index 95f879c0ec2..e3a743acb0c 100644 --- a/codegen/sdk/aws-models/opensearch.json +++ b/codegen/sdk/aws-models/opensearch.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -366,24 +366,6 @@ }, "com.amazonaws.opensearch#AmazonOpenSearchService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "OpenSearch", - "arnNamespace": "es", - "cloudFormationName": "OpenSearch", - "cloudTrailEventSource": "opensearch.amazonaws.com", - "endpointPrefix": "es" - }, - "aws.auth#sigv4": { - "name": "es" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon OpenSearch Configuration Service\n

Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.

\n

For sample code that uses the configuration API, see the \n Amazon OpenSearch Service Developer Guide.\n The guide also contains \n sample\n code for sending signed HTTP requests to the OpenSearch APIs.\n

\n

The endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.\n

", - "smithy.api#title": "Amazon OpenSearch Service", - "smithy.api#xmlNamespace": { - "uri": "http://es.amazonaws.com/doc/2021-01-01/" - } - }, "version": "2021-01-01", "operations": [ { @@ -506,7 +488,25 @@ { "target": "com.amazonaws.opensearch#UpgradeDomain" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "OpenSearch", + "arnNamespace": "es", + "cloudFormationName": "OpenSearch", + "cloudTrailEventSource": "opensearch.amazonaws.com", + "endpointPrefix": "es" + }, + "aws.auth#sigv4": { + "name": "es" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon OpenSearch Configuration Service\n

Use the Amazon OpenSearch configuration API to create, configure, and manage Amazon OpenSearch Service domains.

\n

For sample code that uses the configuration API, see the \n Amazon OpenSearch Service Developer Guide.\n The guide also contains \n sample\n code for sending signed HTTP requests to the OpenSearch APIs.\n

\n

The endpoint for configuration service requests is region-specific: es.region.amazonaws.com.\n For example, es.us-east-1.amazonaws.com. For a current list of supported regions and endpoints,\n see Regions and Endpoints.\n

", + "smithy.api#title": "Amazon OpenSearch Service", + "smithy.api#xmlNamespace": { + "uri": "http://es.amazonaws.com/doc/2021-01-01/" + } + } }, "com.amazonaws.opensearch#AssociatePackage": { "type": "operation", @@ -830,6 +830,7 @@ "UpdateVersion": { "target": "com.amazonaws.opensearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latest version of the Auto-Tune options.

" } }, @@ -894,10 +895,7 @@ } }, "com.amazonaws.opensearch#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.opensearch#CancelServiceSoftwareUpdate": { "type": "operation", @@ -1074,6 +1072,7 @@ "TotalNumberOfStages": { "target": "com.amazonaws.opensearch#TotalNumberOfStages", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of stages required for the configuration change.

" } }, @@ -2039,6 +2038,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

" } }, @@ -2334,6 +2334,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

" } }, @@ -2489,6 +2490,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

" } }, @@ -2634,6 +2636,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits results to a maximum number of packages.

" } }, @@ -2714,6 +2717,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -2799,6 +2803,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set this value to limit the number of results returned. If not specified, defaults to 100.

", "smithy.api#httpQuery": "maxResults" } @@ -3425,16 +3430,10 @@ } }, "com.amazonaws.opensearch#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.opensearch#DryRun": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.opensearch#DryRunResults": { "type": "structure", @@ -3459,6 +3458,7 @@ "Value": { "target": "com.amazonaws.opensearch#DurationValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Integer to specify the value of a maintenance schedule duration. See \n Auto-Tune for Amazon OpenSearch Service\n for more information.\n

" } }, @@ -3476,6 +3476,7 @@ "com.amazonaws.opensearch#DurationValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Integer to specify the value of a maintenance schedule duration. See \n Auto-Tune for Amazon OpenSearch Service\n for more information.\n

", "smithy.api#range": { "min": 1, @@ -3777,6 +3778,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits results to a maximum number of package versions.

", "smithy.api#httpQuery": "maxResults" } @@ -3865,6 +3867,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -4084,6 +4087,7 @@ "com.amazonaws.opensearch#InstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of EC2 instances in the domain.

", "smithy.api#range": { "min": 1 @@ -4094,10 +4098,16 @@ "type": "structure", "members": { "MinimumInstanceCount": { - "target": "com.amazonaws.opensearch#MinimumInstanceCount" + "target": "com.amazonaws.opensearch#MinimumInstanceCount", + "traits": { + "smithy.api#default": 0 + } }, "MaximumInstanceCount": { - "target": "com.amazonaws.opensearch#MaximumInstanceCount" + "target": "com.amazonaws.opensearch#MaximumInstanceCount", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -4157,14 +4167,14 @@ } }, "com.amazonaws.opensearch#Integer": { - "type": "integer" - }, - "com.amazonaws.opensearch#IntegerClass": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.opensearch#IntegerClass": { + "type": "integer" + }, "com.amazonaws.opensearch#InternalException": { "type": "structure", "members": { @@ -4405,6 +4415,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits the results to a maximum number of domains.

", "smithy.api#httpQuery": "maxResults" } @@ -4492,6 +4503,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "maxResults" } }, @@ -4567,6 +4579,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Limits results to a maximum number of packages.

", "smithy.api#httpQuery": "maxResults" } @@ -4706,6 +4719,7 @@ "MaxResults": { "target": "com.amazonaws.opensearch#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Set this value to limit the number of results returned.\n Value must be greater than 10 or it won't be honored.\n

", "smithy.api#httpQuery": "maxResults" } @@ -4806,10 +4820,7 @@ } }, "com.amazonaws.opensearch#Long": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.opensearch#MasterUserOptions": { "type": "structure", @@ -4840,6 +4851,7 @@ "com.amazonaws.opensearch#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Set this value to limit the number of results returned.\n

", "smithy.api#range": { "max": 100 @@ -4849,6 +4861,7 @@ "com.amazonaws.opensearch#MaximumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Maximum number of instances that can be instantiated for a given InstanceType.\n

" } }, @@ -4864,6 +4877,7 @@ "com.amazonaws.opensearch#MinimumInstanceCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n Minimum number of instances that can be instantiated for a given InstanceType.\n

" } }, @@ -5365,6 +5379,7 @@ "UpdateVersion": { "target": "com.amazonaws.opensearch#UIntValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latest version of the entity.

" } }, @@ -5799,6 +5814,7 @@ "InstanceCount": { "target": "com.amazonaws.opensearch#InstanceCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of OpenSearch instances to reserve.

" } } @@ -6023,6 +6039,7 @@ "Duration": { "target": "com.amazonaws.opensearch#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds, for which the OpenSearch instance is reserved.

" } }, @@ -6047,6 +6064,7 @@ "InstanceCount": { "target": "com.amazonaws.opensearch#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of OpenSearch instances that have been reserved.

" } }, @@ -6097,6 +6115,7 @@ "Duration": { "target": "com.amazonaws.opensearch#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds, for which the offering will reserve the OpenSearch instance.

" } }, @@ -6759,11 +6778,15 @@ } }, "com.amazonaws.opensearch#TotalNumberOfStages": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.opensearch#UIntValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/opsworks.json b/codegen/sdk/aws-models/opsworks.json index 0ebcaf39410..77aa8487d04 100644 --- a/codegen/sdk/aws-models/opsworks.json +++ b/codegen/sdk/aws-models/opsworks.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -240,6 +240,9 @@ "input": { "target": "com.amazonaws.opsworks#AssignInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -276,6 +279,9 @@ "input": { "target": "com.amazonaws.opsworks#AssignVolumeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -311,6 +317,9 @@ "input": { "target": "com.amazonaws.opsworks#AssociateElasticIpRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -346,6 +355,9 @@ "input": { "target": "com.amazonaws.opsworks#AttachElasticLoadBalancerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -481,10 +493,7 @@ } }, "com.amazonaws.opsworks#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.opsworks#ChefConfiguration": { "type": "structure", @@ -2026,6 +2035,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteAppRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2055,6 +2067,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2096,6 +2111,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteLayerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2125,6 +2143,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteStackRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2154,6 +2175,9 @@ "input": { "target": "com.amazonaws.opsworks#DeleteUserProfileRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2354,6 +2378,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterEcsClusterRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2383,6 +2410,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterElasticIpRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2412,6 +2442,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2441,6 +2474,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterRdsDbInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -2470,6 +2506,9 @@ "input": { "target": "com.amazonaws.opsworks#DeregisterVolumeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -3478,6 +3517,9 @@ }, "com.amazonaws.opsworks#DescribeMyUserProfile": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.opsworks#DescribeMyUserProfileResult" }, @@ -3501,6 +3543,9 @@ }, "com.amazonaws.opsworks#DescribeOperatingSystems": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.opsworks#DescribeOperatingSystemsResponse" }, @@ -4041,6 +4086,9 @@ "input": { "target": "com.amazonaws.opsworks#DetachElasticLoadBalancerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -4074,6 +4122,9 @@ "input": { "target": "com.amazonaws.opsworks#DisassociateElasticIpRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -4099,10 +4150,7 @@ } }, "com.amazonaws.opsworks#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.opsworks#EbsBlockDevice": { "type": "structure", @@ -4842,10 +4890,7 @@ } }, "com.amazonaws.opsworks#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.opsworks#Layer": { "type": "structure", @@ -5217,6 +5262,7 @@ "MaxResults": { "target": "com.amazonaws.opsworks#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Do not use. A validation exception occurs if you add a MaxResults parameter to a ListTagsRequest call.\n

" } }, @@ -5287,12 +5333,14 @@ } }, "com.amazonaws.opsworks#MaxResults": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.opsworks#Minute": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5848,6 +5896,9 @@ "input": { "target": "com.amazonaws.opsworks#RebootInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6103,6 +6154,9 @@ "input": { "target": "com.amazonaws.opsworks#RegisterRdsDbInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6346,6 +6400,9 @@ "input": { "target": "com.amazonaws.opsworks#SetLoadBasedAutoScalingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6393,6 +6450,9 @@ "input": { "target": "com.amazonaws.opsworks#SetPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6447,6 +6507,9 @@ "input": { "target": "com.amazonaws.opsworks#SetTimeBasedAutoScalingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6827,6 +6890,9 @@ "input": { "target": "com.amazonaws.opsworks#StartInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6856,6 +6922,9 @@ "input": { "target": "com.amazonaws.opsworks#StartStackRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6885,6 +6954,9 @@ "input": { "target": "com.amazonaws.opsworks#StopInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6920,6 +6992,9 @@ "input": { "target": "com.amazonaws.opsworks#StopStackRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -6970,6 +7045,9 @@ "input": { "target": "com.amazonaws.opsworks#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7076,6 +7154,9 @@ "input": { "target": "com.amazonaws.opsworks#UnassignInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7105,6 +7186,9 @@ "input": { "target": "com.amazonaws.opsworks#UnassignVolumeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7134,6 +7218,9 @@ "input": { "target": "com.amazonaws.opsworks#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7170,6 +7257,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateAppRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7259,6 +7349,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateElasticIpRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7294,6 +7387,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7389,6 +7485,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateLayerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7514,6 +7613,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateMyUserProfileRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ValidationException" @@ -7539,6 +7641,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateRdsDbInstanceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7580,6 +7685,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateStackRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7711,6 +7819,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateUserProfileRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7758,6 +7869,9 @@ "input": { "target": "com.amazonaws.opsworks#UpdateVolumeRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.opsworks#ResourceNotFoundException" @@ -7841,7 +7955,6 @@ "com.amazonaws.opsworks#ValidForInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 1440 diff --git a/codegen/sdk/aws-models/opsworkscm.json b/codegen/sdk/aws-models/opsworkscm.json index 91f83b08ffc..199f8c74251 100644 --- a/codegen/sdk/aws-models/opsworkscm.json +++ b/codegen/sdk/aws-models/opsworkscm.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -317,7 +317,6 @@ "com.amazonaws.opsworkscm#BackupRetentionCountDefinition": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -368,10 +367,7 @@ } }, "com.amazonaws.opsworkscm#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.opsworkscm#CreateBackup": { "type": "operation", @@ -1223,10 +1219,7 @@ } }, "com.amazonaws.opsworkscm#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.opsworkscm#InvalidNextTokenException": { "type": "structure", @@ -1368,7 +1361,6 @@ "com.amazonaws.opsworkscm#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/organizations.json b/codegen/sdk/aws-models/organizations.json index 16da6e96a6d..ac1b1d11e52 100644 --- a/codegen/sdk/aws-models/organizations.json +++ b/codegen/sdk/aws-models/organizations.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -44,24 +44,6 @@ }, "com.amazonaws.organizations#AWSOrganizationsV20161128": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Organizations", - "arnNamespace": "organizations", - "cloudFormationName": "Organizations", - "cloudTrailEventSource": "organizations.amazonaws.com", - "endpointPrefix": "organizations" - }, - "aws.auth#sigv4": { - "name": "organizations" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Organizations is a web service that enables you to consolidate your multiple\n Amazon Web Services accounts into an organization and centrally manage your\n accounts and their resources.

\n

This guide provides descriptions of the Organizations operations. For more\n information about using this service, see the Organizations User Guide.

\n

\n Support and feedback for Organizations\n

\n

We welcome your feedback. Send your comments to feedback-awsorganizations@amazon.com or post your feedback and questions in\n the Organizations support forum. For\n more information about the Amazon Web Services support forums, see Forums Help.

\n

\n Endpoint to call When using the CLI or the Amazon Web Services\n SDK\n

\n

For the current release of Organizations, specify the us-east-1 region\n for all Amazon Web Services API and CLI calls made from the commercial Amazon Web Services Regions outside of\n China. If calling from one of the Amazon Web Services Regions in China, then specify\n cn-northwest-1. You can do this in the CLI by using these parameters\n and commands:

\n \n

\n Recording API Requests\n

\n

Organizations supports CloudTrail, a service that records Amazon Web Services API calls for your\n Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected\n by CloudTrail, you can determine which requests the Organizations service received, who made the\n request and when, and so on. For more about Organizations and its support for CloudTrail, see\n Logging\n Organizations Events with CloudTrail in the Organizations User Guide.\n To learn more about CloudTrail, including how to turn it on and find your log files, see the\n CloudTrail User Guide.

", - "smithy.api#title": "AWS Organizations", - "smithy.api#xmlNamespace": { - "uri": "http://organizations.amazonaws.com/doc/2016-11-28/" - } - }, "version": "2016-11-28", "operations": [ { @@ -220,7 +202,25 @@ { "target": "com.amazonaws.organizations#UpdatePolicy" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Organizations", + "arnNamespace": "organizations", + "cloudFormationName": "Organizations", + "cloudTrailEventSource": "organizations.amazonaws.com", + "endpointPrefix": "organizations" + }, + "aws.auth#sigv4": { + "name": "organizations" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Organizations is a web service that enables you to consolidate your multiple\n Amazon Web Services accounts into an organization and centrally manage your\n accounts and their resources.

\n

This guide provides descriptions of the Organizations operations. For more\n information about using this service, see the Organizations User Guide.

\n

\n Support and feedback for Organizations\n

\n

We welcome your feedback. Send your comments to feedback-awsorganizations@amazon.com or post your feedback and questions in\n the Organizations support forum. For\n more information about the Amazon Web Services support forums, see Forums Help.

\n

\n Endpoint to call When using the CLI or the Amazon Web Services\n SDK\n

\n

For the current release of Organizations, specify the us-east-1 region\n for all Amazon Web Services API and CLI calls made from the commercial Amazon Web Services Regions outside of\n China. If calling from one of the Amazon Web Services Regions in China, then specify\n cn-northwest-1. You can do this in the CLI by using these parameters\n and commands:

\n \n

\n Recording API Requests\n

\n

Organizations supports CloudTrail, a service that records Amazon Web Services API calls for your\n Amazon Web Services account and delivers log files to an Amazon S3 bucket. By using information collected\n by CloudTrail, you can determine which requests the Organizations service received, who made the\n request and when, and so on. For more about Organizations and its support for CloudTrail, see\n Logging\n Organizations Events with CloudTrail in the Organizations User Guide.\n To learn more about CloudTrail, including how to turn it on and find your log files, see the\n CloudTrail User Guide.

", + "smithy.api#title": "AWS Organizations", + "smithy.api#xmlNamespace": { + "uri": "http://organizations.amazonaws.com/doc/2016-11-28/" + } + } }, "com.amazonaws.organizations#AcceptHandshake": { "type": "operation", @@ -623,7 +623,10 @@ } }, "com.amazonaws.organizations#AwsManagedPolicy": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.organizations#CancelHandshake": { "type": "operation", @@ -4811,7 +4814,6 @@ "com.amazonaws.organizations#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -5295,6 +5297,7 @@ "AwsManaged": { "target": "com.amazonaws.organizations#AwsManagedPolicy", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that indicates whether the specified policy is an Amazon Web Services managed\n policy. If true, then you can attach the policy to roots, OUs, or accounts, but you\n cannot edit it.

" } } diff --git a/codegen/sdk/aws-models/outposts.json b/codegen/sdk/aws-models/outposts.json index d7fcac60cf7..6e5944f58db 100644 --- a/codegen/sdk/aws-models/outposts.json +++ b/codegen/sdk/aws-models/outposts.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -163,18 +163,20 @@ } }, "com.amazonaws.outposts#AddressType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHIPPING_ADDRESS", - "name": "SHIPPING_ADDRESS" - }, - { - "value": "OPERATING_ADDRESS", - "name": "OPERATING_ADDRESS" + "type": "enum", + "members": { + "SHIPPING_ADDRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHIPPING_ADDRESS" + } + }, + "OPERATING_ADDRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPERATING_ADDRESS" } - ] + } } }, "com.amazonaws.outposts#Arn": { @@ -255,15 +257,32 @@ "smithy.api#documentation": "

\n Information about the position of the asset in a rack. \n

" } }, + "com.amazonaws.outposts#AssetState": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "RETIRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETIRING" + } + } + } + }, "com.amazonaws.outposts#AssetType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COMPUTE", - "name": "COMPUTE" + "type": "enum", + "members": { + "COMPUTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPUTE" } - ] + } } }, "com.amazonaws.outposts#AvailabilityZone": { @@ -354,7 +373,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Cancels an order for an Outpost. \n

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

Cancels the specified order for an Outpost.

", "smithy.api#http": { "method": "POST", "uri": "/orders/{OrderId}/cancel", @@ -368,7 +387,7 @@ "OrderId": { "target": "com.amazonaws.outposts#OrderId", "traits": { - "smithy.api#documentation": "

\n The ID of the order to cancel.\n

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

\n The ID of the order.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -430,18 +449,20 @@ } }, "com.amazonaws.outposts#CatalogItemClass": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RACK", - "name": "RACK" - }, - { - "value": "SERVER", - "name": "SERVER" + "type": "enum", + "members": { + "RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RACK" + } + }, + "SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER" } - ] + } } }, "com.amazonaws.outposts#CatalogItemClassList": { @@ -457,31 +478,27 @@ } }, "com.amazonaws.outposts#CatalogItemPowerKva": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.outposts#CatalogItemStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AVAILABLE", - "name": "AVAILABLE" - }, - { - "value": "DISCONTINUED", - "name": "DISCONTINUED" + "type": "enum", + "members": { + "AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AVAILABLE" } - ] + }, + "DISCONTINUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISCONTINUED" + } + } } }, "com.amazonaws.outposts#CatalogItemWeightLbs": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.outposts#City": { "type": "string", @@ -499,13 +516,42 @@ "target": "com.amazonaws.outposts#City" } }, + "com.amazonaws.outposts#ComputeAssetState": { + "type": "enum", + "members": { + "ACTIVE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE" + } + }, + "ISOLATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ISOLATED" + } + }, + "RETIRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETIRING" + } + } + } + }, "com.amazonaws.outposts#ComputeAttributes": { "type": "structure", "members": { "HostId": { "target": "com.amazonaws.outposts#HostId", "traits": { - "smithy.api#documentation": "

\n The host ID of any Dedicated Hosts on the asset.\n

" + "smithy.api#documentation": "

\n The host ID of the Dedicated Host on the asset.\n

" + } + }, + "State": { + "target": "com.amazonaws.outposts#ComputeAssetState", + "traits": { + "smithy.api#documentation": "

The state.

\n " } } }, @@ -685,14 +731,14 @@ "PaymentOption": { "target": "com.amazonaws.outposts#PaymentOption", "traits": { - "smithy.api#documentation": "

The payment option for the order.

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

The payment option.

", "smithy.api#required": {} } }, "PaymentTerm": { "target": "com.amazonaws.outposts#PaymentTerm", "traits": { - "smithy.api#documentation": "

The payment terms for the order.

" + "smithy.api#documentation": "

The payment terms.

" } } } @@ -737,7 +783,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates an Outpost.

\n

You can specify AvailabilityZone or AvailabilityZoneId.

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

Creates an Outpost.

\n

You can specify either an Availability one or an AZ ID.

", "smithy.api#http": { "method": "POST", "uri": "/outposts", @@ -760,7 +806,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", "smithy.api#required": {} } }, @@ -904,7 +950,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the Outpost.

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

Deletes the specified Outpost.

", "smithy.api#http": { "method": "DELETE", "uri": "/outposts/{OutpostId}", @@ -918,7 +964,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -955,7 +1001,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the site.

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

Deletes the specified site.

", "smithy.api#http": { "method": "DELETE", "uri": "/sites/{SiteId}", @@ -969,7 +1015,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1059,18 +1105,20 @@ } }, "com.amazonaws.outposts#FiberOpticCableType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SINGLE_MODE", - "name": "SINGLE_MODE" - }, - { - "value": "MULTI_MODE", - "name": "MULTI_MODE" + "type": "enum", + "members": { + "SINGLE_MODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_MODE" + } + }, + "MULTI_MODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MULTI_MODE" } - ] + } } }, "com.amazonaws.outposts#GetCatalogItem": { @@ -1093,7 +1141,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a catalog item.

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

Gets information about the specified catalog item.

", "smithy.api#http": { "method": "GET", "uri": "/catalog/item/{CatalogItemId}", @@ -1148,7 +1196,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

\n Amazon Web Services uses this action to install Outpost servers.

\n
\n

\n Gets information about a specified connection.\n

\n

\n Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For \n more information, see \n Amazon Web Services managed policies for Amazon Web Services Outposts and \n Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.\n

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

\n Amazon Web Services uses this action to install Outpost servers.

\n
\n

\n Gets information about the specified connection.\n

\n

\n Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For \n more information, see \n Amazon Web Services managed policies for Amazon Web Services Outposts and \n Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.\n

", "smithy.api#http": { "method": "GET", "uri": "/connections/{ConnectionId}", @@ -1162,7 +1210,7 @@ "ConnectionId": { "target": "com.amazonaws.outposts#ConnectionId", "traits": { - "smithy.api#documentation": "

\n The ID of the connection you request.\n

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

\n The ID of the connection.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1175,13 +1223,13 @@ "ConnectionId": { "target": "com.amazonaws.outposts#ConnectionId", "traits": { - "smithy.api#documentation": "

\n The ID of the connection you receive.\n

" + "smithy.api#documentation": "

\n The ID of the connection.\n

" } }, "ConnectionDetails": { "target": "com.amazonaws.outposts#ConnectionDetails", "traits": { - "smithy.api#documentation": "

\n Information about a connection.\n

" + "smithy.api#documentation": "

\n Information about the connection.\n

" } } } @@ -1206,7 +1254,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets an order.

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

Gets information about the specified order.

", "smithy.api#http": { "method": "GET", "uri": "/orders/{OrderId}", @@ -1272,7 +1320,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1321,7 +1369,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1352,7 +1400,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID of the Outpost.\n

" } }, "OutpostArn": { @@ -1391,7 +1439,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Gets information about the specified Outpost site.\n

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

Gets information about the specified Outpost site.

", "smithy.api#http": { "method": "GET", "uri": "/sites/{SiteId}", @@ -1422,7 +1470,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Gets the site address.\n

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

\n Gets the site address of the specified site.\n

", "smithy.api#http": { "method": "GET", "uri": "/sites/{SiteId}/address", @@ -1436,7 +1484,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1444,7 +1492,7 @@ "AddressType": { "target": "com.amazonaws.outposts#AddressType", "traits": { - "smithy.api#documentation": "

The type of the address you request.

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

The type of the address you request.

", "smithy.api#httpQuery": "AddressType", "smithy.api#required": {} } @@ -1460,7 +1508,7 @@ "AddressType": { "target": "com.amazonaws.outposts#AddressType", "traits": { - "smithy.api#documentation": "

The type of the address you receive.

" + "smithy.api#documentation": "

The type of the address you receive.

" } }, "Address": { @@ -1477,7 +1525,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1591,6 +1639,7 @@ "Quantity": { "target": "com.amazonaws.outposts#LineItemQuantity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The quantity of the line item.

" } }, @@ -1629,7 +1678,7 @@ "MacAddressList": { "target": "com.amazonaws.outposts#MacAddressList", "traits": { - "smithy.api#documentation": "

\n MAC addresses of the asset.\n

" + "smithy.api#documentation": "

\n The MAC addresses of the asset.\n

" } } }, @@ -1658,6 +1707,7 @@ "com.amazonaws.outposts#LineItemQuantity": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 20 @@ -1676,6 +1726,7 @@ "Quantity": { "target": "com.amazonaws.outposts#LineItemQuantity", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The quantity of a line item request.

" } } @@ -1697,42 +1748,56 @@ } }, "com.amazonaws.outposts#LineItemStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PREPARING", - "name": "PREPARING" - }, - { - "value": "BUILDING", - "name": "BUILDING" - }, - { - "value": "SHIPPED", - "name": "SHIPPED" - }, - { - "value": "DELIVERED", - "name": "DELIVERED" - }, - { - "value": "INSTALLING", - "name": "INSTALLING" - }, - { - "value": "INSTALLED", - "name": "INSTALLED" - }, - { - "value": "ERROR", - "name": "ERROR" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - } - ] + "type": "enum", + "members": { + "PREPARING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREPARING" + } + }, + "BUILDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BUILDING" + } + }, + "SHIPPED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHIPPED" + } + }, + "DELIVERED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELIVERED" + } + }, + "INSTALLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLING" + } + }, + "INSTALLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + } } }, "com.amazonaws.outposts#LineItemStatusCounts": { @@ -1767,7 +1832,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on \n Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware\n assets that allocate resources for Dedicated Hosts. \n

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

Lists the hardware assets for the specified Outpost.

\n

Use filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.

", "smithy.api#http": { "method": "GET", "uri": "/outposts/{OutpostIdentifier}/assets", @@ -1794,7 +1859,7 @@ "HostIdFilter": { "target": "com.amazonaws.outposts#HostIdList", "traits": { - "smithy.api#documentation": "

\n A filter for the host ID of Dedicated Hosts on the Outpost.\n

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by the host ID of a Dedicated Host.

", "smithy.api#httpQuery": "HostIdFilter" } }, @@ -1809,6 +1874,13 @@ "traits": { "smithy.api#httpQuery": "NextToken" } + }, + "StatusFilter": { + "target": "com.amazonaws.outposts#StatusList", + "traits": { + "smithy.api#documentation": "

Filters the results by state.

", + "smithy.api#httpQuery": "StatusFilter" + } } } }, @@ -1818,7 +1890,7 @@ "Assets": { "target": "com.amazonaws.outposts#AssetListDefinition", "traits": { - "smithy.api#documentation": "

\n Information about hardware assets. \n

" + "smithy.api#documentation": "

Information about the hardware assets.

" } }, "NextToken": { @@ -1846,7 +1918,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the items in the catalog. Add filters to your request to return a\n more specific list of results. Use filters to match an item class, storage\n option, or EC2 family.

\n

If you specify multiple filters, the filters are joined with an AND, and\n the request returns only results that match all of the specified filters.

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

Lists the items in the catalog.

\n

Use filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.

", "smithy.api#http": { "method": "GET", "uri": "/catalog/items", @@ -1877,21 +1949,21 @@ "ItemClassFilter": { "target": "com.amazonaws.outposts#CatalogItemClassList", "traits": { - "smithy.api#documentation": "

\n A filter for the class of items in the catalog.\n

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by item class.

", "smithy.api#httpQuery": "ItemClassFilter" } }, "SupportedStorageFilter": { "target": "com.amazonaws.outposts#SupportedStorageList", "traits": { - "smithy.api#documentation": "

\n A filter for the storage options of items in the catalog.\n

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by storage option.

", "smithy.api#httpQuery": "SupportedStorageFilter" } }, "EC2FamilyFilter": { "target": "com.amazonaws.outposts#EC2FamilyList", "traits": { - "smithy.api#documentation": "

\n A filter for EC2 family options for items in the catalog.\n

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by EC2 family (for example, M5).

", "smithy.api#httpQuery": "EC2FamilyFilter" } } @@ -1934,7 +2006,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to \n return a more specific list of results.

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

Lists the Outpost orders for your Amazon Web Services account.

", "smithy.api#http": { "method": "GET", "uri": "/list-orders", @@ -2005,7 +2077,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the Outposts for your Amazon Web Services account. Add filters to your request to return\n a more specific list of results. Use filters to match an Outpost lifecycle status,\n Availability Zone (us-east-1a), and AZ ID (use1-az1).

\n \n

If you specify multiple filters, the filters are joined with an AND, and the request returns only \n results that match all of the specified filters.

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

Lists the Outposts for your Amazon Web Services account.

\n

Use filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.

", "smithy.api#http": { "method": "GET", "uri": "/outposts", @@ -2036,21 +2108,21 @@ "LifeCycleStatusFilter": { "target": "com.amazonaws.outposts#LifeCycleStatusList", "traits": { - "smithy.api#documentation": "

\n A filter for the lifecycle status of the Outpost. \n

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by the lifecycle status.

", "smithy.api#httpQuery": "LifeCycleStatusFilter" } }, "AvailabilityZoneFilter": { "target": "com.amazonaws.outposts#AvailabilityZoneList", "traits": { - "smithy.api#documentation": "

A filter for the Availability Zone (us-east-1a) of the Outpost.

\n \n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by Availability Zone (for example, us-east-1a).

", "smithy.api#httpQuery": "AvailabilityZoneFilter" } }, "AvailabilityZoneIdFilter": { "target": "com.amazonaws.outposts#AvailabilityZoneIdList", "traits": { - "smithy.api#documentation": "

\n A filter for the AZ IDs (use1-az1) of the Outpost.\n

\n \n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by AZ ID (for example, use1-az1).

", "smithy.api#httpQuery": "AvailabilityZoneIdFilter" } } @@ -2087,7 +2159,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to\n return a more specific list of results. Use filters to match site city, country code, or state/region of the \n operating address.

\n \n

If you specify multiple filters, the filters are joined with an AND, and the request returns only \n results that match all of the specified filters.

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

Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific results.

\n

Use filters to return specific results. If you specify multiple filters, the results include only the resources that match \n all of the specified filters. For a filter where you can specify multiple values, the results include \n items that match any of the values that you specify for the filter.

", "smithy.api#http": { "method": "GET", "uri": "/sites", @@ -2118,21 +2190,21 @@ "OperatingAddressCountryCodeFilter": { "target": "com.amazonaws.outposts#CountryCodeList", "traits": { - "smithy.api#documentation": "

A filter for the country code of the Outpost site.

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by country code.

", "smithy.api#httpQuery": "OperatingAddressCountryCodeFilter" } }, "OperatingAddressStateOrRegionFilter": { "target": "com.amazonaws.outposts#StateOrRegionList", "traits": { - "smithy.api#documentation": "

A filter for the state/region of the Outpost site.

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by state or region.

", "smithy.api#httpQuery": "OperatingAddressStateOrRegionFilter" } }, "OperatingAddressCityFilter": { "target": "com.amazonaws.outposts#CityList", "traits": { - "smithy.api#documentation": "

\n A filter for the city of the Outpost site. \n

\n

Filter values are case sensitive. If you specify multiple \n values for a filter, the values are joined with an OR, and the request returns \n all results that match any of the specified values.

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

Filters the results by city.

", "smithy.api#httpQuery": "OperatingAddressCityFilter" } } @@ -2220,7 +2292,6 @@ "com.amazonaws.outposts#MaxResults1000": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

The maximum page size.

", "smithy.api#range": { "min": 1, @@ -2232,30 +2303,38 @@ "type": "string" }, "com.amazonaws.outposts#MaximumSupportedWeightLbs": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NO_LIMIT", - "name": "NO_LIMIT" - }, - { - "value": "MAX_1400_LBS", - "name": "MAX_1400_LBS" - }, - { - "value": "MAX_1600_LBS", - "name": "MAX_1600_LBS" - }, - { - "value": "MAX_1800_LBS", - "name": "MAX_1800_LBS" - }, - { - "value": "MAX_2000_LBS", - "name": "MAX_2000_LBS" - } - ] + "type": "enum", + "members": { + "NO_LIMIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_LIMIT" + } + }, + "MAX_1400_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_1400_LBS" + } + }, + "MAX_1600_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_1600_LBS" + } + }, + "MAX_1800_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_1800_LBS" + } + }, + "MAX_2000_LBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MAX_2000_LBS" + } + } } }, "com.amazonaws.outposts#Municipality": { @@ -2271,6 +2350,7 @@ "com.amazonaws.outposts#NetworkInterfaceDeviceIndex": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -2291,62 +2371,86 @@ } }, "com.amazonaws.outposts#OpticalStandard": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OPTIC_10GBASE_SR", - "name": "OPTIC_10GBASE_SR" - }, - { - "value": "OPTIC_10GBASE_IR", - "name": "OPTIC_10GBASE_IR" - }, - { - "value": "OPTIC_10GBASE_LR", - "name": "OPTIC_10GBASE_LR" - }, - { - "value": "OPTIC_40GBASE_SR", - "name": "OPTIC_40GBASE_SR" - }, - { - "value": "OPTIC_40GBASE_ESR", - "name": "OPTIC_40GBASE_ESR" - }, - { - "value": "OPTIC_40GBASE_IR4_LR4L", - "name": "OPTIC_40GBASE_IR4_LR4L" - }, - { - "value": "OPTIC_40GBASE_LR4", - "name": "OPTIC_40GBASE_LR4" - }, - { - "value": "OPTIC_100GBASE_SR4", - "name": "OPTIC_100GBASE_SR4" - }, - { - "value": "OPTIC_100GBASE_CWDM4", - "name": "OPTIC_100GBASE_CWDM4" - }, - { - "value": "OPTIC_100GBASE_LR4", - "name": "OPTIC_100GBASE_LR4" - }, - { - "value": "OPTIC_100G_PSM4_MSA", - "name": "OPTIC_100G_PSM4_MSA" - }, - { - "value": "OPTIC_1000BASE_LX", - "name": "OPTIC_1000BASE_LX" - }, - { - "value": "OPTIC_1000BASE_SX", - "name": "OPTIC_1000BASE_SX" - } - ] + "type": "enum", + "members": { + "OPTIC_10GBASE_SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_10GBASE_SR" + } + }, + "OPTIC_10GBASE_IR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_10GBASE_IR" + } + }, + "OPTIC_10GBASE_LR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_10GBASE_LR" + } + }, + "OPTIC_40GBASE_SR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_SR" + } + }, + "OPTIC_40GBASE_ESR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_ESR" + } + }, + "OPTIC_40GBASE_IR4_LR4L": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_IR4_LR4L" + } + }, + "OPTIC_40GBASE_LR4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_40GBASE_LR4" + } + }, + "OPTIC_100GBASE_SR4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100GBASE_SR4" + } + }, + "OPTIC_100GBASE_CWDM4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100GBASE_CWDM4" + } + }, + "OPTIC_100GBASE_LR4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100GBASE_LR4" + } + }, + "OPTIC_100G_PSM4_MSA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_100G_PSM4_MSA" + } + }, + "OPTIC_1000BASE_LX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_1000BASE_LX" + } + }, + "OPTIC_1000BASE_SX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OPTIC_1000BASE_SX" + } + } } }, "com.amazonaws.outposts#Order": { @@ -2367,7 +2471,7 @@ "Status": { "target": "com.amazonaws.outposts#OrderStatus", "traits": { - "smithy.api#documentation": "

The status of the order.

\n \n \n \n

The following status are deprecated: RECEIVED, PENDING,\n PROCESSING, INSTALLING, and FULFILLED.

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

The status of the order.

\n \n \n \n

The following status are deprecated: RECEIVED, PENDING,\n PROCESSING, INSTALLING, and FULFILLED.

\n
" } }, "LineItems": { @@ -2410,50 +2514,68 @@ } }, "com.amazonaws.outposts#OrderStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RECEIVED", - "name": "RECEIVED" - }, - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "PROCESSING", - "name": "PROCESSING" - }, - { - "value": "INSTALLING", - "name": "INSTALLING" - }, - { - "value": "FULFILLED", - "name": "FULFILLED" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - }, - { - "value": "PREPARING", - "name": "PREPARING" - }, - { - "value": "IN_PROGRESS", - "name": "IN_PROGRESS" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "ERROR", - "name": "ERROR" - } - ] + "type": "enum", + "members": { + "RECEIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RECEIVED" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "PROCESSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROCESSING" + } + }, + "INSTALLING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLING" + } + }, + "FULFILLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULFILLED" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + }, + "PREPARING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PREPARING" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IN_PROGRESS" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ERROR" + } + } } }, "com.amazonaws.outposts#OrderSummary": { @@ -2492,13 +2614,13 @@ "OrderSubmissionDate": { "target": "com.amazonaws.outposts#ISO8601Timestamp", "traits": { - "smithy.api#documentation": "

\n Submission date for the order. \n

" + "smithy.api#documentation": "

\n The submission date for the order. \n

" } }, "OrderFulfilledDate": { "target": "com.amazonaws.outposts#ISO8601Timestamp", "traits": { - "smithy.api#documentation": "

\n Fulfilment date for the order.\n

" + "smithy.api#documentation": "

\n The fulfilment date for the order.\n

" } } }, @@ -2513,18 +2635,20 @@ } }, "com.amazonaws.outposts#OrderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OUTPOST", - "name": "OUTPOST" - }, - { - "value": "REPLACEMENT", - "name": "REPLACEMENT" + "type": "enum", + "members": { + "OUTPOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOST" + } + }, + "REPLACEMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REPLACEMENT" } - ] + } } }, "com.amazonaws.outposts#Outpost": { @@ -2645,21 +2769,6 @@ }, "com.amazonaws.outposts#OutpostsOlafService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Outposts", - "arnNamespace": "outposts", - "cloudFormationName": "Outposts", - "cloudTrailEventSource": "outposts.amazonaws.com", - "endpointPrefix": "outposts" - }, - "aws.auth#sigv4": { - "name": "outposts" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools\n to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts\n enables customers to build and run applications on premises using the same programming\n interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower\n latency and local data processing needs.

", - "smithy.api#title": "AWS Outposts" - }, "version": "2019-12-03", "operations": [ { @@ -2740,7 +2849,22 @@ { "target": "com.amazonaws.outposts#UpdateSiteRackPhysicalProperties" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Outposts", + "arnNamespace": "outposts", + "cloudFormationName": "Outposts", + "cloudTrailEventSource": "outposts.amazonaws.com", + "endpointPrefix": "outposts" + }, + "aws.auth#sigv4": { + "name": "outposts" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools\n to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts\n enables customers to build and run applications on premises using the same programming\n interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower\n latency and local data processing needs.

", + "smithy.api#title": "AWS Outposts" + } }, "com.amazonaws.outposts#OwnerId": { "type": "string", @@ -2754,33 +2878,43 @@ } }, "com.amazonaws.outposts#PaymentOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALL_UPFRONT", - "name": "ALL_UPFRONT" - }, - { - "value": "NO_UPFRONT", - "name": "NO_UPFRONT" - }, - { - "value": "PARTIAL_UPFRONT", - "name": "PARTIAL_UPFRONT" + "type": "enum", + "members": { + "ALL_UPFRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL_UPFRONT" + } + }, + "NO_UPFRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NO_UPFRONT" + } + }, + "PARTIAL_UPFRONT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARTIAL_UPFRONT" } - ] + } } }, "com.amazonaws.outposts#PaymentTerm": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "THREE_YEARS", - "name": "THREE_YEARS" + "type": "enum", + "members": { + "THREE_YEARS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THREE_YEARS" + } + }, + "ONE_YEAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONE_YEAR" } - ] + } } }, "com.amazonaws.outposts#PostalCode": { @@ -2794,75 +2928,89 @@ } }, "com.amazonaws.outposts#PowerConnector": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "L6_30P", - "name": "L6_30P" - }, - { - "value": "IEC309", - "name": "IEC309" - }, - { - "value": "AH530P7W", - "name": "AH530P7W" - }, - { - "value": "AH532P6W", - "name": "AH532P6W" - } - ] + "type": "enum", + "members": { + "L6_30P": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "L6_30P" + } + }, + "IEC309": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IEC309" + } + }, + "AH530P7W": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AH530P7W" + } + }, + "AH532P6W": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AH532P6W" + } + } } }, "com.amazonaws.outposts#PowerDrawKva": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "POWER_5_KVA", - "name": "POWER_5_KVA" - }, - { - "value": "POWER_10_KVA", - "name": "POWER_10_KVA" - }, - { - "value": "POWER_15_KVA", - "name": "POWER_15_KVA" + "type": "enum", + "members": { + "POWER_5_KVA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWER_5_KVA" + } + }, + "POWER_10_KVA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWER_10_KVA" } - ] + }, + "POWER_15_KVA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POWER_15_KVA" + } + } } }, "com.amazonaws.outposts#PowerFeedDrop": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ABOVE_RACK", - "name": "ABOVE_RACK" - }, - { - "value": "BELOW_RACK", - "name": "BELOW_RACK" + "type": "enum", + "members": { + "ABOVE_RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ABOVE_RACK" + } + }, + "BELOW_RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BELOW_RACK" } - ] + } } }, "com.amazonaws.outposts#PowerPhase": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SINGLE_PHASE", - "name": "SINGLE_PHASE" - }, - { - "value": "THREE_PHASE", - "name": "THREE_PHASE" + "type": "enum", + "members": { + "SINGLE_PHASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_PHASE" + } + }, + "THREE_PHASE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "THREE_PHASE" } - ] + } } }, "com.amazonaws.outposts#Quantity": { @@ -2871,7 +3019,6 @@ "com.amazonaws.outposts#RackElevation": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 99 @@ -2951,18 +3098,20 @@ } }, "com.amazonaws.outposts#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OUTPOST", - "name": "OUTPOST" - }, - { - "value": "ORDER", - "name": "ORDER" + "type": "enum", + "members": { + "OUTPOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTPOST" + } + }, + "ORDER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORDER" } - ] + } } }, "com.amazonaws.outposts#ServerEndpoint": { @@ -2989,26 +3138,32 @@ } }, "com.amazonaws.outposts#ShipmentCarrier": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DHL", - "name": "DHL" - }, - { - "value": "DBS", - "name": "DBS" - }, - { - "value": "FEDEX", - "name": "FEDEX" - }, - { - "value": "UPS", - "name": "UPS" - } - ] + "type": "enum", + "members": { + "DHL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DHL" + } + }, + "DBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DBS" + } + }, + "FEDEX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FEDEX" + } + }, + "UPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPS" + } + } } }, "com.amazonaws.outposts#ShipmentInformation": { @@ -3115,7 +3270,7 @@ "com.amazonaws.outposts#SiteId": { "type": "string", "traits": { - "smithy.api#documentation": "

\n The ID of the site.\n

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

The ID of the site.

", "smithy.api#length": { "min": 1, "max": 255 @@ -3212,6 +3367,7 @@ "NetworkInterfaceDeviceIndex": { "target": "com.amazonaws.outposts#NetworkInterfaceDeviceIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The device index of the network interface on the Outpost server.\n

", "smithy.api#required": {} } @@ -3251,6 +3407,18 @@ "target": "com.amazonaws.outposts#StateOrRegion" } }, + "com.amazonaws.outposts#StatusList": { + "type": "list", + "member": { + "target": "com.amazonaws.outposts#AssetState" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2 + } + } + }, "com.amazonaws.outposts#String": { "type": "string", "traits": { @@ -3262,33 +3430,37 @@ } }, "com.amazonaws.outposts#SupportedHardwareType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RACK", - "name": "RACK" - }, - { - "value": "SERVER", - "name": "SERVER" + "type": "enum", + "members": { + "RACK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RACK" + } + }, + "SERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVER" } - ] + } } }, "com.amazonaws.outposts#SupportedStorageEnum": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EBS", - "name": "EBS" - }, - { - "value": "S3", - "name": "S3" + "type": "enum", + "members": { + "EBS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EBS" + } + }, + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" } - ] + } } }, "com.amazonaws.outposts#SupportedStorageList": { @@ -3298,7 +3470,10 @@ } }, "com.amazonaws.outposts#SupportedUplinkGbps": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.outposts#SupportedUplinkGbpsListDefinition": { "type": "list", @@ -3529,7 +3704,7 @@ "OutpostId": { "target": "com.amazonaws.outposts#OutpostId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the Outpost.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3582,7 +3757,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Updates the site. \n

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

Updates the specified site.

", "smithy.api#http": { "method": "PATCH", "uri": "/sites/{SiteId}", @@ -3616,7 +3791,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Updates the site address. \n

\n

\n To update a site address\n with an order IN_PROGRESS, you must wait for the order \n to complete or cancel the order. \n

\n

You \n can update the operating address before you place an order at the \n site, or after all Outposts that belong to the site have been deactivated.\n

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

Updates the address of the specified site.

\n

You can't update a site address if there is an order in progress. You must wait for the order \n to complete or cancel the order.

\n

You can update the operating address before you place an order at the \n site, or after all Outposts that belong to the site have been deactivated.

", "smithy.api#http": { "method": "PUT", "uri": "/sites/{SiteId}/address", @@ -3630,7 +3805,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3674,7 +3849,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3688,7 +3863,7 @@ "Notes": { "target": "com.amazonaws.outposts#SiteNotes", "traits": { - "smithy.api#documentation": "

\n Notes about a site.\n

" + "smithy.api#documentation": "

Notes about a site.

" } } } @@ -3741,7 +3916,7 @@ "SiteId": { "target": "com.amazonaws.outposts#SiteId", "traits": { - "smithy.api#documentation": "

\n The ID or the Amazon Resource Name (ARN) of the site.\n

\n \n

In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and\n sites throughout the Outposts Query API. To address backwards compatibility, the parameter names\n OutpostID or SiteID remain in use. Despite the parameter name, \n you can make the request with an ARN.

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

\n The ID or the Amazon Resource Name (ARN) of the site.\n

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -3749,31 +3924,31 @@ "PowerDrawKva": { "target": "com.amazonaws.outposts#PowerDrawKva", "traits": { - "smithy.api#documentation": "

Specify in kVA the power draw available at the hardware placement position for the\n rack.

" + "smithy.api#documentation": "

The power draw, in kVA, available at the hardware placement position for the\n rack.

" } }, "PowerPhase": { "target": "com.amazonaws.outposts#PowerPhase", "traits": { - "smithy.api#documentation": "

Specify the power option that you can provide for hardware.

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

The power option that you can provide for hardware.

\n " } }, "PowerConnector": { "target": "com.amazonaws.outposts#PowerConnector", "traits": { - "smithy.api#documentation": "

Specify the power connector that Amazon Web Services should plan to provide for connections to the\n hardware. Note the correlation between PowerPhase and\n PowerConnector.

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

The power connector that Amazon Web Services should plan to provide for connections to the\n hardware. Note the correlation between PowerPhase and\n PowerConnector.

\n " } }, "PowerFeedDrop": { "target": "com.amazonaws.outposts#PowerFeedDrop", "traits": { - "smithy.api#documentation": "

Specify whether the power feed comes above or below the rack.

" + "smithy.api#documentation": "

Indicates whether the power feed comes above or below the rack.

" } }, "UplinkGbps": { "target": "com.amazonaws.outposts#UplinkGbps", "traits": { - "smithy.api#documentation": "

Specify the uplink speed the rack should support for the connection to the Region.\n

" + "smithy.api#documentation": "

The uplink speed the rack should support for the connection to the Region.\n

" } }, "UplinkCount": { @@ -3785,19 +3960,19 @@ "FiberOpticCableType": { "target": "com.amazonaws.outposts#FiberOpticCableType", "traits": { - "smithy.api#documentation": "

Specify the type of fiber that you will use to attach the Outpost to your network.\n

" + "smithy.api#documentation": "

The type of fiber that you will use to attach the Outpost to your network.\n

" } }, "OpticalStandard": { "target": "com.amazonaws.outposts#OpticalStandard", "traits": { - "smithy.api#documentation": "

Specify the type of optical standard that you will use to attach the Outpost to your\n network. This field is dependent on uplink speed, fiber type, and distance to the upstream\n device. For more information\n about networking requirements for racks, see Network \n in the Amazon Web Services Outposts User Guide.\n

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

The type of optical standard that you will use to attach the Outpost to your\n network. This field is dependent on uplink speed, fiber type, and distance to the upstream\n device. For more information\n about networking requirements for racks, see Network \n in the Amazon Web Services Outposts User Guide.\n

\n " } }, "MaximumSupportedWeightLbs": { "target": "com.amazonaws.outposts#MaximumSupportedWeightLbs", "traits": { - "smithy.api#documentation": "

Specify the maximum rack weight that this site can support. NO_LIMIT is over\n 2000lbs.

" + "smithy.api#documentation": "

The maximum rack weight that this site can support. NO_LIMIT is over\n 2000lbs.

" } } } @@ -3811,73 +3986,97 @@ } }, "com.amazonaws.outposts#UplinkCount": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UPLINK_COUNT_1", - "name": "UPLINK_COUNT_1" - }, - { - "value": "UPLINK_COUNT_2", - "name": "UPLINK_COUNT_2" - }, - { - "value": "UPLINK_COUNT_3", - "name": "UPLINK_COUNT_3" - }, - { - "value": "UPLINK_COUNT_4", - "name": "UPLINK_COUNT_4" - }, - { - "value": "UPLINK_COUNT_5", - "name": "UPLINK_COUNT_5" - }, - { - "value": "UPLINK_COUNT_6", - "name": "UPLINK_COUNT_6" - }, - { - "value": "UPLINK_COUNT_7", - "name": "UPLINK_COUNT_7" - }, - { - "value": "UPLINK_COUNT_8", - "name": "UPLINK_COUNT_8" - }, - { - "value": "UPLINK_COUNT_12", - "name": "UPLINK_COUNT_12" - }, - { - "value": "UPLINK_COUNT_16", - "name": "UPLINK_COUNT_16" - } - ] + "type": "enum", + "members": { + "UPLINK_COUNT_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_1" + } + }, + "UPLINK_COUNT_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_2" + } + }, + "UPLINK_COUNT_3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_3" + } + }, + "UPLINK_COUNT_4": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_4" + } + }, + "UPLINK_COUNT_5": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_5" + } + }, + "UPLINK_COUNT_6": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_6" + } + }, + "UPLINK_COUNT_7": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_7" + } + }, + "UPLINK_COUNT_8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_8" + } + }, + "UPLINK_COUNT_12": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_12" + } + }, + "UPLINK_COUNT_16": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_COUNT_16" + } + } } }, "com.amazonaws.outposts#UplinkGbps": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "UPLINK_1G", - "name": "UPLINK_1G" - }, - { - "value": "UPLINK_10G", - "name": "UPLINK_10G" - }, - { - "value": "UPLINK_40G", - "name": "UPLINK_40G" - }, - { - "value": "UPLINK_100G", - "name": "UPLINK_100G" - } - ] + "type": "enum", + "members": { + "UPLINK_1G": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_1G" + } + }, + "UPLINK_10G": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_10G" + } + }, + "UPLINK_40G": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_40G" + } + }, + "UPLINK_100G": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPLINK_100G" + } + } } }, "com.amazonaws.outposts#ValidationException": { diff --git a/codegen/sdk/aws-models/panorama.json b/codegen/sdk/aws-models/panorama.json index 324bda057e8..627ba062553 100644 --- a/codegen/sdk/aws-models/panorama.json +++ b/codegen/sdk/aws-models/panorama.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.panorama#AccessDeniedException": { "type": "structure", @@ -226,7 +226,10 @@ } }, "com.amazonaws.panorama#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.panorama#Bucket": { "type": "string" @@ -897,6 +900,7 @@ "ForceDelete": { "target": "com.amazonaws.panorama#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from\n Amazon S3.

", "smithy.api#httpQuery": "ForceDelete" } @@ -2124,6 +2128,7 @@ "IsLatestPatch": { "target": "com.amazonaws.panorama#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the version is the latest available.

", "smithy.api#required": {} } @@ -2581,6 +2586,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.panorama#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds a client should wait before retrying the call.

", "smithy.api#httpHeader": "Retry-After" } @@ -2795,6 +2801,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of application instance dependencies to return in one page of results.

", "smithy.api#httpQuery": "maxResults" } @@ -2869,6 +2876,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of node instances to return in one page of results.

", "smithy.api#httpQuery": "maxResults" } @@ -2949,6 +2957,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of application instances to return in one page of results.

", "smithy.api#httpQuery": "maxResults" } @@ -3074,6 +3083,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of device jobs to return in one page of results.

", "smithy.api#httpQuery": "MaxResults" } @@ -3110,6 +3120,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of devices to return in one page of results.

", "smithy.api#httpQuery": "MaxResults" } @@ -3234,6 +3245,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of node from template jobs to return in one page of results.

", "smithy.api#httpQuery": "MaxResults" } @@ -3339,6 +3351,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of nodes to return in one page of results.

", "smithy.api#httpQuery": "maxResults" } @@ -3411,6 +3424,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of package import jobs to return in one page of results.

", "smithy.api#httpQuery": "MaxResults" } @@ -3480,6 +3494,7 @@ "MaxResults": { "target": "com.amazonaws.panorama#MaxSize25", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of packages to return in one page of results.

", "smithy.api#httpQuery": "maxResults" } @@ -3611,7 +3626,10 @@ } }, "com.amazonaws.panorama#MarkLatestPatch": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.panorama#Mask": { "type": "string", @@ -3624,11 +3642,15 @@ } }, "com.amazonaws.panorama#MaxConnections": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.panorama#MaxSize25": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 25 @@ -3952,6 +3974,7 @@ "MaxConnections": { "target": "com.amazonaws.panorama#MaxConnections", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The input port's max connections.

" } } @@ -4251,20 +4274,6 @@ }, "com.amazonaws.panorama#OmniCloudServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Panorama", - "arnNamespace": "panorama", - "awsProductName": "AWSPanorama" - }, - "aws.auth#sigv4": { - "name": "panorama" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "AWS Panorama\n

\n Overview\n

\n

This is the AWS Panorama API Reference. For an introduction to the service, see What is AWS Panorama? in the\n AWS Panorama Developer Guide.

", - "smithy.api#title": "AWS Panorama" - }, "version": "2019-07-24", "operations": [ { @@ -4366,7 +4375,21 @@ { "target": "com.amazonaws.panorama#UpdateDeviceMetadata" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Panorama", + "arnNamespace": "panorama", + "awsProductName": "AWSPanorama" + }, + "aws.auth#sigv4": { + "name": "panorama" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "AWS Panorama\n

\n Overview\n

\n

This is the AWS Panorama API Reference. For an introduction to the service, see What is AWS Panorama? in the\n AWS Panorama Developer Guide.

", + "smithy.api#title": "AWS Panorama" + } }, "com.amazonaws.panorama#OutPutS3Location": { "type": "structure", @@ -4671,6 +4694,7 @@ "MarkLatest": { "target": "com.amazonaws.panorama#MarkLatestPatch", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that the version is recommended for all users.

" } } @@ -4951,6 +4975,7 @@ "MarkLatest": { "target": "com.amazonaws.panorama#MarkLatestPatch", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to mark the new version as the latest version.

" } } @@ -5052,7 +5077,10 @@ } }, "com.amazonaws.panorama#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.panorama#RuntimeRoleArn": { "type": "string", @@ -5703,4 +5731,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/personalize-events.json b/codegen/sdk/aws-models/personalize-events.json index 5d08bba0c8d..849c60c313f 100644 --- a/codegen/sdk/aws-models/personalize-events.json +++ b/codegen/sdk/aws-models/personalize-events.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -146,10 +146,7 @@ } }, "com.amazonaws.personalizeevents#FloatType": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.personalizeevents#Impression": { "type": "list", @@ -223,6 +220,9 @@ "input": { "target": "com.amazonaws.personalizeevents#PutEventsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.personalizeevents#InvalidInputException" @@ -274,6 +274,9 @@ "input": { "target": "com.amazonaws.personalizeevents#PutItemsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.personalizeevents#InvalidInputException" @@ -318,6 +321,9 @@ "input": { "target": "com.amazonaws.personalizeevents#PutUsersRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.personalizeevents#InvalidInputException" diff --git a/codegen/sdk/aws-models/personalize-runtime.json b/codegen/sdk/aws-models/personalize-runtime.json index 7f66a012d81..eed909a450f 100644 --- a/codegen/sdk/aws-models/personalize-runtime.json +++ b/codegen/sdk/aws-models/personalize-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,15 @@ "shapes": { "com.amazonaws.personalizeruntime#AmazonPersonalizeRuntime": { "type": "service", + "version": "2018-05-22", + "operations": [ + { + "target": "com.amazonaws.personalizeruntime#GetPersonalizedRanking" + }, + { + "target": "com.amazonaws.personalizeruntime#GetRecommendations" + } + ], "traits": { "aws.api#service": { "sdkId": "Personalize Runtime", @@ -45,16 +54,7 @@ "aws.protocols#restJson1": {}, "smithy.api#documentation": "

", "smithy.api#title": "Amazon Personalize Runtime" - }, - "version": "2018-05-22", - "operations": [ - { - "target": "com.amazonaws.personalizeruntime#GetPersonalizedRanking" - }, - { - "target": "com.amazonaws.personalizeruntime#GetRecommendations" - } - ] + } }, "com.amazonaws.personalizeruntime#Arn": { "type": "string", @@ -276,6 +276,7 @@ "numResults": { "target": "com.amazonaws.personalizeruntime#NumResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of results to return. The default is 25. The maximum is 500.

" } }, @@ -375,6 +376,7 @@ "com.amazonaws.personalizeruntime#NumResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -383,6 +385,7 @@ "com.amazonaws.personalizeruntime#PercentPromotedItems": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -427,6 +430,7 @@ "percentPromotedItems": { "target": "com.amazonaws.personalizeruntime#PercentPromotedItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of recommended items to apply the promotion to.

" } }, @@ -476,10 +480,7 @@ } }, "com.amazonaws.personalizeruntime#Score": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.personalizeruntime#UserID": { "type": "string", diff --git a/codegen/sdk/aws-models/personalize.json b/codegen/sdk/aws-models/personalize.json index 6bf5c690d90..9381c54f381 100644 --- a/codegen/sdk/aws-models/personalize.json +++ b/codegen/sdk/aws-models/personalize.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -129,21 +129,6 @@ }, "com.amazonaws.personalize#AmazonPersonalize": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Personalize", - "arnNamespace": "personalize", - "cloudFormationName": "Personalize", - "cloudTrailEventSource": "personalize.amazonaws.com", - "endpointPrefix": "personalize" - }, - "aws.auth#sigv4": { - "name": "personalize" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon Personalize is a machine learning service that makes it easy to add individualized\n recommendations to customers.

", - "smithy.api#title": "Amazon Personalize" - }, "version": "2018-05-22", "operations": [ { @@ -326,7 +311,22 @@ { "target": "com.amazonaws.personalize#UpdateRecommender" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Personalize", + "arnNamespace": "personalize", + "cloudFormationName": "Personalize", + "cloudTrailEventSource": "personalize.amazonaws.com", + "endpointPrefix": "personalize" + }, + "aws.auth#sigv4": { + "name": "personalize" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon Personalize is a machine learning service that makes it easy to add individualized\n recommendations to customers.

", + "smithy.api#title": "Amazon Personalize" + } }, "com.amazonaws.personalize#Arn": { "type": "string", @@ -756,10 +756,7 @@ } }, "com.amazonaws.personalize#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.personalize#Campaign": { "type": "structure", @@ -1008,12 +1005,14 @@ "minValue": { "target": "com.amazonaws.personalize#ContinuousMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum allowable value for the hyperparameter.

" } }, "maxValue": { "target": "com.amazonaws.personalize#ContinuousMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum allowable value for the hyperparameter.

" } } @@ -1037,6 +1036,7 @@ "com.amazonaws.personalize#ContinuousMaxValue": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1000000 } @@ -1045,6 +1045,7 @@ "com.amazonaws.personalize#ContinuousMinValue": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1000000 } @@ -2018,6 +2019,7 @@ "performAutoML": { "target": "com.amazonaws.personalize#PerformAutoML", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to perform automated machine learning (AutoML). The default is false.\n For this case, you must specify recipeArn.

\n

When set to true, Amazon Personalize analyzes your training data and selects\n the optimal USER_PERSONALIZATION recipe and hyperparameters. In this case, you must omit\n recipeArn. Amazon Personalize determines the optimal recipe by running tests with\n different values for the hyperparameters.\n AutoML lengthens the training process as compared to selecting a specific recipe.

" } }, @@ -2759,6 +2761,7 @@ "isTunable": { "target": "com.amazonaws.personalize#Tunable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the hyperparameter is tunable.

" } } @@ -2791,18 +2794,21 @@ "minValue": { "target": "com.amazonaws.personalize#ContinuousMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum allowable value for the hyperparameter.

" } }, "maxValue": { "target": "com.amazonaws.personalize#ContinuousMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum allowable value for the hyperparameter.

" } }, "isTunable": { "target": "com.amazonaws.personalize#Tunable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the hyperparameter is tunable.

" } } @@ -2861,18 +2867,21 @@ "minValue": { "target": "com.amazonaws.personalize#IntegerMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum allowable value for the hyperparameter.

" } }, "maxValue": { "target": "com.amazonaws.personalize#IntegerMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum allowable value for the hyperparameter.

" } }, "isTunable": { "target": "com.amazonaws.personalize#Tunable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the hyperparameter is tunable.

" } } @@ -4472,12 +4481,14 @@ "minValue": { "target": "com.amazonaws.personalize#IntegerMinValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum allowable value for the hyperparameter.

" } }, "maxValue": { "target": "com.amazonaws.personalize#IntegerMaxValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum allowable value for the hyperparameter.

" } } @@ -4501,6 +4512,7 @@ "com.amazonaws.personalize#IntegerMaxValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "max": 1000000 } @@ -4509,6 +4521,7 @@ "com.amazonaws.personalize#IntegerMinValue": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": -1000000 } @@ -5550,7 +5563,6 @@ "com.amazonaws.personalize#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5576,7 +5588,10 @@ } }, "com.amazonaws.personalize#MetricValue": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.personalize#Metrics": { "type": "map", @@ -5613,10 +5628,7 @@ } }, "com.amazonaws.personalize#NumBatchResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.personalize#ObjectiveSensitivity": { "type": "string", @@ -5680,10 +5692,16 @@ } }, "com.amazonaws.personalize#PerformAutoML": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.personalize#PerformHPO": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.personalize#Recipe": { "type": "structure", @@ -6148,12 +6166,14 @@ "performHPO": { "target": "com.amazonaws.personalize#PerformHPO", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The\n default is false.

" } }, "performAutoML": { "target": "com.amazonaws.personalize#PerformAutoML", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from\n the list specified in the solution configuration (recipeArn must not be specified).\n When false (the default), Amazon Personalize uses recipeArn for training.

" } }, @@ -6316,12 +6336,14 @@ "performHPO": { "target": "com.amazonaws.personalize#PerformHPO", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is\n false.

" } }, "performAutoML": { "target": "com.amazonaws.personalize#PerformAutoML", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, Amazon Personalize searches for the most optimal recipe according to the solution\n configuration. When false (the default), Amazon Personalize uses recipeArn.

" } }, @@ -6753,7 +6775,6 @@ "com.amazonaws.personalize#TrainingHours": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -6786,14 +6807,16 @@ "com.amazonaws.personalize#TransactionsPerSecond": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.personalize#Tunable": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.personalize#TunedHPOParams": { "type": "structure", diff --git a/codegen/sdk/aws-models/pi.json b/codegen/sdk/aws-models/pi.json index b90087e0b59..4baac18dd2b 100644 --- a/codegen/sdk/aws-models/pi.json +++ b/codegen/sdk/aws-models/pi.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -417,10 +417,7 @@ } }, "com.amazonaws.pi#Double": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.pi#ErrorString": { "type": "string" @@ -746,10 +743,7 @@ } }, "com.amazonaws.pi#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.pi#InternalServiceError": { "type": "structure", @@ -778,7 +772,6 @@ "com.amazonaws.pi#Limit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -954,7 +947,6 @@ "com.amazonaws.pi#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 25 @@ -1097,24 +1089,6 @@ }, "com.amazonaws.pi#PerformanceInsightsv20180227": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "PI", - "arnNamespace": "pi", - "cloudFormationName": "PI", - "cloudTrailEventSource": "pi.amazonaws.com", - "endpointPrefix": "pi" - }, - "aws.auth#sigv4": { - "name": "pi" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon RDS Performance Insights\n

Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide\n provides detailed information about Performance Insights data types, parameters and errors.

\n

When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the\n authoritative source for Amazon Web Services service-vended monitoring metrics. Performance Insights offers a domain-specific view of DB load.

\n

DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension\n provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested\n dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.

\n ", - "smithy.api#title": "AWS Performance Insights", - "smithy.api#xmlNamespace": { - "uri": "http://pi.amazonaws.com/doc/2018-02-27/" - } - }, "version": "2018-02-27", "operations": [ { @@ -1135,7 +1109,25 @@ { "target": "com.amazonaws.pi#ListAvailableResourceMetrics" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "PI", + "arnNamespace": "pi", + "cloudFormationName": "PI", + "cloudTrailEventSource": "pi.amazonaws.com", + "endpointPrefix": "pi" + }, + "aws.auth#sigv4": { + "name": "pi" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon RDS Performance Insights\n

Amazon RDS Performance Insights enables you to monitor and explore different dimensions of database load based on data captured from a running DB instance. The guide\n provides detailed information about Performance Insights data types, parameters and errors.

\n

When Performance Insights is enabled, the Amazon RDS Performance Insights API provides visibility into the performance of your DB instance. Amazon CloudWatch provides the\n authoritative source for Amazon Web Services service-vended monitoring metrics. Performance Insights offers a domain-specific view of DB load.

\n

DB load is measured as average active sessions. Performance Insights provides the data to API consumers as a two-dimensional time-series dataset. The time dimension\n provides DB load data for each time point in the queried time range. Each time point decomposes overall load in relation to the requested\n dimensions, measured at that time point. Examples include SQL, Wait event, User, and Host.

\n ", + "smithy.api#title": "AWS Performance Insights", + "smithy.api#xmlNamespace": { + "uri": "http://pi.amazonaws.com/doc/2018-02-27/" + } + } }, "com.amazonaws.pi#RequestString": { "type": "string", diff --git a/codegen/sdk/aws-models/pinpoint-email.json b/codegen/sdk/aws-models/pinpoint-email.json index 8b6f1feb9a9..fd6ef477767 100644 --- a/codegen/sdk/aws-models/pinpoint-email.json +++ b/codegen/sdk/aws-models/pinpoint-email.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -803,6 +803,7 @@ "VerifiedForSendingStatus": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email\n from verified email addresses or domains. For more information about verifying\n identities, see the Amazon Pinpoint User Guide.

" } }, @@ -1296,6 +1297,7 @@ "SigningEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the value is true, then the messages that Amazon Pinpoint sends from the\n identity are DKIM-signed. If the value is false, then the messages that\n Amazon Pinpoint sends from the identity aren't DKIM-signed.

" } }, @@ -1572,7 +1574,10 @@ } }, "com.amazonaws.pinpointemail#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.pinpointemail#ErrorMessage": { "type": "string" @@ -1599,6 +1604,7 @@ "Enabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.

\n

If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.

" } }, @@ -1644,6 +1650,7 @@ "Enabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.

\n

If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.

" } }, @@ -1787,12 +1794,14 @@ "SendingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not email sending is enabled for your Amazon Pinpoint account in the\n current AWS Region.

" } }, "DedicatedIpAutoWarmupEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not the automatic warm-up feature is enabled for dedicated IP\n addresses that are associated with your account.

" } }, @@ -1805,6 +1814,7 @@ "ProductionAccessEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not your account has production access in the current AWS\n Region.

\n

If the value is false, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.

\n

If the value is true, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.

" } } @@ -2199,6 +2209,7 @@ "DashboardEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Deliverability dashboard is enabled for your Amazon Pinpoint account. If this value\n is true, the dashboard is enabled.

", "smithy.api#required": {} } @@ -2514,12 +2525,14 @@ "FeedbackForwardingStatus": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The feedback forwarding configuration for the identity.

\n

If the value is true, Amazon Pinpoint sends you email notifications when bounce or\n complaint events occur. Amazon Pinpoint sends this notification to the address that you specified\n in the Return-Path header of the original email.

\n

When you set this value to false, Amazon Pinpoint sends notifications through other\n mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're\n required to have a method of tracking bounces and complaints. If you haven't set up\n another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email\n notification when these events occur (even if this setting is disabled).

" } }, "VerifiedForSendingStatus": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not the identity is verified. In Amazon Pinpoint, you can only send email\n from verified email addresses or domains. For more information about verifying\n identities, see the Amazon Pinpoint User Guide.

" } }, @@ -2567,6 +2580,7 @@ "SendingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not you can send email from the identity.

\n

In Amazon Pinpoint, an identity is an email address or domain that you send email from. Before\n you can send email from an identity, you have to demostrate that you own the identity,\n and that you authorize Amazon Pinpoint to send email from that identity.

" } } @@ -2610,6 +2624,7 @@ "Global": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether inbox placement data is being tracked for the domain.

" } }, @@ -3242,16 +3257,19 @@ } }, "com.amazonaws.pinpointemail#Max24HourSend": { - "type": "double" - }, - "com.amazonaws.pinpointemail#MaxItems": { - "type": "integer", + "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.pinpointemail#MaxItems": { + "type": "integer" + }, "com.amazonaws.pinpointemail#MaxSendRate": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.pinpointemail#Message": { "type": "structure", @@ -3388,15 +3406,11 @@ "com.amazonaws.pinpointemail#Percentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

An object that contains information about inbox placement percentages.

" } }, "com.amazonaws.pinpointemail#Percentage100Wrapper": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.pinpointemail#PinpointDestination": { "type": "structure", @@ -3487,6 +3501,7 @@ "AutoWarmupEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables or disables the automatic warm-up feature for dedicated IP addresses that are\n associated with your Amazon Pinpoint account in the current AWS Region. Set to true\n to enable the automatic warm-up feature, or set to false to disable\n it.

" } } @@ -3533,6 +3548,7 @@ "SendingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables or disables your account's ability to send email. Set to true to\n enable email sending, or set to false to disable email sending.

\n \n

If AWS paused your account's ability to send email, you can't use this operation\n to resume your account's ability to send email.

\n
" } } @@ -3653,6 +3669,7 @@ "ReputationMetricsEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.

" } } @@ -3710,6 +3727,7 @@ "SendingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.

" } } @@ -3938,6 +3956,7 @@ "DashboardEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the Deliverability dashboard for your Amazon Pinpoint account. To enable the\n dashboard, set this value to true.

", "smithy.api#required": {} } @@ -4002,6 +4021,7 @@ "SigningEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets the DKIM signing configuration for the identity.

\n

When you set this value true, then the messages that Amazon Pinpoint sends from the\n identity are DKIM-signed. When you set this value to false, then the\n messages that Amazon Pinpoint sends from the identity aren't DKIM-signed.

" } } @@ -4059,6 +4079,7 @@ "EmailForwardingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets the feedback forwarding configuration for the identity.

\n

If the value is true, Amazon Pinpoint sends you email notifications when bounce or\n complaint events occur. Amazon Pinpoint sends this notification to the address that you specified\n in the Return-Path header of the original email.

\n

When you set this value to false, Amazon Pinpoint sends notifications through other\n mechanisms, such as by notifying an Amazon SNS topic or another event destination. You're\n required to have a method of tracking bounces and complaints. If you haven't set up\n another mechanism for receiving bounce or complaint notifications, Amazon Pinpoint sends an email\n notification when these events occur (even if this setting is disabled).

" } } @@ -4182,6 +4203,7 @@ "ReputationMetricsEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.

" } }, @@ -4311,18 +4333,21 @@ "Max24HourSend": { "target": "com.amazonaws.pinpointemail#Max24HourSend", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of emails that you can send in the current AWS Region over a\n 24-hour period. This value is also called your sending\n quota.

" } }, "MaxSendRate": { "target": "com.amazonaws.pinpointemail#MaxSendRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of emails that you can send per second in the current AWS Region.\n This value is also called your maximum sending rate or your\n maximum TPS (transactions per second) rate.

" } }, "SentLast24Hours": { "target": "com.amazonaws.pinpointemail#SentLast24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of emails sent from your Amazon Pinpoint account in the current AWS Region over the\n past 24 hours.

" } } @@ -4337,6 +4362,7 @@ "SendingEnabled": { "target": "com.amazonaws.pinpointemail#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.

" } } @@ -4365,7 +4391,10 @@ } }, "com.amazonaws.pinpointemail#SentLast24Hours": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.pinpointemail#SnsDestination": { "type": "structure", @@ -4680,7 +4709,6 @@ "com.amazonaws.pinpointemail#Volume": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

An object that contains information about inbox placement volume.

" } }, diff --git a/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json b/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json index 3a68e89bc84..2590705a459 100644 --- a/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json +++ b/codegen/sdk/aws-models/pinpoint-sms-voice-v2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.pinpointsmsvoicev2#AccessDeniedException": { "type": "structure", @@ -86,6 +86,7 @@ "Used": { "target": "smithy.api#PrimitiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current amount that has been spent, in US dollars.

", "smithy.api#required": {} } @@ -93,6 +94,7 @@ "Max": { "target": "smithy.api#PrimitiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Amazon Web Services set limit for that resource type, in US dollars.

", "smithy.api#required": {} } @@ -955,6 +957,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.

" } }, @@ -967,6 +970,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.

" } }, @@ -979,12 +983,14 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether shared routes are enabled for the pool.

" } }, "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true deletion protection is enabled. By default this is set to false.\n

" } }, @@ -1517,6 +1523,7 @@ "EndUserOptedOut": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This is true if it was the end user who requested their phone number be removed.\n

" } } @@ -1596,6 +1603,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.

" } }, @@ -1608,6 +1616,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.

" } }, @@ -1620,6 +1629,7 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether shared routes are enabled for the pool.

" } }, @@ -3195,7 +3205,6 @@ "com.amazonaws.pinpointsmsvoicev2#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3226,7 +3235,6 @@ "com.amazonaws.pinpointsmsvoicev2#MonthlyLimit": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1000000000 @@ -3462,6 +3470,7 @@ "EndUserOptedOut": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This is set to true if it was the end recipient that opted out.

", "smithy.api#required": {} } @@ -3705,6 +3714,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients using the TwoWayChannelArn.

", "smithy.api#required": {} } @@ -3718,6 +3728,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to false an end recipient sends a message that begins with HELP or STOP to\n one of your dedicated numbers, Amazon Pinpoint automatically replies with a\n customizable message and adds the end recipient to the OptOutList. When set to true\n you're responsible for responding to HELP and STOP requests. You're also responsible for\n tracking and honoring opt-out request. For more information see Self-managed opt-outs\n

", "smithy.api#required": {} } @@ -3732,6 +3743,7 @@ "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true the phone number can't be deleted.

", "smithy.api#required": {} } @@ -3782,24 +3794,6 @@ }, "com.amazonaws.pinpointsmsvoicev2#PinpointSMSVoiceV2": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Pinpoint SMS Voice V2", - "endpointPrefix": "sms-voice", - "arnNamespace": "sms-voice" - }, - "aws.auth#sigv4": { - "name": "sms-voice" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference.\n This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API\n resources, including supported HTTP methods, parameters, and schemas.

\n

Amazon Pinpoint is an Amazon Web Services service that you can use to engage with\n your recipients across multiple messaging channels. The Amazon Pinpoint SMS and\n Voice, version 2 API provides programmatic access to options that are unique to the SMS\n and voice channels and supplements the resources provided by the Amazon Pinpoint\n API.

\n

If you're new to Amazon Pinpoint, it's also helpful to review the \n Amazon Pinpoint Developer Guide. The Amazon Pinpoint\n Developer Guide provides tutorials, code samples, and procedures that\n demonstrate how to use Amazon Pinpoint features programmatically and how to integrate\n Amazon Pinpoint functionality into mobile apps and other types of applications.\n The guide also provides key information, such as Amazon Pinpoint integration with\n other Amazon Web Services services, and the quotas that apply to use of the\n service.

", - "smithy.api#paginated": { - "inputToken": "NextToken", - "outputToken": "NextToken", - "pageSize": "MaxResults" - }, - "smithy.api#title": "Amazon Pinpoint SMS Voice V2" - }, "version": "2022-03-31", "operations": [ { @@ -3931,7 +3925,25 @@ { "target": "com.amazonaws.pinpointsmsvoicev2#UpdatePool" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Pinpoint SMS Voice V2", + "endpointPrefix": "sms-voice", + "arnNamespace": "sms-voice" + }, + "aws.auth#sigv4": { + "name": "sms-voice" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

Welcome to the Amazon Pinpoint SMS and Voice, version 2 API Reference.\n This guide provides information about Amazon Pinpoint SMS and Voice, version 2 API\n resources, including supported HTTP methods, parameters, and schemas.

\n

Amazon Pinpoint is an Amazon Web Services service that you can use to engage with\n your recipients across multiple messaging channels. The Amazon Pinpoint SMS and\n Voice, version 2 API provides programmatic access to options that are unique to the SMS\n and voice channels and supplements the resources provided by the Amazon Pinpoint\n API.

\n

If you're new to Amazon Pinpoint, it's also helpful to review the \n Amazon Pinpoint Developer Guide. The Amazon Pinpoint\n Developer Guide provides tutorials, code samples, and procedures that\n demonstrate how to use Amazon Pinpoint features programmatically and how to integrate\n Amazon Pinpoint functionality into mobile apps and other types of applications.\n The guide also provides key information, such as Amazon Pinpoint integration with\n other Amazon Web Services services, and the quotas that apply to use of the\n service.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + }, + "smithy.api#title": "Amazon Pinpoint SMS Voice V2" + } }, "com.amazonaws.pinpointsmsvoicev2#PoolFilter": { "type": "structure", @@ -4056,6 +4068,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true you can receive incoming text messages from your end recipients using\n the TwoWayChannelArn.

", "smithy.api#required": {} } @@ -4069,6 +4082,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to false, an end recipient sends a message that begins with HELP or STOP to\n one of your dedicated numbers, Amazon Pinpoint automatically replies with a\n customizable message and adds the end recipient to the OptOutList. When set to true\n you're responsible for responding to HELP and STOP requests. You're also responsible for\n tracking and honoring opt-out requests. For more information see Self-managed opt-outs\n

", "smithy.api#required": {} } @@ -4083,6 +4097,7 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Allows you to enable shared routes on your pool.

\n

By default, this is set to False. If you set this value to\n True, your messages are sent using phone numbers or sender IDs\n (depending on the country) that are shared with other Amazon Pinpoint users. In some\n countries, such as the United States, senders aren't allowed to use shared routes and\n must use a dedicated phone number or short code.

", "smithy.api#required": {} } @@ -4090,6 +4105,7 @@ "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true the pool can't be deleted.

", "smithy.api#required": {} } @@ -4359,6 +4375,7 @@ "EndUserOptedOut": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This is true if it was the end user who requested their phone number be removed.\n

" } } @@ -4478,6 +4495,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.

" } }, @@ -4490,6 +4508,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.

" } }, @@ -4672,6 +4691,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.

" } }, @@ -4684,6 +4704,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When an end recipient sends a message that begins\n with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically\n replies with a customizable message and adds the end recipient to the OptOutList. When\n set to true you're responsible for responding to HELP and STOP requests. You're also\n responsible for tracking and honoring opt-out requests.

" } }, @@ -4696,6 +4717,7 @@ "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true the phone number can't be deleted.\n

" } }, @@ -4911,6 +4933,7 @@ "DryRun": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, the message is checked and validated, but isn't sent to the end\n recipient.

" } } @@ -5024,6 +5047,7 @@ "DryRun": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, the message is checked and validated, but isn't sent to the end\n recipient.

" } } @@ -5549,6 +5573,7 @@ "EnforcedLimit": { "target": "smithy.api#PrimitiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of money, in US dollars, that you want to be able to spend sending\n messages each month. This value has to be less than or equal to the amount in\n MaxLimit. To use this custom limit, Overridden must be set\n to true.

", "smithy.api#required": {} } @@ -5556,6 +5581,7 @@ "MaxLimit": { "target": "smithy.api#PrimitiveLong", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of money that you are able to spend to send messages each month,\n in US dollars.

", "smithy.api#required": {} } @@ -5563,6 +5589,7 @@ "Overridden": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to True, the value that has been specified in the\n EnforcedLimit is used to determine the maximum amount in US dollars\n that can be spent to send messages each month, in US dollars.

", "smithy.api#required": {} } @@ -5750,7 +5777,6 @@ "com.amazonaws.pinpointsmsvoicev2#TimeToLive": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 259200 @@ -6057,6 +6083,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.

" } }, @@ -6069,6 +6096,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This is true if self managed opt-out are enabled.

" } }, @@ -6081,6 +6109,7 @@ "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true the phone number can't be deleted.

" } }, @@ -6202,6 +6231,7 @@ "TwoWayEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

By default this is set to false. When set to true you can receive incoming text\n messages from your end recipients.

" } }, @@ -6214,6 +6244,7 @@ "SelfManagedOptOutsEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When an end recipient sends a message that begins with HELP or STOP to one of your\n dedicated numbers, Amazon Pinpoint automatically replies with a customizable message\n and adds the end recipient to the OptOutList. When set to true you're responsible for\n responding to HELP and STOP requests. You're also responsible for tracking and honoring\n opt-out requests.

" } }, @@ -6226,12 +6257,14 @@ "SharedRoutesEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether shared routes are enabled for the pool.

" } }, "DeletionProtectionEnabled": { "target": "smithy.api#PrimitiveBoolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true the pool can't be deleted.

" } }, @@ -6677,4 +6710,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/pinpoint-sms-voice.json b/codegen/sdk/aws-models/pinpoint-sms-voice.json index d04345d08d1..e1059055d75 100644 --- a/codegen/sdk/aws-models/pinpoint-sms-voice.json +++ b/codegen/sdk/aws-models/pinpoint-sms-voice.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -56,7 +56,10 @@ } }, "com.amazonaws.pinpointsmsvoice#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.pinpointsmsvoice#CallInstructionsMessageType": { "type": "structure", @@ -344,6 +347,7 @@ "Enabled": { "target": "com.amazonaws.pinpointsmsvoice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination." } }, @@ -376,6 +380,7 @@ "Enabled": { "target": "com.amazonaws.pinpointsmsvoice#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "Indicates whether or not the event destination is enabled. If the event destination is enabled, then Amazon Pinpoint sends response data to the specified event destination." } }, diff --git a/codegen/sdk/aws-models/pinpoint.json b/codegen/sdk/aws-models/pinpoint.json index 72cde4cb2b8..40dbb300742 100644 --- a/codegen/sdk/aws-models/pinpoint.json +++ b/codegen/sdk/aws-models/pinpoint.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -49,6 +49,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the ADM channel for the application.

" } } @@ -75,12 +76,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the ADM channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, @@ -93,6 +96,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the ADM channel is archived.

" } }, @@ -118,6 +122,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the ADM channel.

" } } @@ -192,6 +197,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.

" } }, @@ -254,6 +260,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the APNs channel for the application.

" } }, @@ -310,18 +317,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.

" } }, @@ -334,6 +344,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs channel is archived.

" } }, @@ -359,6 +370,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the APNs channel.

" } } @@ -385,6 +397,7 @@ "Badge": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The key that indicates whether and how to modify the badge of your app's icon when the recipient receives the push notification. If this key isn't included in the dictionary, the badge doesn't change. To remove the badge, set this value to 0.

" } }, @@ -439,6 +452,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the notification is a silent push notification. A silent (or background) push notification isn't displayed on recipients' devices. You can use silent push notifications to make small updates to your app, or to display messages in an in-app message center.

Amazon Pinpoint uses this property to determine the correct value for the apns-push-type request header when it sends the notification message to APNs. If you specify a value of true for this property, Amazon Pinpoint sets the value for the apns-push-type header field to background.

If you specify the raw content of an APNs push notification, the message payload has to include the content-available key. For silent (background) notifications, set the value of content-available to 1. Additionally, the message payload for a silent notification can't include the alert, badge, or sound keys. For more information, see Generating a Remote Notification and Pushing Background Updates to Your App on the Apple Developer website.

Apple has indicated that they will throttle \"excessive\" background notifications based on current traffic volumes. To prevent your notifications being throttled, Apple recommends that you send no more than 3 silent push notifications to each recipient per hour.

" } }, @@ -463,6 +477,7 @@ "TimeToLive": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, that APNs should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If this value is 0, APNs treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.

Amazon Pinpoint specifies this value in the apns-expiration request header when it sends the notification message to APNs.

" } }, @@ -557,6 +572,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the APNs sandbox channel for the application.

" } }, @@ -613,18 +629,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs sandbox channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.

" } }, @@ -637,6 +656,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs sandbox channel is archived.

" } }, @@ -662,6 +682,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the APNs sandbox channel.

" } } @@ -694,6 +715,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the APNs VoIP channel for the application.

" } }, @@ -750,18 +772,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs VoIP channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs VoIP channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.

" } }, @@ -774,6 +799,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs VoIP channel is archived.

" } }, @@ -799,6 +825,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the APNs VoIP channel.

" } } @@ -831,6 +858,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs VoIP sandbox channel is enabled for the application.

" } }, @@ -887,18 +915,21 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs VoIP sandbox channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, "HasTokenKey": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs VoIP sandbox channel is configured to communicate with APNs by using APNs tokens. To provide an authentication key for APNs tokens, set the TokenKey property of the channel.

" } }, @@ -911,6 +942,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the APNs VoIP sandbox channel is archived.

" } }, @@ -936,6 +968,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the APNs VoIP sandbox channel.

" } } @@ -1115,24 +1148,28 @@ "SuccessfulEndpointCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of endpoints that the campaign successfully delivered messages to.

" } }, "TimezonesCompletedCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of time zones that were completed.

" } }, "TimezonesTotalCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of unique time zones that are in the segment for the campaign.

" } }, "TotalEndpointCount": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of endpoints that the campaign attempted to deliver messages to.

" } }, @@ -1541,6 +1578,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the Baidu channel for the application.

" } }, @@ -1581,12 +1619,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Baidu channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, @@ -1599,6 +1639,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Baidu channel is archived.

" } }, @@ -1624,6 +1665,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the Baidu channel.

" } } @@ -1680,6 +1722,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.

" } }, @@ -1704,6 +1747,7 @@ "TimeToLive": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, that the Baidu Cloud Push service should store the message if the recipient's device is offline. The default value and maximum supported time is 604,800 seconds (7 days).

" } }, @@ -1946,30 +1990,35 @@ "Daily": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. For an application, this value specifies the default limit for the number of messages that campaigns and journeys can send to a single endpoint during a 24-hour period. The maximum value is 100.

" } }, "MaximumDuration": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.

" } }, "MessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of messages that a campaign can send each second. For an application, this value specifies the default limit for the number of messages that campaigns can send each second. The minimum value is 50. The maximum value is 20,000.

" } }, "Total": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. If a campaign recurs, this setting applies to all runs of the campaign. The maximum value is 100.

" } }, "Session": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum total number of messages that the campaign can send per user session.

" } } @@ -2029,6 +2078,7 @@ "HoldoutPercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.

" } }, @@ -2048,6 +2098,7 @@ "IsPaused": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the campaign is paused. A paused campaign doesn't run unless you resume it by changing this value to false.

" } }, @@ -2092,6 +2143,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the segment that's associated with the campaign.

", "smithy.api#required": {} } @@ -2130,12 +2182,14 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the campaign.

" } }, "Priority": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.

" } } @@ -2276,12 +2330,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, @@ -2294,6 +2350,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the channel is archived.

" } }, @@ -2312,6 +2369,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the channel.

" } } @@ -3235,6 +3293,7 @@ "RecommendationsPerMessage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.

To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.

" } } @@ -3585,6 +3644,7 @@ "BorderRadius": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The border radius of the button.

" } }, @@ -3663,6 +3723,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the default notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or delivering messages to an in-app notification center.

" } }, @@ -5444,6 +5505,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the email channel for the application.

" } }, @@ -5496,6 +5558,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the email channel is enabled for the application.

" } }, @@ -5508,6 +5571,7 @@ "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, @@ -5526,6 +5590,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the email channel is archived.

" } }, @@ -5544,6 +5609,7 @@ "MessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of emails that can be sent through the channel each second.

" } }, @@ -5563,6 +5629,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the email channel.

" } } @@ -5958,6 +6025,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The status code that's returned in the response as a result of processing the endpoint data.

" } } @@ -5984,12 +6052,14 @@ "Latitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latitude coordinate of the endpoint location, rounded to one decimal place.

" } }, "Longitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The longitude coordinate of the endpoint location, rounded to one decimal place.

" } }, @@ -6035,6 +6105,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The downstream service status code for delivering the message.

", "smithy.api#required": {} } @@ -6451,6 +6522,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The status code that's returned in the response as a result of processing the event. Possible values are: 202, for events that were accepted; and, 400, for events that weren't valid.

" } } @@ -6597,6 +6669,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the segment to export endpoint definitions from, if specified.

" } } @@ -6631,6 +6704,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the segment that the endpoint definitions were exported from.

" } } @@ -6652,6 +6726,7 @@ "CompletedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of pieces that were processed successfully (completed) by the export job, as of the time of the request.

" } }, @@ -6678,6 +6753,7 @@ "FailedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of pieces that weren't processed successfully (failed) by the export job, as of the time of the request.

" } }, @@ -6704,18 +6780,21 @@ "TotalFailures": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of endpoint definitions that weren't processed successfully (failed) by the export job, typically because an error, such as a syntax error, occurred.

" } }, "TotalPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of pieces that must be processed to complete the export job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the export job.

" } }, "TotalProcessed": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of endpoint definitions that were processed by the export job.

" } }, @@ -6852,6 +6931,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the GCM channel for the application.

" } } @@ -6885,12 +6965,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the GCM channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, @@ -6903,6 +6985,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the GCM channel is archived.

" } }, @@ -6928,6 +7011,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the GCM channel.

" } } @@ -7002,6 +7086,7 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration or supporting phone home functionality.

" } }, @@ -7026,6 +7111,7 @@ "TimeToLive": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, that FCM should store and attempt to deliver the push notification, if the service is unable to deliver the notification the first time. If you don't specify this value, FCM defaults to the maximum value, which is 2,419,200 seconds (28 days).

Amazon Pinpoint specifies this value in the FCM time_to_live parameter when it sends the notification message to FCM.

" } }, @@ -7052,6 +7138,7 @@ "Latitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latitude coordinate of the location.

", "smithy.api#required": {} } @@ -7059,6 +7146,7 @@ "Longitude": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The longitude coordinate of the location.

", "smithy.api#required": {} } @@ -7081,6 +7169,7 @@ "RangeInKilometers": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The range, in kilometers, from the GPS coordinates.

" } } @@ -10576,6 +10665,7 @@ "Percentage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of participants who shouldn't continue the journey.

To determine which participants are held out, Amazon Pinpoint applies a probability-based algorithm to the percentage that you specify. Therefore, the actual percentage of participants who are held out may not be equal to the percentage that you specify.

", "smithy.api#required": {} } @@ -10591,6 +10681,7 @@ "DefineSegment": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to create a segment that contains the endpoints, when the endpoint definitions are imported.

" } }, @@ -10610,6 +10701,7 @@ "RegisterEndpoints": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to register the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.

" } }, @@ -10650,6 +10742,7 @@ "DefineSegment": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the import job creates a segment that contains the endpoints, when the endpoint definitions are imported.

" } }, @@ -10669,6 +10762,7 @@ "RegisterEndpoints": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the import job registers the endpoints with Amazon Pinpoint, when the endpoint definitions are imported.

" } }, @@ -10716,6 +10810,7 @@ "CompletedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.

" } }, @@ -10742,6 +10837,7 @@ "FailedPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.

" } }, @@ -10768,18 +10864,21 @@ "TotalFailures": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.

" } }, "TotalPieces": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.

" } }, "TotalProcessed": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of endpoint definitions that were processed by the import job.

" } }, @@ -10941,6 +11040,7 @@ "DailyCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Daily cap which controls the number of times any in-app messages can be shown to the endpoint during a day.

" } }, @@ -10953,6 +11053,7 @@ "Priority": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Priority of the in-app message.

" } }, @@ -10965,12 +11066,14 @@ "SessionCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Session cap which controls the number of times an in-app message can be shown to the endpoint during an application session.

" } }, "TotalCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total cap which controls the number of times an in-app message can be shown to the endpoint.

" } }, @@ -11490,18 +11593,21 @@ "DailyCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of messages that the journey can send to a single participant during a 24-hour period. The maximum value is 100.

" } }, "EndpointReentryCap": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of times that a participant can enter the journey. The maximum value is 100. To allow participants to enter the journey an unlimited number of times, set this value to 0.

" } }, "MessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of messages that the journey can send each second.

" } }, @@ -11574,6 +11680,7 @@ "LocalTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the journey's scheduled start and end times use each participant's local time. If this value is true, the schedule uses each participant's local time.

" } }, @@ -11630,12 +11737,14 @@ "WaitForQuietTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.

" } }, "RefreshOnSegmentUpdate": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a journey should be refreshed on segment update.

" } }, @@ -11648,6 +11757,7 @@ "SendingSchedule": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)

" } }, @@ -12503,12 +12613,14 @@ "SilentPush": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the notification is a silent push notification, which is a push notification that doesn't display on a recipient's device. Silent push notifications can be used for cases such as updating an app's configuration, displaying messages in an in-app message center, or supporting phone home functionality.

" } }, "TimeToLive": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds that the push-notification service should keep the message, if the service is unable to deliver the notification the first time. This value is converted to an expiration value when it's sent to a push-notification service. If this value is 0, the service treats the notification as if it expires immediately and the service doesn't store or try to deliver the notification again.

This value doesn't apply to messages that are sent through the Amazon Device Messaging (ADM) service.

" } }, @@ -12708,6 +12820,7 @@ "StatusCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The downstream service status code for delivering the message.

", "smithy.api#required": {} } @@ -12779,6 +12892,7 @@ "Value": { "target": "com.amazonaws.pinpoint#__double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value to compare.

", "smithy.api#required": {} } @@ -12963,6 +13077,7 @@ "PhoneTypeCode": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The phone type, represented by an integer. Valid values are: 0 (mobile), 1 (landline), 2 (VoIP), 3 (invalid), 4 (other), and 5 (prepaid).

" } }, @@ -13165,21 +13280,6 @@ }, "com.amazonaws.pinpoint#Pinpoint": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Pinpoint", - "arnNamespace": "mobiletargeting", - "cloudFormationName": "Pinpoint", - "cloudTrailEventSource": "pinpoint.amazonaws.com", - "endpointPrefix": "pinpoint" - }, - "aws.auth#sigv4": { - "name": "mobiletargeting" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Doc Engage API - Amazon Pinpoint API

", - "smithy.api#title": "Amazon Pinpoint" - }, "version": "2016-12-01", "operations": [ { @@ -13539,7 +13639,22 @@ { "target": "com.amazonaws.pinpoint#VerifyOTPMessage" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Pinpoint", + "arnNamespace": "mobiletargeting", + "cloudFormationName": "Pinpoint", + "cloudTrailEventSource": "pinpoint.amazonaws.com", + "endpointPrefix": "pinpoint" + }, + "aws.auth#sigv4": { + "name": "mobiletargeting" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Doc Engage API - Amazon Pinpoint API

", + "smithy.api#title": "Amazon Pinpoint" + } }, "com.amazonaws.pinpoint#PublicEndpoint": { "type": "structure", @@ -14003,6 +14118,7 @@ "Percentage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of participants to send down the activity path.

To determine which participants are sent down each path, Amazon Pinpoint applies a probability-based algorithm to the percentages that you specify for the paths. Therefore, the actual percentage of participants who are sent down a path may not be equal to the percentage that you specify.

" } } @@ -14139,6 +14255,7 @@ "RecommendationsPerMessage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of recommended items that are retrieved from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables.

" } } @@ -14284,6 +14401,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the SMS channel for the application.

" } }, @@ -14322,12 +14440,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the SMS channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, @@ -14340,6 +14460,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the SMS channel is archived.

" } }, @@ -14365,6 +14486,7 @@ "PromotionalMessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of promotional messages that you can send through the SMS channel each second.

" } }, @@ -14383,12 +14505,14 @@ "TransactionalMessagesPerSecond": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of transactional messages that you can send through the SMS channel each second.

" } }, "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the SMS channel.

" } } @@ -14633,6 +14757,7 @@ "IsLocalTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the start and end times for the campaign schedule use each recipient's local time. To base the schedule on each recipient's local time, set this value to true.

" } }, @@ -14869,6 +14994,7 @@ "Size": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of endpoint definitions that were imported successfully to create the segment.

", "smithy.api#required": {} } @@ -14911,6 +15037,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the segment.

" } } @@ -14997,6 +15124,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number of the segment.

" } } @@ -15179,6 +15307,7 @@ "AllowedAttempts": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The attempts allowed to validate an OTP.

" } }, @@ -15199,6 +15328,7 @@ "CodeLength": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of characters in the generated OTP.

" } }, @@ -15244,6 +15374,7 @@ "ValidityPeriod": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time in minutes before the OTP is no longer valid.

" } } @@ -15409,6 +15540,7 @@ "Duration": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the session, in milliseconds.

" } }, @@ -16004,6 +16136,7 @@ "SizePercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The allocated percentage of users (segment members) that the treatment is sent to.

", "smithy.api#required": {} } @@ -16810,6 +16943,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

", "smithy.api#httpQuery": "create-new-version" } @@ -17120,6 +17254,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

", "smithy.api#httpQuery": "create-new-version" } @@ -17369,6 +17504,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

", "smithy.api#httpQuery": "create-new-version" } @@ -17537,6 +17673,7 @@ "RecommendationsPerMessage": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of recommended items to retrieve from the model for each endpoint or user, depending on the value for the RecommendationProviderIdType property. This number determines how many recommended items are available for use in message variables. The minimum value is 1. The maximum value is 5. The default value is 5.

To use multiple recommended items and custom attributes with message variables, you have to use an AWS Lambda function (RecommendationTransformerUri) to perform additional processing of recommendation data.

" } } @@ -17743,6 +17880,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

", "smithy.api#httpQuery": "create-new-version" } @@ -17982,6 +18120,7 @@ "CreateNewVersion": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to save the updates as a new version of the message template. Valid values are: true, save the updates as a new version; and, false, save the updates to (overwrite) the latest existing version of the template.

If you don't specify a value for this parameter, Amazon Pinpoint saves the updates to (overwrites) the latest existing version of the template. If you specify a value of true for this parameter, don't specify a value for the version parameter. Otherwise, an error will occur.

", "smithy.api#httpQuery": "create-new-version" } @@ -18028,6 +18167,7 @@ "Valid": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the OTP is valid or not.

" } } @@ -18143,6 +18283,7 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the voice channel for the application.

" } } @@ -18169,12 +18310,14 @@ "Enabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the voice channel is enabled for the application.

" } }, "HasCredential": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

(Not used) This property is retained only for backward compatibility.

" } }, @@ -18187,6 +18330,7 @@ "IsArchived": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the voice channel is archived.

" } }, @@ -18212,6 +18356,7 @@ "Version": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current version of the voice channel.

" } } @@ -18440,11 +18585,15 @@ "CloudWatchMetricsEnabled": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable application-related alarms in Amazon CloudWatch.

" } }, "EventTaggingEnabled": { - "target": "com.amazonaws.pinpoint#__boolean" + "target": "com.amazonaws.pinpoint#__boolean", + "traits": { + "smithy.api#default": false + } }, "Limits": { "target": "com.amazonaws.pinpoint#CampaignLimits", @@ -18487,6 +18636,7 @@ "HoldoutPercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The allocated percentage of users (segment members) who shouldn't receive messages from the campaign.

" } }, @@ -18499,6 +18649,7 @@ "IsPaused": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to pause the campaign. A paused campaign doesn't run unless you resume it by changing this value to false.

" } }, @@ -18535,6 +18686,7 @@ "SegmentVersion": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the segment to associate with the campaign.

" } }, @@ -18566,6 +18718,7 @@ "Priority": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Defines the priority of the campaign, used to decide the order of messages displayed to user if there are multiple messages scheduled to be displayed at the same moment.

" } } @@ -18626,6 +18779,7 @@ "LocalTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the journey's scheduled start and end times use each participant's local time. To base the schedule on each participant's local time, set this value to true.

" } }, @@ -18675,12 +18829,14 @@ "WaitForQuietTime": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether endpoints in quiet hours should enter a wait till the end of their quiet hours.

" } }, "RefreshOnSegmentUpdate": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether a journey should be refreshed on segment update.

" } }, @@ -18693,6 +18849,7 @@ "SendingSchedule": { "target": "com.amazonaws.pinpoint#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)

" } }, @@ -18770,6 +18927,7 @@ "SizePercent": { "target": "com.amazonaws.pinpoint#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The allocated percentage of users (segment members) to send the treatment to.

", "smithy.api#required": {} } @@ -18860,13 +19018,22 @@ "type": "blob" }, "com.amazonaws.pinpoint#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.pinpoint#__double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.pinpoint#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.pinpoint#__string": { "type": "string" diff --git a/codegen/sdk/aws-models/polly.json b/codegen/sdk/aws-models/polly.json index 1a518360318..31ea440c4ab 100644 --- a/codegen/sdk/aws-models/polly.json +++ b/codegen/sdk/aws-models/polly.json @@ -1612,8 +1612,6 @@ "TextType": { "target": "com.amazonaws.polly#TextType", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "text", "smithy.api#documentation": "

Specifies whether the input text is plain text or SSML. The\n default value is plain text. For more information, see Using\n SSML.

" } }, diff --git a/codegen/sdk/aws-models/pricing.json b/codegen/sdk/aws-models/pricing.json index d341d9a447c..f28612bf978 100644 --- a/codegen/sdk/aws-models/pricing.json +++ b/codegen/sdk/aws-models/pricing.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,18 @@ "shapes": { "com.amazonaws.pricing#AWSPriceListService": { "type": "service", + "version": "2017-10-15", + "operations": [ + { + "target": "com.amazonaws.pricing#DescribeServices" + }, + { + "target": "com.amazonaws.pricing#GetAttributeValues" + }, + { + "target": "com.amazonaws.pricing#GetProducts" + } + ], "traits": { "aws.api#service": { "sdkId": "Pricing", @@ -45,19 +57,7 @@ "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "

Amazon Web Services Price List API is a centralized and convenient way to\n programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List\n uses standardized product attributes such as Location, Storage\n Class, and Operating System, and provides prices at the SKU\n level. You can use the Amazon Web Services Price List to build cost control and scenario planning tools, reconcile\n billing data, forecast future spend for budgeting purposes, and provide cost benefit\n analysis that compare your internal workloads with Amazon Web Services.

\n

Use GetServices without a service code to retrieve the service codes for all AWS services, then \n GetServices with a service code to retrieve the attribute names for \n that service. After you have the service code and attribute names, you can use GetAttributeValues\n to see what values are available for an attribute. With the service code and an attribute name and value, \n you can use GetProducts to find specific products that you're interested in, such as \n an AmazonEC2 instance, with a Provisioned IOPS \n volumeType.

\n

Service Endpoint

\n

Amazon Web Services Price List service API provides the following two endpoints:

\n ", "smithy.api#title": "AWS Price List Service" - }, - "version": "2017-10-15", - "operations": [ - { - "target": "com.amazonaws.pricing#DescribeServices" - }, - { - "target": "com.amazonaws.pricing#GetAttributeValues" - }, - { - "target": "com.amazonaws.pricing#GetProducts" - } - ] + } }, "com.amazonaws.pricing#AttributeNameList": { "type": "list", @@ -88,6 +88,7 @@ "com.amazonaws.pricing#BoxedInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -152,7 +153,7 @@ "MaxResults": { "target": "com.amazonaws.pricing#BoxedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results that you want returned in the response.

" } } @@ -300,7 +301,7 @@ "MaxResults": { "target": "com.amazonaws.pricing#BoxedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return in response.

" } } @@ -388,7 +389,7 @@ "MaxResults": { "target": "com.amazonaws.pricing#BoxedInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return in the response.

" } } diff --git a/codegen/sdk/aws-models/privatenetworks.json b/codegen/sdk/aws-models/privatenetworks.json index 1f4ca527ec3..9b79fe83601 100644 --- a/codegen/sdk/aws-models/privatenetworks.json +++ b/codegen/sdk/aws-models/privatenetworks.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.privatenetworks#AccessDeniedException": { "type": "structure", @@ -900,34 +900,6 @@ }, "com.amazonaws.privatenetworks#E5GNetworkControllerLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "PrivateNetworks", - "arnNamespace": "private-networks" - }, - "aws.auth#sigv4": { - "name": "private-networks" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*", - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-platform-id", - "x-amzn-trace-id" - ], - "additionalExposedHeaders": [ - "x-amzn-errortype", - "x-amzn-requestid", - "x-amzn-trace-id" - ], - "maxAge": 86400 - }, - "smithy.api#documentation": "

Amazon Web Services Private 5G is a managed service that makes it easy to deploy, operate, and scale\n your own private mobile network at your on-premises location. Private 5G provides the\n pre-configured hardware and software for mobile networks, helps automate setup, and\n scales capacity on demand to support additional devices as needed.

", - "smithy.api#title": "AWS Private 5G" - }, "version": "2021-12-03", "operations": [ { @@ -1005,7 +977,35 @@ { "target": "com.amazonaws.privatenetworks#UpdateNetworkSitePlan" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "PrivateNetworks", + "arnNamespace": "private-networks" + }, + "aws.auth#sigv4": { + "name": "private-networks" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "*", + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id", + "x-amzn-trace-id" + ], + "additionalExposedHeaders": [ + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-trace-id" + ], + "maxAge": 86400 + }, + "smithy.api#documentation": "

Amazon Web Services Private 5G is a managed service that makes it easy to deploy, operate, and scale\n your own private mobile network at your on-premises location. Private 5G provides the\n pre-configured hardware and software for mobile networks, helps automate setup, and\n scales capacity on demand to support additional devices as needed.

", + "smithy.api#title": "AWS Private 5G" + } }, "com.amazonaws.privatenetworks#ElevationReference": { "type": "string", @@ -1452,7 +1452,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#range": { "min": 1, @@ -1539,7 +1539,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#range": { "min": 1, @@ -1626,7 +1626,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#range": { "min": 1, @@ -1706,7 +1706,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#range": { "min": 1, @@ -1787,7 +1787,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#range": { "min": 1, @@ -3037,4 +3037,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/proton.json b/codegen/sdk/aws-models/proton.json index c06f51da5b8..dbe9a79abf7 100644 --- a/codegen/sdk/aws-models/proton.json +++ b/codegen/sdk/aws-models/proton.json @@ -9849,4 +9849,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/qldb-session.json b/codegen/sdk/aws-models/qldb-session.json index e14042478ff..71364ff8860 100644 --- a/codegen/sdk/aws-models/qldb-session.json +++ b/codegen/sdk/aws-models/qldb-session.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -270,12 +270,14 @@ "ReadIOs": { "target": "com.amazonaws.qldbsession#ReadIOs", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of read I/O requests that the command made.

" } }, "WriteIOs": { "target": "com.amazonaws.qldbsession#WriteIOs", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of write I/O requests that the command made.

" } } @@ -382,7 +384,10 @@ } }, "com.amazonaws.qldbsession#ProcessingTimeMilliseconds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.qldbsession#QLDBSession": { "type": "service", @@ -421,7 +426,10 @@ } }, "com.amazonaws.qldbsession#ReadIOs": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.qldbsession#SendCommand": { "type": "operation", @@ -648,6 +656,7 @@ "ProcessingTimeMilliseconds": { "target": "com.amazonaws.qldbsession#ProcessingTimeMilliseconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time that QLDB spent on processing the command, measured in\n milliseconds.

" } } @@ -693,7 +702,10 @@ } }, "com.amazonaws.qldbsession#WriteIOs": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/qldb.json b/codegen/sdk/aws-models/qldb.json index 18464dd6083..66363ef4b0b 100644 --- a/codegen/sdk/aws-models/qldb.json +++ b/codegen/sdk/aws-models/qldb.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.qldb#AmazonQLDB": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "QLDB", - "arnNamespace": "qldb", - "cloudFormationName": "QLDB", - "cloudTrailEventSource": "qldb.amazonaws.com", - "endpointPrefix": "qldb" - }, - "aws.auth#sigv4": { - "name": "qldb" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

The control plane for Amazon QLDB

", - "smithy.api#title": "Amazon QLDB", - "smithy.api#xmlNamespace": { - "uri": "http://ledger.amazonaws.com/doc/2019-01-02/" - } - }, "version": "2019-01-02", "operations": [ { @@ -111,7 +93,25 @@ { "target": "com.amazonaws.qldb#UpdateLedgerPermissionsMode" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "QLDB", + "arnNamespace": "qldb", + "cloudFormationName": "QLDB", + "cloudTrailEventSource": "qldb.amazonaws.com", + "endpointPrefix": "qldb" + }, + "aws.auth#sigv4": { + "name": "qldb" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

The control plane for Amazon QLDB

", + "smithy.api#title": "Amazon QLDB", + "smithy.api#xmlNamespace": { + "uri": "http://ledger.amazonaws.com/doc/2019-01-02/" + } + } }, "com.amazonaws.qldb#Arn": { "type": "string", @@ -123,10 +123,7 @@ } }, "com.amazonaws.qldb#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.qldb#CancelJournalKinesisStream": { "type": "operation", @@ -308,6 +305,9 @@ "input": { "target": "com.amazonaws.qldb#DeleteLedgerRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.qldb#InvalidParameterException" @@ -345,10 +345,7 @@ } }, "com.amazonaws.qldb#DeletionProtection": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.qldb#DescribeJournalKinesisStream": { "type": "operation", @@ -1553,7 +1550,6 @@ "com.amazonaws.qldb#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/quicksight.json b/codegen/sdk/aws-models/quicksight.json index 593d3b150af..b98d12320c6 100644 --- a/codegen/sdk/aws-models/quicksight.json +++ b/codegen/sdk/aws-models/quicksight.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -136,6 +136,7 @@ "PublicSharingEnabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account. For more information about turning on public sharing, see UpdatePublicSharingSettings.

" } } @@ -348,61 +349,79 @@ } }, "com.amazonaws.quicksight#AnalysisErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "SOURCE_NOT_FOUND", - "name": "SOURCE_NOT_FOUND" - }, - { - "value": "DATA_SET_NOT_FOUND", - "name": "DATA_SET_NOT_FOUND" - }, - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" - }, - { - "value": "PARAMETER_VALUE_INCOMPATIBLE", - "name": "PARAMETER_VALUE_INCOMPATIBLE" - }, - { - "value": "PARAMETER_TYPE_INVALID", - "name": "PARAMETER_TYPE_INVALID" - }, - { - "value": "PARAMETER_NOT_FOUND", - "name": "PARAMETER_NOT_FOUND" - }, - { - "value": "COLUMN_TYPE_MISMATCH", - "name": "COLUMN_TYPE_MISMATCH" - }, - { - "value": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH", - "name": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" - }, - { - "value": "COLUMN_REPLACEMENT_MISSING", - "name": "COLUMN_REPLACEMENT_MISSING" - } - ] + "type": "enum", + "members": { + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_NOT_FOUND" + } + }, + "DATA_SET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_FOUND" + } + }, + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" + } + }, + "PARAMETER_VALUE_INCOMPATIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_VALUE_INCOMPATIBLE" + } + }, + "PARAMETER_TYPE_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_TYPE_INVALID" + } + }, + "PARAMETER_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_NOT_FOUND" + } + }, + "COLUMN_TYPE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_TYPE_MISMATCH" + } + }, + "COLUMN_GEOGRAPHIC_ROLE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" + } + }, + "COLUMN_REPLACEMENT_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_REPLACEMENT_MISSING" + } + } } }, "com.amazonaws.quicksight#AnalysisFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT_USER", - "name": "QUICKSIGHT_USER" + "type": "enum", + "members": { + "QUICKSIGHT_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT_USER" } - ] + } } }, "com.amazonaws.quicksight#AnalysisName": { @@ -604,22 +623,26 @@ } }, "com.amazonaws.quicksight#AssignmentStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DRAFT", - "name": "DRAFT" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DRAFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DRAFT" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.quicksight#AthenaParameters": { @@ -649,6 +672,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -678,6 +702,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that Amazon Aurora PostgreSQL is listening on.

", "smithy.api#required": {} } @@ -695,22 +720,26 @@ } }, "com.amazonaws.quicksight#AuthenticationMethodOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IAM_AND_QUICKSIGHT", - "name": "IAM_AND_QUICKSIGHT" - }, - { - "value": "IAM_ONLY", - "name": "IAM_ONLY" - }, - { - "value": "ACTIVE_DIRECTORY", - "name": "ACTIVE_DIRECTORY" + "type": "enum", + "members": { + "IAM_AND_QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_AND_QUICKSIGHT" + } + }, + "IAM_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ONLY" } - ] + }, + "ACTIVE_DIRECTORY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACTIVE_DIRECTORY" + } + } } }, "com.amazonaws.quicksight#AwsAccountId": { @@ -745,7 +774,10 @@ } }, "com.amazonaws.quicksight#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.quicksight#BorderStyle": { "type": "structure", @@ -753,7 +785,7 @@ "Show": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The option to enable display of borders for visuals.

" } } @@ -899,6 +931,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -964,26 +997,32 @@ } }, "com.amazonaws.quicksight#ColumnDataType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "INTEGER", - "name": "INTEGER" - }, - { - "value": "DECIMAL", - "name": "DECIMAL" - }, - { - "value": "DATETIME", - "name": "DATETIME" - } - ] + "type": "enum", + "members": { + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "INTEGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTEGER" + } + }, + "DECIMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DECIMAL" + } + }, + "DATETIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATETIME" + } + } } }, "com.amazonaws.quicksight#ColumnDescription": { @@ -1245,18 +1284,20 @@ } }, "com.amazonaws.quicksight#ColumnTagName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COLUMN_GEOGRAPHIC_ROLE", - "name": "COLUMN_GEOGRAPHIC_ROLE" - }, - { - "value": "COLUMN_DESCRIPTION", - "name": "COLUMN_DESCRIPTION" + "type": "enum", + "members": { + "COLUMN_GEOGRAPHIC_ROLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_GEOGRAPHIC_ROLE" + } + }, + "COLUMN_DESCRIPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_DESCRIPTION" } - ] + } } }, "com.amazonaws.quicksight#ColumnTagNames": { @@ -1418,6 +1459,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -1583,6 +1625,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -1718,6 +1761,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -1886,6 +1930,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -2072,6 +2117,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -2221,6 +2267,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -2359,6 +2406,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

" } }, @@ -2433,6 +2481,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -2598,6 +2647,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -2659,6 +2709,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -2797,6 +2848,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -2908,6 +2960,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -3038,6 +3091,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -3178,6 +3232,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -3272,6 +3327,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -3418,6 +3474,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -3520,6 +3577,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -3655,18 +3713,20 @@ } }, "com.amazonaws.quicksight#DashboardBehavior": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + } } }, "com.amazonaws.quicksight#DashboardError": { @@ -3701,61 +3761,79 @@ } }, "com.amazonaws.quicksight#DashboardErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "SOURCE_NOT_FOUND", - "name": "SOURCE_NOT_FOUND" - }, - { - "value": "DATA_SET_NOT_FOUND", - "name": "DATA_SET_NOT_FOUND" - }, - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" - }, - { - "value": "PARAMETER_VALUE_INCOMPATIBLE", - "name": "PARAMETER_VALUE_INCOMPATIBLE" - }, - { - "value": "PARAMETER_TYPE_INVALID", - "name": "PARAMETER_TYPE_INVALID" - }, - { - "value": "PARAMETER_NOT_FOUND", - "name": "PARAMETER_NOT_FOUND" - }, - { - "value": "COLUMN_TYPE_MISMATCH", - "name": "COLUMN_TYPE_MISMATCH" - }, - { - "value": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH", - "name": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" - }, - { - "value": "COLUMN_REPLACEMENT_MISSING", - "name": "COLUMN_REPLACEMENT_MISSING" - } - ] + "type": "enum", + "members": { + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_NOT_FOUND" + } + }, + "DATA_SET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_FOUND" + } + }, + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" + } + }, + "PARAMETER_VALUE_INCOMPATIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_VALUE_INCOMPATIBLE" + } + }, + "PARAMETER_TYPE_INVALID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_TYPE_INVALID" + } + }, + "PARAMETER_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARAMETER_NOT_FOUND" + } + }, + "COLUMN_TYPE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_TYPE_MISMATCH" + } + }, + "COLUMN_GEOGRAPHIC_ROLE_MISMATCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_GEOGRAPHIC_ROLE_MISMATCH" + } + }, + "COLUMN_REPLACEMENT_MISSING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLUMN_REPLACEMENT_MISSING" + } + } } }, "com.amazonaws.quicksight#DashboardFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT_USER", - "name": "QUICKSIGHT_USER" + "type": "enum", + "members": { + "QUICKSIGHT_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT_USER" } - ] + } } }, "com.amazonaws.quicksight#DashboardName": { @@ -3931,18 +4009,20 @@ } }, "com.amazonaws.quicksight#DashboardUIState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EXPANDED", - "name": "EXPANDED" - }, - { - "value": "COLLAPSED", - "name": "COLLAPSED" + "type": "enum", + "members": { + "EXPANDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPANDED" + } + }, + "COLLAPSED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COLLAPSED" } - ] + } } }, "com.amazonaws.quicksight#DashboardVersion": { @@ -4184,6 +4264,7 @@ "ConsumedSpiceCapacityInBytes": { "target": "com.amazonaws.quicksight#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of SPICE capacity used by this dataset. This is 0 if the dataset isn't\n imported into SPICE.

" } }, @@ -4279,18 +4360,20 @@ } }, "com.amazonaws.quicksight#DataSetImportMode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SPICE", - "name": "SPICE" - }, - { - "value": "DIRECT_QUERY", - "name": "DIRECT_QUERY" + "type": "enum", + "members": { + "SPICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPICE" + } + }, + "DIRECT_QUERY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DIRECT_QUERY" } - ] + } } }, "com.amazonaws.quicksight#DataSetName": { @@ -4397,12 +4480,14 @@ "RowLevelPermissionTagConfigurationApplied": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether or not the row level permission tags are applied.

" } }, "ColumnLevelPermissionRulesApplied": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates if the dataset has column level permission configured.

" } } @@ -4423,12 +4508,14 @@ "DisableUseAsDirectQuerySource": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

An option that controls whether a child dataset of a direct query can use this dataset as a source.

" } }, "DisableUseAsImportedSource": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

An option that controls whether a child dataset that's stored in QuickSight can use this dataset as a source.

" } } @@ -4511,6 +4598,12 @@ "traits": { "smithy.api#documentation": "

Error information from the last update or the creation of the data source.

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

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

" + } } }, "traits": { @@ -4531,6 +4624,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a data source that has the credential pair that you\n want to use. When CopySourceArn is not null, the credential pair from the\n data source in the ARN is used as the credentials for the\n DataSourceCredentials structure.

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

The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.

" + } } }, "traits": { @@ -4559,42 +4658,56 @@ } }, "com.amazonaws.quicksight#DataSourceErrorInfoType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - }, - { - "value": "COPY_SOURCE_NOT_FOUND", - "name": "COPY_SOURCE_NOT_FOUND" - }, - { - "value": "TIMEOUT", - "name": "TIMEOUT" - }, - { - "value": "ENGINE_VERSION_NOT_SUPPORTED", - "name": "ENGINE_VERSION_NOT_SUPPORTED" - }, - { - "value": "UNKNOWN_HOST", - "name": "UNKNOWN_HOST" - }, - { - "value": "GENERIC_SQL_FAILURE", - "name": "GENERIC_SQL_FAILURE" - }, - { - "value": "CONFLICT", - "name": "CONFLICT" - }, - { - "value": "UNKNOWN", - "name": "UNKNOWN" - } - ] + "type": "enum", + "members": { + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + }, + "COPY_SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COPY_SOURCE_NOT_FOUND" + } + }, + "TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMEOUT" + } + }, + "ENGINE_VERSION_NOT_SUPPORTED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENGINE_VERSION_NOT_SUPPORTED" + } + }, + "UNKNOWN_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN_HOST" + } + }, + "GENERIC_SQL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERIC_SQL_FAILURE" + } + }, + "CONFLICT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONFLICT" + } + }, + "UNKNOWN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNKNOWN" + } + } } }, "com.amazonaws.quicksight#DataSourceList": { @@ -4756,192 +4869,240 @@ } }, "com.amazonaws.quicksight#DataSourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADOBE_ANALYTICS", - "name": "ADOBE_ANALYTICS" - }, - { - "value": "AMAZON_ELASTICSEARCH", - "name": "AMAZON_ELASTICSEARCH" - }, - { - "value": "ATHENA", - "name": "ATHENA" - }, - { - "value": "AURORA", - "name": "AURORA" - }, - { - "value": "AURORA_POSTGRESQL", - "name": "AURORA_POSTGRESQL" - }, - { - "value": "AWS_IOT_ANALYTICS", - "name": "AWS_IOT_ANALYTICS" - }, - { - "value": "GITHUB", - "name": "GITHUB" - }, - { - "value": "JIRA", - "name": "JIRA" - }, - { - "value": "MARIADB", - "name": "MARIADB" - }, - { - "value": "MYSQL", - "name": "MYSQL" - }, - { - "value": "ORACLE", - "name": "ORACLE" - }, - { - "value": "POSTGRESQL", - "name": "POSTGRESQL" - }, - { - "value": "PRESTO", - "name": "PRESTO" - }, - { - "value": "REDSHIFT", - "name": "REDSHIFT" - }, - { - "value": "S3", - "name": "S3" - }, - { - "value": "SALESFORCE", - "name": "SALESFORCE" - }, - { - "value": "SERVICENOW", - "name": "SERVICENOW" - }, - { - "value": "SNOWFLAKE", - "name": "SNOWFLAKE" - }, - { - "value": "SPARK", - "name": "SPARK" - }, - { - "value": "SQLSERVER", - "name": "SQLSERVER" - }, - { - "value": "TERADATA", - "name": "TERADATA" - }, - { - "value": "TWITTER", - "name": "TWITTER" - }, - { - "value": "TIMESTREAM", - "name": "TIMESTREAM" - }, - { - "value": "AMAZON_OPENSEARCH", - "name": "AMAZON_OPENSEARCH" - }, - { - "value": "EXASOL", - "name": "EXASOL" - } - ] - } - }, - "com.amazonaws.quicksight#Database": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } - }, - "com.amazonaws.quicksight#DateTimeParameter": { - "type": "structure", + "type": "enum", "members": { - "Name": { - "target": "com.amazonaws.quicksight#NonEmptyString", + "ADOBE_ANALYTICS": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

A display name for the date-time parameter.

", - "smithy.api#required": {} + "smithy.api#enumValue": "ADOBE_ANALYTICS" } }, - "Values": { - "target": "com.amazonaws.quicksight#TimestampList", + "AMAZON_ELASTICSEARCH": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The values for the date-time parameter.

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

A date-time parameter.

" - } - }, - "com.amazonaws.quicksight#DateTimeParameterList": { - "type": "list", - "member": { - "target": "com.amazonaws.quicksight#DateTimeParameter" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.quicksight#DecimalParameter": { - "type": "structure", - "members": { - "Name": { - "target": "com.amazonaws.quicksight#NonEmptyString", + }, + "ATHENA": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

A display name for the decimal parameter.

", - "smithy.api#required": {} + "smithy.api#enumValue": "ATHENA" } }, - "Values": { - "target": "com.amazonaws.quicksight#DoubleList", + "AURORA": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The values for the decimal parameter.

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

A decimal parameter.

" - } - }, - "com.amazonaws.quicksight#DecimalParameterList": { - "type": "list", - "member": { - "target": "com.amazonaws.quicksight#DecimalParameter" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 100 - } - } - }, - "com.amazonaws.quicksight#DeleteAccountCustomization": { - "type": "operation", - "input": { + }, + "AURORA_POSTGRESQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AURORA_POSTGRESQL" + } + }, + "AWS_IOT_ANALYTICS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AWS_IOT_ANALYTICS" + } + }, + "GITHUB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GITHUB" + } + }, + "JIRA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JIRA" + } + }, + "MARIADB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MARIADB" + } + }, + "MYSQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MYSQL" + } + }, + "ORACLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ORACLE" + } + }, + "POSTGRESQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POSTGRESQL" + } + }, + "PRESTO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PRESTO" + } + }, + "REDSHIFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REDSHIFT" + } + }, + "S3": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3" + } + }, + "SALESFORCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SALESFORCE" + } + }, + "SERVICENOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SERVICENOW" + } + }, + "SNOWFLAKE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNOWFLAKE" + } + }, + "SPARK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPARK" + } + }, + "SQLSERVER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQLSERVER" + } + }, + "TERADATA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TERADATA" + } + }, + "TWITTER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TWITTER" + } + }, + "TIMESTREAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TIMESTREAM" + } + }, + "AMAZON_OPENSEARCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AMAZON_OPENSEARCH" + } + }, + "EXASOL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXASOL" + } + } + } + }, + "com.amazonaws.quicksight#Database": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.quicksight#DateTimeParameter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.quicksight#NonEmptyString", + "traits": { + "smithy.api#documentation": "

A display name for the date-time parameter.

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

The values for the date-time parameter.

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

A date-time parameter.

" + } + }, + "com.amazonaws.quicksight#DateTimeParameterList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#DateTimeParameter" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.quicksight#DecimalParameter": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.quicksight#NonEmptyString", + "traits": { + "smithy.api#documentation": "

A display name for the decimal parameter.

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

The values for the decimal parameter.

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

A decimal parameter.

" + } + }, + "com.amazonaws.quicksight#DecimalParameterList": { + "type": "list", + "member": { + "target": "com.amazonaws.quicksight#DecimalParameter" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.quicksight#DeleteAccountCustomization": { + "type": "operation", + "input": { "target": "com.amazonaws.quicksight#DeleteAccountCustomizationRequest" }, "output": { @@ -5011,6 +5172,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5083,6 +5245,7 @@ "ForceDeleteWithoutRecovery": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

This option defaults to the value NoForceDeleteWithoutRecovery. To\n immediately delete the analysis, add the ForceDeleteWithoutRecovery option.\n You can't restore an analysis after it's deleted.

", "smithy.api#httpQuery": "force-delete-without-recovery" } @@ -5095,6 +5258,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5196,6 +5360,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5299,6 +5464,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5384,6 +5550,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5513,6 +5680,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

" } }, @@ -5551,6 +5719,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5704,6 +5873,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5751,6 +5921,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5844,6 +6015,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -5923,6 +6095,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6038,6 +6211,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6120,6 +6294,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6256,6 +6431,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6314,6 +6490,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6450,6 +6627,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6497,6 +6675,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6570,6 +6749,7 @@ "Resolved": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The Resolved flag works with the other parameters to determine which view\n of Amazon QuickSight customizations is returned. You can add this flag to your command to use\n the same view that Amazon QuickSight uses to identify which customizations to apply to the\n console. Omit this flag, or set it to no-resolved, to reveal customizations\n that are configured at different levels.

", "smithy.api#httpQuery": "resolved" } @@ -6612,6 +6792,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6686,6 +6867,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6754,6 +6936,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6882,6 +7065,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -6927,6 +7111,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7055,6 +7240,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7120,6 +7306,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of this request.

", "smithy.api#httpResponseCode": {} } @@ -7251,6 +7438,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7296,6 +7484,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7421,6 +7610,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7466,6 +7656,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7573,6 +7764,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7688,6 +7880,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7724,6 +7917,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7874,6 +8068,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -7927,6 +8122,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8017,6 +8213,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8107,6 +8304,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8190,6 +8388,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8272,6 +8471,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8393,6 +8593,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8493,6 +8694,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8546,6 +8748,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8676,6 +8879,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8776,6 +8980,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8829,6 +9034,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8928,6 +9134,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -8963,7 +9170,10 @@ } }, "com.amazonaws.quicksight#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.quicksight#DoubleList": { "type": "list", @@ -8972,41 +9182,49 @@ } }, "com.amazonaws.quicksight#Edition": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "ENTERPRISE", - "name": "ENTERPRISE" - }, - { - "value": "ENTERPRISE_AND_Q", - "name": "ENTERPRISE_AND_Q" + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" } - ] + }, + "ENTERPRISE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTERPRISE" + } + }, + "ENTERPRISE_AND_Q": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENTERPRISE_AND_Q" + } + } } }, "com.amazonaws.quicksight#EmbeddingIdentityType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IAM", - "name": "IAM" - }, - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" - }, - { - "value": "ANONYMOUS", - "name": "ANONYMOUS" + "type": "enum", + "members": { + "IAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM" + } + }, + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" + } + }, + "ANONYMOUS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANONYMOUS" } - ] + } } }, "com.amazonaws.quicksight#EmbeddingUrl": { @@ -9066,6 +9284,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port for the Exasol data source.

", "smithy.api#required": {} } @@ -9076,46 +9295,62 @@ } }, "com.amazonaws.quicksight#ExceptionResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "USER", - "name": "USER" - }, - { - "value": "GROUP", - "name": "GROUP" - }, - { - "value": "NAMESPACE", - "name": "NAMESPACE" - }, - { - "value": "ACCOUNT_SETTINGS", - "name": "ACCOUNT_SETTINGS" - }, - { - "value": "IAMPOLICY_ASSIGNMENT", - "name": "IAMPOLICY_ASSIGNMENT" - }, - { - "value": "DATA_SOURCE", - "name": "DATA_SOURCE" - }, - { - "value": "DATA_SET", - "name": "DATA_SET" - }, - { - "value": "VPC_CONNECTION", - "name": "VPC_CONNECTION" - }, - { - "value": "INGESTION", - "name": "INGESTION" - } - ] + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + }, + "GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP" + } + }, + "NAMESPACE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NAMESPACE" + } + }, + "ACCOUNT_SETTINGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT_SETTINGS" + } + }, + "IAMPOLICY_ASSIGNMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAMPOLICY_ASSIGNMENT" + } + }, + "DATA_SOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE" + } + }, + "DATA_SET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET" + } + }, + "VPC_CONNECTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VPC_CONNECTION" + } + }, + "INGESTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INGESTION" + } + } } }, "com.amazonaws.quicksight#ExportToCSVOption": { @@ -9189,34 +9424,44 @@ } }, "com.amazonaws.quicksight#FileFormat": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CSV", - "name": "CSV" - }, - { - "value": "TSV", - "name": "TSV" - }, - { - "value": "CLF", - "name": "CLF" - }, - { - "value": "ELF", - "name": "ELF" - }, - { - "value": "XLSX", - "name": "XLSX" - }, - { - "value": "JSON", - "name": "JSON" - } - ] + "type": "enum", + "members": { + "CSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CSV" + } + }, + "TSV": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TSV" + } + }, + "CLF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CLF" + } + }, + "ELF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELF" + } + }, + "XLSX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "XLSX" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + } } }, "com.amazonaws.quicksight#FilterOperation": { @@ -9235,14 +9480,14 @@ } }, "com.amazonaws.quicksight#FilterOperator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "StringEquals", - "name": "StringEquals" + "type": "enum", + "members": { + "StringEquals": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StringEquals" } - ] + } } }, "com.amazonaws.quicksight#Folder": { @@ -9308,14 +9553,14 @@ } }, "com.amazonaws.quicksight#FolderFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PARENT_FOLDER_ARN", - "name": "PARENT_FOLDER_ARN" + "type": "enum", + "members": { + "PARENT_FOLDER_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PARENT_FOLDER_ARN" } - ] + } } }, "com.amazonaws.quicksight#FolderMember": { @@ -9454,14 +9699,14 @@ } }, "com.amazonaws.quicksight#FolderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SHARED", - "name": "SHARED" + "type": "enum", + "members": { + "SHARED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SHARED" } - ] + } } }, "com.amazonaws.quicksight#GenerateEmbedUrlForAnonymousUser": { @@ -9572,6 +9817,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {}, "smithy.api#required": {} @@ -9684,6 +9930,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {}, "smithy.api#required": {} @@ -9711,8 +9958,7 @@ "CountryCode": { "target": "com.amazonaws.quicksight#GeoSpatialCountryCode", "traits": { - "smithy.api#documentation": "

Country code.

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

Country code.

" } }, "Columns": { @@ -9728,49 +9974,61 @@ } }, "com.amazonaws.quicksight#GeoSpatialCountryCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "US", - "name": "US" + "type": "enum", + "members": { + "US": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "US" } - ] + } } }, "com.amazonaws.quicksight#GeoSpatialDataRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "COUNTRY", - "name": "COUNTRY" - }, - { - "value": "STATE", - "name": "STATE" - }, - { - "value": "COUNTY", - "name": "COUNTY" - }, - { - "value": "CITY", - "name": "CITY" - }, - { - "value": "POSTCODE", - "name": "POSTCODE" - }, - { - "value": "LONGITUDE", - "name": "LONGITUDE" - }, - { - "value": "LATITUDE", - "name": "LATITUDE" - } - ] + "type": "enum", + "members": { + "COUNTRY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNTRY" + } + }, + "STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STATE" + } + }, + "COUNTY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COUNTY" + } + }, + "CITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CITY" + } + }, + "POSTCODE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "POSTCODE" + } + }, + "LONGITUDE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LONGITUDE" + } + }, + "LATITUDE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LATITUDE" + } + } } }, "com.amazonaws.quicksight#GetDashboardEmbedUrl": { @@ -9865,6 +10123,7 @@ "UndoRedoDisabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Remove the undo/redo button on the embedded dashboard. The default is FALSE, which enables\n\t\t\tthe undo/redo button.

", "smithy.api#httpQuery": "undo-redo-disabled" } @@ -9872,6 +10131,7 @@ "ResetDisabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Remove the reset button on the embedded dashboard. The default is FALSE, which enables the\n\t\t\treset button.

", "smithy.api#httpQuery": "reset-disabled" } @@ -9879,6 +10139,7 @@ "StatePersistenceEnabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Adds persistence of state for the user session in an embedded dashboard. Persistence\n applies to the sheet and the parameter settings. These are control settings that the\n dashboard subscriber (Amazon QuickSight reader) chooses while viewing the dashboard. If this is\n set to TRUE, the settings are the same when the subscriber reopens the same\n dashboard URL. The state is stored in Amazon QuickSight, not in a browser cookie. If this is\n set to FALSE, the state of the user session is not persisted. The default is\n FALSE.

", "smithy.api#httpQuery": "state-persistence-enabled" } @@ -9918,6 +10179,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -10025,6 +10287,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -10079,25 +10342,25 @@ } }, "com.amazonaws.quicksight#GroupFilterAttribute": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GROUP_NAME", - "name": "GROUP_NAME" + "type": "enum", + "members": { + "GROUP_NAME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP_NAME" } - ] + } } }, "com.amazonaws.quicksight#GroupFilterOperator": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "StartsWith", - "name": "StartsWith" + "type": "enum", + "members": { + "StartsWith": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StartsWith" } - ] + } } }, "com.amazonaws.quicksight#GroupList": { @@ -10204,7 +10467,7 @@ "Show": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

This Boolean value controls whether to display a gutter space between sheet tiles.\n

" } } @@ -10332,29 +10595,31 @@ } }, "com.amazonaws.quicksight#IdentityStore": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" + "type": "enum", + "members": { + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" } - ] + } } }, "com.amazonaws.quicksight#IdentityType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IAM", - "name": "IAM" - }, - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" + "type": "enum", + "members": { + "IAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM" } - ] + }, + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" + } + } } }, "com.amazonaws.quicksight#IdentityTypeNotSupportedException": { @@ -10421,14 +10686,14 @@ "IngestionTimeInSeconds": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The time that this ingestion took, measured in seconds.

" } }, "IngestionSizeInBytes": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The size of the data ingested, in bytes.

" } }, @@ -10450,186 +10715,272 @@ } }, "com.amazonaws.quicksight#IngestionErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FAILURE_TO_ASSUME_ROLE", - "name": "FAILURE_TO_ASSUME_ROLE" - }, - { - "value": "INGESTION_SUPERSEDED", - "name": "INGESTION_SUPERSEDED" - }, - { - "value": "INGESTION_CANCELED", - "name": "INGESTION_CANCELED" - }, - { - "value": "DATA_SET_DELETED", - "name": "DATA_SET_DELETED" - }, - { - "value": "DATA_SET_NOT_SPICE", - "name": "DATA_SET_NOT_SPICE" - }, - { - "value": "S3_UPLOADED_FILE_DELETED", - "name": "S3_UPLOADED_FILE_DELETED" - }, - { - "value": "S3_MANIFEST_ERROR", - "name": "S3_MANIFEST_ERROR" - }, - { - "value": "DATA_TOLERANCE_EXCEPTION", - "name": "DATA_TOLERANCE_EXCEPTION" - }, - { - "value": "SPICE_TABLE_NOT_FOUND", - "name": "SPICE_TABLE_NOT_FOUND" - }, - { - "value": "DATA_SET_SIZE_LIMIT_EXCEEDED", - "name": "DATA_SET_SIZE_LIMIT_EXCEEDED" - }, - { - "value": "ROW_SIZE_LIMIT_EXCEEDED", - "name": "ROW_SIZE_LIMIT_EXCEEDED" - }, - { - "value": "ACCOUNT_CAPACITY_LIMIT_EXCEEDED", - "name": "ACCOUNT_CAPACITY_LIMIT_EXCEEDED" - }, - { - "value": "CUSTOMER_ERROR", - "name": "CUSTOMER_ERROR" - }, - { - "value": "DATA_SOURCE_NOT_FOUND", - "name": "DATA_SOURCE_NOT_FOUND" - }, - { - "value": "IAM_ROLE_NOT_AVAILABLE", - "name": "IAM_ROLE_NOT_AVAILABLE" - }, - { - "value": "CONNECTION_FAILURE", - "name": "CONNECTION_FAILURE" - }, - { - "value": "SQL_TABLE_NOT_FOUND", - "name": "SQL_TABLE_NOT_FOUND" - }, - { - "value": "PERMISSION_DENIED", - "name": "PERMISSION_DENIED" - }, - { - "value": "SSL_CERTIFICATE_VALIDATION_FAILURE", - "name": "SSL_CERTIFICATE_VALIDATION_FAILURE" - }, - { - "value": "OAUTH_TOKEN_FAILURE", - "name": "OAUTH_TOKEN_FAILURE" - }, - { - "value": "SOURCE_API_LIMIT_EXCEEDED_FAILURE", - "name": "SOURCE_API_LIMIT_EXCEEDED_FAILURE" - }, - { - "value": "PASSWORD_AUTHENTICATION_FAILURE", - "name": "PASSWORD_AUTHENTICATION_FAILURE" - }, - { - "value": "SQL_SCHEMA_MISMATCH_ERROR", - "name": "SQL_SCHEMA_MISMATCH_ERROR" - }, - { - "value": "INVALID_DATE_FORMAT", - "name": "INVALID_DATE_FORMAT" - }, - { - "value": "INVALID_DATAPREP_SYNTAX", - "name": "INVALID_DATAPREP_SYNTAX" - }, - { - "value": "SOURCE_RESOURCE_LIMIT_EXCEEDED", - "name": "SOURCE_RESOURCE_LIMIT_EXCEEDED" - }, - { - "value": "SQL_INVALID_PARAMETER_VALUE", - "name": "SQL_INVALID_PARAMETER_VALUE" - }, - { - "value": "QUERY_TIMEOUT", - "name": "QUERY_TIMEOUT" - }, - { - "value": "SQL_NUMERIC_OVERFLOW", - "name": "SQL_NUMERIC_OVERFLOW" - }, - { - "value": "UNRESOLVABLE_HOST", - "name": "UNRESOLVABLE_HOST" - }, - { - "value": "UNROUTABLE_HOST", - "name": "UNROUTABLE_HOST" - }, - { - "value": "SQL_EXCEPTION", - "name": "SQL_EXCEPTION" - }, - { - "value": "S3_FILE_INACCESSIBLE", - "name": "S3_FILE_INACCESSIBLE" - }, - { - "value": "IOT_FILE_NOT_FOUND", - "name": "IOT_FILE_NOT_FOUND" - }, - { - "value": "IOT_DATA_SET_FILE_EMPTY", - "name": "IOT_DATA_SET_FILE_EMPTY" - }, - { - "value": "INVALID_DATA_SOURCE_CONFIG", - "name": "INVALID_DATA_SOURCE_CONFIG" - }, - { - "value": "DATA_SOURCE_AUTH_FAILED", - "name": "DATA_SOURCE_AUTH_FAILED" - }, - { - "value": "DATA_SOURCE_CONNECTION_FAILED", - "name": "DATA_SOURCE_CONNECTION_FAILED" - }, - { - "value": "FAILURE_TO_PROCESS_JSON_FILE", - "name": "FAILURE_TO_PROCESS_JSON_FILE" - }, - { - "value": "INTERNAL_SERVICE_ERROR", - "name": "INTERNAL_SERVICE_ERROR" - }, - { - "value": "REFRESH_SUPPRESSED_BY_EDIT", - "name": "REFRESH_SUPPRESSED_BY_EDIT" - }, - { - "value": "PERMISSION_NOT_FOUND", - "name": "PERMISSION_NOT_FOUND" - }, - { - "value": "ELASTICSEARCH_CURSOR_NOT_ENABLED", - "name": "ELASTICSEARCH_CURSOR_NOT_ENABLED" - }, - { - "value": "CURSOR_NOT_ENABLED", - "name": "CURSOR_NOT_ENABLED" - } - ] + "type": "enum", + "members": { + "FAILURE_TO_ASSUME_ROLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILURE_TO_ASSUME_ROLE" + } + }, + "INGESTION_SUPERSEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INGESTION_SUPERSEDED" + } + }, + "INGESTION_CANCELED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INGESTION_CANCELED" + } + }, + "DATA_SET_DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_DELETED" + } + }, + "DATA_SET_NOT_SPICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_SPICE" + } + }, + "S3_UPLOADED_FILE_DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_UPLOADED_FILE_DELETED" + } + }, + "S3_MANIFEST_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_MANIFEST_ERROR" + } + }, + "DATA_TOLERANCE_EXCEPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_TOLERANCE_EXCEPTION" + } + }, + "SPICE_TABLE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPICE_TABLE_NOT_FOUND" + } + }, + "DATA_SET_SIZE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_SIZE_LIMIT_EXCEEDED" + } + }, + "ROW_SIZE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROW_SIZE_LIMIT_EXCEEDED" + } + }, + "ACCOUNT_CAPACITY_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCOUNT_CAPACITY_LIMIT_EXCEEDED" + } + }, + "CUSTOMER_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOMER_ERROR" + } + }, + "DATA_SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE_NOT_FOUND" + } + }, + "IAM_ROLE_NOT_AVAILABLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IAM_ROLE_NOT_AVAILABLE" + } + }, + "CONNECTION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CONNECTION_FAILURE" + } + }, + "SQL_TABLE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_TABLE_NOT_FOUND" + } + }, + "PERMISSION_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMISSION_DENIED" + } + }, + "SSL_CERTIFICATE_VALIDATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SSL_CERTIFICATE_VALIDATION_FAILURE" + } + }, + "OAUTH_TOKEN_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OAUTH_TOKEN_FAILURE" + } + }, + "SOURCE_API_LIMIT_EXCEEDED_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_API_LIMIT_EXCEEDED_FAILURE" + } + }, + "PASSWORD_AUTHENTICATION_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PASSWORD_AUTHENTICATION_FAILURE" + } + }, + "SQL_SCHEMA_MISMATCH_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_SCHEMA_MISMATCH_ERROR" + } + }, + "INVALID_DATE_FORMAT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DATE_FORMAT" + } + }, + "INVALID_DATAPREP_SYNTAX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DATAPREP_SYNTAX" + } + }, + "SOURCE_RESOURCE_LIMIT_EXCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_RESOURCE_LIMIT_EXCEEDED" + } + }, + "SQL_INVALID_PARAMETER_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_INVALID_PARAMETER_VALUE" + } + }, + "QUERY_TIMEOUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUERY_TIMEOUT" + } + }, + "SQL_NUMERIC_OVERFLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_NUMERIC_OVERFLOW" + } + }, + "UNRESOLVABLE_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNRESOLVABLE_HOST" + } + }, + "UNROUTABLE_HOST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UNROUTABLE_HOST" + } + }, + "SQL_EXCEPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SQL_EXCEPTION" + } + }, + "S3_FILE_INACCESSIBLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_FILE_INACCESSIBLE" + } + }, + "IOT_FILE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IOT_FILE_NOT_FOUND" + } + }, + "IOT_DATA_SET_FILE_EMPTY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IOT_DATA_SET_FILE_EMPTY" + } + }, + "INVALID_DATA_SOURCE_CONFIG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INVALID_DATA_SOURCE_CONFIG" + } + }, + "DATA_SOURCE_AUTH_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE_AUTH_FAILED" + } + }, + "DATA_SOURCE_CONNECTION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SOURCE_CONNECTION_FAILED" + } + }, + "FAILURE_TO_PROCESS_JSON_FILE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILURE_TO_PROCESS_JSON_FILE" + } + }, + "INTERNAL_SERVICE_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_SERVICE_ERROR" + } + }, + "REFRESH_SUPPRESSED_BY_EDIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "REFRESH_SUPPRESSED_BY_EDIT" + } + }, + "PERMISSION_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMISSION_NOT_FOUND" + } + }, + "ELASTICSEARCH_CURSOR_NOT_ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ELASTICSEARCH_CURSOR_NOT_ENABLED" + } + }, + "CURSOR_NOT_ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CURSOR_NOT_ENABLED" + } + } } }, "com.amazonaws.quicksight#IngestionId": { @@ -10645,6 +10996,7 @@ "com.amazonaws.quicksight#IngestionMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -10652,89 +11004,113 @@ } }, "com.amazonaws.quicksight#IngestionRequestSource": { - "type": "string", + "type": "enum", + "members": { + "MANUAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MANUAL" + } + }, + "SCHEDULED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SCHEDULED" + } + } + } + }, + "com.amazonaws.quicksight#IngestionRequestType": { + "type": "enum", + "members": { + "INITIAL_INGESTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIAL_INGESTION" + } + }, + "EDIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDIT" + } + }, + "INCREMENTAL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCREMENTAL_REFRESH" + } + }, + "FULL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_REFRESH" + } + } + }, "traits": { - "smithy.api#enum": [ - { - "value": "MANUAL", - "name": "MANUAL" - }, - { - "value": "SCHEDULED", - "name": "SCHEDULED" + "smithy.api#documentation": "This defines the type of ingestion request. This is returned as part of create ingestion response." + } + }, + "com.amazonaws.quicksight#IngestionStatus": { + "type": "enum", + "members": { + "INITIALIZED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INITIALIZED" + } + }, + "QUEUED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUEUED" + } + }, + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" } - ] - } - }, - "com.amazonaws.quicksight#IngestionRequestType": { - "type": "string", - "traits": { - "smithy.api#documentation": "This defines the type of ingestion request. This is returned as part of create ingestion response.", - "smithy.api#enum": [ - { - "value": "INITIAL_INGESTION", - "name": "INITIAL_INGESTION" - }, - { - "value": "EDIT", - "name": "EDIT" - }, - { - "value": "INCREMENTAL_REFRESH", - "name": "INCREMENTAL_REFRESH" - }, - { - "value": "FULL_REFRESH", - "name": "FULL_REFRESH" - } - ] - } - }, - "com.amazonaws.quicksight#IngestionStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INITIALIZED", - "name": "INITIALIZED" - }, - { - "value": "QUEUED", - "name": "QUEUED" - }, - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - } - ] + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + } } }, "com.amazonaws.quicksight#IngestionType": { - "type": "string", - "traits": { - "smithy.api#documentation": "This defines the type of ingestion user wants to trigger. This is part of create ingestion request.", - "smithy.api#enum": [ - { - "value": "INCREMENTAL_REFRESH", - "name": "INCREMENTAL_REFRESH" - }, - { - "value": "FULL_REFRESH", - "name": "FULL_REFRESH" + "type": "enum", + "members": { + "INCREMENTAL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INCREMENTAL_REFRESH" } - ] + }, + "FULL_REFRESH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_REFRESH" + } + } + }, + "traits": { + "smithy.api#documentation": "This defines the type of ingestion user wants to trigger. This is part of create ingestion request." } }, "com.amazonaws.quicksight#Ingestions": { @@ -10766,38 +11142,50 @@ } }, "com.amazonaws.quicksight#InputColumnDataType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STRING", - "name": "STRING" - }, - { - "value": "INTEGER", - "name": "INTEGER" - }, - { - "value": "DECIMAL", - "name": "DECIMAL" - }, - { - "value": "DATETIME", - "name": "DATETIME" - }, - { - "value": "BIT", - "name": "BIT" - }, - { - "value": "BOOLEAN", - "name": "BOOLEAN" - }, - { - "value": "JSON", - "name": "JSON" - } - ] + "type": "enum", + "members": { + "STRING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STRING" + } + }, + "INTEGER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTEGER" + } + }, + "DECIMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DECIMAL" + } + }, + "DATETIME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATETIME" + } + }, + "BIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BIT" + } + }, + "BOOLEAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "BOOLEAN" + } + }, + "JSON": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JSON" + } + } } }, "com.amazonaws.quicksight#InputColumnList": { @@ -10999,7 +11387,7 @@ "UniqueKey": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

A value that indicates that a row in a table is uniquely identified by the columns in\n a join key. This is used by Amazon QuickSight to optimize query performance.

" } } @@ -11009,26 +11397,32 @@ } }, "com.amazonaws.quicksight#JoinType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INNER", - "name": "INNER" - }, - { - "value": "OUTER", - "name": "OUTER" - }, - { - "value": "LEFT", - "name": "LEFT" - }, - { - "value": "RIGHT", - "name": "RIGHT" - } - ] + "type": "enum", + "members": { + "INNER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INNER" + } + }, + "OUTER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OUTER" + } + }, + "LEFT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LEFT" + } + }, + "RIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RIGHT" + } + } } }, "com.amazonaws.quicksight#LimitExceededException": { @@ -11128,7 +11522,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "max-results" } @@ -11153,6 +11547,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11237,7 +11632,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -11262,6 +11657,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11332,7 +11728,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -11357,6 +11753,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11430,7 +11827,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -11461,6 +11858,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11528,7 +11926,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -11559,6 +11957,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11634,7 +12033,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -11647,6 +12046,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11732,7 +12132,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -11745,6 +12145,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11833,7 +12234,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -11880,6 +12281,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -11950,7 +12352,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "max-results" } @@ -11989,6 +12391,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12101,7 +12504,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -12140,6 +12543,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12181,7 +12585,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -12212,6 +12616,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12293,7 +12698,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#IngestionMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -12324,6 +12729,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12400,7 +12806,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "max-results" } @@ -12431,6 +12837,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12502,6 +12909,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12577,7 +12985,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-result" } @@ -12596,6 +13004,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12686,7 +13095,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -12711,6 +13120,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12787,7 +13197,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-result" } @@ -12812,6 +13222,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -12893,7 +13304,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-result" } @@ -12912,6 +13323,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -13005,7 +13417,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -13030,6 +13442,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -13109,7 +13522,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

", "smithy.api#httpQuery": "max-results" } @@ -13141,6 +13554,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -13230,7 +13644,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -13261,6 +13675,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -13331,7 +13746,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -13370,6 +13785,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -13465,7 +13881,10 @@ } }, "com.amazonaws.quicksight#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.quicksight#LongList": { "type": "list", @@ -13501,7 +13920,7 @@ "Show": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

This Boolean value controls whether to display sheet margins.

" } } @@ -13523,6 +13942,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -13542,6 +13962,7 @@ "com.amazonaws.quicksight#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -13569,22 +13990,26 @@ } }, "com.amazonaws.quicksight#MemberType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DASHBOARD", - "name": "DASHBOARD" - }, - { - "value": "ANALYSIS", - "name": "ANALYSIS" - }, - { - "value": "DATASET", - "name": "DATASET" + "type": "enum", + "members": { + "DASHBOARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DASHBOARD" } - ] + }, + "ANALYSIS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ANALYSIS" + } + }, + "DATASET": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATASET" + } + } } }, "com.amazonaws.quicksight#MySqlParameters": { @@ -13600,6 +14025,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -13647,18 +14073,20 @@ } }, "com.amazonaws.quicksight#NamespaceErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PERMISSION_DENIED", - "name": "PERMISSION_DENIED" - }, - { - "value": "INTERNAL_SERVICE_ERROR", - "name": "INTERNAL_SERVICE_ERROR" + "type": "enum", + "members": { + "PERMISSION_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMISSION_DENIED" + } + }, + "INTERNAL_SERVICE_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_SERVICE_ERROR" } - ] + } } }, "com.amazonaws.quicksight#NamespaceInfoV2": { @@ -13706,30 +14134,38 @@ } }, "com.amazonaws.quicksight#NamespaceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATED", - "name": "CREATED" - }, - { - "value": "CREATING", - "name": "CREATING" - }, - { - "value": "DELETING", - "name": "DELETING" - }, - { - "value": "RETRYABLE_FAILURE", - "name": "RETRYABLE_FAILURE" - }, - { - "value": "NON_RETRYABLE_FAILURE", - "name": "NON_RETRYABLE_FAILURE" - } - ] + "type": "enum", + "members": { + "CREATED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATED" + } + }, + "CREATING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATING" + } + }, + "DELETING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETING" + } + }, + "RETRYABLE_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETRYABLE_FAILURE" + } + }, + "NON_RETRYABLE_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NON_RETRYABLE_FAILURE" + } + } } }, "com.amazonaws.quicksight#Namespaces": { @@ -13745,10 +14181,7 @@ } }, "com.amazonaws.quicksight#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.quicksight#OnClause": { "type": "string", @@ -13762,6 +14195,7 @@ "com.amazonaws.quicksight#OptionalPort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65535 @@ -13781,6 +14215,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -13936,6 +14371,7 @@ "com.amazonaws.quicksight#Port": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -13945,6 +14381,7 @@ "com.amazonaws.quicksight#PositiveInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -13963,6 +14400,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -14011,6 +14449,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -14127,21 +14566,6 @@ }, "com.amazonaws.quicksight#QuickSight_20180401": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "QuickSight", - "arnNamespace": "quicksight", - "cloudFormationName": "QuickSight", - "cloudTrailEventSource": "quicksight.amazonaws.com", - "endpointPrefix": "quicksight" - }, - "aws.auth#sigv4": { - "name": "quicksight" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon QuickSight API Reference\n

Amazon QuickSight is a fully managed, serverless business intelligence service for the\n Amazon Web Services Cloud that makes it easy to extend data and insights to every user in your\n organization. This API reference contains documentation for a programming interface that\n you can use to manage Amazon QuickSight.

", - "smithy.api#title": "Amazon QuickSight" - }, "version": "2018-04-01", "operations": [ { @@ -14504,7 +14928,22 @@ { "target": "com.amazonaws.quicksight#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "QuickSight", + "arnNamespace": "quicksight", + "cloudFormationName": "QuickSight", + "cloudTrailEventSource": "quicksight.amazonaws.com", + "endpointPrefix": "quicksight" + }, + "aws.auth#sigv4": { + "name": "quicksight" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon QuickSight API Reference\n

Amazon QuickSight is a fully managed, serverless business intelligence service for the\n Amazon Web Services Cloud that makes it easy to extend data and insights to every user in your\n organization. This API reference contains documentation for a programming interface that\n you can use to manage Amazon QuickSight.

", + "smithy.api#title": "Amazon QuickSight" + } }, "com.amazonaws.quicksight#RdsParameters": { "type": "structure", @@ -14531,7 +14970,6 @@ "com.amazonaws.quicksight#RecoveryWindowInDays": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 7, "max": 30 @@ -14550,6 +14988,7 @@ "Port": { "target": "com.amazonaws.quicksight#OptionalPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port. This field can be blank if the ClusterId is provided.

" } }, @@ -14725,6 +15164,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -15008,38 +15448,50 @@ } }, "com.amazonaws.quicksight#ResourceStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "CREATION_IN_PROGRESS", - "name": "CREATION_IN_PROGRESS" - }, - { - "value": "CREATION_SUCCESSFUL", - "name": "CREATION_SUCCESSFUL" - }, - { - "value": "CREATION_FAILED", - "name": "CREATION_FAILED" - }, - { - "value": "UPDATE_IN_PROGRESS", - "name": "UPDATE_IN_PROGRESS" - }, - { - "value": "UPDATE_SUCCESSFUL", - "name": "UPDATE_SUCCESSFUL" - }, - { - "value": "UPDATE_FAILED", - "name": "UPDATE_FAILED" - }, - { - "value": "DELETED", - "name": "DELETED" - } - ] + "type": "enum", + "members": { + "CREATION_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_IN_PROGRESS" + } + }, + "CREATION_SUCCESSFUL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_SUCCESSFUL" + } + }, + "CREATION_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATION_FAILED" + } + }, + "UPDATE_IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_IN_PROGRESS" + } + }, + "UPDATE_SUCCESSFUL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_SUCCESSFUL" + } + }, + "UPDATE_FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UPDATE_FAILED" + } + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.quicksight#ResourceUnavailableException": { @@ -15131,6 +15583,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -15191,21 +15644,21 @@ "RowsIngested": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of rows that were ingested.

" } }, "RowsDropped": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of rows that were not ingested.

" } }, "TotalRowsInDataset": { "target": "com.amazonaws.quicksight#Long", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The total number of rows in the dataset.

" } } @@ -15255,33 +15708,37 @@ } }, "com.amazonaws.quicksight#RowLevelPermissionFormatVersion": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "VERSION_1", - "name": "VERSION_1" - }, - { - "value": "VERSION_2", - "name": "VERSION_2" + "type": "enum", + "members": { + "VERSION_1": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERSION_1" } - ] + }, + "VERSION_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERSION_2" + } + } } }, "com.amazonaws.quicksight#RowLevelPermissionPolicy": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GRANT_ACCESS", - "name": "GRANT_ACCESS" - }, - { - "value": "DENY_ACCESS", - "name": "DENY_ACCESS" + "type": "enum", + "members": { + "GRANT_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GRANT_ACCESS" } - ] + }, + "DENY_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY_ACCESS" + } + } } }, "com.amazonaws.quicksight#RowLevelPermissionTagConfiguration": { @@ -15491,7 +15948,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return.

" } } @@ -15515,6 +15972,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -15597,7 +16055,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

" } } @@ -15621,6 +16079,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -15700,7 +16159,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to be returned per request.

" } } @@ -15712,6 +16171,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -15800,7 +16260,7 @@ "MaxResults": { "target": "com.amazonaws.quicksight#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of results to return from this request.

", "smithy.api#httpQuery": "max-results" } @@ -15846,12 +16306,23 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } } } }, + "com.amazonaws.quicksight#SecretArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^arn:[-a-z0-9]*:secretsmanager:[-a-z0-9]*:[0-9]{12}:secret:.+$" + } + }, "com.amazonaws.quicksight#ServiceNowParameters": { "type": "structure", "members": { @@ -15870,7 +16341,6 @@ "com.amazonaws.quicksight#SessionLifetimeInMinutes": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 15, "max": 600 @@ -16021,6 +16491,7 @@ "IAMUser": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean that is TRUE if the Amazon QuickSight uses IAM as an\n authentication method.

" } }, @@ -16098,6 +16569,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -16129,6 +16601,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -16151,6 +16624,7 @@ "DisableSsl": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean option to control whether SSL should be disabled.

" } } @@ -16160,22 +16634,27 @@ } }, "com.amazonaws.quicksight#Status": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" } - ] + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } } }, "com.amazonaws.quicksight#StatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.quicksight#String": { "type": "string" @@ -16366,6 +16845,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -16495,26 +16975,32 @@ } }, "com.amazonaws.quicksight#TemplateErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SOURCE_NOT_FOUND", - "name": "SOURCE_NOT_FOUND" - }, - { - "value": "DATA_SET_NOT_FOUND", - "name": "DATA_SET_NOT_FOUND" - }, - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" - }, - { - "value": "ACCESS_DENIED", - "name": "ACCESS_DENIED" - } - ] + "type": "enum", + "members": { + "SOURCE_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SOURCE_NOT_FOUND" + } + }, + "DATA_SET_NOT_FOUND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DATA_SET_NOT_FOUND" + } + }, + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" + } + }, + "ACCESS_DENIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ACCESS_DENIED" + } + } } }, "com.amazonaws.quicksight#TemplateName": { @@ -16764,6 +17250,7 @@ "Port": { "target": "com.amazonaws.quicksight#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Port.

", "smithy.api#required": {} } @@ -16781,18 +17268,20 @@ } }, "com.amazonaws.quicksight#TextQualifier": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "DOUBLE_QUOTE", - "name": "DOUBLE_QUOTE" - }, - { - "value": "SINGLE_QUOTE", - "name": "SINGLE_QUOTE" + "type": "enum", + "members": { + "DOUBLE_QUOTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOUBLE_QUOTE" + } + }, + "SINGLE_QUOTE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SINGLE_QUOTE" } - ] + } } }, "com.amazonaws.quicksight#Theme": { @@ -16938,14 +17427,14 @@ } }, "com.amazonaws.quicksight#ThemeErrorType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INTERNAL_FAILURE", - "name": "INTERNAL_FAILURE" + "type": "enum", + "members": { + "INTERNAL_FAILURE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INTERNAL_FAILURE" } - ] + } } }, "com.amazonaws.quicksight#ThemeName": { @@ -17014,22 +17503,26 @@ } }, "com.amazonaws.quicksight#ThemeType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "QUICKSIGHT", - "name": "QUICKSIGHT" - }, - { - "value": "CUSTOM", - "name": "CUSTOM" - }, - { - "value": "ALL", - "name": "ALL" + "type": "enum", + "members": { + "QUICKSIGHT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "QUICKSIGHT" + } + }, + "CUSTOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CUSTOM" + } + }, + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" } - ] + } } }, "com.amazonaws.quicksight#ThemeVersion": { @@ -17272,6 +17765,7 @@ "MaxRows": { "target": "com.amazonaws.quicksight#PositiveInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of rows to query Twitter.

", "smithy.api#required": {} } @@ -17521,6 +18015,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -17630,6 +18125,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -17711,6 +18207,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -17857,6 +18354,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -17934,6 +18432,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -18098,6 +18597,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -18194,6 +18694,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -18295,6 +18796,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

" } }, @@ -18341,7 +18843,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a dataset. This operation doesn't support datasets that include uploaded files as a source.

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

Updates a dataset. This operation doesn't support datasets that include uploaded files as a source. Partial updates are not supported by this operation.

", "smithy.api#http": { "method": "PUT", "uri": "/accounts/{AwsAccountId}/data-sets/{DataSetId}", @@ -18443,6 +18945,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -18566,6 +19069,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -18703,6 +19207,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -18791,6 +19296,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -18919,6 +19425,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

" } }, @@ -18982,6 +19489,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19099,6 +19607,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19234,6 +19743,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19320,6 +19830,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19389,6 +19900,7 @@ "PublicSharingEnabled": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that indicates whether public sharing is turned on for an Amazon QuickSight account.

" } } @@ -19406,6 +19918,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19549,6 +20062,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19661,6 +20175,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19737,6 +20252,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19880,6 +20396,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -19992,6 +20509,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -20074,6 +20592,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -20176,6 +20695,7 @@ "UnapplyCustomPermissions": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that you use to indicate that you want to remove all custom permissions\n from this user. Using this parameter resets the user to the state\n it was in before a custom permissions profile was applied. This parameter defaults to\n NULL and it doesn't accept any other value.

" } }, @@ -20217,6 +20737,7 @@ "Status": { "target": "com.amazonaws.quicksight#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status of the request.

", "smithy.api#httpResponseCode": {} } @@ -20235,14 +20756,14 @@ "StartFromRow": { "target": "com.amazonaws.quicksight#PositiveInteger", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

A row number to start reading data from.

" } }, "ContainsHeader": { "target": "com.amazonaws.quicksight#Boolean", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Whether the file has a header row, or the files each have a header row.

" } }, @@ -20275,7 +20796,7 @@ "UserName": { "target": "com.amazonaws.quicksight#UserName", "traits": { - "smithy.api#documentation": "

The user's user name. In the output, the value for UserName is\n N/A when the value for IdentityType is IAM\n and the corresponding IAM user is deleted.

" + "smithy.api#documentation": "

The user's user name. This value is required if you are registering a user that will be managed in Amazon QuickSight. In the output, the value for UserName is\n N/A when the value for IdentityType is IAM\n and the corresponding IAM user is deleted.

" } }, "Email": { @@ -20299,6 +20820,7 @@ "Active": { "target": "com.amazonaws.quicksight#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The active status of user. When you create an Amazon QuickSight user that’s not an IAM\n user or an Active Directory user, that user is inactive until they sign in and provide a\n password.

" } }, @@ -20362,30 +20884,38 @@ } }, "com.amazonaws.quicksight#UserRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ADMIN", - "name": "ADMIN" - }, - { - "value": "AUTHOR", - "name": "AUTHOR" - }, - { - "value": "READER", - "name": "READER" - }, - { - "value": "RESTRICTED_AUTHOR", - "name": "RESTRICTED_AUTHOR" - }, - { - "value": "RESTRICTED_READER", - "name": "RESTRICTED_READER" - } - ] + "type": "enum", + "members": { + "ADMIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ADMIN" + } + }, + "AUTHOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AUTHOR" + } + }, + "READER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READER" + } + }, + "RESTRICTED_AUTHOR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTRICTED_AUTHOR" + } + }, + "RESTRICTED_READER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESTRICTED_READER" + } + } } }, "com.amazonaws.quicksight#VersionDescription": { @@ -20400,7 +20930,6 @@ "com.amazonaws.quicksight#VersionNumber": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } diff --git a/codegen/sdk/aws-models/ram.json b/codegen/sdk/aws-models/ram.json index 2bc06581969..be27746cee0 100644 --- a/codegen/sdk/aws-models/ram.json +++ b/codegen/sdk/aws-models/ram.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -115,21 +115,6 @@ }, "com.amazonaws.ram#AmazonResourceSharing": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RAM", - "arnNamespace": "ram", - "cloudFormationName": "RAM", - "cloudTrailEventSource": "ram.amazonaws.com", - "endpointPrefix": "ram" - }, - "aws.auth#sigv4": { - "name": "ram" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This is the Resource Access Manager API Reference. This documentation provides\n descriptions and syntax for each of the actions and data types in RAM. RAM is a\n service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you\n have multiple Amazon Web Services accounts, you can use RAM to share those resources with other\n accounts. If you use Organizations to manage your accounts, then you share your resources\n with your organization or organizational units (OUs). For supported resource types, you\n can also share resources with individual Identity and Access Management (IAM) roles an users.

\n \n

To learn more about RAM, see the following resources:

\n ", - "smithy.api#title": "AWS Resource Access Manager" - }, "version": "2018-01-04", "operations": [ { @@ -207,7 +192,22 @@ { "target": "com.amazonaws.ram#UpdateResourceShare" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "RAM", + "arnNamespace": "ram", + "cloudFormationName": "RAM", + "cloudTrailEventSource": "ram.amazonaws.com", + "endpointPrefix": "ram" + }, + "aws.auth#sigv4": { + "name": "ram" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

This is the Resource Access Manager API Reference. This documentation provides\n descriptions and syntax for each of the actions and data types in RAM. RAM is a\n service that helps you securely share your Amazon Web Services resources across Amazon Web Services accounts. If you\n have multiple Amazon Web Services accounts, you can use RAM to share those resources with other\n accounts. If you use Organizations to manage your accounts, then you share your resources\n with your organization or organizational units (OUs). For supported resource types, you\n can also share resources with individual Identity and Access Management (IAM) roles an users.

\n \n

To learn more about RAM, see the following resources:

\n ", + "smithy.api#title": "AWS Resource Access Manager" + } }, "com.amazonaws.ram#AssociateResourceShare": { "type": "operation", @@ -403,10 +403,7 @@ } }, "com.amazonaws.ram#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ram#CreateResourceShare": { "type": "operation", @@ -1330,10 +1327,7 @@ } }, "com.amazonaws.ram#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.ram#InvalidClientTokenException": { "type": "structure", @@ -2126,7 +2120,6 @@ "com.amazonaws.ram#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 500 diff --git a/codegen/sdk/aws-models/rbin.json b/codegen/sdk/aws-models/rbin.json index 59b482d94b5..dac6bd7b8d9 100644 --- a/codegen/sdk/aws-models/rbin.json +++ b/codegen/sdk/aws-models/rbin.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.rbin#AmazonRecycleBin": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "rbin", - "arnNamespace": "rbin", - "cloudFormationName": "Rbin", - "cloudTrailEventSource": "rbin.amazonaws.com", - "endpointPrefix": "rbin" - }, - "aws.auth#sigv4": { - "name": "rbin" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.

\n \n

Recycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.

\n \n

You can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.

", - "smithy.api#title": "Amazon Recycle Bin" - }, "version": "2021-06-15", "operations": [ { @@ -72,7 +57,22 @@ { "target": "com.amazonaws.rbin#UpdateRule" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "rbin", + "arnNamespace": "rbin", + "cloudFormationName": "Rbin", + "cloudTrailEventSource": "rbin.amazonaws.com", + "endpointPrefix": "rbin" + }, + "aws.auth#sigv4": { + "name": "rbin" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

This is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.

\n \n

Recycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.

\n \n

You can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#title": "Amazon Recycle Bin" + } }, "com.amazonaws.rbin#CreateRule": { "type": "operation", @@ -464,7 +464,6 @@ "com.amazonaws.rbin#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -603,7 +602,6 @@ "com.amazonaws.rbin#RetentionPeriodValue": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 3650 diff --git a/codegen/sdk/aws-models/rds-data.json b/codegen/sdk/aws-models/rds-data.json index 6649e8527f1..6ed5e3acf25 100644 --- a/codegen/sdk/aws-models/rds-data.json +++ b/codegen/sdk/aws-models/rds-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.rdsdata#AccessDeniedException": { "type": "structure", @@ -285,7 +285,10 @@ "type": "blob" }, "com.amazonaws.rdsdata#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.rdsdata#BooleanArray": { "type": "list", @@ -297,34 +300,19 @@ } }, "com.amazonaws.rdsdata#BoxedBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.rdsdata#BoxedDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.rdsdata#BoxedFloat": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.rdsdata#BoxedInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.rdsdata#BoxedLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.rdsdata#ColumnMetadata": { "type": "structure", @@ -338,6 +326,7 @@ "type": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The type of the column.

" } }, @@ -368,48 +357,56 @@ "isAutoIncrement": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the column increments automatically.

" } }, "isSigned": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether an integer column is signed.

" } }, "isCurrency": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the column contains currency values.

" } }, "isCaseSensitive": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the column is case-sensitive.

" } }, "nullable": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value that indicates whether the column is nullable.

" } }, "precision": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The precision value of a decimal number column.

" } }, "scale": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The scale value of a decimal number column.

" } }, "arrayBaseColumnType": { "target": "com.amazonaws.rdsdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The type of the column.

" } } @@ -717,12 +714,14 @@ "includeResultMetadata": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether to include metadata in the results.

" } }, "continueAfterTimeout": { "target": "com.amazonaws.rdsdata#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether to continue running the statement after \n the call times out. By default, the statement stops running when the call \n times out.

\n \n

For DDL statements, we recommend continuing to run the statement after \n the call times out. When a DDL statement terminates before it is finished \n running, it can result in errors and possibly corrupted data structures.

\n
" } }, @@ -761,6 +760,7 @@ "numberOfRecordsUpdated": { "target": "com.amazonaws.rdsdata#RecordsUpdated", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of records updated by the request.

" } }, @@ -865,7 +865,10 @@ } }, "com.amazonaws.rdsdata#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rdsdata#InternalServerErrorException": { "type": "structure", @@ -877,7 +880,10 @@ } }, "com.amazonaws.rdsdata#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rdsdata#LongArray": { "type": "list", @@ -930,19 +936,6 @@ }, "com.amazonaws.rdsdata#RdsDataService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RDS Data", - "arnNamespace": "rds-data" - }, - "aws.auth#sigv4": { - "name": "rds-data" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "Amazon RDS Data Service\n

Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these\n statements, you work with the Data Service API.

\n \n

The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.

\n
\n

For more information about the Data Service API, see\n Using the Data API\n in the Amazon Aurora User Guide.

", - "smithy.api#title": "AWS RDS DataService" - }, "version": "2018-08-01", "operations": [ { @@ -963,7 +956,20 @@ { "target": "com.amazonaws.rdsdata#RollbackTransaction" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "RDS Data", + "arnNamespace": "rds-data" + }, + "aws.auth#sigv4": { + "name": "rds-data" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "Amazon RDS Data Service\n

Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these\n statements, you work with the Data Service API.

\n \n

The Data Service API isn't supported on Amazon Aurora Serverless v2 DB clusters.

\n
\n

For more information about the Data Service API, see\n Using the Data API\n in the Amazon Aurora User Guide.

", + "smithy.api#title": "AWS RDS DataService" + } }, "com.amazonaws.rdsdata#Record": { "type": "structure", @@ -1001,7 +1007,10 @@ } }, "com.amazonaws.rdsdata#RecordsUpdated": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rdsdata#ResultFrame": { "type": "structure", @@ -1029,6 +1038,7 @@ "columnCount": { "target": "com.amazonaws.rdsdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of columns in the result set.

" } }, @@ -1225,6 +1235,7 @@ "numberOfRecordsUpdated": { "target": "com.amazonaws.rdsdata#RecordsUpdated", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of records updated by a SQL statement.

" } } @@ -1251,6 +1262,7 @@ "dbConnectionId": { "target": "com.amazonaws.rdsdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The database connection ID that executed the SQL statement.

" } } @@ -1415,4 +1427,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/rds.json b/codegen/sdk/aws-models/rds.json index 0fe579b549a..e543e56b111 100644 --- a/codegen/sdk/aws-models/rds.json +++ b/codegen/sdk/aws-models/rds.json @@ -2340,8 +2340,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

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

\n

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

\n

Valid Values: 0, 1, 5, 10, 15, 30, 60\n

\n

Valid for: Multi-AZ DB clusters only

" } }, @@ -2806,8 +2804,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

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

\n

If MonitoringRoleArn is specified, then you must set MonitoringInterval\n to a value other than 0.

\n

This setting doesn't apply to RDS Custom.

\n

Valid Values: 0, 1, 5, 10, 15, 30, 60\n

" } }, @@ -2898,8 +2894,6 @@ "BackupTarget": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "region", "smithy.api#documentation": "

Specifies where automated backups and manual snapshots are stored.

\n

Possible values are outposts (Amazon Web Services Outposts) and region (Amazon Web Services Region). The default is region.

\n

For more information, see Working \n with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

" } }, @@ -3089,8 +3083,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

The interval, in seconds, between points when Enhanced Monitoring metrics are\n collected for the read replica. To disable collecting Enhanced Monitoring metrics,\n specify 0. The default is 0.

\n

If MonitoringRoleArn is specified, then you must also set MonitoringInterval\n to a value other than 0.

\n

This setting doesn't apply to RDS Custom.

\n

Valid Values: 0, 1, 5, 10, 15, 30, 60\n

" } }, @@ -3362,8 +3354,6 @@ "TargetRole": { "target": "com.amazonaws.rds#DBProxyEndpointTargetRole", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "READ_WRITE", "smithy.api#documentation": "

A value that indicates whether the DB proxy endpoint can be used for read/write\n or read-only operations. The default is READ_WRITE. The only role that proxies for RDS for Microsoft SQL Server \n support is READ_WRITE.

" } }, @@ -5679,8 +5669,6 @@ "ReplicaMode": { "target": "com.amazonaws.rds#ReplicaMode", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "open-read-only", "smithy.api#documentation": "

The open mode of an Oracle read replica. The default is open-read-only. \n For more information, see Working with Oracle Read Replicas for Amazon RDS \n in the Amazon RDS User Guide.

\n \n

This attribute is only supported in RDS for Oracle.

\n
" } }, @@ -13645,8 +13633,6 @@ "SecondsBeforeTimeout": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 300, "smithy.api#documentation": "

The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point\n to perform seamless scaling before enforcing the timeout action. The default is\n 300.

\n

Specify a value between 10 and 600 seconds.

" } }, @@ -14001,8 +13987,6 @@ "MonitoringInterval": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 0, "smithy.api#documentation": "

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

\n

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

\n

Valid Values: 0, 1, 5, 10, 15, 30, 60\n

\n

Valid for: Multi-AZ DB clusters only

" } }, @@ -17811,8 +17795,6 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.rds#BooleanOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether to copy all tags from the restored DB cluster to snapshots of the restored DB cluster. The default is not to copy them.

" } }, @@ -18601,8 +18583,6 @@ "BackupTarget": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "region", "smithy.api#documentation": "

Specifies where automated backups and manual snapshots are stored for the restored DB instance.

\n

Possible values are outposts (Amazon Web Services Outposts) and region (Amazon Web Services Region). The default is region.

\n

For more information, see Working \n with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

" } }, @@ -19281,8 +19261,6 @@ "BackupTarget": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": "region", "smithy.api#documentation": "

Specifies where automated backups and manual snapshots are stored for the restored DB instance.

\n

Possible values are outposts (Amazon Web Services Outposts) and region (Amazon Web Services Region). The default is region.

\n

For more information, see Working \n with Amazon RDS on Amazon Web Services Outposts in the Amazon RDS User Guide.

" } }, @@ -19482,8 +19460,6 @@ "SecondsBeforeTimeout": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { - "smithy.api#addedDefault": {}, - "smithy.api#default": 300, "smithy.api#documentation": "

The amount of time, in seconds, that Aurora Serverless v1 tries to find a scaling point\n to perform seamless scaling before enforcing the timeout action. The default is 300.

\n

Specify a value between 60 and 600 seconds.

" } } diff --git a/codegen/sdk/aws-models/redshift-data.json b/codegen/sdk/aws-models/redshift-data.json index 69735362b8e..b880e993b9f 100644 --- a/codegen/sdk/aws-models/redshift-data.json +++ b/codegen/sdk/aws-models/redshift-data.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.redshiftdata#ActiveStatementsExceededException": { "type": "structure", @@ -166,22 +166,13 @@ "type": "blob" }, "com.amazonaws.redshiftdata#BoxedBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.redshiftdata#BoxedDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.redshiftdata#BoxedLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.redshiftdata#CancelStatement": { "type": "operation", @@ -244,18 +235,21 @@ "isCaseSensitive": { "target": "com.amazonaws.redshiftdata#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the column is case-sensitive.

" } }, "isCurrency": { "target": "com.amazonaws.redshiftdata#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether the column contains currency values.

" } }, "isSigned": { "target": "com.amazonaws.redshiftdata#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether an integer column is signed.

" } }, @@ -274,18 +268,21 @@ "nullable": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value that indicates whether the column is nullable.

" } }, "precision": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The precision value of a decimal number column.

" } }, "scale": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The scale value of a decimal number column.

" } }, @@ -310,6 +307,7 @@ "length": { "target": "com.amazonaws.redshiftdata#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The length of the column.

" } }, @@ -425,6 +423,7 @@ "Duration": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time in nanoseconds that the statement ran.

" } }, @@ -455,6 +454,7 @@ "RedshiftPid": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The process identifier from Amazon Redshift.

" } }, @@ -473,18 +473,21 @@ "ResultRows": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Either the number of rows returned from the SQL statement or the number of rows affected.\n If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others. \n A -1 indicates the value is null.

" } }, "ResultSize": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size in bytes of the returned results. A -1 indicates the value is null.

" } }, "RedshiftQueryId": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The identifier of the query generated by Amazon Redshift. \n These identifiers are also available in the query column of the STL_QUERY system view.

" } }, @@ -593,6 +596,7 @@ "MaxResults": { "target": "com.amazonaws.redshiftdata#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of tables to return in the response. \n If more tables exist than fit in one response, then NextToken is returned to page through the results.

" } }, @@ -898,6 +902,7 @@ "TotalNumRows": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of rows in the result set returned from a query. \n You can use this number to estimate the number of calls to the GetStatementResult operation needed to page through the results.

" } }, @@ -910,7 +915,10 @@ } }, "com.amazonaws.redshiftdata#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.redshiftdata#InternalServerException": { "type": "structure", @@ -996,6 +1004,7 @@ "MaxResults": { "target": "com.amazonaws.redshiftdata#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of databases to return in the response. \n If more databases exist than fit in one response, then NextToken is returned to page through the results.

" } }, @@ -1103,6 +1112,7 @@ "MaxResults": { "target": "com.amazonaws.redshiftdata#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of schemas to return in the response. \n If more schemas exist than fit in one response, then NextToken is returned to page through the results.

" } }, @@ -1161,6 +1171,7 @@ "com.amazonaws.redshiftdata#ListStatementsLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -1179,6 +1190,7 @@ "MaxResults": { "target": "com.amazonaws.redshiftdata#ListStatementsLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of SQL statements to return in the response. \n If more SQL statements exist than fit in one response, then NextToken is returned to page through the results.

" } }, @@ -1305,6 +1317,7 @@ "MaxResults": { "target": "com.amazonaws.redshiftdata#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of tables to return in the response. \n If more tables exist than fit in one response, then NextToken is returned to page through the results.

" } }, @@ -1337,11 +1350,15 @@ "type": "string" }, "com.amazonaws.redshiftdata#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.redshiftdata#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -1364,22 +1381,6 @@ }, "com.amazonaws.redshiftdata#RedshiftData": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Redshift Data", - "arnNamespace": "redshift-data", - "cloudFormationName": "RedshiftData", - "cloudTrailEventSource": "redshift-data.amazonaws.com", - "endpointPrefix": "redshift-data" - }, - "aws.auth#sigv4": { - "name": "redshift-data" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "

You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You\n can run SQL statements, which are committed if the statement succeeds.

\n

For more information about the Amazon Redshift Data API and CLI usage examples, see \n Using the Amazon Redshift Data API in the \n Amazon Redshift Cluster Management Guide.

", - "smithy.api#title": "Redshift Data API Service" - }, "version": "2019-12-20", "operations": [ { @@ -1412,7 +1413,23 @@ { "target": "com.amazonaws.redshiftdata#ListTables" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Redshift Data", + "arnNamespace": "redshift-data", + "cloudFormationName": "RedshiftData", + "cloudTrailEventSource": "redshift-data.amazonaws.com", + "endpointPrefix": "redshift-data" + }, + "aws.auth#sigv4": { + "name": "redshift-data" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

You can use the Amazon Redshift Data API to run queries on Amazon Redshift tables. You\n can run SQL statements, which are committed if the statement succeeds.

\n

For more information about the Amazon Redshift Data API and CLI usage examples, see \n Using the Amazon Redshift Data API in the \n Amazon Redshift Cluster Management Guide.

", + "smithy.api#title": "Redshift Data API Service" + } }, "com.amazonaws.redshiftdata#ResourceNotFoundException": { "type": "structure", @@ -1678,6 +1695,7 @@ "Duration": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time in nanoseconds that the statement ran.

" } }, @@ -1714,18 +1732,21 @@ "ResultRows": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Either the number of rows returned from the SQL statement or the number of rows affected. \n If result size is greater than zero, the result rows can be the number of rows affected by SQL statements such as INSERT, UPDATE, DELETE, COPY, and others.\n A -1 indicates the value is null.

" } }, "ResultSize": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size in bytes of the returned results. A -1 indicates the value is null.

" } }, "RedshiftQueryId": { "target": "com.amazonaws.redshiftdata#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API.

" } }, @@ -1805,7 +1826,10 @@ } }, "com.amazonaws.redshiftdata#bool": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/redshift-serverless.json b/codegen/sdk/aws-models/redshift-serverless.json index c5f8b4870eb..70a03b89e97 100644 --- a/codegen/sdk/aws-models/redshift-serverless.json +++ b/codegen/sdk/aws-models/redshift-serverless.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.redshiftserverless#AccessDeniedException": { "type": "structure", @@ -1657,7 +1657,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -1744,7 +1744,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -1819,7 +1819,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -1914,7 +1914,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -2095,7 +2095,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results. The default is 100.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -2169,7 +2169,7 @@ "maxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

An optional parameter that specifies the maximum number of results to return.\n You can use nextToken to get the next page of results.

", "smithy.api#httpQuery": "maxResults", "smithy.api#range": { @@ -2556,25 +2556,6 @@ }, "com.amazonaws.redshiftserverless#RedshiftServerless": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Redshift Serverless", - "arnNamespace": "redshift-serverless" - }, - "aws.auth#sigv4": { - "name": "redshift-serverless" - }, - "aws.iam#supportedPrincipalTypes": [ - "Root", - "IAMUser", - "IAMRole", - "FederatedUser" - ], - "aws.protocols#awsJson1_1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "

This is an interface reference for Amazon Redshift Serverless. \n It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.\n

\n

Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the \n underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high \n performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you\n focus on using your data to acquire new insights for your business and customers.\n

\n

\n To learn more about Amazon Redshift Serverless, \n see What is Amazon Redshift Serverless.\n

", - "smithy.api#title": "Redshift Serverless" - }, "version": "2021-04-21", "operations": [ { @@ -2618,7 +2599,26 @@ { "target": "com.amazonaws.redshiftserverless#WorkgroupResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Redshift Serverless", + "arnNamespace": "redshift-serverless" + }, + "aws.auth#sigv4": { + "name": "redshift-serverless" + }, + "aws.iam#supportedPrincipalTypes": [ + "Root", + "IAMUser", + "IAMRole", + "FederatedUser" + ], + "aws.protocols#awsJson1_1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

This is an interface reference for Amazon Redshift Serverless. \n It contains documentation for one of the programming or command line interfaces you can use to manage Amazon Redshift Serverless.\n

\n

Amazon Redshift Serverless automatically provisions data warehouse capacity and intelligently scales the \n underlying resources based on workload demands. Amazon Redshift Serverless adjusts capacity in seconds to deliver consistently high \n performance and simplified operations for even the most demanding and volatile workloads. Amazon Redshift Serverless lets you\n focus on using your data to acquire new insights for your business and customers.\n

\n

\n To learn more about Amazon Redshift Serverless, \n see What is Amazon Redshift Serverless.\n

", + "smithy.api#title": "Redshift Serverless" + } }, "com.amazonaws.redshiftserverless#ResourceNotFoundException": { "type": "structure", @@ -4020,4 +4020,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/redshift.json b/codegen/sdk/aws-models/redshift.json index defe31650d6..df125e2426d 100644 --- a/codegen/sdk/aws-models/redshift.json +++ b/codegen/sdk/aws-models/redshift.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -924,6 +924,7 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether to override an exception if the retention period\n has passed.

" } } @@ -965,14 +966,14 @@ } }, "com.amazonaws.redshift#Boolean": { - "type": "boolean" - }, - "com.amazonaws.redshift#BooleanOptional": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.redshift#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.redshift#BucketNotFoundFault": { "type": "structure", "members": { @@ -1088,12 +1089,14 @@ "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automatic cluster snapshots are retained.

" } }, "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The default number of days to retain a manual snapshot. If the value is -1, the\n snapshot is retained indefinitely. This setting doesn't change the retention period\n of existing snapshots.

\n

The value must be either -1 or an integer between 1 and 3,653.

" } }, @@ -1154,24 +1157,28 @@ "AllowVersionUpgrade": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that, if true, indicates that major version upgrades\n will be applied automatically to the cluster during the maintenance window.

" } }, "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of compute nodes in the cluster.

" } }, "PubliclyAccessible": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that, if true, indicates that the cluster can be\n accessed from a public network.

" } }, "Encrypted": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value that, if true, indicates that data in the cluster is\n encrypted at rest.

" } }, @@ -1238,6 +1245,7 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

An option that specifies whether to create the cluster with enhanced VPC routing\n enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a\n VPC. For more information, see Enhanced VPC Routing in\n the Amazon Redshift Cluster Management Guide.

\n

If this option is true, enhanced VPC routing is enabled.

\n

Default: false

" } }, @@ -2014,12 +2022,14 @@ "RetentionPeriod": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automated snapshots are retained in the destination region\n after they are copied from a source region.

" } }, "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automated snapshots are retained in the destination region\n after they are copied from a source region. If the value is -1, the manual snapshot is\n retained indefinitely.

\n

The value must be either -1 or an integer between 1 and 3,653.

" } }, @@ -3702,6 +3712,7 @@ "Amount": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).\n The value must be a positive number.\n

", "smithy.api#required": {} } @@ -3732,12 +3743,14 @@ "TotalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of storage currently used for snapshots.

" } }, "TotalProvisionedStorageInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of storage currently provisioned.

" } } @@ -3761,6 +3774,7 @@ "AllowPubliclyAccessibleConsumers": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that specifies whether the datashare can be shared to a publicly accessible cluster.

" } }, @@ -3919,12 +3933,14 @@ "TotalDataInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the total amount of data to be transfered in megabytes.

" } }, "DataTransferredInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Describes the total amount of data that has been transfered in MB's.

" } }, @@ -4136,6 +4152,7 @@ "SkipFinalClusterSnapshot": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines whether a final snapshot of the cluster is created before Amazon Redshift\n deletes the cluster. If true, a final cluster snapshot is not created. If\n false, a final cluster snapshot is created before the cluster is\n deleted.

\n \n

The FinalClusterSnapshotIdentifier parameter must be\n specified if SkipFinalClusterSnapshot is\n false.

\n
\n

Default: false\n

" } }, @@ -7167,14 +7184,14 @@ } }, "com.amazonaws.redshift#Double": { - "type": "double" - }, - "com.amazonaws.redshift#DoubleOptional": { "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.redshift#DoubleOptional": { + "type": "double" + }, "com.amazonaws.redshift#EC2SecurityGroup": { "type": "structure", "members": { @@ -7423,6 +7440,7 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that the database engine is listening on.

" } }, @@ -7479,6 +7497,7 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number on which the cluster accepts incoming connections.

" } }, @@ -7584,6 +7603,7 @@ "AllowedAllVPCs": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether all VPCs in the grantee account are allowed access to the cluster.

" } }, @@ -7596,6 +7616,7 @@ "EndpointCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Redshift-managed VPC endpoints created for the authorization.

" } } @@ -7941,6 +7962,7 @@ "Enabled": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating whether the subscription is enabled; true\n indicates that the subscription is enabled.

" } }, @@ -8694,14 +8716,14 @@ } }, "com.amazonaws.redshift#Integer": { - "type": "integer" - }, - "com.amazonaws.redshift#IntegerOptional": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.redshift#IntegerOptional": { + "type": "integer" + }, "com.amazonaws.redshift#InvalidAuthenticationProfileRequestFault": { "type": "structure", "members": { @@ -9256,6 +9278,7 @@ "LoggingEnabled": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n true if logging is on, false if logging is off.

" } }, @@ -9307,14 +9330,14 @@ } }, "com.amazonaws.redshift#Long": { - "type": "long" - }, - "com.amazonaws.redshift#LongOptional": { "type": "long", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.redshift#LongOptional": { + "type": "long" + }, "com.amazonaws.redshift#MaintenanceTrack": { "type": "structure", "members": { @@ -9970,6 +9993,7 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean option to override an exception if the retention period has already\n passed.

" } } @@ -10373,6 +10397,7 @@ "RetentionPeriod": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days to retain automated snapshots in the destination Amazon Web Services Region\n after they are copied from the source Amazon Web Services Region.

\n

By default, this only changes the retention period of copied automated snapshots.

\n

If you decrease the retention period for automated snapshots that are copied to a\n destination Amazon Web Services Region, Amazon Redshift deletes any existing automated snapshots that were\n copied to the destination Amazon Web Services Region and that fall outside of the new retention\n period.

\n

Constraints: Must be at least 1 and no more than 35 for automated snapshots.

\n

If you specify the manual option, only newly copied manual snapshots will\n have the new retention period.

\n

If you specify the value of -1 newly copied manual snapshots are retained\n indefinitely.

\n

Constraints: The number of days must be either -1 or an integer between 1 and 3,653\n for manual snapshots.

", "smithy.api#required": {} } @@ -10380,6 +10405,7 @@ "Manual": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to apply the snapshot retention period to newly copied manual\n snapshots instead of automated snapshots.

" } } @@ -10538,6 +10564,7 @@ "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of nodes.

" } }, @@ -10821,6 +10848,7 @@ "IsModifiable": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the parameter can be modified. Some parameters have security\n or operational implications that prevent them from being changed.

" } }, @@ -11288,6 +11316,7 @@ "RecurringChargeAmount": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount charged per the period of time specified by the recurring charge\n frequency.

" } }, @@ -11313,24 +11342,6 @@ }, "com.amazonaws.redshift#RedshiftServiceVersion20121201": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Redshift", - "arnNamespace": "redshift", - "cloudFormationName": "Redshift", - "cloudTrailEventSource": "redshift.amazonaws.com", - "endpointPrefix": "redshift" - }, - "aws.auth#sigv4": { - "name": "redshift" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon Redshift\n

\n Overview\n

\n

This is an interface reference for Amazon Redshift. It contains documentation for one of\n the programming or command line interfaces you can use to manage Amazon Redshift clusters.\n Note that Amazon Redshift is asynchronous, which means that some interfaces may require\n techniques, such as polling or asynchronous callback handlers, to determine when a\n command has been applied. In this reference, the parameter descriptions indicate whether\n a change is applied immediately, on the next instance reboot, or during the next\n maintenance window. For a summary of the Amazon Redshift cluster management interfaces, go to\n Using the\n Amazon Redshift Management Interfaces.

\n

Amazon Redshift manages all the work of setting up, operating, and scaling a data\n warehouse: provisioning capacity, monitoring and backing up the cluster, and applying\n patches and upgrades to the Amazon Redshift engine. You can focus on using your data to\n acquire new insights for your business and customers.

\n

If you are a first-time user of Amazon Redshift, we recommend that you begin by reading\n the Amazon Redshift Getting Started Guide.

\n\n

If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design,\n build, query, and maintain the databases that make up your data warehouse.

", - "smithy.api#title": "Amazon Redshift", - "smithy.api#xmlNamespace": { - "uri": "http://redshift.amazonaws.com/doc/2012-12-01/" - } - }, "version": "2012-12-01", "operations": [ { @@ -11690,7 +11701,25 @@ { "target": "com.amazonaws.redshift#UpdatePartnerStatus" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Redshift", + "arnNamespace": "redshift", + "cloudFormationName": "Redshift", + "cloudTrailEventSource": "redshift.amazonaws.com", + "endpointPrefix": "redshift" + }, + "aws.auth#sigv4": { + "name": "redshift" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon Redshift\n

\n Overview\n

\n

This is an interface reference for Amazon Redshift. It contains documentation for one of\n the programming or command line interfaces you can use to manage Amazon Redshift clusters.\n Note that Amazon Redshift is asynchronous, which means that some interfaces may require\n techniques, such as polling or asynchronous callback handlers, to determine when a\n command has been applied. In this reference, the parameter descriptions indicate whether\n a change is applied immediately, on the next instance reboot, or during the next\n maintenance window. For a summary of the Amazon Redshift cluster management interfaces, go to\n Using the\n Amazon Redshift Management Interfaces.

\n

Amazon Redshift manages all the work of setting up, operating, and scaling a data\n warehouse: provisioning capacity, monitoring and backing up the cluster, and applying\n patches and upgrades to the Amazon Redshift engine. You can focus on using your data to\n acquire new insights for your business and customers.

\n

If you are a first-time user of Amazon Redshift, we recommend that you begin by reading\n the Amazon Redshift Getting Started Guide.

\n\n

If you are a database developer, the Amazon Redshift Database Developer Guide explains how to design,\n build, query, and maintain the databases that make up your data warehouse.

", + "smithy.api#title": "Amazon Redshift", + "smithy.api#xmlNamespace": { + "uri": "http://redshift.amazonaws.com/doc/2012-12-01/" + } + } }, "com.amazonaws.redshift#RejectDataShare": { "type": "operation", @@ -11751,18 +11780,21 @@ "Duration": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the node reservation in seconds.

" } }, "FixedPrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The fixed cost Amazon Redshift charges you for this reserved node.

" } }, "UsagePrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The hourly rate Amazon Redshift charges you for this reserved node.

" } }, @@ -11775,6 +11807,7 @@ "NodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of reserved compute nodes.

" } }, @@ -11850,6 +11883,7 @@ "TargetReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The target reserved-node count.

" } }, @@ -11938,6 +11972,7 @@ "SourceReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The source reserved-node count in the cluster.

" } }, @@ -11956,6 +11991,7 @@ "TargetReservedNodeCount": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of target reserved nodes in the cluster.

" } } @@ -12048,18 +12084,21 @@ "Duration": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds, for which the offering will reserve the node.

" } }, "FixedPrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The upfront fixed charge you will pay to purchase the specific reserved node\n offering.

" } }, "UsagePrice": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rate you are charged for each hour the cluster that is using the offering is\n running.

" } }, @@ -12223,6 +12262,7 @@ "ResetAllParameters": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, all parameters in the specified parameter group will be reset\n to their default values.

\n

Default: true\n

" } }, @@ -12367,6 +12407,7 @@ "AllowCancelResize": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value indicating if the resize operation can be cancelled.

" } } @@ -12859,30 +12900,35 @@ "CurrentRestoreRateInMegaBytesPerSecond": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes per second being transferred from the backup storage.\n Returns the average rate for a completed backup.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "SnapshotSizeInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the set of snapshot data used to restore the cluster.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ProgressInMegaBytes": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes that have been transferred from snapshot storage.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time an in-progress restore has been running, or the amount of time\n it took a completed restore to finish.\n This field is only updated when you restore to DC2 and DS2 node types.

" } }, "EstimatedTimeToCompletionInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimate of the time remaining before the restore will complete. Returns 0 for\n a completed restore.\n This field is only updated when you restore to DC2 and DS2 node types.

" } } @@ -13205,6 +13251,7 @@ "Force": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to force the revoke action. \n If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.

" } } @@ -13735,6 +13782,7 @@ "Port": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that the cluster is listening on.

" } }, @@ -13783,6 +13831,7 @@ "NumberOfNodes": { "target": "com.amazonaws.redshift#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of nodes in the cluster.

" } }, @@ -13801,6 +13850,7 @@ "Encrypted": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the data in the snapshot is encrypted at rest.

" } }, @@ -13813,6 +13863,7 @@ "EncryptedWithHSM": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean that indicates whether the snapshot data is encrypted using the HSM keys\n of the source cluster. true indicates that the data is encrypted using HSM\n keys.

" } }, @@ -13831,36 +13882,42 @@ "TotalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the complete set of backup data that would be used to restore the\n cluster.

" } }, "ActualIncrementalBackupSizeInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the incremental backup.

" } }, "BackupProgressInMegaBytes": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes that have been transferred to the snapshot\n backup.

" } }, "CurrentBackupRateInMegaBytesPerSecond": { "target": "com.amazonaws.redshift#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes per second being transferred to the snapshot backup.\n Returns 0 for a completed backup.

" } }, "EstimatedSecondsToCompletion": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimate of the time remaining before the snapshot backup will complete.\n Returns 0 for a completed backup.

" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time an in-progress snapshot backup has been running, or the amount\n of time it took a completed backup to finish.

" } }, @@ -13885,6 +13942,7 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.redshift#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

An option that specifies whether to create the cluster with enhanced VPC routing\n enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a\n VPC. For more information, see Enhanced VPC Routing in\n the Amazon Redshift Cluster Management Guide.

\n

If this option is true, enhanced VPC routing is enabled.

\n

Default: false

" } }, @@ -15129,6 +15187,7 @@ "Amount": { "target": "com.amazonaws.redshift#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB).

" } }, diff --git a/codegen/sdk/aws-models/rekognition.json b/codegen/sdk/aws-models/rekognition.json index 77993b7c945..43c38b21b71 100644 --- a/codegen/sdk/aws-models/rekognition.json +++ b/codegen/sdk/aws-models/rekognition.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -152,6 +152,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates whether the face has beard or not.

" } }, @@ -216,7 +217,10 @@ } }, "com.amazonaws.rekognition#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.rekognition#BoundingBox": { "type": "structure", @@ -253,7 +257,6 @@ "com.amazonaws.rekognition#BoundingBoxHeight": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -263,7 +266,6 @@ "com.amazonaws.rekognition#BoundingBoxWidth": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -373,6 +375,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds from the start of the video, that the celebrity was recognized.

" } }, @@ -735,6 +738,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Time, in milliseconds from the beginning of the video, that the content moderation label was detected.

" } }, @@ -886,6 +890,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if the PPE covers the corresponding body part, otherwise false.

" } } @@ -1682,7 +1687,6 @@ "com.amazonaws.rekognition#Degree": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": -180, "max": 180 @@ -3328,6 +3332,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates whether the eyes on the face are open.

" } }, @@ -3348,6 +3353,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates whether the face is wearing eye glasses or not.

" } }, @@ -3531,6 +3537,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Time, in milliseconds from the start of the video, that the face was detected.

" } }, @@ -3669,10 +3676,7 @@ } }, "com.amazonaws.rekognition#Float": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.rekognition#FlowDefinitionArn": { "type": "string", @@ -4675,10 +4679,7 @@ } }, "com.amazonaws.rekognition#HasErrors": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.rekognition#HumanLoopActivationOutput": { "type": "structure", @@ -5043,7 +5044,6 @@ "com.amazonaws.rekognition#InferenceUnits": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5202,10 +5202,7 @@ } }, "com.amazonaws.rekognition#IsLabeled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.rekognition#JobId": { "type": "string", @@ -5383,6 +5380,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Time, in milliseconds from the start of the video, that the label was detected.

" } }, @@ -5735,7 +5733,6 @@ "com.amazonaws.rekognition#ListDatasetEntriesPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5857,7 +5854,6 @@ "com.amazonaws.rekognition#ListDatasetLabelsPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -6037,7 +6033,6 @@ "com.amazonaws.rekognition#ListProjectPoliciesPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -6235,7 +6230,6 @@ "com.amazonaws.rekognition#MaxDurationInSecondsULong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 120 @@ -6245,7 +6239,6 @@ "com.amazonaws.rekognition#MaxFaces": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 4096 @@ -6255,7 +6248,6 @@ "com.amazonaws.rekognition#MaxFacesToIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6264,7 +6256,6 @@ "com.amazonaws.rekognition#MaxPixelThreshold": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -6274,7 +6265,6 @@ "com.amazonaws.rekognition#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6283,7 +6273,6 @@ "com.amazonaws.rekognition#MinCoveragePercentage": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -6328,6 +6317,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates whether the mouth on the face is open or not.

" } }, @@ -6348,6 +6338,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates whether the face has mustache or not.

" } }, @@ -6430,7 +6421,6 @@ "com.amazonaws.rekognition#PageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4096 @@ -6469,7 +6459,6 @@ "com.amazonaws.rekognition#Percent": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -6482,6 +6471,7 @@ "Index": { "target": "com.amazonaws.rekognition#PersonIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Identifier for the person detected person within a video. Use to keep track of the person throughout the video. The identifier is not stored by Amazon Rekognition.

" } }, @@ -6508,6 +6498,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds from the start of the video, that the person's path was tracked.

" } }, @@ -6529,7 +6520,10 @@ } }, "com.amazonaws.rekognition#PersonIndex": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rekognition#PersonMatch": { "type": "structure", @@ -6537,6 +6531,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds from the beginning of the video, that the person was matched in the video.

" } }, @@ -6971,7 +6966,6 @@ "com.amazonaws.rekognition#ProjectVersionsPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -6981,7 +6975,6 @@ "com.amazonaws.rekognition#ProjectsPageSize": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -7427,21 +7420,6 @@ }, "com.amazonaws.rekognition#RekognitionService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Rekognition", - "arnNamespace": "rekognition", - "cloudFormationName": "Rekognition", - "cloudTrailEventSource": "rekognition.amazonaws.com", - "endpointPrefix": "rekognition" - }, - "aws.auth#sigv4": { - "name": "rekognition" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

This is the API Reference for Amazon Rekognition Image, \n Amazon Rekognition Custom Labels,\n Amazon Rekognition Stored Video, \n Amazon Rekognition Streaming Video.\n It provides descriptions of actions, data types, common parameters,\n and common errors.

\n\n

\n Amazon Rekognition Image \n

\n\n \n\n \n \n \n

\n Amazon Rekognition Custom Labels \n

\n \n\n \n

\n Amazon Rekognition Video Stored Video \n

\n\n \n \n

\n Amazon Rekognition Video Streaming Video \n

\n\n ", - "smithy.api#title": "Amazon Rekognition" - }, "version": "2016-06-27", "operations": [ { @@ -7633,7 +7611,22 @@ { "target": "com.amazonaws.rekognition#UpdateStreamProcessor" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Rekognition", + "arnNamespace": "rekognition", + "cloudFormationName": "Rekognition", + "cloudTrailEventSource": "rekognition.amazonaws.com", + "endpointPrefix": "rekognition" + }, + "aws.auth#sigv4": { + "name": "rekognition" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

This is the API Reference for Amazon Rekognition Image, \n Amazon Rekognition Custom Labels,\n Amazon Rekognition Stored Video, \n Amazon Rekognition Streaming Video.\n It provides descriptions of actions, data types, common parameters,\n and common errors.

\n\n

\n Amazon Rekognition Image \n

\n\n \n\n \n \n \n

\n Amazon Rekognition Custom Labels \n

\n \n\n \n

\n Amazon Rekognition Video Stored Video \n

\n\n \n \n

\n Amazon Rekognition Video Streaming Video \n

\n\n ", + "smithy.api#title": "Amazon Rekognition" + } }, "com.amazonaws.rekognition#RekognitionUniqueId": { "type": "string", @@ -8025,7 +8018,6 @@ "com.amazonaws.rekognition#SegmentConfidence": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 50, "max": 100 @@ -8044,12 +8036,14 @@ "StartTimestampMillis": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The start time of the detected segment in milliseconds from the start of the video. This value\n is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of\n 100 millis.

" } }, "EndTimestampMillis": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The end time of the detected segment, in milliseconds, from the start of the video.\n This value is rounded down.

" } }, @@ -8217,6 +8211,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates whether the face is smiling or not.

" } }, @@ -9336,6 +9331,7 @@ "OptIn": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n If this option is set to true, you choose to share data with Rekognition to improve model performance.\n

", "smithy.api#required": {} } @@ -9513,6 +9509,7 @@ "Value": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value that indicates whether the face is wearing sunglasses or not.

" } }, @@ -9709,6 +9706,7 @@ "AutoCreate": { "target": "com.amazonaws.rekognition#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If specified, Amazon Rekognition Custom Labels temporarily splits the training dataset (80%) to create a test dataset (20%) for the training job.\n After training completes, the test dataset is not stored and the training dataset reverts to its previous size.

" } } @@ -9799,6 +9797,7 @@ "Timestamp": { "target": "com.amazonaws.rekognition#Timestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in milliseconds from the start of the video, that the text was detected.

" } }, @@ -9859,7 +9858,10 @@ "type": "string" }, "com.amazonaws.rekognition#Timestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rekognition#TrainingData": { "type": "structure", @@ -9904,7 +9906,6 @@ "com.amazonaws.rekognition#UInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -9913,7 +9914,6 @@ "com.amazonaws.rekognition#ULong": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/resiliencehub.json b/codegen/sdk/aws-models/resiliencehub.json index de7f930639d..7431c956db0 100644 --- a/codegen/sdk/aws-models/resiliencehub.json +++ b/codegen/sdk/aws-models/resiliencehub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.resiliencehub#AccessDeniedException": { "type": "structure", @@ -258,6 +258,7 @@ "resiliencyScore": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current resiliency score for the application.

" } }, @@ -480,6 +481,7 @@ "resiliencyScore": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current resiliency score for the application.

" } } @@ -643,6 +645,7 @@ "resiliencyScore": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current resiliency score for the application.

" } }, @@ -773,25 +776,6 @@ }, "com.amazonaws.resiliencehub#AwsResilienceHub": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "resiliencehub", - "arnNamespace": "resiliencehub", - "cloudFormationName": "Resiliencehub", - "endpointPrefix": "resiliencehub" - }, - "aws.auth#sigv4": { - "name": "resiliencehub" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request" - ] - }, - "smithy.api#documentation": "

AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from\n disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates\n into your software development lifecycle. This enables you to uncover resiliency weaknesses,\n ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your\n applications are met, and resolve issues before they are released into production.

", - "smithy.api#title": "AWS Resilience Hub" - }, "version": "2020-04-30", "operations": [ { @@ -911,14 +895,30 @@ { "target": "com.amazonaws.resiliencehub#UpdateResiliencyPolicy" } - ] - }, - "com.amazonaws.resiliencehub#BooleanOptional": { - "type": "boolean", + ], "traits": { - "smithy.api#box": {} + "aws.api#service": { + "sdkId": "resiliencehub", + "arnNamespace": "resiliencehub", + "cloudFormationName": "Resiliencehub", + "endpointPrefix": "resiliencehub" + }, + "aws.auth#sigv4": { + "name": "resiliencehub" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "*,authorization,date,x-amz-date,x-amz-security-token,x-amz-target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id,amz-sdk-invocation-id,amz-sdk-request" + ] + }, + "smithy.api#documentation": "

AWS Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from\n disruptions. Resilience Hub offers continuous resiliency assessment and validation that integrates\n into your software development lifecycle. This enables you to uncover resiliency weaknesses,\n ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your\n applications are met, and resolve issues before they are released into production.

", + "smithy.api#title": "AWS Resilience Hub" } }, + "com.amazonaws.resiliencehub#BooleanOptional": { + "type": "boolean" + }, "com.amazonaws.resiliencehub#ClientToken": { "type": "string", "traits": { @@ -1120,6 +1120,7 @@ "amount": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The cost amount.

", "smithy.api#required": {} } @@ -1198,7 +1199,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services\n resources structured to prevent and recover Amazon Web Services application disruptions. To describe a\n Resilience Hub application, you provide an application name, resources from one or more–up to\n five–CloudFormation stacks, and an appropriate resiliency policy.

\n\n

After you create a Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).

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

Creates a Resilience Hub application. A Resilience Hub application is a collection of Amazon Web Services\n resources structured to prevent and recover Amazon Web Services application disruptions. To describe a\n Resilience Hub application, you provide an application name, resources from one or more–up to\n five–CloudFormation stacks, and an appropriate resiliency policy.

\n

After you create a Resilience Hub application, you publish it so that you can run a resiliency\n assessment on it. You can then use recommendations from the assessment to improve resiliency\n by running another assessment, comparing results, and then iterating the process until you\n achieve your goals for recovery time objective (RTO) and recovery point objective\n (RPO).

", "smithy.api#http": { "method": "POST", "uri": "/create-app", @@ -2227,12 +2228,14 @@ "achievableRtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Recovery Time Objective (RTO) that is achievable, in seconds

" } }, "currentRtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current RTO, in seconds.

" } }, @@ -2251,6 +2254,7 @@ "currentRpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current RPO, in seconds.

" } }, @@ -2276,6 +2280,7 @@ "achievableRpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Recovery Point Objective (RPO) that is achievable, in seconds.

" } }, @@ -2341,7 +2346,10 @@ } }, "com.amazonaws.resiliencehub#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.resiliencehub#EntityDescription": { "type": "string", @@ -2414,6 +2422,7 @@ "rtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Recovery Time Objective (RTO), in seconds.

", "smithy.api#required": {} } @@ -2421,6 +2430,7 @@ "rpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Recovery Point Objective (RPO), in seconds.

", "smithy.api#required": {} } @@ -3926,7 +3936,6 @@ "com.amazonaws.resiliencehub#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4216,6 +4225,7 @@ "expectedRtoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expected RTO after applying the recommended configuration change.

" } }, @@ -4228,6 +4238,7 @@ "expectedRpoInSecs": { "target": "com.amazonaws.resiliencehub#Seconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The expected RPO after applying the recommended configuration change.

" } }, @@ -4659,6 +4670,7 @@ "score": { "target": "com.amazonaws.resiliencehub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The outage score for a valid key.

", "smithy.api#required": {} } @@ -4985,10 +4997,7 @@ } }, "com.amazonaws.resiliencehub#RetryAfterSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.resiliencehub#S3Location": { "type": "structure", @@ -5022,6 +5031,7 @@ "com.amazonaws.resiliencehub#Seconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -5787,7 +5797,7 @@ "policy": { "target": "com.amazonaws.resiliencehub#DisruptionPolicy", "traits": { - "smithy.api#documentation": "

The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.

" + "smithy.api#documentation": "

The type of resiliency policy to be created, including the recovery time objective (RTO)\n and recovery point objective (RPO) in seconds.

\n \n

If you do not want to specify regional targets for a regional policy, you must set the\n values of rpoInSecs and rtoInSecs to -1.

\n
" } } } @@ -5824,4 +5834,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/resource-groups-tagging-api.json b/codegen/sdk/aws-models/resource-groups-tagging-api.json index ec33d27ee53..1a8285fdf40 100644 --- a/codegen/sdk/aws-models/resource-groups-tagging-api.json +++ b/codegen/sdk/aws-models/resource-groups-tagging-api.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -66,10 +66,7 @@ } }, "com.amazonaws.resourcegroupstaggingapi#ComplianceStatus": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.resourcegroupstaggingapi#ConcurrentModificationException": { "type": "structure", @@ -182,10 +179,7 @@ } }, "com.amazonaws.resourcegroupstaggingapi#ExcludeCompliantResources": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.resourcegroupstaggingapi#FailedResourcesMap": { "type": "map", @@ -202,6 +196,7 @@ "StatusCode": { "target": "com.amazonaws.resourcegroupstaggingapi#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status code of the common error.

" } }, @@ -571,10 +566,7 @@ } }, "com.amazonaws.resourcegroupstaggingapi#IncludeComplianceDetails": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.resourcegroupstaggingapi#InternalServiceException": { "type": "structure", @@ -606,7 +598,6 @@ "com.amazonaws.resourcegroupstaggingapi#MaxResultsGetComplianceSummary": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -614,7 +605,10 @@ } }, "com.amazonaws.resourcegroupstaggingapi#NonCompliantResources": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.resourcegroupstaggingapi#PaginationToken": { "type": "string", @@ -696,21 +690,6 @@ }, "com.amazonaws.resourcegroupstaggingapi#ResourceGroupsTaggingAPI_20170126": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Resource Groups Tagging API", - "arnNamespace": "tagging", - "cloudFormationName": "ResourceGroupsTaggingAPI", - "cloudTrailEventSource": "resourcegroupstaggingapi.amazonaws.com", - "endpointPrefix": "tagging" - }, - "aws.auth#sigv4": { - "name": "tagging" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Resource Groups Tagging API", - "smithy.api#title": "AWS Resource Groups Tagging API" - }, "version": "2017-01-26", "operations": [ { @@ -737,7 +716,22 @@ { "target": "com.amazonaws.resourcegroupstaggingapi#UntagResources" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Resource Groups Tagging API", + "arnNamespace": "tagging", + "cloudFormationName": "ResourceGroupsTaggingAPI", + "cloudTrailEventSource": "resourcegroupstaggingapi.amazonaws.com", + "endpointPrefix": "tagging" + }, + "aws.auth#sigv4": { + "name": "tagging" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Resource Groups Tagging API", + "smithy.api#title": "AWS Resource Groups Tagging API" + } }, "com.amazonaws.resourcegroupstaggingapi#ResourceTagMapping": { "type": "structure", @@ -778,10 +772,7 @@ } }, "com.amazonaws.resourcegroupstaggingapi#ResourcesPerPage": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.resourcegroupstaggingapi#S3Bucket": { "type": "string", @@ -848,7 +839,10 @@ "type": "string" }, "com.amazonaws.resourcegroupstaggingapi#StatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.resourcegroupstaggingapi#Summary": { "type": "structure", @@ -886,6 +880,7 @@ "NonCompliantResources": { "target": "com.amazonaws.resourcegroupstaggingapi#NonCompliantResources", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of noncompliant resources.

" } } @@ -1097,10 +1092,7 @@ } }, "com.amazonaws.resourcegroupstaggingapi#TagsPerPage": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.resourcegroupstaggingapi#TargetId": { "type": "string", diff --git a/codegen/sdk/aws-models/resource-groups.json b/codegen/sdk/aws-models/resource-groups.json index ec708f25604..776ee884574 100644 --- a/codegen/sdk/aws-models/resource-groups.json +++ b/codegen/sdk/aws-models/resource-groups.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1263,7 +1263,6 @@ "com.amazonaws.resourcegroups#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 diff --git a/codegen/sdk/aws-models/robomaker.json b/codegen/sdk/aws-models/robomaker.json index d15e47aa36e..7133e0914f4 100644 --- a/codegen/sdk/aws-models/robomaker.json +++ b/codegen/sdk/aws-models/robomaker.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -202,20 +202,17 @@ } }, "com.amazonaws.robomaker#BatchTimeoutInSeconds": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.robomaker#Boolean": { - "type": "boolean" - }, - "com.amazonaws.robomaker#BoxedBoolean": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.robomaker#BoxedBoolean": { + "type": "boolean" + }, "com.amazonaws.robomaker#CancelDeploymentJob": { "type": "operation", "input": { @@ -1534,6 +1531,7 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When\n maxJobDurationInSeconds is reached, the simulation job will status will\n transition to Completed.

", "smithy.api#required": {} } @@ -1661,12 +1659,14 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum simulation job duration in seconds.

" } }, "simulationTimeMillis": { "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The simulation job execution duration in milliseconds.

" } }, @@ -2785,10 +2785,7 @@ } }, "com.amazonaws.robomaker#DeploymentTimeout": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.robomaker#DeploymentVersion": { "type": "string", @@ -3703,12 +3700,14 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum job duration in seconds. The value must be 8 days (691,200 seconds) or\n less.

" } }, "simulationTimeMillis": { "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The simulation job execution duration in milliseconds.

" } }, @@ -4281,6 +4280,7 @@ "totalFailureCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of failures.

" } }, @@ -4345,6 +4345,7 @@ "finishedCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of finished worlds.

" } }, @@ -4422,15 +4423,11 @@ } }, "com.amazonaws.robomaker#FloorplanCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.robomaker#GPUUnit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -4438,10 +4435,7 @@ } }, "com.amazonaws.robomaker#GenericInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.robomaker#GenericString": { "type": "string", @@ -4556,14 +4550,14 @@ } }, "com.amazonaws.robomaker#Integer": { - "type": "integer" - }, - "com.amazonaws.robomaker#InteriorCountPerFloorplan": { "type": "integer", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.robomaker#InteriorCountPerFloorplan": { + "type": "integer" + }, "com.amazonaws.robomaker#InternalServerException": { "type": "structure", "members": { @@ -4591,7 +4585,10 @@ } }, "com.amazonaws.robomaker#JobDuration": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.robomaker#Json": { "type": "string", @@ -4639,6 +4636,7 @@ "streamUI": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean indicating whether a streaming session will be configured for the application.\n If True, AWS RoboMaker will configure a connection so you can interact with\n your application as it is running in the simulation. You must configure and launch the\n component. It must have a graphical user interface.

" } }, @@ -5596,16 +5594,10 @@ } }, "com.amazonaws.robomaker#MaxConcurrency": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.robomaker#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.robomaker#Name": { "type": "string", @@ -5656,6 +5648,7 @@ "com.amazonaws.robomaker#NonSystemPort": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1024, "max": 65535 @@ -5705,7 +5698,6 @@ "com.amazonaws.robomaker#PercentDone": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0.0, "max": 100.0 @@ -5715,7 +5707,6 @@ "com.amazonaws.robomaker#Percentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -5725,6 +5716,7 @@ "com.amazonaws.robomaker#Port": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 65535 @@ -5751,6 +5743,7 @@ "jobPort": { "target": "com.amazonaws.robomaker#Port", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the simulation job instance to use as a remote connection point.\n

", "smithy.api#required": {} } @@ -5758,6 +5751,7 @@ "applicationPort": { "target": "com.amazonaws.robomaker#NonSystemPort", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the application.

", "smithy.api#required": {} } @@ -5765,6 +5759,7 @@ "enableOnPublicIp": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean indicating whether to enable this port mapping on public IP.

" } } @@ -6765,12 +6760,14 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum simulation job duration in seconds. The value must be 8 days (691,200\n seconds) or less.

" } }, "simulationTimeMillis": { "target": "com.amazonaws.robomaker#SimulationTimeMillis", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The simulation job execution duration in milliseconds.

" } }, @@ -6917,18 +6914,21 @@ "failedRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed simulation job requests.

" } }, "pendingRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of pending simulation job requests.

" } }, "createdRequestCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of created simulation job requests.

" } } @@ -7080,6 +7080,7 @@ "maxJobDurationInSeconds": { "target": "com.amazonaws.robomaker#JobDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum simulation job duration in seconds. The value must be 8 days (691,200\n seconds) or less.

", "smithy.api#required": {} } @@ -7311,12 +7312,14 @@ } }, "com.amazonaws.robomaker#SimulationTimeMillis": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.robomaker#SimulationUnit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 15 @@ -8408,6 +8411,7 @@ "assignPublicIp": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean indicating whether to assign a public IP address.

" } } @@ -8440,6 +8444,7 @@ "assignPublicIp": { "target": "com.amazonaws.robomaker#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean indicating if a public IP was assigned.

" } } @@ -8641,6 +8646,7 @@ "failureCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of failed worlds.

" } } @@ -8775,12 +8781,14 @@ "succeededWorldCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of worlds that were generated.

" } }, "failedWorldCount": { "target": "com.amazonaws.robomaker#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of worlds that failed.

" } } @@ -8832,21 +8840,6 @@ }, "com.amazonaws.robomaker#robomaker": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RoboMaker", - "arnNamespace": "robomaker", - "cloudFormationName": "RoboMaker", - "cloudTrailEventSource": "robomaker.amazonaws.com", - "endpointPrefix": "robomaker" - }, - "aws.auth#sigv4": { - "name": "robomaker" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This section provides documentation for the AWS RoboMaker API operations.

", - "smithy.api#title": "AWS RoboMaker" - }, "version": "2018-06-29", "operations": [ { @@ -9020,7 +9013,22 @@ { "target": "com.amazonaws.robomaker#UpdateWorldTemplate" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "RoboMaker", + "arnNamespace": "robomaker", + "cloudFormationName": "RoboMaker", + "cloudTrailEventSource": "robomaker.amazonaws.com", + "endpointPrefix": "robomaker" + }, + "aws.auth#sigv4": { + "name": "robomaker" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

This section provides documentation for the AWS RoboMaker API operations.

", + "smithy.api#title": "AWS RoboMaker" + } } } } diff --git a/codegen/sdk/aws-models/rolesanywhere.json b/codegen/sdk/aws-models/rolesanywhere.json index e9994149013..e2cd01ee712 100644 --- a/codegen/sdk/aws-models/rolesanywhere.json +++ b/codegen/sdk/aws-models/rolesanywhere.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.rolesanywhere#AccessDeniedException": { "type": "structure", @@ -1238,19 +1238,6 @@ }, "com.amazonaws.rolesanywhere#RolesAnywhere": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "RolesAnywhere", - "arnNamespace": "rolesanywhere", - "cloudFormationName": "RolesAnywhere" - }, - "aws.auth#sigv4": { - "name": "rolesanywhere" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AWS Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications running outside of AWS to obtain Temporary AWS credentials. Your workloads can use the same IAM policies and roles that you have configured with native AWS applications to access AWS resources. Using IAM Roles Anywhere will eliminate the need to manage long term credentials for workloads running outside of AWS.

\n

To use IAM Roles Anywhere customer workloads will need to use X.509 certificates issued by their Certificate Authority (CA) . The Certificate Authority (CA) needs to be registered with IAM Roles Anywhere as a trust anchor to establish trust between customer PKI and IAM Roles Anywhere. Customers who do not manage their own PKI system can use AWS Certificate Manager Private Certificate Authority (ACM PCA) to create a Certificate Authority and use that to establish trust with IAM Roles Anywhere

\n

This guide describes the IAM rolesanywhere operations that you can call programmatically. For general information about IAM Roles Anywhere see https://docs.aws.amazon.com/\n

", - "smithy.api#title": "IAM Roles Anywhere" - }, "version": "2018-05-10", "operations": [ { @@ -1276,7 +1263,20 @@ { "target": "com.amazonaws.rolesanywhere#TrustAnchor" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "RolesAnywhere", + "arnNamespace": "rolesanywhere", + "cloudFormationName": "RolesAnywhere" + }, + "aws.auth#sigv4": { + "name": "rolesanywhere" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

AWS Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications running outside of AWS to obtain Temporary AWS credentials. Your workloads can use the same IAM policies and roles that you have configured with native AWS applications to access AWS resources. Using IAM Roles Anywhere will eliminate the need to manage long term credentials for workloads running outside of AWS.

\n

To use IAM Roles Anywhere customer workloads will need to use X.509 certificates issued by their Certificate Authority (CA) . The Certificate Authority (CA) needs to be registered with IAM Roles Anywhere as a trust anchor to establish trust between customer PKI and IAM Roles Anywhere. Customers who do not manage their own PKI system can use AWS Certificate Manager Private Certificate Authority (ACM PCA) to create a Certificate Authority and use that to establish trust with IAM Roles Anywhere

\n

This guide describes the IAM rolesanywhere operations that you can call programmatically. For general information about IAM Roles Anywhere see https://docs.aws.amazon.com/\n

", + "smithy.api#title": "IAM Roles Anywhere" + } }, "com.amazonaws.rolesanywhere#ScalarCrlRequest": { "type": "structure", @@ -2053,4 +2053,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/route-53-domains.json b/codegen/sdk/aws-models/route-53-domains.json index 8859304000f..88f7be128b2 100644 --- a/codegen/sdk/aws-models/route-53-domains.json +++ b/codegen/sdk/aws-models/route-53-domains.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -140,6 +140,7 @@ "Price": { "target": "com.amazonaws.route53domains#Price", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The price that you were charged for the operation, in US dollars.

\n\t\t

Example value: 12.0

" } } @@ -155,10 +156,7 @@ } }, "com.amazonaws.route53domains#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53domains#CancelDomainTransferToAnotherAwsAccount": { "type": "operation", @@ -1492,7 +1490,10 @@ } }, "com.amazonaws.route53domains#CurrentExpiryYear": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53domains#DNSSec": { "type": "string" @@ -1927,7 +1928,6 @@ "com.amazonaws.route53domains#DurationInYears": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2512,6 +2512,7 @@ "SuggestionCount": { "target": "com.amazonaws.route53domains#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.

", "smithy.api#required": {} } @@ -2638,7 +2639,10 @@ } }, "com.amazonaws.route53domains#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53domains#InvalidInput": { "type": "structure", @@ -3180,14 +3184,16 @@ "com.amazonaws.route53domains#PageMaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "max": 100 } } }, "com.amazonaws.route53domains#Price": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53domains#PriceWithCurrency": { "type": "structure", @@ -3195,6 +3201,7 @@ "Price": { "target": "com.amazonaws.route53domains#Price", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The price of a domain, in a specific currency.

", "smithy.api#required": {} } @@ -3462,6 +3469,7 @@ "CurrentExpiryYear": { "target": "com.amazonaws.route53domains#CurrentExpiryYear", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The year when the registration for the domain is set to expire. This value must match the current expiration date for the domain.

", "smithy.api#required": {} } @@ -3595,24 +3603,6 @@ }, "com.amazonaws.route53domains#Route53Domains_v20140515": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route 53 Domains", - "arnNamespace": "route53domains", - "cloudFormationName": "Route53Domains", - "cloudTrailEventSource": "route53domains.amazonaws.com", - "endpointPrefix": "route53domains" - }, - "aws.auth#sigv4": { - "name": "route53domains" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon Route 53 API actions let you register domain names and perform related operations.

", - "smithy.api#title": "Amazon Route 53 Domains", - "smithy.api#xmlNamespace": { - "uri": "https://route53domains.amazonaws.com/doc/2014-05-15/" - } - }, "version": "2014-05-15", "operations": [ { @@ -3705,7 +3695,25 @@ { "target": "com.amazonaws.route53domains#ViewBilling" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route 53 Domains", + "arnNamespace": "route53domains", + "cloudFormationName": "Route53Domains", + "cloudTrailEventSource": "route53domains.amazonaws.com", + "endpointPrefix": "route53domains" + }, + "aws.auth#sigv4": { + "name": "route53domains" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon Route 53 API actions let you register domain names and perform related operations.

", + "smithy.api#title": "Amazon Route 53 Domains", + "smithy.api#xmlNamespace": { + "uri": "https://route53domains.amazonaws.com/doc/2014-05-15/" + } + } }, "com.amazonaws.route53domains#SortCondition": { "type": "structure", diff --git a/codegen/sdk/aws-models/route-53.json b/codegen/sdk/aws-models/route-53.json index bfb7ed6803e..8a908e709c1 100644 --- a/codegen/sdk/aws-models/route-53.json +++ b/codegen/sdk/aws-models/route-53.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -44,24 +44,6 @@ }, "com.amazonaws.route53#AWSDnsV20130401": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route 53", - "arnNamespace": "route53", - "cloudFormationName": "Route53", - "cloudTrailEventSource": "route53.amazonaws.com", - "endpointPrefix": "route53" - }, - "aws.auth#sigv4": { - "name": "route53" - }, - "aws.protocols#restXml": {}, - "smithy.api#documentation": "

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web\n\t\t\tservice.

", - "smithy.api#title": "Amazon Route 53", - "smithy.api#xmlNamespace": { - "uri": "https://route53.amazonaws.com/doc/2013-04-01/" - } - }, "version": "2013-04-01", "operations": [ { @@ -274,7 +256,25 @@ { "target": "com.amazonaws.route53#UpdateTrafficPolicyInstance" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route 53", + "arnNamespace": "route53", + "cloudFormationName": "Route53", + "cloudTrailEventSource": "route53.amazonaws.com", + "endpointPrefix": "route53" + }, + "aws.auth#sigv4": { + "name": "route53" + }, + "aws.protocols#restXml": {}, + "smithy.api#documentation": "

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web\n\t\t\tservice.

", + "smithy.api#title": "Amazon Route 53", + "smithy.api#xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + } }, "com.amazonaws.route53#AccountLimit": { "type": "structure", @@ -289,6 +289,7 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current value for the limit that is specified by Type.

", "smithy.api#required": {} } @@ -426,7 +427,10 @@ } }, "com.amazonaws.route53#AliasHealthEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.route53#AliasTarget": { "type": "structure", @@ -448,6 +452,7 @@ "EvaluateTargetHealth": { "target": "com.amazonaws.route53#AliasHealthEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

\n Applies only to alias, failover alias, geolocation alias, latency alias, and\n\t\t\t\tweighted alias resource record sets: When\n\t\t\t\tEvaluateTargetHealth is true, an alias resource record set\n\t\t\tinherits the health of the referenced Amazon Web Services resource, such as an ELB load\n\t\t\tbalancer or another resource record set in the hosted zone.

\n\t\t

Note the following:

\n\t\t
\n
CloudFront distributions
\n
\n\t\t\t\t\t

You can't set EvaluateTargetHealth to true when\n\t\t\t\t\t\tthe alias target is a CloudFront distribution.

\n\t\t\t\t
\n
Elastic Beanstalk environments that have regionalized subdomains
\n
\n\t\t\t\t\t

If you specify an Elastic Beanstalk environment in DNSName\n\t\t\t\t\t\tand the environment contains an ELB load balancer, Elastic Load Balancing\n\t\t\t\t\t\troutes queries only to the healthy Amazon EC2 instances that are registered\n\t\t\t\t\t\twith the load balancer. (An environment automatically contains an ELB load\n\t\t\t\t\t\tbalancer if it includes more than one Amazon EC2 instance.) If you set\n\t\t\t\t\t\t\tEvaluateTargetHealth to true and either no\n\t\t\t\t\t\tAmazon EC2 instances are healthy or the load balancer itself is unhealthy,\n\t\t\t\t\t\tRoute 53 routes queries to other available resources that are healthy, if\n\t\t\t\t\t\tany.

\n\t\t\t\t\t

If the environment contains a single Amazon EC2 instance, there are no\n\t\t\t\t\t\tspecial requirements.

\n\t\t\t\t
\n
ELB load balancers
\n
\n\t\t\t\t\t

Health checking behavior depends on the type of load balancer:

\n\t\t\t\t\t
    \n
  • \n\t\t\t\t\t\t\t

    \n Classic Load Balancers: If you\n\t\t\t\t\t\t\t\tspecify an ELB Classic Load Balancer in DNSName,\n\t\t\t\t\t\t\t\tElastic Load Balancing routes queries only to the healthy Amazon EC2\n\t\t\t\t\t\t\t\tinstances that are registered with the load balancer. If you set\n\t\t\t\t\t\t\t\t\tEvaluateTargetHealth to true and\n\t\t\t\t\t\t\t\teither no EC2 instances are healthy or the load balancer itself is\n\t\t\t\t\t\t\t\tunhealthy, Route 53 routes queries to other resources.

    \n\t\t\t\t\t\t
  • \n
  • \n\t\t\t\t\t\t\t

    \n Application and Network Load\n\t\t\t\t\t\t\t\t\tBalancers: If you specify an ELB Application or\n\t\t\t\t\t\t\t\tNetwork Load Balancer and you set EvaluateTargetHealth\n\t\t\t\t\t\t\t\tto true, Route 53 routes queries to the load balancer\n\t\t\t\t\t\t\t\tbased on the health of the target groups that are associated with\n\t\t\t\t\t\t\t\tthe load balancer:

    \n\t\t\t\t\t\t\t
      \n
    • \n\t\t\t\t\t\t\t\t\t

      For an Application or Network Load Balancer to be\n\t\t\t\t\t\t\t\t\t\tconsidered healthy, every target group that contains targets\n\t\t\t\t\t\t\t\t\t\tmust contain at least one healthy target. If any target\n\t\t\t\t\t\t\t\t\t\tgroup contains only unhealthy targets, the load balancer is\n\t\t\t\t\t\t\t\t\t\tconsidered unhealthy, and Route 53 routes queries to other\n\t\t\t\t\t\t\t\t\t\tresources.

      \n\t\t\t\t\t\t\t\t
    • \n
    • \n\t\t\t\t\t\t\t\t\t

      A target group that has no registered targets is\n\t\t\t\t\t\t\t\t\t\tconsidered unhealthy.

      \n\t\t\t\t\t\t\t\t
    • \n
    \n\t\t\t\t\t\t
  • \n
\n\t\t\t\t\t \n\t\t\t\t\t\t

When you create a load balancer, you configure settings for Elastic\n\t\t\t\t\t\t\tLoad Balancing health checks; they're not Route 53 health checks, but\n\t\t\t\t\t\t\tthey perform a similar function. Do not create Route 53 health checks\n\t\t\t\t\t\t\tfor the EC2 instances that you register with an ELB load balancer.\n\t\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t
\n
S3 buckets
\n
\n\t\t\t\t\t

There are no special requirements for setting\n\t\t\t\t\t\t\tEvaluateTargetHealth to true when the alias\n\t\t\t\t\t\ttarget is an S3 bucket.

\n\t\t\t\t
\n
Other records in the same hosted zone
\n
\n\t\t\t\t\t

If the Amazon Web Services resource that you specify in\n\t\t\t\t\t\t\tDNSName is a record or a group of records (for example, a\n\t\t\t\t\t\tgroup of weighted records) but is not another alias record, we recommend\n\t\t\t\t\t\tthat you associate a health check with all of the records in the alias\n\t\t\t\t\t\ttarget. For more information, see What Happens When You Omit Health Checks? in the\n\t\t\t\t\t\t\tAmazon Route 53 Developer Guide.

\n\t\t\t\t
\n
\n\t\t

For more information and examples, see Amazon Route 53 Health Checks\n\t\t\t\tand DNS Failover in the Amazon Route 53 Developer\n\t\t\tGuide.

", "smithy.api#required": {} } @@ -1417,7 +1422,6 @@ "com.amazonaws.route53#CollectionVersion": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3241,10 +3245,7 @@ } }, "com.amazonaws.route53#Disabled": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53#DisassociateVPCComment": { "type": "string" @@ -3398,10 +3399,7 @@ } }, "com.amazonaws.route53#EnableSNI": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53#ErrorMessage": { "type": "string" @@ -3418,7 +3416,6 @@ "com.amazonaws.route53#EvaluationPeriods": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3427,7 +3424,6 @@ "com.amazonaws.route53#FailureThreshold": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -3627,6 +3623,7 @@ "Count": { "target": "com.amazonaws.route53#UsageCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current number of entities that you have created of the specified type. For\n\t\t\texample, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of\n\t\t\t\tType in the request, the value of Count is the current\n\t\t\tnumber of health checks that you have created using the current account.

", "smithy.api#required": {} } @@ -4221,6 +4218,7 @@ "Count": { "target": "com.amazonaws.route53#UsageCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current number of entities that you have created of the specified type. For\n\t\t\texample, if you specified MAX_RRSETS_BY_ZONE for the value of\n\t\t\t\tType in the request, the value of Count is the current\n\t\t\tnumber of records that you have created in the specified hosted zone.

", "smithy.api#required": {} } @@ -4413,6 +4411,7 @@ "Count": { "target": "com.amazonaws.route53#UsageCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current number of hosted zones that you can associate with the specified reusable\n\t\t\tdelegation set.

", "smithy.api#required": {} } @@ -4794,10 +4793,7 @@ } }, "com.amazonaws.route53#HealthCheckCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.route53#HealthCheckId": { "type": "string", @@ -4969,7 +4965,6 @@ "com.amazonaws.route53#HealthCheckVersion": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -5000,7 +4995,6 @@ "com.amazonaws.route53#HealthThreshold": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 256 @@ -5082,6 +5076,7 @@ "PrivateZone": { "target": "com.amazonaws.route53#IsPrivateZone", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether this is a private hosted zone.

" } } @@ -5091,10 +5086,7 @@ } }, "com.amazonaws.route53#HostedZoneCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.route53#HostedZoneLimit": { "type": "structure", @@ -5109,6 +5101,7 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current value for the limit that is specified by Type.

", "smithy.api#required": {} } @@ -5221,10 +5214,7 @@ } }, "com.amazonaws.route53#HostedZoneRRSetCount": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.route53#HostedZoneSummaries": { "type": "list", @@ -5492,14 +5482,14 @@ } }, "com.amazonaws.route53#Inverted": { + "type": "boolean" + }, + "com.amazonaws.route53#IsPrivateZone": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.route53#IsPrivateZone": { - "type": "boolean" - }, "com.amazonaws.route53#KeySigningKey": { "type": "structure", "members": { @@ -5518,6 +5508,7 @@ "Flag": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer that specifies how the key is used. For key-signing key (KSK), this value\n\t\t\tis always 257.

" } }, @@ -5530,6 +5521,7 @@ "SigningAlgorithmType": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer used to represent the signing algorithm. This value must follow the\n\t\t\tguidelines provided by RFC-8624 Section 3.1.

" } }, @@ -5542,12 +5534,14 @@ "DigestAlgorithmType": { "target": "com.amazonaws.route53#SigningKeyInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer used to represent the delegation signer digest algorithm. This value must\n\t\t\tfollow the guidelines provided by RFC-8624 Section\n\t\t\t3.3.

" } }, "KeyTag": { "target": "com.amazonaws.route53#SigningKeyTag", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer used to identify the DNSSEC record for the domain name. The process used to\n\t\t\tcalculate the value is described in RFC-4034 Appendix B.

" } }, @@ -5679,6 +5673,7 @@ "com.amazonaws.route53#LimitValue": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -6014,6 +6009,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates whether more locations remain to be listed after the last\n\t\t\tlocation in this response. If so, the value of IsTruncated is\n\t\t\t\ttrue. To get more values, submit another request and include the values\n\t\t\tof NextContinentCode, NextCountryCode, and\n\t\t\t\tNextSubdivisionCode in the startcontinentcode,\n\t\t\t\tstartcountrycode, and startsubdivisioncode, as\n\t\t\tapplicable.

", "smithy.api#required": {} } @@ -6121,6 +6117,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more health checks to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of health checks by submitting\n\t\t\tanother ListHealthChecks request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.

", "smithy.api#required": {} } @@ -6256,6 +6253,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more hosted zones to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of maxitems hosted zones\n\t\t\tby calling ListHostedZonesByName again and specifying the values of\n\t\t\t\tNextDNSName and NextHostedZoneId elements in the\n\t\t\t\tdnsname and hostedzoneid parameters.

", "smithy.api#required": {} } @@ -6421,6 +6419,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag indicating whether there are more hosted zones to be listed. If the response\n\t\t\twas truncated, you can get more hosted zones by submitting another\n\t\t\t\tListHostedZones request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.

", "smithy.api#required": {} } @@ -6600,6 +6599,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether more resource record sets remain to be listed. If your\n\t\t\tresults were truncated, you can make a follow-up pagination request by using the\n\t\t\t\tNextRecordName element.

", "smithy.api#required": {} } @@ -6698,6 +6698,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more reusable delegation sets to be\n\t\t\tlisted.

", "smithy.api#required": {} } @@ -6922,6 +6923,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of traffic policies by submitting\n\t\t\tanother ListTrafficPolicies request and specifying the value of\n\t\t\t\tTrafficPolicyIdMarker in the TrafficPolicyIdMarker request\n\t\t\tparameter.

", "smithy.api#required": {} } @@ -7060,6 +7062,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get the next group of traffic policy instances by\n\t\t\tsubmitting another ListTrafficPolicyInstancesByHostedZone request and\n\t\t\tspecifying the values of HostedZoneIdMarker,\n\t\t\t\tTrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker in the corresponding request\n\t\t\tparameters.

", "smithy.api#required": {} } @@ -7187,6 +7190,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get the next group of traffic policy instances by\n\t\t\tcalling ListTrafficPolicyInstancesByPolicy again and specifying the values\n\t\t\tof the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker,\n\t\t\tand TrafficPolicyInstanceTypeMarker elements in the corresponding request\n\t\t\tparameters.

", "smithy.api#required": {} } @@ -7270,6 +7274,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If\n\t\t\tthe response was truncated, you can get more traffic policy instances by calling\n\t\t\t\tListTrafficPolicyInstances again and specifying the values of the\n\t\t\t\tHostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and\n\t\t\t\tTrafficPolicyInstanceTypeMarker in the corresponding request\n\t\t\tparameters.

", "smithy.api#required": {} } @@ -7354,6 +7359,7 @@ "IsTruncated": { "target": "com.amazonaws.route53#PageTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the\n\t\t\tresponse was truncated, you can get the next group of traffic policies by submitting\n\t\t\tanother ListTrafficPolicyVersions request and specifying the value of\n\t\t\t\tNextMarker in the marker parameter.

", "smithy.api#required": {} } @@ -7484,10 +7490,7 @@ } }, "com.amazonaws.route53#MeasureLatency": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53#Message": { "type": "string", @@ -7733,7 +7736,10 @@ } }, "com.amazonaws.route53#PageTruncated": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.route53#PaginationToken": { "type": "string", @@ -7747,7 +7753,6 @@ "com.amazonaws.route53#Period": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60 } @@ -7756,7 +7761,6 @@ "com.amazonaws.route53#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 65535 @@ -7942,7 +7946,6 @@ "com.amazonaws.route53#RequestInterval": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 30 @@ -8149,10 +8152,7 @@ } }, "com.amazonaws.route53#ResourceRecordSetMultiValueAnswer": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.route53#ResourceRecordSetRegion": { "type": "string", @@ -8264,7 +8264,6 @@ "com.amazonaws.route53#ResourceRecordSetWeight": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 255 @@ -8351,6 +8350,7 @@ "Value": { "target": "com.amazonaws.route53#LimitValue", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET\n\t\t\tlimit.

", "smithy.api#required": {} } @@ -8408,7 +8408,10 @@ } }, "com.amazonaws.route53#SigningKeyInteger": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53#SigningKeyName": { "type": "string", @@ -8443,6 +8446,7 @@ "com.amazonaws.route53#SigningKeyTag": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 65536 @@ -8511,7 +8515,6 @@ "com.amazonaws.route53#TTL": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -8754,10 +8757,7 @@ } }, "com.amazonaws.route53#Threshold": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.route53#ThrottlingException": { "type": "structure", @@ -9084,10 +9084,7 @@ } }, "com.amazonaws.route53#TrafficPolicyInstanceCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.route53#TrafficPolicyInstanceId": { "type": "string", @@ -9174,7 +9171,6 @@ "com.amazonaws.route53#TrafficPolicyVersion": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -9582,6 +9578,7 @@ "com.amazonaws.route53#UsageCount": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/route53-recovery-cluster.json b/codegen/sdk/aws-models/route53-recovery-cluster.json index 17f9b6503d7..c6694abea1d 100644 --- a/codegen/sdk/aws-models/route53-recovery-cluster.json +++ b/codegen/sdk/aws-models/route53-recovery-cluster.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -199,6 +199,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.route53recoverycluster#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#httpHeader": "Retry-After" } } @@ -264,7 +265,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycluster#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The number of routing controls objects that you want to return with this call. The default value is 500.

" } } @@ -291,6 +292,7 @@ "com.amazonaws.route53recoverycluster#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } @@ -339,6 +341,7 @@ "com.amazonaws.route53recoverycluster#RetryAfterSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Advice to clients on when the call can be safely retried" } }, @@ -468,6 +471,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.route53recoverycluster#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#httpHeader": "Retry-After" } } @@ -480,21 +484,6 @@ }, "com.amazonaws.route53recoverycluster#ToggleCustomerAPI": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route53 Recovery Cluster", - "arnNamespace": "route53-recovery-cluster", - "cloudFormationName": "Route53RecoveryCluster", - "cloudTrailEventSource": "route53recoverycluster.amazonaws.com", - "endpointPrefix": "route53-recovery-cluster" - }, - "aws.auth#sigv4": { - "name": "route53-recovery-cluster" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.

\n\t\t\t

With Route 53 ARC, you can use routing control with extreme reliability to\n\t\t\trecover applications by rerouting traffic across\n\t\t\tAvailability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted\n\t\t\ton a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you\n\t\t\tcan run API calls to get or update the state of routing controls. To implement failover, you set \n\t\t\tone routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region \n\t\t\tto another.

\n\t\t\t

\n Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region \n\t\t\t\tfor Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands.\n\t\t\t\tFor more information, see\n\t\t\t\t\n\t\t\t\t\tGet and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.

\n\t\t

This API guide includes information about the API operations for how to get and update routing control states\n\t\t\tin Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control \n\t\t\tpanels, and routing controls) using the recovery cluster configuration API.

\n\t\t\t

For more information about working with routing control in Route 53 ARC, see the following:

\n\t\t ", - "smithy.api#title": "Route53 Recovery Cluster" - }, "version": "2019-12-02", "operations": [ { @@ -509,7 +498,22 @@ { "target": "com.amazonaws.route53recoverycluster#UpdateRoutingControlStates" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route53 Recovery Cluster", + "arnNamespace": "route53-recovery-cluster", + "cloudFormationName": "Route53RecoveryCluster", + "cloudTrailEventSource": "route53recoverycluster.amazonaws.com", + "endpointPrefix": "route53-recovery-cluster" + }, + "aws.auth#sigv4": { + "name": "route53-recovery-cluster" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

Welcome to the Routing Control (Recovery Cluster) API Reference Guide for Amazon Route 53 Application Recovery Controller.

\n\t\t\t

With Route 53 ARC, you can use routing control with extreme reliability to\n\t\t\trecover applications by rerouting traffic across\n\t\t\tAvailability Zones or Amazon Web Services Regions. Routing controls are simple on/off switches hosted\n\t\t\ton a highly available cluster in Route 53 ARC. A cluster provides a set of five redundant Regional endpoints against which you\n\t\t\tcan run API calls to get or update the state of routing controls. To implement failover, you set \n\t\t\tone routing control On and another one Off, to reroute traffic from one Availability Zone or Amazon Web Services Region \n\t\t\tto another.

\n\t\t\t

\n Be aware that you must specify a Regional endpoint for a cluster when you work with API cluster operations \n\t\t\t\tto get or update routing control states in Route 53 ARC. In addition, you must specify the US West (Oregon) Region \n\t\t\t\tfor Route 53 ARC API calls. For example, use the parameter --region us-west-2 with AWS CLI commands.\n\t\t\t\tFor more information, see\n\t\t\t\t\n\t\t\t\t\tGet and update routing control states using the API in the Amazon Route 53 Application Recovery Controller Developer Guide.

\n\t\t

This API guide includes information about the API operations for how to get and update routing control states\n\t\t\tin Route 53 ARC. To work with routing control in Route 53 ARC, you must first create the required components (clusters, control \n\t\t\tpanels, and routing controls) using the recovery cluster configuration API.

\n\t\t\t

For more information about working with routing control in Route 53 ARC, see the following:

\n\t\t ", + "smithy.api#title": "Route53 Recovery Cluster" + } }, "com.amazonaws.route53recoverycluster#UpdateRoutingControlState": { "type": "operation", diff --git a/codegen/sdk/aws-models/route53-recovery-control-config.json b/codegen/sdk/aws-models/route53-recovery-control-config.json index 9f24c04a853..2a7feb42ad4 100644 --- a/codegen/sdk/aws-models/route53-recovery-control-config.json +++ b/codegen/sdk/aws-models/route53-recovery-control-config.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -94,6 +94,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -123,6 +124,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -219,6 +221,7 @@ "DefaultControlPanel": { "target": "com.amazonaws.route53recoverycontrolconfig#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that Amazon Route 53 Application Recovery Controller sets to true to designate the default control panel for a cluster. When you create a cluster, Amazon Route 53 Application Recovery Controller creates a control panel, and sets this flag for that control panel. If you create a control panel yourself, this flag is set to false.

" } }, @@ -231,6 +234,7 @@ "RoutingControlCount": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of routing controls in the control panel.

" } }, @@ -1257,6 +1261,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -1286,6 +1291,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -1351,6 +1357,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "MaxResults" } @@ -1434,6 +1441,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "MaxResults" } @@ -1516,6 +1524,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "MaxResults" } @@ -1599,6 +1608,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "MaxResults" } @@ -1682,6 +1692,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoverycontrolconfig#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "MaxResults" } @@ -1767,6 +1778,7 @@ "com.amazonaws.route53recoverycontrolconfig#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -1807,6 +1819,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -1857,6 +1870,7 @@ "WaitPeriodMs": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An evaluation period, in milliseconds (ms), during which any request against the target routing controls will fail. This helps prevent \"flapping\" of state. The wait period is 5000 ms by default, but you can choose a custom value.

", "smithy.api#required": {} } @@ -1885,21 +1899,6 @@ }, "com.amazonaws.route53recoverycontrolconfig#Route53RecoveryControlConfig": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route53 Recovery Control Config", - "arnNamespace": "route53-recovery-control-config", - "cloudFormationName": "Route53RecoveryControlConfig", - "cloudTrailEventSource": "route53recoverycontrolconfig.amazonaws.com", - "endpointPrefix": "route53-recovery-control-config" - }, - "aws.auth#sigv4": { - "name": "route53-recovery-control-config" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller

", - "smithy.api#title": "AWS Route53 Recovery Control Config" - }, "version": "2020-11-02", "operations": [ { @@ -1971,7 +1970,22 @@ { "target": "com.amazonaws.route53recoverycontrolconfig#UpdateSafetyRule" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route53 Recovery Control Config", + "arnNamespace": "route53-recovery-control-config", + "cloudFormationName": "Route53RecoveryControlConfig", + "cloudTrailEventSource": "route53recoverycontrolconfig.amazonaws.com", + "endpointPrefix": "route53-recovery-control-config" + }, + "aws.auth#sigv4": { + "name": "route53-recovery-control-config" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Recovery Control Configuration API Reference for Amazon Route 53 Application Recovery Controller

", + "smithy.api#title": "AWS Route53 Recovery Control Config" + } }, "com.amazonaws.route53recoverycontrolconfig#RoutingControl": { "type": "structure", @@ -2031,6 +2045,7 @@ "Inverted": { "target": "com.amazonaws.route53recoverycontrolconfig#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

", "smithy.api#required": {} } @@ -2038,6 +2053,7 @@ "Threshold": { "target": "com.amazonaws.route53recoverycontrolconfig#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

", "smithy.api#required": {} } @@ -2459,10 +2475,16 @@ } }, "com.amazonaws.route53recoverycontrolconfig#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.route53recoverycontrolconfig#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53recoverycontrolconfig#__listOfCluster": { "type": "list", diff --git a/codegen/sdk/aws-models/route53-recovery-readiness.json b/codegen/sdk/aws-models/route53-recovery-readiness.json index c1bd57cb4d5..f56ae1f6b62 100644 --- a/codegen/sdk/aws-models/route53-recovery-readiness.json +++ b/codegen/sdk/aws-models/route53-recovery-readiness.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -616,6 +616,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteCellRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -708,6 +711,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteReadinessCheckRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -752,6 +758,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteRecoveryGroupRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -796,6 +805,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#DeleteResourceSetRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#AccessDeniedException" @@ -875,6 +887,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1010,6 +1023,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1195,6 +1209,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1328,6 +1343,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1462,6 +1478,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1707,6 +1724,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1782,6 +1800,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1857,6 +1876,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -1932,6 +1952,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -2007,6 +2028,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -2114,6 +2136,7 @@ "MaxResults": { "target": "com.amazonaws.route53recoveryreadiness#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects that you want to return with this call.

", "smithy.api#httpQuery": "maxResults" } @@ -2209,6 +2232,7 @@ "com.amazonaws.route53recoveryreadiness#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 1000 @@ -2550,21 +2574,6 @@ }, "com.amazonaws.route53recoveryreadiness#Route53RecoveryReadiness": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Route53 Recovery Readiness", - "arnNamespace": "route53-recovery-readiness", - "cloudFormationName": "Route53RecoveryReadiness", - "cloudTrailEventSource": "route53recoveryreadiness.amazonaws.com", - "endpointPrefix": "route53-recovery-readiness" - }, - "aws.auth#sigv4": { - "name": "route53-recovery-readiness" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Recovery readiness

", - "smithy.api#title": "AWS Route53 Recovery Readiness" - }, "version": "2019-12-02", "operations": [ { @@ -2663,7 +2672,22 @@ { "target": "com.amazonaws.route53recoveryreadiness#UpdateResourceSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Route53 Recovery Readiness", + "arnNamespace": "route53-recovery-readiness", + "cloudFormationName": "Route53RecoveryReadiness", + "cloudTrailEventSource": "route53recoveryreadiness.amazonaws.com", + "endpointPrefix": "route53-recovery-readiness" + }, + "aws.auth#sigv4": { + "name": "route53-recovery-readiness" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Recovery readiness

", + "smithy.api#title": "AWS Route53 Recovery Readiness" + } }, "com.amazonaws.route53recoveryreadiness#RuleResult": { "type": "structure", @@ -2813,6 +2837,9 @@ "input": { "target": "com.amazonaws.route53recoveryreadiness#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.route53recoveryreadiness#InternalServerException" diff --git a/codegen/sdk/aws-models/route53resolver.json b/codegen/sdk/aws-models/route53resolver.json index 4f64e6fc7f4..37b785a3c5d 100644 --- a/codegen/sdk/aws-models/route53resolver.json +++ b/codegen/sdk/aws-models/route53resolver.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -422,7 +422,6 @@ "com.amazonaws.route53resolver#BlockOverrideTtl": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 604800 @@ -449,7 +448,10 @@ } }, "com.amazonaws.route53resolver#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.route53resolver#ConflictException": { "type": "structure", @@ -464,7 +466,10 @@ } }, "com.amazonaws.route53resolver#Count": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.route53resolver#CreateFirewallDomainList": { "type": "operation", @@ -690,7 +695,7 @@ "BlockOverrideTtl": { "target": "com.amazonaws.route53resolver#BlockOverrideTtl", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

\n

This setting is required if the BlockResponse setting is OVERRIDE.

" } }, @@ -3112,10 +3117,7 @@ } }, "com.amazonaws.route53resolver#IpAddressCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.route53resolver#IpAddressRequest": { "type": "structure", @@ -3300,7 +3302,6 @@ "com.amazonaws.route53resolver#ListDomainMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5000 @@ -3341,7 +3342,6 @@ "com.amazonaws.route53resolver#ListFirewallConfigsMaxResult": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 10 @@ -3354,7 +3354,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#ListFirewallConfigsMaxResult", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.

\n

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

" } }, @@ -3420,7 +3420,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.

\n

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

" } }, @@ -3496,7 +3496,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#ListDomainMaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.

\n

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

" } }, @@ -3574,7 +3574,7 @@ "Priority": { "target": "com.amazonaws.route53resolver#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The setting that determines the processing order of the rule group among the rule\n\t\t\tgroups that are associated with a single VPC. DNS Firewall filters VPC traffic starting\n\t\t\tfrom the rule group with the lowest numeric priority setting.

" } }, @@ -3587,7 +3587,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.

\n

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

" } }, @@ -3653,7 +3653,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.

\n

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

" } }, @@ -3729,7 +3729,7 @@ "Priority": { "target": "com.amazonaws.route53resolver#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

Optional additional filter for the rules to retrieve.

\n

The setting that determines the processing order of the rules in a rule group. DNS Firewall \n processes the rules in a rule group by order of priority, starting from the lowest setting.

" } }, @@ -3742,7 +3742,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of objects that you want Resolver to return for this request. If more\n objects are available, in the response, Resolver provides a\n NextToken value that you can use in a subsequent call to get the next batch of objects.

\n

If you don't specify a value for MaxResults, Resolver returns up to 100 objects.

" } }, @@ -3811,7 +3811,6 @@ "com.amazonaws.route53resolver#ListResolverConfigsMaxResult": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 5, "max": 100 @@ -3824,7 +3823,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#ListResolverConfigsMaxResult", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of Resolver configurations that you want to return in the response to \n\t\t\ta ListResolverConfigs request. If you don't specify a value for MaxResults, \n\t\t\tup to 100 Resolver configurations are returned.

" } }, @@ -3896,7 +3895,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

\n Optional: An integer that specifies the maximum number of DNSSEC configuration results that you want Amazon Route 53 to return. \n\t\t\tIf you don't specify a value for MaxResults, Route 53 returns up to 100 configuration per page.

" } }, @@ -3978,7 +3977,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of IP addresses that you want to return in the response to a ListResolverEndpointIpAddresses request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 IP addresses.

" } }, @@ -4053,7 +4052,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of Resolver endpoints that you want to return in the response to a ListResolverEndpoints request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 Resolver endpoints.

" } }, @@ -4178,12 +4177,14 @@ "TotalCount": { "target": "com.amazonaws.route53resolver#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of query logging associations that were created by the current account in the specified Region. This count can differ from the \n\t\t\tnumber of associations that are returned in a ListResolverQueryLogConfigAssociations response, depending on the values that you specify \n\t\t\tin the request.

" } }, "TotalFilteredCount": { "target": "com.amazonaws.route53resolver#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of query logging associations that were created by the current account in the specified Region and that match the filters \n\t\t\tthat were specified in the ListResolverQueryLogConfigAssociations request. For the total number of associations that were created by the \n\t\t\tcurrent account in the specified Region, see TotalCount.

" } }, @@ -4238,7 +4239,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of query logging configurations that you want to return in the response to a ListResolverQueryLogConfigs request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 query logging configurations.

" } }, @@ -4280,12 +4281,14 @@ "TotalCount": { "target": "com.amazonaws.route53resolver#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of query logging configurations that were created by the current account in the specified Region. This count can differ from the \n\t\t\tnumber of query logging configurations that are returned in a ListResolverQueryLogConfigs response, depending on the values that you specify \n\t\t\tin the request.

" } }, "TotalFilteredCount": { "target": "com.amazonaws.route53resolver#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of query logging configurations that were created by the current account in the specified Region and that match the filters \n\t\t\tthat were specified in the ListResolverQueryLogConfigs request. For the total number of query logging configurations that were created by the \n\t\t\tcurrent account in the specified Region, see TotalCount.

" } }, @@ -4337,7 +4340,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of rule associations that you want to return in the response to a ListResolverRuleAssociations request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 rule associations.

" } }, @@ -4418,7 +4421,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.

" } }, @@ -4509,7 +4512,7 @@ "MaxResults": { "target": "com.amazonaws.route53resolver#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum number of tags that you want to return in the response to a ListTagsForResource request. \n\t\t\tIf you don't specify a value for MaxResults, Resolver returns up to 100 tags.

" } }, @@ -4541,7 +4544,6 @@ "com.amazonaws.route53resolver#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4579,7 +4581,6 @@ "com.amazonaws.route53resolver#Port": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 65535 @@ -4587,10 +4588,7 @@ } }, "com.amazonaws.route53resolver#Priority": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.route53resolver#PutFirewallRuleGroupPolicy": { "type": "operation", @@ -4646,6 +4644,7 @@ "ReturnValue": { "target": "com.amazonaws.route53resolver#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

" } } @@ -4708,6 +4707,7 @@ "ReturnValue": { "target": "com.amazonaws.route53resolver#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the PutResolverQueryLogConfigPolicy request was successful.

" } } @@ -4767,6 +4767,7 @@ "ReturnValue": { "target": "com.amazonaws.route53resolver#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the PutResolverRulePolicy request was successful.

" } } @@ -5059,6 +5060,7 @@ "AssociationCount": { "target": "com.amazonaws.route53resolver#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of VPCs that are associated with the query logging configuration.

" } }, @@ -6020,7 +6022,7 @@ "Port": { "target": "com.amazonaws.route53resolver#Port", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The port at Ip that you want to forward DNS queries to.

" } } @@ -6065,10 +6067,7 @@ } }, "com.amazonaws.route53resolver#Unsigned": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.route53resolver#UntagResource": { "type": "operation", @@ -6348,7 +6347,7 @@ "Priority": { "target": "com.amazonaws.route53resolver#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The setting that determines the processing order of the rule group among the rule\n\t\t\tgroups that you associate with the specified VPC. DNS Firewall filters VPC traffic\n\t\t\tstarting from the rule group with the lowest numeric priority setting.

\n

You must specify a unique priority for each rule group that you associate with a single VPC. \n To make it easier to insert rule groups later, leave space between the numbers, for example, use 100, 200, and so on. You \n can change the priority setting for a rule group association after you create it.

" } }, @@ -6397,7 +6396,7 @@ "Priority": { "target": "com.amazonaws.route53resolver#Priority", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The setting that determines the processing order of the rule in the rule group. DNS Firewall \n processes the rules in a rule group by order of priority, starting from the lowest setting.

\n

You must specify a unique priority for each rule in a rule group. \n To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You \n can change the priority setting for the rules in a rule group at any time.

" } }, @@ -6428,7 +6427,7 @@ "BlockOverrideTtl": { "target": "com.amazonaws.route53resolver#BlockOverrideTtl", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action BLOCK with a BlockResponse setting of OVERRIDE.

" } }, diff --git a/codegen/sdk/aws-models/rum.json b/codegen/sdk/aws-models/rum.json index fa772c360eb..c99b2e52a66 100644 --- a/codegen/sdk/aws-models/rum.json +++ b/codegen/sdk/aws-models/rum.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.rum#AccessDeniedException": { "type": "structure", @@ -109,6 +109,7 @@ "SessionSampleRate": { "target": "com.amazonaws.rum#SessionSampleRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you\n more data but also incurs more costs.

\n

The number you specify is the percentage of user sessions that will be used.

\n

If you omit this parameter, the default of 10 is used.

" } }, @@ -614,6 +615,7 @@ "MaxResults": { "target": "com.amazonaws.rum#MaxQueryResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in one operation.

" } }, @@ -854,6 +856,7 @@ "com.amazonaws.rum#MaxQueryResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -993,10 +996,33 @@ } }, "com.amazonaws.rum#QueryTimestamp": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.rum#RUM": { "type": "service", + "version": "2018-05-10", + "operations": [ + { + "target": "com.amazonaws.rum#ListTagsForResource" + }, + { + "target": "com.amazonaws.rum#PutRumEvents" + }, + { + "target": "com.amazonaws.rum#TagResource" + }, + { + "target": "com.amazonaws.rum#UntagResource" + } + ], + "resources": [ + { + "target": "com.amazonaws.rum#AppMonitorResource" + } + ], "traits": { "aws.api#service": { "sdkId": "RUM", @@ -1034,27 +1060,7 @@ }, "smithy.api#documentation": "

With Amazon CloudWatch RUM, you can perform real-user monitoring to collect client-side data about \n your web application performance from actual user sessions in real time. The data collected includes page load \n times, client-side errors, and user behavior. When you view this data, you can see it all aggregated together and \n also see breakdowns by the browsers and devices that your customers use.

\n \n

You can use the collected data to quickly identify and debug client-side performance issues. CloudWatch \n RUM helps you visualize anomalies in your application performance and find relevant debugging data such as error \n messages, stack traces, and user sessions. You can also use RUM to \n understand the range of end-user impact including the number of users, geolocations, and browsers used.

", "smithy.api#title": "CloudWatch RUM" - }, - "version": "2018-05-10", - "operations": [ - { - "target": "com.amazonaws.rum#ListTagsForResource" - }, - { - "target": "com.amazonaws.rum#PutRumEvents" - }, - { - "target": "com.amazonaws.rum#TagResource" - }, - { - "target": "com.amazonaws.rum#UntagResource" - } - ], - "resources": [ - { - "target": "com.amazonaws.rum#AppMonitorResource" - } - ] + } }, "com.amazonaws.rum#ResourceNotFoundException": { "type": "structure", @@ -1152,6 +1158,7 @@ "com.amazonaws.rum#SessionSampleRate": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -1342,6 +1349,7 @@ "After": { "target": "com.amazonaws.rum#QueryTimestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The beginning of the time range to retrieve performance events from.

", "smithy.api#required": {} } @@ -1349,6 +1357,7 @@ "Before": { "target": "com.amazonaws.rum#QueryTimestamp", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The end of the time range to retrieve performance events from. If you omit this, the time \n range extends to the time that this operation is performed.

" } } @@ -1533,4 +1542,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/s3-control.json b/codegen/sdk/aws-models/s3-control.json index 0b1a652914f..c0a8680e52b 100644 --- a/codegen/sdk/aws-models/s3-control.json +++ b/codegen/sdk/aws-models/s3-control.json @@ -5220,6 +5220,18 @@ "traits": { "smithy.api#enumValue": "GetObject-PartNumber" } + }, + "HeadObjectRange": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HeadObject-Range" + } + }, + "HeadObjectPartNumber": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HeadObject-PartNumber" + } } } }, @@ -5324,6 +5336,24 @@ "traits": { "smithy.api#enumValue": "GetObject" } + }, + "HeadObject": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "HeadObject" + } + }, + "ListObjects": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ListObjects" + } + }, + "ListObjectsV2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ListObjectsV2" + } } } }, diff --git a/codegen/sdk/aws-models/s3.json b/codegen/sdk/aws-models/s3.json index 2bc44309336..5cfc081db3a 100644 --- a/codegen/sdk/aws-models/s3.json +++ b/codegen/sdk/aws-models/s3.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -38,6 +38,7 @@ "DaysAfterInitiation": { "target": "com.amazonaws.s3#DaysAfterInitiation", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after which Amazon S3 aborts an incomplete multipart\n upload.

" } } @@ -184,7 +185,10 @@ "type": "string" }, "com.amazonaws.s3#AllowQuotedRecordDelimiter": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#AllowedHeader": { "type": "string" @@ -215,26 +219,6 @@ }, "com.amazonaws.s3#AmazonS3": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "S3", - "arnNamespace": "s3", - "cloudFormationName": "S3", - "cloudTrailEventSource": "s3.amazonaws.com", - "endpointPrefix": "s3" - }, - "aws.auth#sigv4": { - "name": "s3" - }, - "aws.protocols#restXml": { - "noErrorWrapping": true - }, - "smithy.api#documentation": "

", - "smithy.api#title": "Amazon Simple Storage Service", - "smithy.api#xmlNamespace": { - "uri": "http://s3.amazonaws.com/doc/2006-03-01/" - } - }, "version": "2006-03-01", "operations": [ { @@ -516,7 +500,27 @@ { "target": "com.amazonaws.s3#WriteGetObjectResponse" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "S3", + "arnNamespace": "s3", + "cloudFormationName": "S3", + "cloudTrailEventSource": "s3.amazonaws.com", + "endpointPrefix": "s3" + }, + "aws.auth#sigv4": { + "name": "s3" + }, + "aws.protocols#restXml": { + "noErrorWrapping": true + }, + "smithy.api#documentation": "

", + "smithy.api#title": "Amazon Simple Storage Service", + "smithy.api#xmlNamespace": { + "uri": "http://s3.amazonaws.com/doc/2006-03-01/" + } + } }, "com.amazonaws.s3#AnalyticsAndOperator": { "type": "structure", @@ -756,7 +760,10 @@ } }, "com.amazonaws.s3#BucketKeyEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#BucketLifecycleConfiguration": { "type": "structure", @@ -940,16 +947,28 @@ } }, "com.amazonaws.s3#BypassGovernanceRetention": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#BytesProcessed": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#BytesReturned": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#BytesScanned": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#CORSConfiguration": { "type": "structure", @@ -1014,6 +1033,7 @@ "MaxAgeSeconds": { "target": "com.amazonaws.s3#MaxAgeSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time in seconds that your browser is to cache the preflight response for the\n specified resource.

" } } @@ -1070,6 +1090,7 @@ "AllowQuotedRecordDelimiter": { "target": "com.amazonaws.s3#AllowQuotedRecordDelimiter", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies that CSV field values may contain quoted record delimiters and such records\n should be allowed. Default value is FALSE. Setting this value to TRUE may lower\n performance.

" } } @@ -1328,6 +1349,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -1494,6 +1516,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Part number that identifies the part. This is a positive integer between 1 and\n 10,000.

" } } @@ -1548,7 +1571,10 @@ } }, "com.amazonaws.s3#ConfirmRemoveSelfBucketAccess": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#ContentDisposition": { "type": "string" @@ -1560,7 +1586,10 @@ "type": "string" }, "com.amazonaws.s3#ContentLength": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ContentMD5": { "type": "string" @@ -1669,6 +1698,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -1900,6 +1930,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.

\n

Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 Bucket Key.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -2214,6 +2245,7 @@ "ObjectLockEnabledForBucket": { "target": "com.amazonaws.s3#ObjectLockEnabledForBucket", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether you want S3 Object Lock to be enabled for the new bucket.

", "smithy.api#httpHeader": "x-amz-bucket-object-lock-enabled" } @@ -2317,6 +2349,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -2501,6 +2534,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.

\n

Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -2565,10 +2599,16 @@ } }, "com.amazonaws.s3#Days": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#DaysAfterInitiation": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#DefaultRetention": { "type": "structure", @@ -2582,12 +2622,14 @@ "Days": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that you want to specify for the default retention period. Must be\n used with Mode.

" } }, "Years": { "target": "com.amazonaws.s3#Years", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of years that you want to specify for the default retention period. Must be\n used with Mode.

" } } @@ -2611,6 +2653,7 @@ "Quiet": { "target": "com.amazonaws.s3#Quiet", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Element to enable quiet mode for the request. When you add this element, you must set\n its value to true.

" } } @@ -2624,6 +2667,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the S3 bucket. All objects (including all object versions and delete markers) in\n the bucket must be deleted before the bucket itself can be deleted.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { @@ -2638,6 +2684,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketAnalyticsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes an analytics configuration for the bucket (specified by the analytics\n configuration ID).

\n

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

\n\n

For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class\n Analysis.

\n\n

The following operations are related to\n DeleteBucketAnalyticsConfiguration:

\n ", "smithy.api#http": { @@ -2680,6 +2729,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketCorsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the cors configuration information set for the bucket.

\n

To use this operation, you must have permission to perform the\n s3:PutBucketCORS action. The bucket owner has this permission by default\n and can grant this permission to others.

\n

For information about cors, see Enabling\n Cross-Origin Resource Sharing in the Amazon S3 User Guide.

\n \n

\n Related Resources:\n

\n ", "smithy.api#http": { @@ -2714,6 +2766,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketEncryptionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

This implementation of the DELETE action removes default encryption from the bucket.\n For information about the Amazon S3 default encryption feature, see Amazon S3 Default Bucket Encryption in the\n Amazon S3 User Guide.

\n

To use this operation, you must have permissions to perform the\n s3:PutEncryptionConfiguration action. The bucket owner has this permission\n by default. The bucket owner can grant this permission to others. For more information\n about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3\n Resources in the Amazon S3 User Guide.

\n \n

\n Related Resources\n

\n ", "smithy.api#http": { @@ -2748,6 +2803,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketIntelligentTieringConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the S3 Intelligent-Tiering configuration from the specified bucket.

\n

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.

\n

The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.

\n

For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

\n

Operations related to\n DeleteBucketIntelligentTieringConfiguration include:

\n ", "smithy.api#http": { @@ -2783,6 +2841,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketInventoryConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes an inventory configuration (identified by the inventory ID) from the\n bucket.

\n

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

\n

For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.

\n

Operations related to DeleteBucketInventoryConfiguration include:

\n ", "smithy.api#http": { @@ -2825,6 +2886,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketLifecycleRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.

\n

To use this operation, you must have permission to perform the\n s3:PutLifecycleConfiguration action. By default, the bucket owner has this\n permission and the bucket owner can grant this permission to others.

\n\n

There is usually some time lag before lifecycle configuration deletion is fully\n propagated to all the Amazon S3 systems.

\n\n

For more information about the object expiration, see Elements to\n Describe Lifecycle Actions.

\n

Related actions include:

\n ", "smithy.api#http": { @@ -2859,6 +2923,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketMetricsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the\n metrics configuration ID) from the bucket. Note that this doesn't include the daily storage\n metrics.

\n\n

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

\n\n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon CloudWatch.

\n

The following operations are related to\n DeleteBucketMetricsConfiguration:

\n ", "smithy.api#http": { @@ -2901,6 +2968,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketOwnershipControlsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Removes OwnershipControls for an Amazon S3 bucket. To use this operation, you\n must have the s3:PutBucketOwnershipControls permission. For more information\n about Amazon S3 permissions, see Specifying\n Permissions in a Policy.

\n

For information about Amazon S3 Object Ownership, see Using Object Ownership.

\n

The following operations are related to\n DeleteBucketOwnershipControls:

\n ", "smithy.api#http": { @@ -2935,6 +3005,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

This implementation of the DELETE action uses the policy subresource to delete the\n policy of a specified bucket. If you are using an identity other than the root user of the\n Amazon Web Services account that owns the bucket, the calling identity must have the\n DeleteBucketPolicy permissions on the specified bucket and belong to the\n bucket owner's account to use this operation.

\n\n

If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403\n Access Denied error. If you have the correct permissions, but you're not using an\n identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not\n Allowed error.

\n\n \n

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

\n
\n\n

For more information about bucket policies, see Using Bucket Policies and\n UserPolicies.

\n

The following operations are related to DeleteBucketPolicy\n

\n ", "smithy.api#http": { @@ -2969,6 +3042,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketReplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the replication configuration from the bucket.

\n

To use this operation, you must have permissions to perform the\n s3:PutReplicationConfiguration action. The bucket owner has these\n permissions by default and can grant it to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n \n

It can take a while for the deletion of a replication configuration to fully\n propagate.

\n
\n\n

For information about replication configuration, see Replication in the Amazon S3 User Guide.

\n\n

The following operations are related to DeleteBucketReplication:

\n ", "smithy.api#http": { @@ -3023,6 +3099,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketTaggingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the tags from the bucket.

\n\n

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

\n

The following operations are related to DeleteBucketTagging:

\n ", "smithy.api#http": { @@ -3057,6 +3136,9 @@ "input": { "target": "com.amazonaws.s3#DeleteBucketWebsiteRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

This action removes the website configuration for a bucket. Amazon S3 returns a 200\n OK response upon successfully deleting a website configuration on the specified\n bucket. You will get a 200 OK response if the website configuration you are\n trying to delete does not exist on the bucket. Amazon S3 returns a 404 response if\n the bucket specified in the request does not exist.

\n\n

This DELETE action requires the S3:DeleteBucketWebsite permission. By\n default, only the bucket owner can delete the website configuration attached to a bucket.\n However, bucket owners can grant other users permission to delete the website configuration\n by writing a bucket policy granting them the S3:DeleteBucketWebsite\n permission.

\n\n

For more information about hosting websites, see Hosting Websites on Amazon S3.

\n\n

The following operations are related to DeleteBucketWebsite:

\n ", "smithy.api#http": { @@ -3087,7 +3169,10 @@ } }, "com.amazonaws.s3#DeleteMarker": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#DeleteMarkerEntry": { "type": "structure", @@ -3113,6 +3198,7 @@ "IsLatest": { "target": "com.amazonaws.s3#IsLatest", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the object is (true) or is not (false) the latest version of an\n object.

" } }, @@ -3188,6 +3274,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the versioned object that was permanently deleted was (true) or was\n not (false) a delete marker.

", "smithy.api#httpHeader": "x-amz-delete-marker" } @@ -3249,6 +3336,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether S3 Object Lock should bypass Governance-mode restrictions to process\n this operation. To use this header, you must have the s3:BypassGovernanceRetention\n permission.

", "smithy.api#httpHeader": "x-amz-bypass-governance-retention" } @@ -3412,6 +3500,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether you want to delete this object even if it has a Governance-type Object\n Lock in place. To use this header, you must have the s3:BypassGovernanceRetention\n permission.

", "smithy.api#httpHeader": "x-amz-bypass-governance-retention" } @@ -3437,6 +3526,9 @@ "input": { "target": "com.amazonaws.s3#DeletePublicAccessBlockRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this\n operation, you must have the s3:PutBucketPublicAccessBlock permission. For\n more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources.

\n\n

The following operations are related to DeletePublicAccessBlock:

\n ", "smithy.api#http": { @@ -3484,6 +3576,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the versioned object that was permanently deleted was (true) or was\n not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or\n not (false) a delete marker was created.

" } }, @@ -3571,7 +3664,10 @@ "type": "string" }, "com.amazonaws.s3#EnableRequestProgress": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#EncodingType": { "type": "string", @@ -3627,7 +3723,10 @@ } }, "com.amazonaws.s3#End": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#EndEvent": { "type": "structure", @@ -3846,7 +3945,10 @@ } }, "com.amazonaws.s3#ExpiredObjectDeleteMarker": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#Expires": { "type": "timestamp" @@ -3875,7 +3977,10 @@ } }, "com.amazonaws.s3#FetchOwner": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#FieldDelimiter": { "type": "string" @@ -5144,6 +5249,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the object retrieved was (true) or was not\n (false) a delete marker. If false, this response header does\n not appear in the response.

", "smithy.api#httpHeader": "x-amz-delete-marker" } @@ -5195,6 +5301,7 @@ "ObjectSize": { "target": "com.amazonaws.s3#ObjectSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the object in bytes.

" } } @@ -5206,6 +5313,7 @@ "TotalPartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of parts.

", "smithy.api#xmlName": "PartsCount" } @@ -5225,12 +5333,14 @@ "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of parts allowed in the response.

" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the returned list of parts is truncated. A value of\n true indicates that the list was truncated. A list can be truncated if the\n number of parts exceeds the limit returned in the MaxParts element.

" } }, @@ -5276,6 +5386,7 @@ "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Sets the maximum number of parts to return.

", "smithy.api#httpHeader": "x-amz-max-parts" } @@ -5456,6 +5567,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

Object data.

", "smithy.api#httpPayload": {} } @@ -5463,6 +5575,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.

", "smithy.api#httpHeader": "x-amz-delete-marker" } @@ -5498,6 +5611,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size of the body in bytes.

", "smithy.api#httpHeader": "Content-Length" } @@ -5540,6 +5654,7 @@ "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This is set to the number of metadata entries not returned in x-amz-meta\n headers. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.

", "smithy.api#httpHeader": "x-amz-missing-meta" } @@ -5645,6 +5760,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -5672,6 +5788,7 @@ "PartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of parts this object has. This value is only returned if you specify partNumber\n in your request and the object was uploaded as a multipart upload.

", "smithy.api#httpHeader": "x-amz-mp-parts-count" } @@ -5679,6 +5796,7 @@ "TagCount": { "target": "com.amazonaws.s3#TagCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tags, if any, on the object.

", "smithy.api#httpHeader": "x-amz-tagging-count" } @@ -5839,6 +5957,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Part number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' GET request for the part specified. Useful for downloading\n just a part of an object.

", "smithy.api#httpQuery": "partNumber" } @@ -5860,7 +5979,10 @@ } }, "com.amazonaws.s3#GetObjectResponseStatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#GetObjectRetention": { "type": "operation", @@ -6035,6 +6157,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

A Bencoded dictionary as defined by the BitTorrent specification

", "smithy.api#httpPayload": {} } @@ -6239,6 +6362,9 @@ "input": { "target": "com.amazonaws.s3#HeadBucketRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.s3#NotFound" @@ -6361,6 +6487,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If\n false, this response header does not appear in the response.

", "smithy.api#httpHeader": "x-amz-delete-marker" } @@ -6403,6 +6530,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size of the body in bytes.

", "smithy.api#httpHeader": "Content-Length" } @@ -6445,6 +6573,7 @@ "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This is set to the number of metadata entries not returned in x-amz-meta\n headers. This can happen if you create metadata using an API like SOAP that supports more\n flexible metadata than the REST API. For example, using SOAP, you can create metadata whose\n values are not legal HTTP headers.

", "smithy.api#httpHeader": "x-amz-missing-meta" } @@ -6543,6 +6672,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -6570,6 +6700,7 @@ "PartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of parts this object has. This value is only returned if you specify partNumber\n in your request and the object was uploaded as a multipart upload.

", "smithy.api#httpHeader": "x-amz-mp-parts-count" } @@ -6688,6 +6819,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Part number of the object being read. This is a positive integer between 1 and 10,000.\n Effectively performs a 'ranged' HEAD request for the part specified. Useful querying about\n the size of the part and the number of parts in this object.

", "smithy.api#httpQuery": "partNumber" } @@ -6883,7 +7015,10 @@ } }, "com.amazonaws.s3#IntelligentTieringDays": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#IntelligentTieringFilter": { "type": "structure", @@ -6954,6 +7089,7 @@ "IsEnabled": { "target": "com.amazonaws.s3#IsEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the inventory is enabled or disabled. If set to True, an\n inventory list is generated. If set to False, no inventory list is\n generated.

", "smithy.api#required": {} } @@ -7230,16 +7366,28 @@ } }, "com.amazonaws.s3#IsEnabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#IsLatest": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#IsPublic": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#IsTruncated": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#JSONInput": { "type": "structure", @@ -7288,7 +7436,10 @@ "type": "string" }, "com.amazonaws.s3#KeyCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#KeyMarker": { "type": "string" @@ -7351,12 +7502,14 @@ "Days": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the lifetime, in days, of the objects that are subject to the rule. The value\n must be a non-zero positive integer.

" } }, "ExpiredObjectDeleteMarker": { "target": "com.amazonaws.s3#ExpiredObjectDeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon S3 will remove a delete marker with no noncurrent versions. If set\n to true, the delete marker will be expired; if set to false the policy takes no action.\n This cannot be specified with Days or Date in a Lifecycle Expiration Policy.

" } } @@ -7447,12 +7600,14 @@ "ObjectSizeGreaterThan": { "target": "com.amazonaws.s3#ObjectSizeGreaterThanBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Minimum object size to which the rule applies.

" } }, "ObjectSizeLessThan": { "target": "com.amazonaws.s3#ObjectSizeLessThanBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum object size to which the rule applies.

" } } @@ -7525,6 +7680,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the returned list of analytics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.

" } }, @@ -7603,6 +7759,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the returned list of analytics configurations is complete. A value of\n true indicates that the list is not complete and the\n NextContinuationToken will be provided for a subsequent request.

" } }, @@ -7685,6 +7842,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Tells whether the returned list of inventory configurations is complete. A value of true\n indicates that the list is not complete and the NextContinuationToken is provided for a\n subsequent request.

" } }, @@ -7749,6 +7907,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the returned list of metrics configurations is complete. A value of\n true indicates that the list is not complete and the NextContinuationToken will be provided\n for a subsequent request.

" } }, @@ -7806,6 +7965,9 @@ }, "com.amazonaws.s3#ListBuckets": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.s3#ListBucketsOutput" }, @@ -7903,12 +8065,14 @@ "MaxUploads": { "target": "com.amazonaws.s3#MaxUploads", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of multipart uploads that could have been included in the\n response.

" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the returned list of multipart uploads is truncated. A value of true\n indicates that the list was truncated. The list can be truncated if the number of multipart\n uploads exceeds the limit allowed or specified by max uploads.

" } }, @@ -7972,6 +8136,7 @@ "MaxUploads": { "target": "com.amazonaws.s3#MaxUploads", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Sets the maximum number of multipart uploads, from 1 to 1,000, to return in the response\n body. 1,000 is the maximum number of uploads that can be returned in a response.

", "smithy.api#httpQuery": "max-uploads" } @@ -8022,6 +8187,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria. If your results were truncated, you can make a follow-up paginated request using\n the NextKeyMarker and NextVersionIdMarker response parameters as a starting place in\n another request to return the rest of the results.

" } }, @@ -8086,6 +8252,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the maximum number of objects to return.

" } }, @@ -8141,6 +8308,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more. If\n additional keys satisfy the search criteria, but were not returned because max-keys was\n exceeded, the response contains true. To return the\n additional keys, see key-marker and version-id-marker.

", "smithy.api#httpQuery": "max-keys" } @@ -8196,6 +8364,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag that indicates whether Amazon S3 returned all of the results that satisfied the search\n criteria.

" } }, @@ -8239,6 +8408,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of keys returned in the response body.

" } }, @@ -8294,6 +8464,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain more.\n

", "smithy.api#httpQuery": "max-keys" } @@ -8354,6 +8525,7 @@ "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to false if all of the results were returned. Set to true if more keys are available\n to return. If the number of results exceeds that specified by MaxKeys, all of the results\n might not be returned.

" } }, @@ -8385,6 +8557,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.

" } }, @@ -8404,6 +8577,7 @@ "KeyCount": { "target": "com.amazonaws.s3#KeyCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

KeyCount is the number of keys returned with this request. KeyCount will always be less\n than or equals to MaxKeys field. Say you ask for 50 keys, your result will include less than\n equals 50 keys

" } }, @@ -8458,6 +8632,7 @@ "MaxKeys": { "target": "com.amazonaws.s3#MaxKeys", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Sets the maximum number of keys returned in the response. By default the action returns up\n to 1,000 key names. The response might contain fewer keys but will never contain\n more.

", "smithy.api#httpQuery": "max-keys" } @@ -8479,6 +8654,7 @@ "FetchOwner": { "target": "com.amazonaws.s3#FetchOwner", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The owner field is not present in listV2 by default, if you want to return owner field\n with each key in the result then set the fetch owner field to true.

", "smithy.api#httpQuery": "fetch-owner" } @@ -8579,12 +8755,14 @@ "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Maximum number of parts that were allowed in the response.

" } }, "IsTruncated": { "target": "com.amazonaws.s3#IsTruncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the returned list of parts is truncated. A true value indicates that\n the list was truncated. A list can be truncated if the number of parts exceeds the limit\n returned in the MaxParts element.

" } }, @@ -8653,6 +8831,7 @@ "MaxParts": { "target": "com.amazonaws.s3#MaxParts", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Sets the maximum number of parts to return.

", "smithy.api#httpQuery": "max-parts" } @@ -8779,16 +8958,28 @@ "type": "string" }, "com.amazonaws.s3#MaxAgeSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MaxKeys": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MaxParts": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MaxUploads": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#Message": { "type": "string" @@ -8970,10 +9161,16 @@ } }, "com.amazonaws.s3#Minutes": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MissingMeta": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#MultipartUpload": { "type": "structure", @@ -9082,12 +9279,14 @@ "NoncurrentDays": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates When an Object Became Noncurrent in the Amazon S3 User Guide.

" } }, "NewerNoncurrentVersions": { "target": "com.amazonaws.s3#VersionCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent\n noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent\n versions, see Lifecycle configuration elements\n in the Amazon S3 User Guide.

" } } @@ -9102,6 +9301,7 @@ "NoncurrentDays": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days an object is noncurrent before Amazon S3 can perform the\n associated action. For information about the noncurrent days calculations, see How\n Amazon S3 Calculates How Long an Object Has Been Noncurrent in the\n Amazon S3 User Guide.

" } }, @@ -9114,6 +9314,7 @@ "NewerNoncurrentVersions": { "target": "com.amazonaws.s3#VersionCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent\n noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent\n versions, see Lifecycle configuration elements\n in the Amazon S3 User Guide.

" } } @@ -9225,6 +9426,7 @@ "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size in bytes of the object

" } }, @@ -9394,7 +9596,10 @@ } }, "com.amazonaws.s3#ObjectLockEnabledForBucket": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#ObjectLockLegalHold": { "type": "structure", @@ -9532,12 +9737,14 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The part number identifying the part. This value is a positive integer between 1 and\n 10,000.

" } }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the uploaded part in bytes.

" } }, @@ -9571,13 +9778,22 @@ } }, "com.amazonaws.s3#ObjectSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ObjectSizeGreaterThanBytes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ObjectSizeLessThanBytes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#ObjectStorageClass": { "type": "string", @@ -9641,6 +9857,7 @@ "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size in bytes of the object.

" } }, @@ -9665,6 +9882,7 @@ "IsLatest": { "target": "com.amazonaws.s3#IsLatest", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the object is (true) or is not (false) the latest version of an\n object.

" } }, @@ -9820,6 +10038,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Part number identifying the part. This is a positive integer between 1 and\n 10,000.

" } }, @@ -9838,6 +10057,7 @@ "Size": { "target": "com.amazonaws.s3#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size in bytes of the uploaded part data.

" } }, @@ -9871,7 +10091,10 @@ } }, "com.amazonaws.s3#PartNumber": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#PartNumberMarker": { "type": "string" @@ -9883,7 +10106,10 @@ } }, "com.amazonaws.s3#PartsCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#PartsList": { "type": "list", @@ -9942,6 +10168,7 @@ "IsPublic": { "target": "com.amazonaws.s3#IsPublic", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The policy status for this bucket. TRUE indicates that this bucket is\n public. FALSE indicates that the bucket is not public.

", "smithy.api#xmlName": "IsPublic" } @@ -9955,7 +10182,10 @@ "type": "string" }, "com.amazonaws.s3#Priority": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#Progress": { "type": "structure", @@ -9963,18 +10193,21 @@ "BytesScanned": { "target": "com.amazonaws.s3#BytesScanned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current number of object bytes scanned.

" } }, "BytesProcessed": { "target": "com.amazonaws.s3#BytesProcessed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current number of uncompressed object bytes processed.

" } }, "BytesReturned": { "target": "com.amazonaws.s3#BytesReturned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current number of bytes of records payload data returned.

" } } @@ -10019,6 +10252,7 @@ "BlockPublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should block public access control lists (ACLs) for this bucket\n and objects in this bucket. Setting this element to TRUE causes the following\n behavior:

\n \n

Enabling this setting doesn't affect existing policies or ACLs.

", "smithy.api#xmlName": "BlockPublicAcls" } @@ -10026,6 +10260,7 @@ "IgnorePublicAcls": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this\n bucket. Setting this element to TRUE causes Amazon S3 to ignore all public ACLs on\n this bucket and objects in this bucket.

\n

Enabling this setting doesn't affect the persistence of any existing ACLs and doesn't\n prevent new public ACLs from being set.

", "smithy.api#xmlName": "IgnorePublicAcls" } @@ -10033,6 +10268,7 @@ "BlockPublicPolicy": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should block public bucket policies for this bucket. Setting this\n element to TRUE causes Amazon S3 to reject calls to PUT Bucket policy if the\n specified bucket policy allows public access.

\n

Enabling this setting doesn't affect existing bucket policies.

", "smithy.api#xmlName": "BlockPublicPolicy" } @@ -10040,6 +10276,7 @@ "RestrictPublicBuckets": { "target": "com.amazonaws.s3#Setting", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting\n this element to TRUE restricts access to this bucket to only Amazon Web Service\n principals and authorized users within this account if the bucket has a public\n policy.

\n

Enabling this setting doesn't affect previously stored bucket policies, except that\n public and cross-account access within any public bucket policy, including non-public\n delegation to specific accounts, is blocked.

", "smithy.api#xmlName": "RestrictPublicBuckets" } @@ -10054,6 +10291,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketAccelerateConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" @@ -10107,6 +10347,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketAclRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10209,6 +10452,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketAnalyticsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Sets an analytics configuration for the bucket (specified by the analytics configuration\n ID). You can have up to 1,000 analytics configurations per bucket.

\n\n

You can choose to have storage class analysis export analysis reports sent to a\n comma-separated values (CSV) flat file. See the DataExport request element.\n Reports are updated daily and are based on the object filters that you configure. When\n selecting data export, you specify a destination bucket and an optional destination prefix\n where the file is written. You can export the data to a destination bucket in a different\n account. However, the destination bucket must be in the same Region as the bucket that you\n are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class\n Analysis.

\n\n \n

You must create a bucket policy on the destination bucket where the exported file is\n written to grant permissions to Amazon S3 to write objects to the bucket. For an example\n policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

\n
\n\n

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

\n\n\n

\n Special Errors\n

\n \n\n \n\n\n\n\n

\n Related Resources\n

\n ", "smithy.api#http": { @@ -10260,6 +10506,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketCorsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10321,6 +10570,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketEncryptionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10381,6 +10633,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketIntelligentTieringConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Puts a S3 Intelligent-Tiering configuration to the specified bucket.\n You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.

\n

The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.

\n

The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.

\n

For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.

\n

Operations related to\n PutBucketIntelligentTieringConfiguration include:

\n \n \n

You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically\n move objects stored in the S3 Intelligent-Tiering storage class to the\n Archive Access or Deep Archive Access tier.

\n
\n \n

\n Special Errors\n

\n ", "smithy.api#http": { @@ -10425,6 +10680,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketInventoryConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

This implementation of the PUT action adds an inventory configuration\n (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory\n configurations per bucket.

\n

Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly\n basis, and the results are published to a flat file. The bucket that is inventoried is\n called the source bucket, and the bucket where the inventory flat file\n is stored is called the destination bucket. The\n destination bucket must be in the same Amazon Web Services Region as the\n source bucket.

\n

When you configure an inventory for a source bucket, you specify\n the destination bucket where you want the inventory to be stored, and\n whether to generate the inventory daily or weekly. You can also configure what object\n metadata to include and whether to inventory all object versions or only current versions.\n For more information, see Amazon S3\n Inventory in the Amazon S3 User Guide.

\n \n

You must create a bucket policy on the destination bucket to\n grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an\n example policy, see \n Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.

\n
\n

To use this operation, you must have permissions to perform the\n s3:PutInventoryConfiguration action. The bucket owner has this permission\n by default and can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3\n Resources in the Amazon S3 User Guide.

\n \n

\n Special Errors\n

\n \n \n

\n Related Resources\n

\n ", "smithy.api#http": { @@ -10476,6 +10734,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketLifecycleConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10529,6 +10790,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketLoggingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10590,6 +10854,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketMetricsConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.\n You can have up to 1,000 metrics configurations per bucket. If you're updating an existing\n metrics configuration, note that this is a full replacement of the existing metrics\n configuration. If you don't include the elements you want to keep, they are erased.

\n\n

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

\n\n

For information about CloudWatch request metrics for Amazon S3, see Monitoring Metrics with Amazon\n CloudWatch.

\n\n

The following operations are related to\n PutBucketMetricsConfiguration:

\n \n\n

\n GetBucketLifecycle has the following special error:

\n ", "smithy.api#http": { @@ -10641,6 +10908,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketNotificationConfigurationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Enables notifications of specified events for a bucket. For more information about event\n notifications, see Configuring Event\n Notifications.

\n\n

Using this API, you can replace an existing notification configuration. The\n configuration is an XML file that defines the event types that you want Amazon S3 to publish and\n the destination where you want Amazon S3 to publish an event notification when it detects an\n event of the specified type.

\n\n

By default, your bucket has no event notifications configured. That is, the notification\n configuration will be an empty NotificationConfiguration.

\n\n

\n \n

\n

\n \n

\n

This action replaces the existing notification configuration with the configuration\n you include in the request body.

\n\n

After Amazon S3 receives this request, it first verifies that any Amazon Simple Notification\n Service (Amazon SNS) or Amazon Simple Queue Service (Amazon SQS) destination exists, and\n that the bucket owner has permission to publish to it by sending a test notification. In\n the case of Lambda destinations, Amazon S3 verifies that the Lambda function permissions\n grant Amazon S3 permission to invoke the function from the Amazon S3 bucket. For more information,\n see Configuring Notifications for Amazon S3\n Events.

\n\n

You can disable notifications by adding the empty NotificationConfiguration\n element.

\n

For more information about the number of event notification configurations that you can create per bucket, see\n Amazon S3 service quotas in Amazon Web Services General Reference.

\n

By default, only the bucket owner can configure notifications on a bucket. However,\n bucket owners can use a bucket policy to grant permission to other users to set this\n configuration with s3:PutBucketNotification permission.

\n\n \n

The PUT notification is an atomic operation. For example, suppose your notification\n configuration includes SNS topic, SQS queue, and Lambda function configurations. When\n you send a PUT request with this configuration, Amazon S3 sends test messages to your SNS\n topic. If the message fails, the entire PUT action will fail, and Amazon S3 will not add\n the configuration to your bucket.

\n
\n\n

\n Responses\n

\n

If the configuration in the request body includes only one\n TopicConfiguration specifying only the\n s3:ReducedRedundancyLostObject event type, the response will also include\n the x-amz-sns-test-message-id header containing the message ID of the test\n notification sent to the topic.

\n\n

The following action is related to\n PutBucketNotificationConfiguration:

\n ", "smithy.api#http": { @@ -10679,6 +10949,7 @@ "SkipDestinationValidation": { "target": "com.amazonaws.s3#SkipValidation", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.

", "smithy.api#httpHeader": "x-amz-skip-destination-validation" } @@ -10690,6 +10961,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketOwnershipControlsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestChecksumRequired": true @@ -10743,6 +11017,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketPolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10784,6 +11061,7 @@ "ConfirmRemoveSelfBucketAccess": { "target": "com.amazonaws.s3#ConfirmRemoveSelfBucketAccess", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set this parameter to true to confirm that you want to remove your permissions to change\n this bucket policy in the future.

", "smithy.api#httpHeader": "x-amz-confirm-remove-self-bucket-access" } @@ -10810,6 +11088,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketReplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10877,6 +11158,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketRequestPaymentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10938,6 +11222,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketTaggingRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -10999,6 +11286,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketVersioningRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -11067,6 +11357,9 @@ "input": { "target": "com.amazonaws.s3#PutBucketWebsiteRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -11557,6 +11850,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -11582,6 +11876,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

Object data.

", "smithy.api#httpPayload": {} } @@ -11625,6 +11920,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically. For more information, see http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.13.

", "smithy.api#httpHeader": "Content-Length" } @@ -11787,6 +12083,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using AWS KMS (SSE-KMS). Setting this header to true causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.

\n

Specifying this header with a PUT action doesn’t affect bucket-level settings for S3 Bucket Key.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -11909,6 +12206,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.s3#BypassGovernanceRetention", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether this action should bypass Governance-mode restrictions.

", "smithy.api#httpHeader": "x-amz-bypass-governance-retention" } @@ -12038,6 +12336,9 @@ "input": { "target": "com.amazonaws.s3#PutPublicAccessBlockRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm", @@ -12135,7 +12436,10 @@ } }, "com.amazonaws.s3#Quiet": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#QuoteCharacter": { "type": "string" @@ -12313,6 +12617,7 @@ "Priority": { "target": "com.amazonaws.s3#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The priority indicates which rule has precedence whenever two or more replication rules\n conflict. Amazon S3 will attempt to replicate objects according to all replication rules.\n However, if there are two or more rules with the same destination bucket, then objects will\n be replicated according to the rule with the highest priority. The higher the number, the\n higher the priority.

\n

For more information, see Replication in the\n Amazon S3 User Guide.

" } }, @@ -12495,6 +12800,7 @@ "Minutes": { "target": "com.amazonaws.s3#Minutes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Contains an integer specifying time in minutes.

\n

Valid value: 15

" } } @@ -12548,6 +12854,7 @@ "Enabled": { "target": "com.amazonaws.s3#EnableRequestProgress", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether periodic QueryProgress frames should be sent. Valid values: TRUE,\n FALSE. Default value: FALSE.

" } } @@ -12693,6 +13000,7 @@ "Days": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Lifetime of the active copy in days. Do not use with restores that specify\n OutputLocation.

\n

The Days element is required for regular restores, and must not be provided for select\n requests.

" } }, @@ -12905,12 +13213,14 @@ "Start": { "target": "com.amazonaws.s3#Start", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the start of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is 0. If only start is supplied, it\n means scan from that point to the end of the file. For example,\n 50 means scan\n from byte 50 until the end of the file.

" } }, "End": { "target": "com.amazonaws.s3#End", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the end of the byte range. This parameter is optional. Valid values:\n non-negative integers. The default value is one less than the size of the object being\n queried. If only the End parameter is supplied, it is interpreted to mean scan the last N\n bytes of the file. For example,\n 50 means scan the\n last 50 bytes.

" } } @@ -13180,6 +13490,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled element to true causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.

\n

For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.

" } } @@ -13195,13 +13506,22 @@ } }, "com.amazonaws.s3#Setting": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#Size": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#SkipValidation": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.s3#SourceSelectionCriteria": { "type": "structure", @@ -13254,7 +13574,10 @@ } }, "com.amazonaws.s3#Start": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#StartAfter": { "type": "string" @@ -13265,18 +13588,21 @@ "BytesScanned": { "target": "com.amazonaws.s3#BytesScanned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of object bytes scanned.

" } }, "BytesProcessed": { "target": "com.amazonaws.s3#BytesProcessed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of uncompressed object bytes processed.

" } }, "BytesReturned": { "target": "com.amazonaws.s3#BytesReturned", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of bytes of records payload data returned.

" } } @@ -13422,7 +13748,10 @@ } }, "com.amazonaws.s3#TagCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#TagSet": { "type": "list", @@ -13530,6 +13859,7 @@ "Days": { "target": "com.amazonaws.s3#IntelligentTieringDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive days of no access after which an object will be eligible to be\n transitioned to the corresponding tier. The minimum number of days specified for\n Archive Access tier must be at least 90 days and Deep Archive Access tier must be at least\n 180 days. The maximum can be up to 2 years (730 days).

", "smithy.api#required": {} } @@ -13607,6 +13937,7 @@ "Days": { "target": "com.amazonaws.s3#Days", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the number of days after creation when objects are transitioned to the\n specified storage class. The value must be a positive integer.

" } }, @@ -13768,6 +14099,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -13845,6 +14177,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Part number of part being copied. This is a positive integer between 1 and\n 10,000.

", "smithy.api#httpQuery": "partNumber", "smithy.api#required": {} @@ -13991,6 +14324,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-server-side-encryption-bucket-key-enabled" } @@ -14009,6 +14343,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

Object data.

", "smithy.api#httpPayload": {} } @@ -14024,6 +14359,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Size of the body in bytes. This parameter is useful when the size of the body cannot be\n determined automatically.

", "smithy.api#httpHeader": "Content-Length" } @@ -14081,6 +14417,7 @@ "PartNumber": { "target": "com.amazonaws.s3#PartNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Part number of part being uploaded. This is a positive integer between 1 and\n 10,000.

", "smithy.api#httpQuery": "partNumber", "smithy.api#required": {} @@ -14143,7 +14480,10 @@ "type": "string" }, "com.amazonaws.s3#VersionCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.s3#VersionIdMarker": { "type": "string" @@ -14209,6 +14549,9 @@ "input": { "target": "com.amazonaws.s3#WriteGetObjectResponseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "aws.auth#unsignedPayload": {}, "smithy.api#auth": [ @@ -14248,6 +14591,7 @@ "Body": { "target": "com.amazonaws.s3#StreamingBlob", "traits": { + "smithy.api#default": "", "smithy.api#documentation": "

The object data.

", "smithy.api#httpPayload": {} } @@ -14255,6 +14599,7 @@ "StatusCode": { "target": "com.amazonaws.s3#GetObjectResponseStatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The integer status code for an HTTP response of a corresponding GetObject\n request.

\n

\n Status Codes\n

\n ", "smithy.api#httpHeader": "x-amz-fwd-status" } @@ -14311,6 +14656,7 @@ "ContentLength": { "target": "com.amazonaws.s3#ContentLength", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the content body in bytes.

", "smithy.api#httpHeader": "Content-Length" } @@ -14360,6 +14706,7 @@ "DeleteMarker": { "target": "com.amazonaws.s3#DeleteMarker", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether an object stored in Amazon S3 is (true) or is not\n (false) a delete marker.

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-delete-marker" } @@ -14395,6 +14742,7 @@ "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Set to the number of metadata entries not returned in x-amz-meta headers.\n This can happen if you create metadata using an API like SOAP that supports more flexible\n metadata than the REST API. For example, using SOAP, you can create metadata whose values\n are not legal HTTP headers.

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-missing-meta" } @@ -14430,6 +14778,7 @@ "PartsCount": { "target": "com.amazonaws.s3#PartsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of parts this object has.

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-mp-parts-count" } @@ -14492,6 +14841,7 @@ "TagCount": { "target": "com.amazonaws.s3#TagCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tags, if any, on the object.

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-tagging-count" } @@ -14506,6 +14856,7 @@ "BucketKeyEnabled": { "target": "com.amazonaws.s3#BucketKeyEnabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side\n encryption with Amazon Web Services KMS (SSE-KMS).

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-server-side-encryption-bucket-key-enabled" } @@ -14513,7 +14864,10 @@ } }, "com.amazonaws.s3#Years": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } } } } diff --git a/codegen/sdk/aws-models/s3outposts.json b/codegen/sdk/aws-models/s3outposts.json index eb5af5ea56c..5bfd8b81c51 100644 --- a/codegen/sdk/aws-models/s3outposts.json +++ b/codegen/sdk/aws-models/s3outposts.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -155,6 +155,9 @@ "input": { "target": "com.amazonaws.s3outposts#DeleteEndpointRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.s3outposts#AccessDeniedException" @@ -391,6 +394,7 @@ "MaxResults": { "target": "com.amazonaws.s3outposts#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of endpoints that will be returned in the response.

", "smithy.api#httpQuery": "maxResults" } @@ -464,6 +468,7 @@ "MaxResults": { "target": "com.amazonaws.s3outposts#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of endpoints that will be returned in the response.

", "smithy.api#httpQuery": "maxResults" } @@ -498,6 +503,7 @@ "com.amazonaws.s3outposts#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -558,21 +564,6 @@ }, "com.amazonaws.s3outposts#S3Outposts": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "S3Outposts", - "arnNamespace": "s3-outposts", - "cloudFormationName": "S3Outposts", - "cloudTrailEventSource": "s3outposts.amazonaws.com", - "endpointPrefix": "s3-outposts" - }, - "aws.auth#sigv4": { - "name": "s3-outposts" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon S3 on Outposts provides access to S3 on Outposts operations.

", - "smithy.api#title": "Amazon S3 on Outposts" - }, "version": "2017-07-25", "operations": [ { @@ -587,7 +578,22 @@ { "target": "com.amazonaws.s3outposts#ListSharedEndpoints" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "S3Outposts", + "arnNamespace": "s3-outposts", + "cloudFormationName": "S3Outposts", + "cloudTrailEventSource": "s3outposts.amazonaws.com", + "endpointPrefix": "s3-outposts" + }, + "aws.auth#sigv4": { + "name": "s3-outposts" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon S3 on Outposts provides access to S3 on Outposts operations.

", + "smithy.api#title": "Amazon S3 on Outposts" + } }, "com.amazonaws.s3outposts#SecurityGroupId": { "type": "string", diff --git a/codegen/sdk/aws-models/sagemaker-a2i-runtime.json b/codegen/sdk/aws-models/sagemaker-a2i-runtime.json index 7adca7a3e84..0eca499fa46 100644 --- a/codegen/sdk/aws-models/sagemaker-a2i-runtime.json +++ b/codegen/sdk/aws-models/sagemaker-a2i-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.sagemakera2iruntime#AmazonSageMakerA2IRuntime": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SageMaker A2I Runtime", - "arnNamespace": "sagemaker", - "cloudFormationName": "SageMakerA2IRuntime", - "cloudTrailEventSource": "sagemakera2iruntime.amazonaws.com", - "endpointPrefix": "a2i-runtime.sagemaker" - }, - "aws.auth#sigv4": { - "name": "sagemaker" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning\n application. When an AI application can't evaluate data with a high degree of confidence,\n human reviewers can take over. This human review is called a human review workflow. To create\n and start a human review workflow, you need three resources: a worker task\n template, a flow definition, and a human\n loop.

\n

For information about these resources and prerequisites for using Amazon A2I, see Get Started with\n Amazon Augmented AI in the Amazon SageMaker Developer Guide.

\n

This API reference includes information about API actions and data types that you can use\n to interact with Amazon A2I programmatically. Use this guide to:

\n \n

Amazon A2I integrates APIs from various AWS services to create and start human review\n workflows for those services. To learn how Amazon A2I uses these APIs, see Use APIs in\n Amazon A2I in the Amazon SageMaker Developer Guide.

", - "smithy.api#title": "Amazon Augmented AI Runtime" - }, "version": "2019-11-07", "operations": [ { @@ -63,7 +48,22 @@ { "target": "com.amazonaws.sagemakera2iruntime#StopHumanLoop" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SageMaker A2I Runtime", + "arnNamespace": "sagemaker", + "cloudFormationName": "SageMakerA2IRuntime", + "cloudTrailEventSource": "sagemakera2iruntime.amazonaws.com", + "endpointPrefix": "a2i-runtime.sagemaker" + }, + "aws.auth#sigv4": { + "name": "sagemaker" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Augmented AI (Amazon A2I) adds the benefit of human judgment to any machine learning\n application. When an AI application can't evaluate data with a high degree of confidence,\n human reviewers can take over. This human review is called a human review workflow. To create\n and start a human review workflow, you need three resources: a worker task\n template, a flow definition, and a human\n loop.

\n

For information about these resources and prerequisites for using Amazon A2I, see Get Started with\n Amazon Augmented AI in the Amazon SageMaker Developer Guide.

\n

This API reference includes information about API actions and data types that you can use\n to interact with Amazon A2I programmatically. Use this guide to:

\n \n

Amazon A2I integrates APIs from various AWS services to create and start human review\n workflows for those services. To learn how Amazon A2I uses these APIs, see Use APIs in\n Amazon A2I in the Amazon SageMaker Developer Guide.

", + "smithy.api#title": "Amazon Augmented AI Runtime" + } }, "com.amazonaws.sagemakera2iruntime#ConflictException": { "type": "structure", @@ -511,7 +511,7 @@ "MaxResults": { "target": "com.amazonaws.sagemakera2iruntime#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The total number of items to return. If the total number of available items is more than\n the value specified in MaxResults, then a NextToken is returned in\n the output. You can use this token to display the next page of results.

", "smithy.api#httpQuery": "MaxResults" } @@ -539,6 +539,7 @@ "com.amazonaws.sagemakera2iruntime#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 diff --git a/codegen/sdk/aws-models/sagemaker-edge.json b/codegen/sdk/aws-models/sagemaker-edge.json index 1b015f170e4..353fb462703 100644 --- a/codegen/sdk/aws-models/sagemaker-edge.json +++ b/codegen/sdk/aws-models/sagemaker-edge.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,18 @@ "shapes": { "com.amazonaws.sagemakeredge#AmazonSageMakerEdge": { "type": "service", + "version": "2020-09-23", + "operations": [ + { + "target": "com.amazonaws.sagemakeredge#GetDeployments" + }, + { + "target": "com.amazonaws.sagemakeredge#GetDeviceRegistration" + }, + { + "target": "com.amazonaws.sagemakeredge#SendHeartbeat" + } + ], "traits": { "aws.api#service": { "sdkId": "Sagemaker Edge", @@ -45,19 +57,7 @@ "aws.protocols#restJson1": {}, "smithy.api#documentation": "

SageMaker Edge Manager dataplane service for communicating with active agents.

", "smithy.api#title": "Amazon Sagemaker Edge Manager" - }, - "version": "2020-09-23", - "operations": [ - { - "target": "com.amazonaws.sagemakeredge#GetDeployments" - }, - { - "target": "com.amazonaws.sagemakeredge#GetDeviceRegistration" - }, - { - "target": "com.amazonaws.sagemakeredge#SendHeartbeat" - } - ] + } }, "com.amazonaws.sagemakeredge#CacheTTLSeconds": { "type": "string", @@ -374,6 +374,7 @@ "Value": { "target": "com.amazonaws.sagemakeredge#Value", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Returns the value of the metric.

" } }, @@ -706,7 +707,10 @@ "type": "timestamp" }, "com.amazonaws.sagemakeredge#Value": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sagemakeredge#Version": { "type": "string", diff --git a/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json b/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json index 9a16041174b..8b6c1e04694 100644 --- a/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json +++ b/codegen/sdk/aws-models/sagemaker-featurestore-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -276,6 +276,9 @@ "input": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#DeleteRecordRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden" @@ -481,6 +484,9 @@ "input": { "target": "com.amazonaws.sagemakerfeaturestoreruntime#PutRecordRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sagemakerfeaturestoreruntime#AccessForbidden" diff --git a/codegen/sdk/aws-models/sagemaker-runtime.json b/codegen/sdk/aws-models/sagemaker-runtime.json index 336ace505cc..2c644022973 100644 --- a/codegen/sdk/aws-models/sagemaker-runtime.json +++ b/codegen/sdk/aws-models/sagemaker-runtime.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,15 @@ "shapes": { "com.amazonaws.sagemakerruntime#AmazonSageMakerRuntime": { "type": "service", + "version": "2017-05-13", + "operations": [ + { + "target": "com.amazonaws.sagemakerruntime#InvokeEndpoint" + }, + { + "target": "com.amazonaws.sagemakerruntime#InvokeEndpointAsync" + } + ], "traits": { "aws.api#service": { "sdkId": "SageMaker Runtime", @@ -45,16 +54,7 @@ "aws.protocols#restJson1": {}, "smithy.api#documentation": "

The Amazon SageMaker runtime API.

", "smithy.api#title": "Amazon SageMaker Runtime" - }, - "version": "2017-05-13", - "operations": [ - { - "target": "com.amazonaws.sagemakerruntime#InvokeEndpoint" - }, - { - "target": "com.amazonaws.sagemakerruntime#InvokeEndpointAsync" - } - ] + } }, "com.amazonaws.sagemakerruntime#BodyBlob": { "type": "blob", @@ -77,6 +77,16 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.sagemakerruntime#EnableExplanationsHeader": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, "com.amazonaws.sagemakerruntime#EndpointName": { "type": "string", "traits": { @@ -125,7 +135,7 @@ } }, "traits": { - "smithy.api#documentation": "

Your request caused an exception with an internal dependency. Contact customer support.

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

Your request caused an exception with an internal dependency. Contact customer\n support.

", "smithy.api#error": "server", "smithy.api#httpError": 530 } @@ -172,7 +182,7 @@ } ], "traits": { - "smithy.api#documentation": "

After you deploy a model into production using Amazon SageMaker hosting services, your\n client applications use this API to get inferences from the model hosted at the\n specified endpoint.

\n

For an overview of Amazon SageMaker, see How It Works.

\n

Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add\n additional headers. You should not rely on the behavior of headers outside those\n enumerated in the request syntax.

\n

Calls to InvokeEndpoint are authenticated by using Amazon Web Services Signature Version\n 4. For information, see Authenticating\n Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API\n Reference.

\n

A customer's model containers must respond to requests within 60 seconds. The model\n itself can have a maximum processing time of 60 seconds before responding to\n invocations. If your model is going to take 50-60 seconds of processing time, the SDK\n socket timeout should be set to be 70 seconds.

\n \n

Endpoints are scoped to an individual account, and are not public. The URL does\n not contain the account ID, but Amazon SageMaker determines the account ID from the\n authentication token that is supplied by the caller.

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

After you deploy a model into production using Amazon SageMaker hosting services, your\n client applications use this API to get inferences from the model hosted at the\n specified endpoint.

\n

For an overview of Amazon SageMaker, see How It Works.

\n

Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add\n additional headers. You should not rely on the behavior of headers outside those\n enumerated in the request syntax.

\n

Calls to InvokeEndpoint are authenticated by using Amazon Web Services\n Signature Version 4. For information, see Authenticating\n Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API\n Reference.

\n

A customer's model containers must respond to requests within 60 seconds. The model\n itself can have a maximum processing time of 60 seconds before responding to\n invocations. If your model is going to take 50-60 seconds of processing time, the SDK\n socket timeout should be set to be 70 seconds.

\n \n

Endpoints are scoped to an individual account, and are not public. The URL does\n not contain the account ID, but Amazon SageMaker determines the account ID from the\n authentication token that is supplied by the caller.

\n
", "smithy.api#http": { "method": "POST", "uri": "/endpoints/{EndpointName}/invocations", @@ -200,7 +210,7 @@ } ], "traits": { - "smithy.api#documentation": "

After you deploy a model into production using Amazon SageMaker hosting services, \n your client applications use this API to get inferences from the model hosted at \n the specified endpoint in an asynchronous manner.

\n \n

Inference requests sent to this API are enqueued for asynchronous processing. \n The processing of the inference request may or may not complete before the \n you receive a response from this API. The response from this API will \n not contain the result of the inference request but contain information \n about where you can locate it.

\n \n

Amazon SageMaker strips all POST headers except those supported by the API. \n Amazon SageMaker might add additional headers. You should not rely on the behavior \n of headers outside those enumerated in the request syntax.

\n \n

Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature\n Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API\n Reference.

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

After you deploy a model into production using Amazon SageMaker hosting services, your client\n applications use this API to get inferences from the model hosted at the specified\n endpoint in an asynchronous manner.

\n\n

Inference requests sent to this API are enqueued for asynchronous processing. The\n processing of the inference request may or may not complete before the you receive a\n response from this API. The response from this API will not contain the result of the\n inference request but contain information about where you can locate it.

\n\n

Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker\n might add additional headers. You should not rely on the behavior of headers outside\n those enumerated in the request syntax.

\n\n

Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the\n Amazon S3 API Reference.

", "smithy.api#http": { "method": "POST", "uri": "/endpoints/{EndpointName}/async-invocations", @@ -214,7 +224,7 @@ "EndpointName": { "target": "com.amazonaws.sagemakerruntime#EndpointName", "traits": { - "smithy.api#documentation": "

The name of the endpoint that you specified when you created the endpoint using \n the \n CreateEndpoint\n API.

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

The name of the endpoint that you specified when you created the endpoint using the\n \n CreateEndpoint\n API.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -236,14 +246,14 @@ "CustomAttributes": { "target": "com.amazonaws.sagemakerruntime#CustomAttributesHeader", "traits": { - "smithy.api#documentation": "

Provides additional information about a request for an inference submitted to \n a model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is \n forwarded verbatim. You could use this value, for example, to provide an ID that you \n can use to track a request or to provide other metadata that a service endpoint was \n programmed to process. The value must consist of no more than 1024 \n visible US-ASCII characters as specified in \n Section 3.3.6. \n Field Value Components of the Hypertext Transfer Protocol (HTTP/1.1).

\n \n

The code in your model is responsible for setting or updating any custom attributes \n in the response. If your code does not set this value in the response, an empty \n value is returned. For example, if a custom attribute represents the trace ID, \n your model can prepend the custom attribute with Trace ID: in your post-processing function.

\n \n

This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK.

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

Provides additional information about a request for an inference submitted to a model\n hosted at an Amazon SageMaker endpoint. The information is an opaque value that is forwarded\n verbatim. You could use this value, for example, to provide an ID that you can use to\n track a request or to provide other metadata that a service endpoint was programmed to\n process. The value must consist of no more than 1024 visible US-ASCII characters as\n specified in Section 3.3.6. Field Value Components of the Hypertext Transfer Protocol\n (HTTP/1.1).

\n\n

The code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.

\n\n

This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker\n Python SDK.

", "smithy.api#httpHeader": "X-Amzn-SageMaker-Custom-Attributes" } }, "InferenceId": { "target": "com.amazonaws.sagemakerruntime#InferenceId", "traits": { - "smithy.api#documentation": "

The identifier for the inference request. Amazon SageMaker will generate an identifier for you \n if none is specified.

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

The identifier for the inference request. Amazon SageMaker will generate an identifier for you if\n none is specified.

", "smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Id" } }, @@ -258,7 +268,7 @@ "RequestTTLSeconds": { "target": "com.amazonaws.sagemakerruntime#RequestTTLSecondsHeader", "traits": { - "smithy.api#documentation": "

Maximum age in seconds a request can be in the queue before it is marked as expired.

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

Maximum age in seconds a request can be in the queue before it is marked as\n expired.

", "smithy.api#httpHeader": "X-Amzn-SageMaker-RequestTTLSeconds" } } @@ -270,7 +280,7 @@ "InferenceId": { "target": "com.amazonaws.sagemakerruntime#Header", "traits": { - "smithy.api#documentation": "

Identifier for an inference request. This will be the same as the InferenceId specified \n in the input. Amazon SageMaker will generate an identifier for you if you do not specify one.

" + "smithy.api#documentation": "

Identifier for an inference request. This will be the same as the\n InferenceId specified in the input. Amazon SageMaker will generate an identifier\n for you if you do not specify one.

" } }, "OutputLocation": { @@ -318,7 +328,7 @@ "CustomAttributes": { "target": "com.amazonaws.sagemakerruntime#CustomAttributesHeader", "traits": { - "smithy.api#documentation": "

Provides additional information about a request for an inference submitted to a model\n hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to provide an ID that you can\n use to track a request or to provide other metadata that a service endpoint was\n programmed to process. The value must consist of no more than 1024 visible US-ASCII\n characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1).

\n

The code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.

\n\n

This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python\n SDK.

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

Provides additional information about a request for an inference submitted to a model\n hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to provide an ID that you can\n use to track a request or to provide other metadata that a service endpoint was\n programmed to process. The value must consist of no more than 1024 visible US-ASCII\n characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1).

\n

The code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.

\n\n

This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker\n Python SDK.

", "smithy.api#httpHeader": "X-Amzn-SageMaker-Custom-Attributes" } }, @@ -349,6 +359,13 @@ "smithy.api#documentation": "

If you provide a value, it is added to the captured data when you enable data capture\n on the endpoint. For information about data capture, see Capture\n Data.

", "smithy.api#httpHeader": "X-Amzn-SageMaker-Inference-Id" } + }, + "EnableExplanations": { + "target": "com.amazonaws.sagemakerruntime#EnableExplanationsHeader", + "traits": { + "smithy.api#documentation": "

An optional JMESPath expression used to override the EnableExplanations\n parameter of the ClarifyExplainerConfig API. See the EnableExplanations section in the developer guide for more information.\n

", + "smithy.api#httpHeader": "X-Amzn-SageMaker-Enable-Explanations" + } } } }, @@ -358,7 +375,7 @@ "Body": { "target": "com.amazonaws.sagemakerruntime#BodyBlob", "traits": { - "smithy.api#documentation": "

Includes the inference provided by the model.

\n

For information about the format of the response body, see Common Data\n Formats-Inference.

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

Includes the inference provided by the model.

\n

For information about the format of the response body, see Common Data\n Formats-Inference.

\n

If the explainer is activated, the\n body includes the explanations provided by the model. For more information, see the\n Response section under Invoke the Endpoint in the Developer Guide.

", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -380,7 +397,7 @@ "CustomAttributes": { "target": "com.amazonaws.sagemakerruntime#CustomAttributesHeader", "traits": { - "smithy.api#documentation": "

Provides additional information in the response about the inference returned by a\n model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to return an ID received in\n the CustomAttributes header of a request or other metadata that a service\n endpoint was programmed to produce. The value must consist of no more than 1024 visible\n US-ASCII characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1). If the customer\n wants the custom attribute returned, the model must set the custom attribute to be\n included on the way back.

\n

The code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.

\n

This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python\n SDK.

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

Provides additional information in the response about the inference returned by a\n model hosted at an Amazon SageMaker endpoint. The information is an opaque value that is\n forwarded verbatim. You could use this value, for example, to return an ID received in\n the CustomAttributes header of a request or other metadata that a service\n endpoint was programmed to produce. The value must consist of no more than 1024 visible\n US-ASCII characters as specified in Section 3.3.6. Field Value\n Components of the Hypertext Transfer Protocol (HTTP/1.1). If the customer\n wants the custom attribute returned, the model must set the custom attribute to be\n included on the way back.

\n

The code in your model is responsible for setting or updating any custom attributes in\n the response. If your code does not set this value in the response, an empty value is\n returned. For example, if a custom attribute represents the trace ID, your model can\n prepend the custom attribute with Trace ID: in your post-processing\n function.

\n

This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker\n Python SDK.

", "smithy.api#httpHeader": "X-Amzn-SageMaker-Custom-Attributes" } } @@ -441,7 +458,7 @@ "code": "ModelNotReadyException", "httpResponseCode": 429 }, - "smithy.api#documentation": "

Either a serverless endpoint variant's resources are still being provisioned, or a multi-model endpoint is still downloading or loading the target model. Wait and try your request again.

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

Either a serverless endpoint variant's resources are still being provisioned, or a\n multi-model endpoint is still downloading or loading the target model. Wait and try your\n request again.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } @@ -449,7 +466,6 @@ "com.amazonaws.sagemakerruntime#RequestTTLSecondsHeader": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 60, "max": 21600 @@ -470,10 +486,7 @@ } }, "com.amazonaws.sagemakerruntime#StatusCode": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sagemakerruntime#TargetContainerHostnameHeader": { "type": "string", diff --git a/codegen/sdk/aws-models/sagemaker.json b/codegen/sdk/aws-models/sagemaker.json index 0c2ad0570b6..0f75e4f08eb 100644 --- a/codegen/sdk/aws-models/sagemaker.json +++ b/codegen/sdk/aws-models/sagemaker.json @@ -3925,6 +3925,768 @@ "smithy.api#documentation": "

The container for the metadata for the ClarifyCheck step. For more information, \n see the topic on ClarifyCheck step in the Amazon SageMaker Developer Guide.\n

" } }, + "com.amazonaws.sagemaker#ClarifyContentTemplate": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyEnableExplanations": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyExplainerConfig": { + "type": "structure", + "members": { + "EnableExplanations": { + "target": "com.amazonaws.sagemaker#ClarifyEnableExplanations", + "traits": { + "smithy.api#documentation": "

A JMESPath boolean expression used to filter which records to explain. Explanations\n are activated by default. See \n EnableExplanations\n for additional information.

" + } + }, + "InferenceConfig": { + "target": "com.amazonaws.sagemaker#ClarifyInferenceConfig", + "traits": { + "smithy.api#documentation": "

The inference configuration parameter for the model container.

" + } + }, + "ShapConfig": { + "target": "com.amazonaws.sagemaker#ClarifyShapConfig", + "traits": { + "smithy.api#documentation": "

The configuration for SHAP analysis.

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

The configuration parameters for the SageMaker Clarify explainer.

" + } + }, + "com.amazonaws.sagemaker#ClarifyFeatureHeaders": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#ClarifyHeader" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.sagemaker#ClarifyFeatureType": { + "type": "enum", + "members": { + "NUMERICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "numerical" + } + }, + "CATEGORICAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "categorical" + } + }, + "TEXT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "text" + } + } + } + }, + "com.amazonaws.sagemaker#ClarifyFeatureTypes": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#ClarifyFeatureType" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.sagemaker#ClarifyFeaturesAttribute": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyHeader": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyInferenceConfig": { + "type": "structure", + "members": { + "FeaturesAttribute": { + "target": "com.amazonaws.sagemaker#ClarifyFeaturesAttribute", + "traits": { + "smithy.api#documentation": "

Provides the JMESPath expression to extract the features from a model container input\n in JSON Lines format. For example, if FeaturesAttribute is the JMESPath\n expression 'myfeatures', it extracts a list of features\n [1,2,3] from request data '{\"myfeatures\":[1,2,3}'.

" + } + }, + "ContentTemplate": { + "target": "com.amazonaws.sagemaker#ClarifyContentTemplate", + "traits": { + "smithy.api#documentation": "

A template string used to format a JSON record into an acceptable model container\n input. For example, a ContentTemplate string\n '{\"myfeatures\":$features}' will format a list of features\n [1,2,3] into the record string '{\"myfeatures\":[1,2,3]}'.\n Required only when the model container input is in JSON Lines format.

" + } + }, + "MaxRecordCount": { + "target": "com.amazonaws.sagemaker#ClarifyMaxRecordCount", + "traits": { + "smithy.api#documentation": "

The maximum number of records in a request that the model container can process when\n querying the model container for the predictions of a synthetic dataset. A record is a unit of input data that inference can be\n made on, for example, a single line in CSV data. If MaxRecordCount is\n 1, the model container expects one record per request. A value of 2 or\n greater means that the model expects batch requests, which can reduce overhead and speed\n up the inferencing process. If this parameter is not provided, the explainer will tune\n the record count per request according to the model container's capacity at\n runtime.

" + } + }, + "MaxPayloadInMB": { + "target": "com.amazonaws.sagemaker#ClarifyMaxPayloadInMB", + "traits": { + "smithy.api#documentation": "

The maximum payload size (MB) allowed of a request from the explainer to the model\n container. Defaults to 6 MB.

" + } + }, + "ProbabilityIndex": { + "target": "com.amazonaws.sagemaker#ClarifyProbabilityIndex", + "traits": { + "smithy.api#documentation": "

A zero-based index used to extract a probability value (score) or list from model\n container output in CSV format. If this value is not provided, the entire model\n container output will be treated as a probability value (score) or list.

\n

\n Example for a single class model: If the model\n container output consists of a string-formatted prediction label followed by its\n probability: '1,0.6', set ProbabilityIndex to 1\n to select the probability value 0.6.

\n

\n Example for a multiclass model: If the model\n container output consists of a string-formatted prediction label followed by its\n probability: '\"[\\'cat\\',\\'dog\\',\\'fish\\']\",\"[0.1,0.6,0.3]\"', set\n ProbabilityIndex to 1 to select the probability values\n [0.1,0.6,0.3].

" + } + }, + "LabelIndex": { + "target": "com.amazonaws.sagemaker#ClarifyLabelIndex", + "traits": { + "smithy.api#documentation": "

A zero-based index used to extract a label header or list of label headers from model\n container output in CSV format.

\n

\n Example for a multiclass model: If the model\n container output consists of label headers followed by probabilities:\n '\"[\\'cat\\',\\'dog\\',\\'fish\\']\",\"[0.1,0.6,0.3]\"', set\n LabelIndex to 0 to select the label headers\n ['cat','dog','fish'].

" + } + }, + "ProbabilityAttribute": { + "target": "com.amazonaws.sagemaker#ClarifyProbabilityAttribute", + "traits": { + "smithy.api#documentation": "

A JMESPath expression used to extract the probability (or score) from the model\n container output if the model container is in JSON Lines format.

\n

\n Example: If the model container output of a single\n request is '{\"predicted_label\":1,\"probability\":0.6}', then set\n ProbabilityAttribute to 'probability'.

" + } + }, + "LabelAttribute": { + "target": "com.amazonaws.sagemaker#ClarifyLabelAttribute", + "traits": { + "smithy.api#documentation": "

A JMESPath expression used to locate the list of label headers in the model container\n output.

\n

\n Example: If the model container output of a batch\n request is '{\"labels\":[\"cat\",\"dog\",\"fish\"],\"probability\":[0.6,0.3,0.1]}',\n then set LabelAttribute to 'labels' to extract the list of\n label headers [\"cat\",\"dog\",\"fish\"]\n

" + } + }, + "LabelHeaders": { + "target": "com.amazonaws.sagemaker#ClarifyLabelHeaders", + "traits": { + "smithy.api#documentation": "

For multiclass classification problems, the label headers are the names of the\n classes. Otherwise, the label header is the name of the predicted label. These are used\n to help readability for the output of the InvokeEndpoint API. See the\n response section under Invoke the endpoint\n in the Developer Guide for more information. If there are no label headers in the model\n container output, provide them manually using this parameter.

" + } + }, + "FeatureHeaders": { + "target": "com.amazonaws.sagemaker#ClarifyFeatureHeaders", + "traits": { + "smithy.api#documentation": "

The names of the features. If provided, these are included in the endpoint response\n payload to help readability of the InvokeEndpoint output. See the Response section under Invoke the endpoint\n in the Developer Guide for more information.

" + } + }, + "FeatureTypes": { + "target": "com.amazonaws.sagemaker#ClarifyFeatureTypes", + "traits": { + "smithy.api#documentation": "

A list of data types of the features (optional). Applicable only to NLP\n explainability. If provided, FeatureTypes must have at least one\n 'text' string (for example, ['text']). If\n FeatureTypes is not provided, the explainer infers the feature types\n based on the baseline data. The feature types are included in the endpoint response\n payload. For additional information see the response section under Invoke the endpoint\n in the Developer Guide for more information.

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

The inference configuration parameter for the model container.

" + } + }, + "com.amazonaws.sagemaker#ClarifyLabelAttribute": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyLabelHeaders": { + "type": "list", + "member": { + "target": "com.amazonaws.sagemaker#ClarifyHeader" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 16 + } + } + }, + "com.amazonaws.sagemaker#ClarifyLabelIndex": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.sagemaker#ClarifyMaxPayloadInMB": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 25 + } + } + }, + "com.amazonaws.sagemaker#ClarifyMaxRecordCount": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.sagemaker#ClarifyMimeType": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 255 + }, + "smithy.api#pattern": "^[a-zA-Z0-9](-*[a-zA-Z0-9])*\\/[a-zA-Z0-9](-*[a-zA-Z0-9+.])*$" + } + }, + "com.amazonaws.sagemaker#ClarifyProbabilityAttribute": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": ".*" + } + }, + "com.amazonaws.sagemaker#ClarifyProbabilityIndex": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.sagemaker#ClarifyShapBaseline": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 4096 + }, + "smithy.api#pattern": "^[\\s\\S]+$" + } + }, + "com.amazonaws.sagemaker#ClarifyShapBaselineConfig": { + "type": "structure", + "members": { + "MimeType": { + "target": "com.amazonaws.sagemaker#ClarifyMimeType", + "traits": { + "smithy.api#documentation": "

The MIME type of the baseline data. Choose from 'text/csv' or\n 'application/jsonlines'. Defaults to 'text/csv'.

" + } + }, + "ShapBaseline": { + "target": "com.amazonaws.sagemaker#ClarifyShapBaseline", + "traits": { + "smithy.api#documentation": "

The inline SHAP baseline data in string format. ShapBaseline can have one\n or multiple records to be used as the baseline dataset. The format of the SHAP baseline\n file should be the same format as the training dataset. For example, if the training\n dataset is in CSV format and each record contains four features, and all features are\n numerical, then the format of the baseline data should also share these characteristics.\n For natural language processing (NLP) of text columns, the baseline value should be the\n value used to replace the unit of text specified by the Granularity of the\n TextConfig parameter. The size limit for ShapBasline is 4\n KB. Use the ShapBaselineUri parameter if you want to provide more than 4 KB\n of baseline data.

" + } + }, + "ShapBaselineUri": { + "target": "com.amazonaws.sagemaker#Url", + "traits": { + "smithy.api#documentation": "

The uniform resource identifier (URI) of the S3 bucket where the SHAP baseline file is\n stored. The format of the SHAP baseline file should be the same format as the format of\n the training dataset. For example, if the training dataset is in CSV format, and each\n record in the training dataset has four features, and all features are numerical, then\n the baseline file should also have this same format. Each record should contain only the\n features. If you are using a virtual private cloud (VPC), the\n ShapBaselineUri should be accessible to the VPC. For more information\n about setting up endpoints with Amazon Virtual Private Cloud, see Give SageMaker access to\n Resources in your Amazon Virtual Private Cloud.

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

The configuration for the SHAP\n baseline (also called the background or reference dataset) of the Kernal\n SHAP algorithm.

\n \n \n " + } + }, + "com.amazonaws.sagemaker#ClarifyShapConfig": { + "type": "structure", + "members": { + "ShapBaselineConfig": { + "target": "com.amazonaws.sagemaker#ClarifyShapBaselineConfig", + "traits": { + "smithy.api#documentation": "

The configuration for the SHAP baseline of the Kernal SHAP algorithm.

", + "smithy.api#required": {} + } + }, + "NumberOfSamples": { + "target": "com.amazonaws.sagemaker#ClarifyShapNumberOfSamples", + "traits": { + "smithy.api#documentation": "

The number of samples to be used for analysis by the Kernal SHAP algorithm.

\n \n

The number of samples determines the size of the synthetic dataset, which has an\n impact on latency of explainability requests. For more information, see the\n Synthetic data of Configure and create an endpoint.

\n
" + } + }, + "UseLogit": { + "target": "com.amazonaws.sagemaker#ClarifyShapUseLogit", + "traits": { + "smithy.api#documentation": "

A Boolean toggle to indicate if you want to use the logit function (true) or log-odds\n units (false) for model predictions. Defaults to false.

" + } + }, + "Seed": { + "target": "com.amazonaws.sagemaker#ClarifyShapSeed", + "traits": { + "smithy.api#documentation": "

The starting value used to initialize the random number generator in the explainer.\n Provide a value for this parameter to obtain a deterministic SHAP result.

" + } + }, + "TextConfig": { + "target": "com.amazonaws.sagemaker#ClarifyTextConfig", + "traits": { + "smithy.api#documentation": "

A parameter that indicates if text features are treated as text and explanations are\n provided for individual units of text. Required for natural language processing (NLP)\n explainability only.

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

The configuration for SHAP analysis using SageMaker Clarify Explainer.

" + } + }, + "com.amazonaws.sagemaker#ClarifyShapNumberOfSamples": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1 + } + } + }, + "com.amazonaws.sagemaker#ClarifyShapSeed": { + "type": "integer" + }, + "com.amazonaws.sagemaker#ClarifyShapUseLogit": { + "type": "boolean" + }, + "com.amazonaws.sagemaker#ClarifyTextConfig": { + "type": "structure", + "members": { + "Language": { + "target": "com.amazonaws.sagemaker#ClarifyTextLanguage", + "traits": { + "smithy.api#documentation": "

Specifies the language of the text features in ISO 639-1 or\n ISO 639-3 code of a\n supported language.

\n \n

For a mix of multiple languages, use code 'xx'.

\n
", + "smithy.api#required": {} + } + }, + "Granularity": { + "target": "com.amazonaws.sagemaker#ClarifyTextGranularity", + "traits": { + "smithy.api#documentation": "

The unit of granularity for the analysis of text features. For example, if the unit is\n 'token', then each token (like a word in English) of the text is\n treated as a feature. SHAP values are computed for each unit/feature.

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

A parameter used to configure the SageMaker Clarify explainer to treat text features as text so\n that explanations are provided for individual units of text. Required only for natural\n language processing (NLP) explainability.

" + } + }, + "com.amazonaws.sagemaker#ClarifyTextGranularity": { + "type": "enum", + "members": { + "TOKEN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "token" + } + }, + "SENTENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sentence" + } + }, + "PARAGRAPH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "paragraph" + } + } + } + }, + "com.amazonaws.sagemaker#ClarifyTextLanguage": { + "type": "enum", + "members": { + "AFRIKAANS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "af" + } + }, + "ALBANIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sq" + } + }, + "ARABIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ar" + } + }, + "ARMENIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hy" + } + }, + "BASQUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "eu" + } + }, + "BENGALI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "bn" + } + }, + "BULGARIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "bg" + } + }, + "CATALAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ca" + } + }, + "CHINESE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "zh" + } + }, + "CROATIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hr" + } + }, + "CZECH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "cs" + } + }, + "DANISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "da" + } + }, + "DUTCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nl" + } + }, + "ENGLISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "en" + } + }, + "ESTONIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "et" + } + }, + "FINNISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fi" + } + }, + "FRENCH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fr" + } + }, + "GERMAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "de" + } + }, + "GREEK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "el" + } + }, + "GUJARATI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "gu" + } + }, + "HEBREW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "he" + } + }, + "HINDI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hi" + } + }, + "HUNGARIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "hu" + } + }, + "ICELANDIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "is" + } + }, + "INDONESIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "id" + } + }, + "IRISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ga" + } + }, + "ITALIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "it" + } + }, + "KANNADA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "kn" + } + }, + "KYRGYZ": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ky" + } + }, + "LATVIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lv" + } + }, + "LITHUANIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lt" + } + }, + "LUXEMBOURGISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lb" + } + }, + "MACEDONIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "mk" + } + }, + "MALAYALAM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ml" + } + }, + "MARATHI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "mr" + } + }, + "NEPALI": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ne" + } + }, + "NORWEGIAN_BOKMAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nb" + } + }, + "PERSIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "fa" + } + }, + "POLISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pl" + } + }, + "PORTUGUESE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pt" + } + }, + "ROMANIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ro" + } + }, + "RUSSIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ru" + } + }, + "SANSKRIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sa" + } + }, + "SERBIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sr" + } + }, + "SETSWANA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tn" + } + }, + "SINHALA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "si" + } + }, + "SLOVAK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sk" + } + }, + "SLOVENIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sl" + } + }, + "SPANISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "es" + } + }, + "SWEDISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "sv" + } + }, + "TAGALOG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tl" + } + }, + "TAMIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ta" + } + }, + "TATAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tt" + } + }, + "TELUGU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "te" + } + }, + "TURKISH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "tr" + } + }, + "UKRAINIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "uk" + } + }, + "URDU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ur" + } + }, + "YORUBA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "yo" + } + }, + "LIGURIAN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "lij" + } + }, + "MULTI_LANGUAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "xx" + } + } + } + }, "com.amazonaws.sagemaker#ClientId": { "type": "string", "traits": { @@ -5999,6 +6761,12 @@ "traits": { "smithy.api#documentation": "

Specifies configuration for how an endpoint performs asynchronous inference. This is a\n required field in order for your Endpoint to be invoked using InvokeEndpointAsync.

" } + }, + "ExplainerConfig": { + "target": "com.amazonaws.sagemaker#ExplainerConfig", + "traits": { + "smithy.api#documentation": "

A member of CreateEndpointConfig that enables explainers.

" + } } } }, @@ -12552,6 +13320,12 @@ "traits": { "smithy.api#documentation": "

Returns the description of an endpoint configuration created using the \n CreateEndpointConfig\n API.

" } + }, + "ExplainerConfig": { + "target": "com.amazonaws.sagemaker#ExplainerConfig", + "traits": { + "smithy.api#documentation": "

The configuration parameters for an explainer.

" + } } } }, @@ -12644,6 +13418,12 @@ "traits": { "smithy.api#documentation": "

Returns the summary of an in-progress deployment. This field is only returned when the\n endpoint is creating or updating with a new endpoint configuration.

" } + }, + "ExplainerConfig": { + "target": "com.amazonaws.sagemaker#ExplainerConfig", + "traits": { + "smithy.api#documentation": "

The configuration parameters for an explainer.

" + } } } }, @@ -19106,6 +19886,20 @@ } } }, + "com.amazonaws.sagemaker#ExplainerConfig": { + "type": "structure", + "members": { + "ClarifyExplainerConfig": { + "target": "com.amazonaws.sagemaker#ClarifyExplainerConfig", + "traits": { + "smithy.api#documentation": "

A member of ExplainerConfig that contains configuration parameters for\n the SageMaker Clarify explainer.

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

A parameter to activate explainers.

" + } + }, "com.amazonaws.sagemaker#FailStepMetadata": { "type": "structure", "members": { diff --git a/codegen/sdk/aws-models/savingsplans.json b/codegen/sdk/aws-models/savingsplans.json index 3ffaef2ae5b..d634ab3b90d 100644 --- a/codegen/sdk/aws-models/savingsplans.json +++ b/codegen/sdk/aws-models/savingsplans.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.savingsplans#AWSSavingsPlan": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "savingsplans", - "arnNamespace": "savingsplans", - "cloudFormationName": "Savingsplans", - "cloudTrailEventSource": "savingsplans.amazonaws.com", - "endpointPrefix": "savingsplans" - }, - "aws.auth#sigv4": { - "name": "savingsplans" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Savings Plans are a pricing model that offer significant savings on AWS usage (for\n example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD\n per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For\n more information, see the AWS Savings Plans User Guide.

", - "smithy.api#title": "AWS Savings Plans" - }, "version": "2019-06-28", "operations": [ { @@ -75,7 +60,22 @@ { "target": "com.amazonaws.savingsplans#UntagResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "savingsplans", + "arnNamespace": "savingsplans", + "cloudFormationName": "Savingsplans", + "cloudTrailEventSource": "savingsplans.amazonaws.com", + "endpointPrefix": "savingsplans" + }, + "aws.auth#sigv4": { + "name": "savingsplans" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Savings Plans are a pricing model that offer significant savings on AWS usage (for\n example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD\n per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For\n more information, see the AWS Savings Plans User Guide.

", + "smithy.api#title": "AWS Savings Plans" + } }, "com.amazonaws.savingsplans#Amount": { "type": "string" @@ -428,6 +428,7 @@ "maxResults": { "target": "com.amazonaws.savingsplans#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.

" } } @@ -553,6 +554,7 @@ "maxResults": { "target": "com.amazonaws.savingsplans#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return with a single call. To retrieve additional results, make another\n call with the returned token value.

" } } @@ -734,7 +736,6 @@ "com.amazonaws.savingsplans#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -744,6 +745,7 @@ "com.amazonaws.savingsplans#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -784,6 +786,7 @@ "durationSeconds": { "target": "com.amazonaws.savingsplans#SavingsPlansDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds.

" } }, @@ -929,6 +932,7 @@ "termDurationInSeconds": { "target": "com.amazonaws.savingsplans#TermDurationInSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration of the term, in seconds.

" } }, @@ -1050,6 +1054,7 @@ "durationSeconds": { "target": "com.amazonaws.savingsplans#SavingsPlansDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration, in seconds.

" } }, @@ -1758,6 +1763,7 @@ "com.amazonaws.savingsplans#SavingsPlansDuration": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1905,7 +1911,10 @@ "type": "string" }, "com.amazonaws.savingsplans#TermDurationInSeconds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.savingsplans#UUID": { "type": "string", diff --git a/codegen/sdk/aws-models/schemas.json b/codegen/sdk/aws-models/schemas.json index 17f29aea1eb..ed1aa11c945 100644 --- a/codegen/sdk/aws-models/schemas.json +++ b/codegen/sdk/aws-models/schemas.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -153,6 +153,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Support discovery of schemas in events sent to the bus from another account. (default: true).

" } }, @@ -201,6 +202,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, @@ -443,6 +445,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteDiscovererRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -490,6 +495,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteRegistryRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -537,6 +545,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteResourcePolicyRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -583,6 +594,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteSchemaRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -638,6 +652,9 @@ "input": { "target": "com.amazonaws.schemas#DeleteSchemaVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -927,6 +944,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, @@ -1189,6 +1207,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, @@ -1640,6 +1659,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1722,6 +1742,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1814,6 +1835,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -1905,6 +1927,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -2295,6 +2318,7 @@ "VersionCount": { "target": "com.amazonaws.schemas#__long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of versions available for the schema.

" } } @@ -2438,6 +2462,7 @@ "Limit": { "target": "com.amazonaws.schemas#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "limit" } }, @@ -2643,6 +2668,9 @@ "input": { "target": "com.amazonaws.schemas#TagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -2768,6 +2796,9 @@ "input": { "target": "com.amazonaws.schemas#UntagResourceRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.schemas#BadRequestException" @@ -2869,6 +2900,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Support discovery of schemas in events sent to the bus from another account. (default: true)

" } } @@ -2910,6 +2942,7 @@ "CrossAccount": { "target": "com.amazonaws.schemas#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The Status if the discoverer will discover schemas from events sent from another account.

" } }, @@ -3145,10 +3178,16 @@ } }, "com.amazonaws.schemas#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.schemas#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.schemas#__listOfDiscovererSummary": { "type": "list", @@ -3205,7 +3244,10 @@ } }, "com.amazonaws.schemas#__long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.schemas#__string": { "type": "string" diff --git a/codegen/sdk/aws-models/securityhub.json b/codegen/sdk/aws-models/securityhub.json index c26c340fd76..a04c5de7f11 100644 --- a/codegen/sdk/aws-models/securityhub.json +++ b/codegen/sdk/aws-models/securityhub.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -256,6 +256,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of the port.

" } }, @@ -314,6 +315,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of the port.

" } }, @@ -433,6 +435,7 @@ "com.amazonaws.securityhub#AdminsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 10 @@ -582,6 +585,7 @@ "PercentTraffic": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of traffic that is diverted to a canary deployment.

" } }, @@ -600,6 +604,7 @@ "UseStageCache": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the canary deployment uses the stage cache.

" } } @@ -628,6 +633,7 @@ "MetricsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether CloudWatch metrics are enabled for the method.

" } }, @@ -640,42 +646,49 @@ "DataTraceEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether data trace logging is enabled for the method. Data trace logging\n affects the log entries that are pushed to CloudWatch Logs.

" } }, "ThrottlingBurstLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The throttling burst limit for the method.

" } }, "ThrottlingRateLimit": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The throttling rate limit for the method.

" } }, "CachingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether responses are cached and returned for requests. For responses to be\n cached, a cache cluster must be enabled on the stage.

" } }, "CacheTtlInSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL,\n the longer the response is cached.

" } }, "CacheDataEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the cached responses are encrypted.

" } }, "RequireAuthorizationForCacheControl": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether authorization is required for a cache invalidation request.

" } }, @@ -750,6 +763,7 @@ "MinimumCompressionSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum size in bytes of a payload before compression is enabled.

\n

If null, then compression is disabled.

\n

If 0, then all payloads are compressed.

" } }, @@ -800,6 +814,7 @@ "CacheClusterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a cache cluster is enabled for the stage.

" } }, @@ -848,6 +863,7 @@ "TracingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether active tracing with X-Ray is enabled for the stage.

" } }, @@ -948,6 +964,7 @@ "DetailedMetricsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether detailed metrics are enabled.

" } }, @@ -960,18 +977,21 @@ "DataTraceEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether data trace logging is enabled. Data trace logging affects the log\n entries that are pushed to CloudWatch Logs. Supported only for WebSocket APIs.

" } }, "ThrottlingBurstLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The throttling burst limit.

" } }, "ThrottlingRateLimit": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The throttling rate limit.

" } } @@ -1046,6 +1066,7 @@ "AutoDeploy": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether updates to an API automatically trigger a new deployment.

" } }, @@ -1058,6 +1079,7 @@ "ApiGatewayManaged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the stage is managed by API Gateway.

" } } @@ -1110,6 +1132,7 @@ "HealthCheckGracePeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before it checks the\n health status of an EC2 instance that has come into service.

" } }, @@ -1140,6 +1163,7 @@ "CapacityRebalance": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether capacity rebalancing is enabled.\n

" } } @@ -1206,12 +1230,14 @@ "OnDemandBaseCapacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances.

" } }, "OnDemandPercentageAboveBaseCapacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of On-Demand Instances and Spot Instances for additional capacity beyond OnDemandBaseCapacity.

" } }, @@ -1224,6 +1250,7 @@ "SpotInstancePools": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Spot Instance pools across which to allocate your Spot Instances.

" } }, @@ -1328,6 +1355,7 @@ "NoDevice": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to suppress the device that is included in the block device mapping of the Amazon Machine Image (AMI).

\n

If NoDevice is true, then you cannot specify Ebs.>

" } }, @@ -1348,18 +1376,21 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to delete the volume when the instance is terminated.

" } }, "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to encrypt the volume.

" } }, "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of input/output (I/O) operations per second (IOPS) to provision for the volume.

\n

Only supported for gp3 or io1 volumes. Required for io1 volumes. Not used with standard, gp2, st1, or sc1 volumes.

" } }, @@ -1372,6 +1403,7 @@ "VolumeSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

\n \n

You must specify either SnapshotId or VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

" } }, @@ -1398,6 +1430,7 @@ "AssociatePublicIpAddress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

For Auto Scaling groups that run in a VPC, specifies whether to assign a public IP address to the group's instances.

" } }, @@ -1428,6 +1461,7 @@ "EbsOptimized": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the launch configuration is optimized for Amazon EBS I/O.

" } }, @@ -1520,6 +1554,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then instances in the group launch with detailed\n monitoring.

\n

If set to false, then instances in the group launch with basic\n monitoring.

" } } @@ -1540,6 +1575,7 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

" } }, @@ -1644,12 +1680,14 @@ "DeleteAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is deleted. Must be greater than 90 days plus MoveToColdStorageAfterDays.\n

" } }, "MoveToColdStorageAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is moved to cold storage.\n

" } } @@ -1696,6 +1734,7 @@ "StartWindowMinutes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.\n

" } }, @@ -1720,12 +1759,14 @@ "EnableContinuousBackup": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).\n

" } }, "CompletionWindowMinutes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value in minutes after a backup job is successfully started before it must be completed, or it is canceled by Backup.\n

" } }, @@ -1868,6 +1909,7 @@ "BackupSizeInBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size, in bytes, of a backup.\n

" } }, @@ -1922,6 +1964,7 @@ "IsEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A Boolean value that is returned as TRUE if the specified recovery point is \nencrypted, or FALSE if the recovery point is not encrypted.\n

" } }, @@ -1990,12 +2033,14 @@ "DeleteAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is deleted. Must be greater \nthan 90 days plus MoveToColdStorageAfterDays.\n

" } }, "MoveToColdStorageAfterDays": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of days after creation that a recovery point is moved to cold storage.\n

" } } @@ -2342,6 +2387,7 @@ "DisableRollback": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean to enable or disable rollback on stack creation failures. \n

" } }, @@ -2354,6 +2400,7 @@ "EnableTerminationProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether termination protection is enabled for the stack.\n

" } }, @@ -2408,6 +2455,7 @@ "TimeoutInMinutes": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The length of time, in minutes, that CloudFormation waits for the nested stack to reach \nthe CREATE_COMPLETE state.\n

" } } @@ -2602,12 +2650,14 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

With this field, you can enable or disable the selected distribution.

" } }, "IncludeCookies": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether you want CloudFront to include cookies in access logs.

" } }, @@ -2628,18 +2678,21 @@ "HttpPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP port that CloudFront uses to connect to the origin.\n

" } }, "HttpsPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTPS port that CloudFront uses to connect to the origin.\n

" } }, "OriginKeepaliveTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies how long, in seconds, CloudFront persists its connection to the origin.\n

" } }, @@ -2652,6 +2705,7 @@ "OriginReadTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies how long, in seconds, CloudFront waits for a response from the origin.\n

" } }, @@ -2706,6 +2760,7 @@ "Quantity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of status codes that can cause a failover.

" } } @@ -2810,6 +2865,7 @@ "Quantity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of SSL/TLS protocols that you want to allow CloudFront to use when establishing \nan HTTPS connection with this origin.\n

" } } @@ -2856,6 +2912,7 @@ "CloudFrontDefaultCertificate": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.

" } }, @@ -2900,6 +2957,7 @@ "HasCustomEventSelectors": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the trail has custom event selectors.

" } }, @@ -2912,18 +2970,21 @@ "IncludeGlobalServiceEvents": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the trail publishes events from global services such as IAM to the log\n files.

" } }, "IsMultiRegionTrail": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the trail applies only to the current Region or to all Regions.

" } }, "IsOrganizationTrail": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the trail is created for all accounts in an organization in Organizations,\n or only for the current Amazon Web Services account.

" } }, @@ -2936,6 +2997,7 @@ "LogFileValidationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether CloudTrail log file validation is enabled.

" } }, @@ -2986,6 +3048,7 @@ "ActionsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether actions should be executed during any changes to the alarm state. \n

" } }, @@ -3028,6 +3091,7 @@ "DatapointsToAlarm": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of datapoints that must be breaching to trigger the alarm. \n

" } }, @@ -3046,6 +3110,7 @@ "EvaluationPeriods": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of periods over which data is compared to the specified threshold.\n

" } }, @@ -3082,6 +3147,7 @@ "Period": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The period, in seconds, over which the statistic is applied. This is required for an alarm based on a \nmetric.\n

" } }, @@ -3094,6 +3160,7 @@ "Threshold": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value to compare with the specified statistic.\n

" } }, @@ -3158,6 +3225,7 @@ "EncryptionDisabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to disable encryption on the artifact. Only valid when Type is S3.

" } }, @@ -3182,6 +3250,7 @@ "OverrideArtifactName": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the name specified in the buildspec file overrides the artifact name.

" } }, @@ -3294,6 +3363,7 @@ "PrivilegedMode": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to allow the Docker daemon to run inside a Docker container. Set to true if the build project is used to build Docker images.

" } }, @@ -3424,6 +3494,7 @@ "EncryptionDisabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to disable encryption of the S3 build log output.

" } }, @@ -3462,12 +3533,14 @@ "GitCloneDepth": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Information about the Git clone depth for the build project.

" } }, "InsecureSsl": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to ignore SSL warnings while connecting to the project source code.

" } } @@ -3514,6 +3587,7 @@ "AllowCredentials": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the CORS request includes credentials.

" } }, @@ -3526,6 +3600,7 @@ "MaxAge": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds for which the browser caches preflight request results.

" } }, @@ -3628,6 +3703,7 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the table.

" } }, @@ -3700,6 +3776,7 @@ "TableSizeBytes": { "target": "com.amazonaws.securityhub#SizeBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size of the table in bytes.

" } }, @@ -3720,6 +3797,7 @@ "Backfilling": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the index is currently backfilling.

" } }, @@ -3738,6 +3816,7 @@ "IndexSizeBytes": { "target": "com.amazonaws.securityhub#SizeBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size in bytes of the index.

" } }, @@ -3750,6 +3829,7 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of items in the index.

" } }, @@ -3884,18 +3964,21 @@ "NumberOfDecreasesToday": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times during the current UTC calendar day that the provisioned throughput\n was decreased.

" } }, "ReadCapacityUnits": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException.

" } }, "WriteCapacityUnits": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException.

" } } @@ -3910,6 +3993,7 @@ "ReadCapacityUnits": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The read capacity units for the replica.

" } } @@ -4018,6 +4102,7 @@ "RestoreInProgress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether a restore is currently in progress.

" } } @@ -4064,6 +4149,7 @@ "StreamEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether DynamoDB Streams is enabled on the table.

" } }, @@ -4244,6 +4330,7 @@ "HttpPutResponseHopLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. \n The larger the number, the further instance metadata requests can travel.\n

" } }, @@ -4322,6 +4409,7 @@ "IsDefault": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether this is the default network ACL for the VPC.

" } }, @@ -4372,6 +4460,7 @@ "Egress": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the rule is an egress rule. An egress rule is a rule that applies to traffic that leaves the subnet.

" } }, @@ -4408,6 +4497,7 @@ "RuleNumber": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The rule number. The rules are processed in order by their number.

" } } @@ -4440,12 +4530,14 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network interface is deleted when the instance is\n terminated.

" } }, "DeviceIndex": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The device index of the network interface attachment on the instance.

" } }, @@ -4496,6 +4588,7 @@ "SourceDestCheck": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether traffic to or from the instance is validated.

" } }, @@ -4656,12 +4749,14 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 type\n number.

\n

A value of -1 indicates all ICMP/ICMPv6 types. If you specify all ICMP/ICMPv6 types, you\n must specify all codes.

" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6 code.

\n

A value of -1 indicates all ICMP/ICMPv6 codes. If you specify all ICMP/ICMPv6 types, you must specify all\n codes.

" } }, @@ -4816,6 +4911,7 @@ "AssignIpv6AddressOnCreation": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to assign an IPV6 address to a network interface that is created in this subnet.

" } }, @@ -4834,6 +4930,7 @@ "AvailableIpAddressCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of available IPV4 addresses in the subnet. Does not include addresses for stopped instances.

" } }, @@ -4846,12 +4943,14 @@ "DefaultForAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether this subnet is the default subnet for the Availability Zone.

" } }, "MapPublicIpOnLaunch": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether instances in this subnet receive a public IP address.

" } }, @@ -4968,6 +5067,7 @@ "AmazonSideAsn": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. \n

" } } @@ -4988,6 +5088,7 @@ "DeleteOnTermination": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the EBS volume is deleted when the EC2 instance is terminated.

" } }, @@ -5032,12 +5133,14 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the volume is encrypted.

" } }, "Size": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume, in GiBs.

" } }, @@ -5126,6 +5229,7 @@ "AcceptanceRequired": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

" } }, @@ -5144,6 +5248,7 @@ "ManagesVpcEndpoints": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the service manages its VPC endpoints.

" } }, @@ -5402,6 +5507,7 @@ "StaticRoutesOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the VPN connection uses static routes only.

" } }, @@ -5422,6 +5528,7 @@ "DpdTimeoutSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.

" } }, @@ -5458,6 +5565,7 @@ "Phase1LifetimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 1 of the IKE negotiation, in seconds.

" } }, @@ -5482,6 +5590,7 @@ "Phase2LifetimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The lifetime for phase 2 of the IKE negotiation, in seconds.

" } }, @@ -5494,18 +5603,21 @@ "RekeyFuzzPercentage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the rekey window, which is determined by\n RekeyMarginTimeSeconds during which the rekey time is randomly selected.

" } }, "RekeyMarginTimeSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services\n side of the VPN connection performs an IKE rekey.

" } }, "ReplayWindowSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of packets in an IKE replay window.

" } }, @@ -5558,6 +5670,7 @@ "AcceptedRouteCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of accepted routes.

" } }, @@ -5696,6 +5809,7 @@ "ScanOnPush": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to scan images after they are pushed to a repository.

" } } @@ -5796,6 +5910,7 @@ "CloudWatchEncryptionEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable encryption on the CloudWatch logs.

" } }, @@ -5814,6 +5929,7 @@ "S3EncryptionEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to encrypt the logs that are sent to the S3 bucket.

" } }, @@ -5834,6 +5950,7 @@ "Base": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of tasks to run on the specified capacity provider.

" } }, @@ -5846,6 +5963,7 @@ "Weight": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The relative percentage of the total number of tasks launched that should use the capacity provider.

" } } @@ -5872,6 +5990,7 @@ "ActiveServicesCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of services that are running on the cluster in an ACTIVE state. You can view these services with the Amazon ECS \n ListServices\n API operation.\n

" } }, @@ -5908,12 +6027,14 @@ "RegisteredContainerInstancesCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of container instances registered into the cluster. This includes container instances in both ACTIVE and DRAINING status.\n

" } }, "RunningTasksCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tasks in the cluster that are in the RUNNING state.\n

" } }, @@ -5952,6 +6073,7 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When this parameter is true, the container is given elevated privileges on the host container instance \n(similar to the root user). \n

" } } @@ -5972,6 +6094,7 @@ "Base": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

\n

The value must be between 0 and 100000.

" } }, @@ -5984,6 +6107,7 @@ "Weight": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The relative percentage of the total number of tasks that should use the capacity provider.

\n

If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

\n

The value can be between 0 and 1000.

" } } @@ -6004,12 +6128,14 @@ "Enable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable the deployment circuit breaker logic for the service.

" } }, "Rollback": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to roll back the service if a service deployment fails. If rollback is enabled, when a service deployment fails, the service is rolled back to the last deployment that completed successfully.

" } } @@ -6030,12 +6156,14 @@ "MaximumPercent": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For a service that uses the rolling update (ECS) deployment type, the maximum number of tasks in a service that are allowed in the RUNNING or PENDING state during a deployment, and for tasks that use the EC2 launch type, when any container instances are in the DRAINING state. Provided as a percentage of the desired number of tasks. The default value is 200%.

\n

For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment types, and tasks that use the EC2 launch type, the maximum number of tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.

\n

For the Fargate launch type, the maximum percent value is not used.

" } }, "MinimumHealthyPercent": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For a service that uses the rolling update (ECS) deployment type, the minimum number of tasks in a service that must remain in the RUNNING state during a deployment, and while any container instances are in the DRAINING state if the service contains tasks using the EC2 launch type. Expressed as a percentage of the desired number of tasks. The default value is 100%.

\n

For a service that uses the blue/green (CODE_DEPLOY) or EXTERNAL deployment types and tasks that use the EC2 launch type, the minimum number of the tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.

\n

For the Fargate launch type, the minimum healthy percent value is not used.

" } } @@ -6088,24 +6216,28 @@ "DesiredCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instantiations of the task definition to run on the service.

" } }, "EnableEcsManagedTags": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable Amazon ECS managed tags for the tasks in the service.

" } }, "EnableExecuteCommand": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the execute command functionality is enabled for the service.

" } }, "HealthCheckGracePeriodSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

After a task starts, the amount of time in seconds that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks.

" } }, @@ -6210,6 +6342,7 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port on the container to associate with the load balancer. This port must correspond to a containerPort in the task definition the tasks in the service are using. For tasks that use the EC2 launch type, the container instance they are launched on must allow ingress traffic on the hostPort of the port mapping.

" } }, @@ -6340,12 +6473,14 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port value to use for the service discovery service.

\n

If the task definition uses the bridge or host network mode, you must specify ContainerName and ContainerPort.

\n

If the task definition uses the awsvpc network mode and a type SRV DNS record, you must specify either ContainerName and ContainerPort, or Port , but not both.

" } }, "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port value to use for a service discovery service that specifies an SRV record. This field can be used if both the awsvpcawsvpc network mode and SRV records are used.

" } }, @@ -6404,6 +6539,7 @@ "Cpu": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of CPU units reserved for the container.

" } }, @@ -6416,6 +6552,7 @@ "DisableNetworking": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to disable networking within the container.

" } }, @@ -6464,6 +6601,7 @@ "Essential": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is essential. All tasks must have at least one essential container.

" } }, @@ -6500,6 +6638,7 @@ "Interactive": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then containerized applications can be deployed that require stdin or a tty to be allocated.

" } }, @@ -6524,12 +6663,14 @@ "Memory": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount (in MiB) of memory to present to the container. If the container attempts to exceed the memory specified here, the container is shut down. The total amount of memory reserved for all containers within a task must be lower than the task memory value, if one is specified.

" } }, "MemoryReservation": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The soft limit (in MiB) of memory to reserve for the container.

" } }, @@ -6554,18 +6695,21 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is given elevated privileges on the host container instance. The elevated privileges are similar to the root user.

" } }, "PseudoTerminal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to allocate a TTY to the container.

" } }, "ReadonlyRootFilesystem": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the container is given read-only access to its root file system.

" } }, @@ -6590,12 +6734,14 @@ "StartTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds to wait before giving up on resolving dependencies for a container.

" } }, "StopTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds to wait before the container is stopped if it doesn't shut down normally on its own.

" } }, @@ -6744,24 +6890,28 @@ "Interval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time period in seconds between each health check execution. The default value is 30 seconds.

" } }, "Retries": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.

" } }, "StartPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.

" } }, "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.

" } } @@ -6808,24 +6958,28 @@ "InitProcessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to run an init process inside the container that forwards signals and reaps processes.

" } }, "MaxSwap": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total amount of swap memory (in MiB) that a container can use.

" } }, "SharedMemorySize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value for the size (in MiB) of the /dev/shm volume.

" } }, "Swappiness": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Configures the container's memory swappiness behavior. Determines how aggressively pages are swapped. The higher the value, the more aggressive the swappiness. The default is 60.

" } }, @@ -6890,6 +7044,7 @@ "Size": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size (in MiB) of the tmpfs volume.

" } } @@ -6974,6 +7129,7 @@ "ReadOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the container has read-only access to the volume.

" } }, @@ -7000,12 +7156,14 @@ "ContainerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the container that is bound to the user-specified or automatically assigned host port.

" } }, "HostPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number on the container instance to reserve for the container.

" } }, @@ -7124,6 +7282,7 @@ "HardLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The hard limit for the ulimit type.

" } }, @@ -7136,6 +7295,7 @@ "SoftLimit": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The soft limit for the ulimit type.

" } } @@ -7156,6 +7316,7 @@ "ReadOnly": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the container has read-only access to the volume.

" } }, @@ -7410,6 +7571,7 @@ "Autoprovision": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to create the Docker volume automatically if it does not already exist.

" } }, @@ -7492,6 +7654,7 @@ "TransitEncryptionPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server.

" } } @@ -7806,6 +7969,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the logging types that are listed in Types are enabled.

" } }, @@ -8146,6 +8310,7 @@ "EnforceHTTPS": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to require that all traffic to the domain arrive over HTTPS.

" } }, @@ -8166,12 +8331,14 @@ "DedicatedMasterCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.

" } }, "DedicatedMasterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.

" } }, @@ -8184,6 +8351,7 @@ "InstanceCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of data nodes to use in the Elasticsearch domain.

" } }, @@ -8202,6 +8370,7 @@ "ZoneAwarenessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.

" } } @@ -8216,6 +8385,7 @@ "AvailabilityZoneCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

he number of Availability Zones that the domain uses. Valid values are 2 and 3. The default is 2.

" } } @@ -8230,6 +8400,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether encryption at rest is enabled.

" } }, @@ -8279,6 +8450,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the log publishing is enabled.

" } } @@ -8293,6 +8465,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether node-to-node encryption is enabled.

" } } @@ -8313,6 +8486,7 @@ "Cancellable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether a request to update the domain can be canceled.

" } }, @@ -8337,6 +8511,7 @@ "UpdateAvailable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether a service software update is available for the domain.

" } }, @@ -8421,6 +8596,7 @@ "CookieExpirationPeriod": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, after which the cookie is considered stale. If an\n expiration period is not specified, the stickiness session lasts for the duration of the\n browser session.

" } }, @@ -8441,12 +8617,14 @@ "EmitInterval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The interval in minutes for publishing the access logs.

\n

You can publish access logs either every 5 minutes or every 60 minutes.

" } }, "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether access logs are enabled for the load balancer.

" } }, @@ -8537,6 +8715,7 @@ "InstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the EC2 instance is listening.

" } }, @@ -8563,12 +8742,14 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether connection draining is enabled for the load balancer.

" } }, "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum time, in seconds, to keep the existing connections open before deregistering\n the instances.

" } } @@ -8583,6 +8764,7 @@ "IdleTimeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in seconds, that the connection can be idle (no data is sent over the\n connection) before it is closed by the load balancer.

" } } @@ -8597,6 +8779,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether cross-zone load balancing is enabled for the load balancer.

" } } @@ -8721,12 +8904,14 @@ "HealthyThreshold": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health check successes required before the instance is moved\n to the Healthy state.

" } }, "Interval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The approximate interval, in seconds, between health checks of an individual\n instance.

" } }, @@ -8739,12 +8924,14 @@ "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in seconds, during which no response means a failed health\n check.

" } }, "UnhealthyThreshold": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of consecutive health check failures that must occur before the instance is\n moved to the Unhealthy state.

" } } @@ -8779,6 +8966,7 @@ "InstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the instance is listening.

" } }, @@ -8791,6 +8979,7 @@ "LoadBalancerPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port on which the load balancer is listening.

\n

On EC2-VPC, you can specify any port from the range 1-65535.

\n

On EC2-Classic, you can specify any port from the following list: 25, 80, 443, 465, 587,\n 1024-65535.

" } }, @@ -9074,6 +9263,7 @@ "MfaAuthenticated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the session used multi-factor authentication (MFA).

" } }, @@ -9357,6 +9547,7 @@ "AttachmentCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of users, groups, and roles that the policy is attached to.

" } }, @@ -9381,6 +9572,7 @@ "IsAttachable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the policy can be attached to a user, group, or role.

" } }, @@ -9393,6 +9585,7 @@ "PermissionsBoundaryUsageCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of users and roles that use the policy to set the permissions\n boundary.

" } }, @@ -9437,6 +9630,7 @@ "IsDefaultVersion": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the version is the default version.

" } }, @@ -9518,6 +9712,7 @@ "MaxSessionDuration": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum session duration (in seconds) that you want to set for the specified role.

" } }, @@ -9652,12 +9847,14 @@ "ShardCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of shards that the stream uses. \n

" } }, "RetentionPeriodHours": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of hours for the data records that are stored in shards to remain accessible. \n

" } } @@ -9698,6 +9895,7 @@ "CreationDate": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates when the KMS key was created.

\n

Uses the date-time format specified in RFC 3339 section 5.6, Internet\n Date/Time Format. The value cannot contain spaces. For example,\n 2020-03-22T13:22:13.933Z.

" } }, @@ -9734,6 +9932,7 @@ "KeyRotationStatus": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the key has key rotation enabled.

" } } @@ -9854,6 +10053,7 @@ "MemorySize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The memory that is allocated to the function.

" } }, @@ -9878,6 +10078,7 @@ "Timeout": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time that Lambda allows a function to run before stopping it.

" } }, @@ -9956,6 +10157,7 @@ "CodeSize": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the layer archive in bytes.

" } } @@ -10016,6 +10218,7 @@ "Version": { "target": "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version number.

" } }, @@ -10037,7 +10240,10 @@ } }, "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#AwsMountPoint": { "type": "structure", @@ -10071,6 +10277,7 @@ "DeleteProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the firewall is protected from deletion. If set to true, then the firewall cannot be deleted.

" } }, @@ -10107,12 +10314,14 @@ "FirewallPolicyChangeProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the firewall is protected from a change to the firewall policy. If set to true, you cannot associate a different policy with the firewall.

" } }, "SubnetChangeProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the firewall is protected from a change to the subnet associations. If set to true, you cannot map different subnets to the firewall.

" } }, @@ -10197,6 +10406,7 @@ "Capacity": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of operating resources that this rule group can use.

" } }, @@ -10247,12 +10457,14 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables fine-grained access control.\n

" } }, "InternalUserDatabaseEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables the internal user database.\n

" } }, @@ -10273,24 +10485,28 @@ "InstanceCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of data nodes to use in the OpenSearch domain.

" } }, "WarmEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether UltraWarm is enabled.

" } }, "WarmCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of UltraWarm instances.

" } }, "DedicatedMasterEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to use a dedicated master node for the OpenSearch domain. A dedicated master node performs cluster management tasks, but does not hold data or respond to data upload requests.

" } }, @@ -10303,6 +10519,7 @@ "DedicatedMasterCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.

" } }, @@ -10321,6 +10538,7 @@ "ZoneAwarenessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable zone awareness for the OpenSearch domain. When zone awareness is enabled, OpenSearch Service allocates the cluster's nodes and replica index shards across Availability Zones (AZs) in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.

" } }, @@ -10341,6 +10559,7 @@ "AvailabilityZoneCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Availability Zones that the domain uses. Valid values are 2 or 3. The default is 2.

" } } @@ -10459,12 +10678,14 @@ "CustomEndpointEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable a custom endpoint for the domain.

" } }, "EnforceHTTPS": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to require that all traffic to the domain arrive over HTTPS.

" } }, @@ -10491,6 +10712,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether encryption at rest is enabled.

" } }, @@ -10517,6 +10739,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the log publishing is enabled.

" } } @@ -10583,6 +10806,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether node-to-node encryption is enabled.

" } } @@ -10603,6 +10827,7 @@ "Cancellable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether a request to update the domain can be canceled.

" } }, @@ -10627,6 +10852,7 @@ "UpdateAvailable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether a service software update is available for the domain.

" } }, @@ -10639,6 +10865,7 @@ "OptionalDeployment": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the service software update is optional.

" } } @@ -10699,6 +10926,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For all database engines except Aurora, specifies the allocated storage size in\n gibibytes (GiB).

" } }, @@ -10711,6 +10939,7 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which automated backups are retained.

" } }, @@ -10747,6 +10976,7 @@ "MultiAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster has instances in multiple Availability Zones.

" } }, @@ -10765,6 +10995,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number on which the DB instances in the DB cluster accept connections.

" } }, @@ -10807,6 +11038,7 @@ "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster is encrypted.

" } }, @@ -10849,12 +11081,14 @@ "DeletionProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster has deletion protection enabled.

" } }, "HttpEndpointEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

" } }, @@ -10867,12 +11101,14 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether tags are copied from the DB cluster to snapshots of the DB cluster.

" } }, "CrossAccountClone": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services\n account.

" } }, @@ -10915,6 +11151,7 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the mapping of IAM accounts to database accounts is enabled.

" } } @@ -10929,12 +11166,14 @@ "IsClusterWriter": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the cluster member is the primary instance for the DB cluster.

" } }, "PromotionTier": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the order in which an Aurora replica is promoted to the primary instance when\n the existing primary instance fails.

" } }, @@ -11011,6 +11250,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the allocated storage size in gibibytes (GiB).

" } }, @@ -11023,6 +11263,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port number on which the DB instances in the DB cluster accept connections.

" } }, @@ -11065,12 +11306,14 @@ "PercentProgress": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the percentage of the estimated data that has been transferred.

" } }, "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB cluster is encrypted.

" } }, @@ -11095,6 +11338,7 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether mapping of IAM accounts to database accounts is enabled.

" } } @@ -11209,6 +11453,7 @@ "DbInstancePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the DB instance listens on. If the DB instance is part of a DB\n cluster, this can be a different port than the DB cluster port.

" } }, @@ -11227,6 +11472,7 @@ "DeletionProtection": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DB instance has deletion protection enabled.

\n

When deletion protection is enabled, the database cannot be deleted.

" } }, @@ -11251,6 +11497,7 @@ "IAMDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if mapping of IAM accounts to database\n accounts is enabled, and otherwise false.

\n

IAM database authentication can be enabled for the following database engines.

\n " } }, @@ -11269,12 +11516,14 @@ "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies the accessibility options for the DB instance.

\n

A value of true specifies an Internet-facing instance with a publicly resolvable DNS\n name, which resolves to a public IP address.

\n

A value of false specifies an internal instance with a DNS name that resolves to a\n private IP address.

" } }, "StorageEncrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the DB instance is encrypted.

" } }, @@ -11293,6 +11542,7 @@ "MultiAz": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB instance is a multiple Availability Zone deployment.

" } }, @@ -11317,6 +11567,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage (in gigabytes) to initially allocate for the DB instance.

" } }, @@ -11329,6 +11580,7 @@ "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days for which to retain automated backups.

" } }, @@ -11377,6 +11629,7 @@ "AutoMinorVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether minor version patches are applied automatically.

" } }, @@ -11407,6 +11660,7 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the provisioned IOPS (I/O operations per second) for this DB instance.

" } }, @@ -11449,12 +11703,14 @@ "CopyTagsToSnapshot": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to copy resource tags to snapshots of the DB instance.

" } }, "MonitoringInterval": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The interval, in seconds, between points when enhanced monitoring metrics are collected\n for the DB instance.

" } }, @@ -11467,6 +11723,7 @@ "PromotionTier": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The order in which to promote an Aurora replica to the primary instance after a failure\n of the existing primary instance.

" } }, @@ -11479,6 +11736,7 @@ "PerformanceInsightsEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Performance Insights is enabled for the DB instance.

" } }, @@ -11491,6 +11749,7 @@ "PerformanceInsightsRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days to retain Performance Insights data.

" } }, @@ -11512,6 +11771,7 @@ "MaxAllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The upper limit to which Amazon RDS can automatically scale the storage of the DB\n instance.

" } } @@ -11532,6 +11792,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the port that the database engine is listening on.

" } }, @@ -11636,6 +11897,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new value of the allocated storage for the DB instance.

" } }, @@ -11648,18 +11910,21 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new port for the DB instance.

" } }, "BackupRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new backup retention period for the DB instance.

" } }, "MultiAZ": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates that a single Availability Zone DB instance is changing to a multiple Availability Zone deployment.

" } }, @@ -11678,6 +11943,7 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new provisioned IOPS value for the DB instance.

" } }, @@ -11892,6 +12158,7 @@ "AllocatedStorage": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of storage (in gigabytes) to be initially allocated for the database instance.

" } }, @@ -11904,6 +12171,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that the database engine was listening on at the time of the snapshot.

" } }, @@ -11952,6 +12220,7 @@ "Iops": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

" } }, @@ -11964,6 +12233,7 @@ "PercentProgress": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of the estimated data that has been transferred.

" } }, @@ -11994,6 +12264,7 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the DB snapshot is encrypted.

" } }, @@ -12012,6 +12283,7 @@ "IamDatabaseAuthenticationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether mapping of IAM accounts to database accounts is enabled.

" } }, @@ -12044,6 +12316,7 @@ "Normal": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the read replica instance is operating normally.

" } }, @@ -12178,6 +12451,7 @@ "Enabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the event notification subscription is enabled.

" } }, @@ -12382,12 +12656,14 @@ "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that manual snapshots are retained in the destination region after\n they are copied from a source region.

\n

If the value is -1,\n then the manual snapshot is retained indefinitely.

\n

Valid values: Either -1\n or an integer between 1 and 3,653

" } }, "RetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days to retain automated snapshots in the destination Region after they\n are copied from a source Region.

" } }, @@ -12440,12 +12716,14 @@ "AllowVersionUpgrade": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether major version upgrades are applied automatically to the cluster during\n the maintenance window.

" } }, "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that automatic cluster snapshots are retained.

" } }, @@ -12554,6 +12832,7 @@ "Encrypted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the data in the cluster is encrypted at rest.

" } }, @@ -12566,6 +12845,7 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to create the cluster with enhanced VPC routing enabled.

" } }, @@ -12608,6 +12888,7 @@ "ManualSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The default number of days to retain a manual snapshot.

\n

If the value is -1, the snapshot is retained indefinitely.

\n

This setting doesn't change the retention period of existing snapshots.

\n

Valid values: Either -1 or an integer between 1 and 3,653

" } }, @@ -12632,6 +12913,7 @@ "NumberOfNodes": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of compute nodes in the cluster.

" } }, @@ -12656,6 +12938,7 @@ "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the cluster can be accessed from a public network.

" } }, @@ -12738,6 +13021,7 @@ "Port": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port that the database engine listens on.

" } } @@ -12828,6 +13112,7 @@ "LoggingEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether logging is enabled.

" } }, @@ -12848,6 +13133,7 @@ "AutomatedSnapshotRetentionPeriod": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The pending or in-progress change to the automated snapshot retention period.

" } }, @@ -12878,6 +13164,7 @@ "EnhancedVpcRouting": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to create the cluster with enhanced VPC routing enabled.

" } }, @@ -12902,12 +13189,14 @@ "NumberOfNodes": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The pending or in-progress change to the number of nodes in the cluster.

" } }, "PubliclyAccessible": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The pending or in-progress change to whether the cluster can be connected to from the\n public network.

" } } @@ -12922,6 +13211,7 @@ "AllowCancelResize": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the resize operation can be canceled.

" } }, @@ -12942,30 +13232,35 @@ "CurrentRestoreRateInMegaBytesPerSecond": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes per second being transferred from the backup storage. Returns\n the average rate for a completed backup.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ElapsedTimeInSeconds": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time an in-progress restore has been running, or the amount of time it\n took a completed restore to finish.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "EstimatedTimeToCompletionInSeconds": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimate of the time remaining before the restore is complete. Returns 0 for a\n completed restore.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "ProgressInMegaBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of megabytes that were transferred from snapshot storage.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, "SnapshotSizeInMegaBytes": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the set of snapshot data that was used to restore the cluster.

\n

This field is only updated when you restore to DC2 and DS2 node types.

" } }, @@ -13012,24 +13307,28 @@ "BlockPublicAcls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).

" } }, "BlockPublicPolicy": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.

" } }, "IgnorePublicAcls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.

" } }, "RestrictPublicBuckets": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web Services service principals and authorized users within the S3 bucket owner's account.

" } } @@ -13058,6 +13357,7 @@ "DaysAfterInitiation": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days after which Amazon S3 cancels an incomplete multipart upload.

" } } @@ -13084,12 +13384,14 @@ "ExpirationInDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The length in days of the lifetime for objects that are subject to the rule.

" } }, "ExpiredObjectDeleteMarker": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to\n true, the delete marker is expired. If set to false, the policy\n takes no action.

\n

If you provide ExpiredObjectDeleteMarker, you cannot provide\n ExpirationInDays or ExpirationDate.

" } }, @@ -13108,6 +13410,7 @@ "NoncurrentVersionExpirationInDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

" } }, @@ -13270,6 +13573,7 @@ "Days": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

" } }, @@ -13302,6 +13606,7 @@ "Days": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

" } }, @@ -13328,6 +13633,7 @@ "IsMfaDeleteEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether MFA delete is currently enabled in the S3 bucket versioning configuration. If the S3 bucket was never configured with MFA delete, then this attribute is not included.

" } }, @@ -13815,6 +14121,7 @@ "RotationOccurredWithinFrequency": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the rotation occurred within the specified rotation frequency.

" } }, @@ -13827,6 +14134,7 @@ "RotationEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether rotation is enabled.

" } }, @@ -13839,6 +14147,7 @@ "Deleted": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the secret is deleted.

" } }, @@ -13865,6 +14174,7 @@ "AutomaticallyAfterDays": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of days after the previous rotation to rotate the secret.

" } } @@ -13970,12 +14280,14 @@ "Confidence": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A finding's confidence. Confidence is defined as the likelihood that a finding\n accurately identifies the behavior or issue that it was intended to identify.

\n

Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.

" } }, "Criticality": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The level of importance assigned to the resources associated with the finding.

\n

A score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.

" } }, @@ -14129,6 +14441,7 @@ "Sample": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the finding is a sample finding.

" } } @@ -14867,6 +15180,7 @@ "KmsDataKeyReusePeriodSeconds": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The length of time, in seconds, for which Amazon SQS can reuse a data key to encrypt or decrypt messages before calling KMS again.

" } }, @@ -14905,18 +15219,21 @@ "CompliantCriticalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n CRITICAL.

" } }, "CompliantHighCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n HIGH.

" } }, "CompliantMediumCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n MEDIUM.

" } }, @@ -14929,42 +15246,49 @@ "NonCompliantCriticalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patch items that are noncompliant, the number of items that have a severity of\n CRITICAL.

" } }, "CompliantInformationalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n INFORMATIONAL.

" } }, "NonCompliantInformationalCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n INFORMATIONAL.

" } }, "CompliantUnspecifiedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n UNSPECIFIED.

" } }, "NonCompliantLowCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n LOW.

" } }, "NonCompliantHighCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n HIGH.

" } }, "CompliantLowCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are compliant, the number that have a severity of\n LOW.

" } }, @@ -14989,12 +15313,14 @@ "NonCompliantMediumCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n MEDIUM.

" } }, "NonCompliantUnspecifiedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

For the patches that are noncompliant, the number that have a severity of\n UNSPECIFIED.

" } }, @@ -15061,6 +15387,7 @@ "RateLimit": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests that have an identical value for the field specified in RateKey that are allowed within a five-minute period. If the number of requests exceeds RateLimit and the other predicates specified in the rule are met, WAF triggers the action for the rule.

" } }, @@ -15093,6 +15420,7 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then the rule actions are performed on requests that match the predicate settings.

\n

If set to false, then the rule actions are performed on all requests except those that match the predicate settings.\n

" } }, @@ -15137,6 +15465,7 @@ "RateLimit": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests that have an identical value for the field specified in RateKey that are allowed within a five-minute period. If the number of requests exceeds RateLimit and the other predicates specified in the rule are met, WAF triggers the action for the rule.

" } }, @@ -15169,6 +15498,7 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, then the rule actions are performed on requests that match the predicate settings.

\n

If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

" } }, @@ -15279,6 +15609,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If you define more than one rule in a web ACL, WAF evaluates each request against the rules in\n order based on the value of Priority.

" } }, @@ -15323,6 +15654,7 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if you want WAF to allow, block, or count requests based on the settings in the \n ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, \n RegexMatchSet, GeoMatchSet, or SizeConstraintSet.\n

" } }, @@ -15413,6 +15745,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The order in which WAF evaluates the rules in a web ACL.\n

" } }, @@ -15537,6 +15870,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order\n based on the value of Priority.

" } }, @@ -15581,6 +15915,7 @@ "Negated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies if you want WAF to allow, block, or count requests based on the settings in the \n ByteMatchSet, IPSet, SqlInjectionMatchSet, XssMatchSet, \n RegexMatchSet, GeoMatchSet, or SizeConstraintSet.\n

" } }, @@ -15651,6 +15986,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the order in which the rules in a web\n ACL are evaluated. Rules with a lower value for Priority are\n evaluated before rules with a higher value. The value must be a unique integer. If you add\n multiple rules to a web ACL, the values do not need to be consecutive.

" } }, @@ -15872,6 +16208,7 @@ "FailedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of findings that failed to import.

", "smithy.api#required": {} } @@ -15879,6 +16216,7 @@ "SuccessCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of findings that were successfully imported.

", "smithy.api#required": {} } @@ -15950,12 +16288,14 @@ "Confidence": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated value for the finding confidence. Confidence is defined as the likelihood\n that a finding accurately identifies the behavior or issue that it was intended to\n identify.

\n

Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.

" } }, "Criticality": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The updated value for the level of importance assigned to the resources associated with\n the findings.

\n

A score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.

" } }, @@ -16040,7 +16380,10 @@ } }, "com.amazonaws.securityhub#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.securityhub#BooleanFilter": { "type": "structure", @@ -16048,6 +16391,7 @@ "Value": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The value of the boolean.

" } } @@ -16074,12 +16418,14 @@ "Column": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The column number of the column that contains the data. For a Microsoft Excel workbook, the column number corresponds to the alphabetical column identifiers. For example, a value of 1 for Column corresponds to the A column in the workbook.

" } }, "Row": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The row number of the row that contains the data.

" } }, @@ -16164,12 +16510,14 @@ "SizeClassified": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total size in bytes of the affected data.

" } }, "AdditionalOccurrences": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.

" } }, @@ -16307,6 +16655,7 @@ "Privileged": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When this parameter is true, the container is given elevated privileges on the host \ncontainer instance (similar to the root user). \n

" } } @@ -16635,6 +16984,7 @@ "com.amazonaws.securityhub#CrossAccountMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -16647,6 +16997,7 @@ "Count": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data that were detected.

" } }, @@ -16691,6 +17042,7 @@ "TotalCount": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data.

" } } @@ -16711,6 +17063,7 @@ "BaseScore": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The base CVSS score.

" } }, @@ -16801,6 +17154,7 @@ "Value": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A date range value for the date filter.

" } }, @@ -17218,6 +17572,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return.

" } } @@ -17305,6 +17660,7 @@ "AutoEnableControls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically enable new controls when they are added to standards that are\n enabled.

\n

If set to true, then new controls for enabled standards are enabled\n automatically. If set to false, then new controls are not enabled.

" } } @@ -17351,12 +17707,14 @@ "AutoEnable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically enable Security Hub for new accounts in the organization.

\n

If set to true, then Security Hub is enabled for new accounts. If set to false,\n then new accounts are not added automatically.

" } }, "MemberAccountLimitReached": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the maximum number of allowed member accounts are already associated with the\n Security Hub administrator account.

" } }, @@ -17418,6 +17776,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return.

", "smithy.api#httpQuery": "MaxResults" } @@ -17541,6 +17900,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of security standard controls to return.

", "smithy.api#httpQuery": "MaxResults" } @@ -17577,6 +17937,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of standards to return.

", "smithy.api#httpQuery": "MaxResults" } @@ -17892,6 +18253,7 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the DNS request was blocked.

" } } @@ -17901,7 +18263,10 @@ } }, "com.amazonaws.securityhub#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#EnableImportFindingsForProduct": { "type": "operation", @@ -18053,6 +18418,7 @@ "EnableDefaultStandards": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to enable the security standards that Security Hub has designated as automatically\n enabled. If you do not provide a value for EnableDefaultStandards, it is set\n to true. To not enable the automatically enabled standards, set\n EnableDefaultStandards to false.

" } } @@ -18135,12 +18501,14 @@ "Confidence": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A finding's confidence. Confidence is defined as the likelihood that a finding\n accurately identifies the behavior or issue that it was intended to identify.

\n

Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent\n confidence and 100 means 100 percent confidence.

" } }, "Criticality": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The level of importance assigned to the resources associated with the finding.

\n

A score of 0 means that the underlying resources have no criticality, and a score of 100\n is reserved for the most critical resources.

" } }, @@ -18277,6 +18645,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The order in which to run the stateless rule group.

" } }, @@ -18303,12 +18672,14 @@ "Lon": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The longitude of the location.

" } }, "Lat": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The latitude of the location.

" } } @@ -18418,6 +18789,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return in the response.

" } } @@ -18580,6 +18952,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of findings to return.

" } } @@ -18720,6 +19093,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

" } } @@ -18784,6 +19158,7 @@ "InvitationsCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of all membership invitations sent to this Security Hub member account, not\n including the currently accepted invitation.

" } } @@ -18910,12 +19285,14 @@ "Code": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ICMP code for which to deny or allow access. To deny or allow all codes, use the\n value -1.

" } }, "Type": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ICMP type for which to deny or allow access. To deny or allow all types, use the\n value -1.

" } } @@ -19014,6 +19391,7 @@ "Count": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of findings returned for each GroupByAttributeValue.

", "smithy.api#required": {} } @@ -19059,7 +19437,10 @@ } }, "com.amazonaws.securityhub#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#IntegerList": { "type": "list", @@ -19261,6 +19642,7 @@ "Asn": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The Autonomous System Number (ASN) of the internet provider

" } }, @@ -19402,6 +19784,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -19478,6 +19861,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return. This operation currently only returns a single result.

", "smithy.api#httpQuery": "MaxResults" } @@ -19544,6 +19928,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#CrossAccountMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -19617,6 +20002,7 @@ "OnlyAssociated": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies which member accounts to include in the response based on their relationship\n status with the administrator account. The default value is TRUE.

\n

If OnlyAssociated is set to TRUE, the response includes member\n accounts whose relationship status with the administrator account is set to ENABLED.

\n

If OnlyAssociated is set to FALSE, the response includes all\n existing member accounts.

", "smithy.api#httpQuery": "OnlyAssociated" } @@ -19624,6 +20010,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#CrossAccountMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -19697,6 +20084,7 @@ "MaxResults": { "target": "com.amazonaws.securityhub#AdminsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return in the response.

", "smithy.api#httpQuery": "MaxResults" } @@ -19800,7 +20188,10 @@ } }, "com.amazonaws.securityhub#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#Malware": { "type": "structure", @@ -19977,6 +20368,7 @@ "com.amazonaws.securityhub#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -20078,6 +20470,7 @@ "SourcePort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The source port of network-related information about a finding.

" } }, @@ -20108,6 +20501,7 @@ "DestinationPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The destination port of network-related information about a finding.

" } }, @@ -20158,6 +20552,7 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the network connection attempt was blocked.

" } } @@ -20337,18 +20732,21 @@ "Gte": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The greater-than-equal condition to be applied to a single field when querying for\n findings.

" } }, "Lte": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The less-than-equal condition to be applied to a single field when querying for\n findings.

" } }, "Eq": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The equal-to condition to be applied to a single field when querying for\n findings.

" } } @@ -20407,6 +20805,7 @@ "PageNumber": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The page number of the page that contains the sensitive data.

" } }, @@ -20465,36 +20864,42 @@ "InstalledCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches from the compliance standard that were installed\n successfully.

" } }, "MissingCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches that are part of the compliance standard but are not installed.\n The count includes patches that failed to install.

" } }, "FailedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches from the compliance standard that failed to install.

" } }, "InstalledOtherCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of installed patches that are not part of the compliance standard.

" } }, "InstalledRejectedCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches that are installed but are also on a list of patches that the\n customer rejected.

" } }, "InstalledPendingReboot": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of patches that were applied, but that require the instance to be rebooted in\n order to be marked as installed.

" } }, @@ -20539,6 +20944,7 @@ "Blocked": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the port probe was blocked.

" } } @@ -20585,12 +20991,14 @@ "Begin": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the port range.

" } }, "End": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the port range.

" } } @@ -20605,12 +21013,14 @@ "From": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The first port in the port range.

" } }, "To": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The last port in the port range.

" } } @@ -20643,12 +21053,14 @@ "Pid": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The process ID.

" } }, "ParentPid": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The parent process ID.

" } }, @@ -20750,18 +21162,21 @@ "Start": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

" } }, "End": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of lines (for a line range) or characters (for an offset range) from the beginning of the file to the end of the sensitive data.

" } }, "StartColumn": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

In the line where the sensitive data starts, the column within the line where the sensitive data starts.

" } } @@ -20779,6 +21194,7 @@ "com.amazonaws.securityhub#RatioScale": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -20817,6 +21233,7 @@ "RecordIndex": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The record index, starting from 0, for the record that contains the data.

" } } @@ -21786,12 +22203,14 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The starting port value for the port range.

" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ending port value for the port range.

" } } @@ -21838,12 +22257,14 @@ "FromPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The starting port value for the port range.

" } }, "ToPort": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ending port value for the port range.

" } } @@ -21930,6 +22351,7 @@ "Priority": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.

" } }, @@ -22006,21 +22428,6 @@ }, "com.amazonaws.securityhub#SecurityHubAPIService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SecurityHub", - "arnNamespace": "securityhub", - "cloudFormationName": "SecurityHub", - "cloudTrailEventSource": "securityhub.amazonaws.com", - "endpointPrefix": "securityhub" - }, - "aws.auth#sigv4": { - "name": "securityhub" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status\n of your environment based on controls from supported security standards. Security Hub collects\n security data from Amazon Web Services accounts, services, and integrated third-party products and helps\n you analyze security trends in your environment to identify the highest priority security\n issues. For more information about Security Hub, see the \n Security HubUser\n Guide\n .

\n

When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services\n Region that is currently active or in the specific Amazon Web Services Region that you specify in your\n request. Any configuration or settings change that results from the operation is applied\n only to that Region. To make the same change in other Regions, execute the same command for\n each Region to apply the change to.

\n

For example, if your Region is set to us-west-2, when you use CreateMembers to add a member account to Security Hub, the association of\n the member account with the administrator account is created only in the us-west-2\n Region. Security Hub must be enabled for the member account in the same Region that the invitation\n was sent from.

\n

The following throttling limits apply to using Security Hub API operations.

\n ", - "smithy.api#title": "AWS SecurityHub" - }, "version": "2018-10-26", "operations": [ { @@ -22191,7 +22598,22 @@ { "target": "com.amazonaws.securityhub#UpdateStandardsControl" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SecurityHub", + "arnNamespace": "securityhub", + "cloudFormationName": "SecurityHub", + "cloudTrailEventSource": "securityhub.amazonaws.com", + "endpointPrefix": "securityhub" + }, + "aws.auth#sigv4": { + "name": "securityhub" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Security Hub provides you with a comprehensive view of the security state of your Amazon Web Services environment and resources. It also provides you with the readiness status\n of your environment based on controls from supported security standards. Security Hub collects\n security data from Amazon Web Services accounts, services, and integrated third-party products and helps\n you analyze security trends in your environment to identify the highest priority security\n issues. For more information about Security Hub, see the \n Security HubUser\n Guide\n .

\n

When you use operations in the Security Hub API, the requests are executed only in the Amazon Web Services\n Region that is currently active or in the specific Amazon Web Services Region that you specify in your\n request. Any configuration or settings change that results from the operation is applied\n only to that Region. To make the same change in other Regions, execute the same command for\n each Region to apply the change to.

\n

For example, if your Region is set to us-west-2, when you use CreateMembers to add a member account to Security Hub, the association of\n the member account with the administrator account is created only in the us-west-2\n Region. Security Hub must be enabled for the member account in the same Region that the invitation\n was sent from.

\n

The following throttling limits apply to using Security Hub API operations.

\n ", + "smithy.api#title": "AWS SecurityHub" + } }, "com.amazonaws.securityhub#SensitiveDataDetections": { "type": "structure", @@ -22199,6 +22621,7 @@ "Count": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data that were detected.

" } }, @@ -22243,6 +22666,7 @@ "TotalCount": { "target": "com.amazonaws.securityhub#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of occurrences of sensitive data.

" } } @@ -22263,6 +22687,7 @@ "Product": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated. This attribute is being deprecated. Instead of providing\n Product, provide Original.

\n

The native severity as defined by the Amazon Web Services service or integrated partner product that\n generated the finding.

" } }, @@ -22275,6 +22700,7 @@ "Normalized": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Deprecated. The normalized severity of a finding. This attribute is being deprecated.\n Instead of providing Normalized, provide Label.

\n

If you provide Label and do not provide Normalized, then\n Normalized is set automatically as follows.

\n " } }, @@ -22345,12 +22771,14 @@ "Normalized": { "target": "com.amazonaws.securityhub#RatioScale", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The normalized severity for the finding. This attribute is to be deprecated in favor of\n Label.

\n

If you provide Normalized and do not provide Label,\n Label is set automatically as follows.

\n " } }, "Product": { "target": "com.amazonaws.securityhub#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The native severity as defined by the Amazon Web Services service or integrated partner product that\n generated the finding.

" } }, @@ -22366,7 +22794,10 @@ } }, "com.amazonaws.securityhub#SizeBytes": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.securityhub#SoftwarePackage": { "type": "structure", @@ -22501,6 +22932,7 @@ "EnabledByDefault": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the standard is enabled by default. When Security Hub is enabled from the console, if a\n standard is enabled by default, the check box for that standard is selected by\n default.

\n

When Security Hub is enabled using the EnableSecurityHub API operation, the\n standard is enabled by default unless EnableDefaultStandards is set to\n false.

" } } @@ -22994,6 +23426,7 @@ "ItemCount": { "target": "com.amazonaws.securityhub#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This total number of items in which the threat has been detected.\n\t\t

" } }, @@ -23530,6 +23963,7 @@ "AutoEnable": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically enable Security Hub for new accounts in the organization.

\n

By default, this is false, and new accounts are not added\n automatically.

\n

To automatically enable Security Hub for new accounts, set this to true.

", "smithy.api#required": {} } @@ -23586,6 +24020,7 @@ "AutoEnableControls": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to automatically enable new controls when they are added to standards that are\n enabled.

\n

By default, this is set to true, and new controls are enabled\n automatically. To not automatically enable new controls, set this to false.\n

" } } @@ -23750,18 +24185,21 @@ "AllowDnsResolutionFromRemoteVpc": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a local VPC can resolve public DNS hostnames to private IP addresses when queried from instances in a peer VPC.\n

" } }, "AllowEgressFromLocalClassicLinkToRemoteVpc": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a local ClassicLink connection can communicate with the peer VPC over the VPC peering connection.\n

" } }, "AllowEgressFromLocalVpcToRemoteClassicLink": { "target": "com.amazonaws.securityhub#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a local VPC can communicate with a ClassicLink connection in the peer VPC over the VPC peering connection.\n

" } } diff --git a/codegen/sdk/aws-models/serverlessapplicationrepository.json b/codegen/sdk/aws-models/serverlessapplicationrepository.json index ff83d23c9d6..ce178034646 100644 --- a/codegen/sdk/aws-models/serverlessapplicationrepository.json +++ b/codegen/sdk/aws-models/serverlessapplicationrepository.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -419,6 +419,7 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.

", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -591,6 +592,7 @@ "ResourcesSupported": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether all of the AWS resources contained in this application are supported in the region\n in which it is being retrieved.

", "smithy.api#jsonName": "resourcesSupported" } @@ -900,6 +902,9 @@ "input": { "target": "com.amazonaws.serverlessapplicationrepository#DeleteApplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.serverlessapplicationrepository#BadRequestException" @@ -1120,6 +1125,7 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.

", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -1361,6 +1367,7 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return.

", "smithy.api#httpQuery": "maxItems" } @@ -1453,6 +1460,7 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return.

", "smithy.api#httpQuery": "maxItems" } @@ -1527,6 +1535,7 @@ "MaxItems": { "target": "com.amazonaws.serverlessapplicationrepository#MaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of items to return.

", "smithy.api#httpQuery": "maxItems" } @@ -1562,6 +1571,7 @@ "com.amazonaws.serverlessapplicationrepository#MaxItems": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -1633,6 +1643,7 @@ "MaxLength": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer value that determines the largest number of characters that you want to allow for String types.

", "smithy.api#jsonName": "maxLength" } @@ -1640,6 +1651,7 @@ "MaxValue": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A numeric value that determines the largest numeric value that you want to allow for Number types.

", "smithy.api#jsonName": "maxValue" } @@ -1647,6 +1659,7 @@ "MinLength": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An integer value that determines the smallest number of characters that you want to allow for String types.

", "smithy.api#jsonName": "minLength" } @@ -1654,6 +1667,7 @@ "MinValue": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A numeric value that determines the smallest numeric value that you want to allow for Number types.

", "smithy.api#jsonName": "minValue" } @@ -1669,6 +1683,7 @@ "NoEcho": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether to mask the parameter value whenever anyone makes a call that describes the stack. If you set the\n value to true, the parameter value is masked with asterisks (*****).

", "smithy.api#jsonName": "noEcho" } @@ -1790,6 +1805,7 @@ "MonitoringTimeInMinutes": { "target": "com.amazonaws.serverlessapplicationrepository#__integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

This property corresponds to the content of the same name for the AWS CloudFormation RollbackConfiguration\n Data Type.

", "smithy.api#jsonName": "monitoringTimeInMinutes" } @@ -1965,6 +1981,9 @@ "input": { "target": "com.amazonaws.serverlessapplicationrepository#UnshareApplicationRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.serverlessapplicationrepository#BadRequestException" @@ -2145,6 +2164,7 @@ "IsVerifiedAuthor": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the author of this application has been verified. This means means that AWS has made a good faith review, as a reasonable and prudent service provider, of the information provided by the requester and has confirmed that the requester's identity is as claimed.

", "smithy.api#jsonName": "isVerifiedAuthor" } @@ -2238,6 +2258,7 @@ "ResourcesSupported": { "target": "com.amazonaws.serverlessapplicationrepository#__boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether all of the AWS resources contained in this application are supported in the region\n in which it is being retrieved.

", "smithy.api#jsonName": "resourcesSupported", "smithy.api#required": {} @@ -2318,10 +2339,16 @@ } }, "com.amazonaws.serverlessapplicationrepository#__boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.serverlessapplicationrepository#__integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.serverlessapplicationrepository#__listOfApplicationDependencySummary": { "type": "list", diff --git a/codegen/sdk/aws-models/service-catalog-appregistry.json b/codegen/sdk/aws-models/service-catalog-appregistry.json index 773e3ac1295..f10c75ac58f 100644 --- a/codegen/sdk/aws-models/service-catalog-appregistry.json +++ b/codegen/sdk/aws-models/service-catalog-appregistry.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.servicecatalogappregistry#AWS242AppRegistry": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Service Catalog AppRegistry", - "arnNamespace": "servicecatalog", - "cloudFormationName": "ServiceCatalogAppRegistry", - "cloudTrailEventSource": "servicecatalogappregistry.amazonaws.com", - "endpointPrefix": "servicecatalog-appregistry" - }, - "aws.auth#sigv4": { - "name": "servicecatalog" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.

", - "smithy.api#title": "AWS Service Catalog App Registry" - }, "version": "2020-06-24", "operations": [ { @@ -114,7 +99,22 @@ { "target": "com.amazonaws.servicecatalogappregistry#UpdateAttributeGroup" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Service Catalog AppRegistry", + "arnNamespace": "servicecatalog", + "cloudFormationName": "ServiceCatalogAppRegistry", + "cloudTrailEventSource": "servicecatalogappregistry.amazonaws.com", + "endpointPrefix": "servicecatalog-appregistry" + }, + "aws.auth#sigv4": { + "name": "servicecatalog" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon Web Services Service Catalog AppRegistry enables organizations to understand the application context of their Amazon Web Services resources. AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.

", + "smithy.api#title": "AWS Service Catalog App Registry" + } }, "com.amazonaws.servicecatalogappregistry#Application": { "type": "structure", @@ -407,6 +407,7 @@ "com.amazonaws.servicecatalogappregistry#AssociationCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1103,6 +1104,7 @@ "associatedResourceCount": { "target": "com.amazonaws.servicecatalogappregistry#AssociationCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of top-level resources that were registered as part of this application.

" } }, @@ -1358,7 +1360,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -1438,7 +1440,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -1518,7 +1520,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -1630,7 +1632,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return. The value cannot exceed 25. If you omit this parameter, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -1667,7 +1669,7 @@ "maxResults": { "target": "com.amazonaws.servicecatalogappregistry#MaxResults", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The upper bound of the number of results to return (cannot exceed 25). If this parameter is omitted, it defaults to 25. This value is optional.

", "smithy.api#httpQuery": "maxResults" } @@ -1746,6 +1748,7 @@ "com.amazonaws.servicecatalogappregistry#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 25 diff --git a/codegen/sdk/aws-models/service-catalog.json b/codegen/sdk/aws-models/service-catalog.json index ee2189d7503..35b80b6901b 100644 --- a/codegen/sdk/aws-models/service-catalog.json +++ b/codegen/sdk/aws-models/service-catalog.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.servicecatalog#AWS242ServiceCatalogService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Service Catalog", - "arnNamespace": "servicecatalog", - "cloudFormationName": "ServiceCatalog", - "cloudTrailEventSource": "servicecatalog.amazonaws.com", - "endpointPrefix": "servicecatalog" - }, - "aws.auth#sigv4": { - "name": "servicecatalog" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "AWS Service Catalog\n

\n Service Catalog enables\n organizations to create and manage catalogs of IT services that are approved for Amazon Web Services. To\n get the most out of this documentation, you should be familiar with the terminology\n discussed in Service Catalog\n Concepts.

", - "smithy.api#title": "AWS Service Catalog" - }, "version": "2015-12-10", "operations": [ { @@ -309,7 +294,22 @@ { "target": "com.amazonaws.servicecatalog#UpdateTagOption" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Service Catalog", + "arnNamespace": "servicecatalog", + "cloudFormationName": "ServiceCatalog", + "cloudTrailEventSource": "servicecatalog.amazonaws.com", + "endpointPrefix": "servicecatalog" + }, + "aws.auth#sigv4": { + "name": "servicecatalog" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "AWS Service Catalog\n

\n Service Catalog enables\n organizations to create and manage catalogs of IT services that are approved for Amazon Web Services. To\n get the most out of this documentation, you should be familiar with the terminology\n discussed in Service Catalog\n Concepts.

", + "smithy.api#title": "AWS Service Catalog" + } }, "com.amazonaws.servicecatalog#AcceptLanguage": { "type": "string", @@ -463,7 +463,10 @@ } }, "com.amazonaws.servicecatalog#ApproximateCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.servicecatalog#AssociateBudgetWithResource": { "type": "operation", @@ -841,7 +844,10 @@ } }, "com.amazonaws.servicecatalog#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#BudgetDetail": { "type": "structure", @@ -1378,6 +1384,7 @@ "ShareTagOptions": { "target": "com.amazonaws.servicecatalog#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables or disables TagOptions sharing when creating the portfolio share. If this flag is not provided, TagOptions sharing is disabled.

" } } @@ -2121,6 +2128,7 @@ "IgnoreErrors": { "target": "com.amazonaws.servicecatalog#IgnoreErrors", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, Service Catalog stops managing the specified provisioned product even\n if it cannot delete the underlying resources.

" } } @@ -2588,6 +2596,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } @@ -2923,6 +2932,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -3013,6 +3023,7 @@ "Verbose": { "target": "com.amazonaws.servicecatalog#Verbose", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a verbose level of detail is enabled.

" } } @@ -3200,6 +3211,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } @@ -3409,7 +3421,10 @@ "members": {} }, "com.amazonaws.servicecatalog#DisableTemplateValidation": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#DisassociateBudgetFromResource": { "type": "operation", @@ -4085,6 +4100,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -4114,7 +4130,10 @@ } }, "com.amazonaws.servicecatalog#HasDefaultPath": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#Id": { "type": "string", @@ -4137,7 +4156,10 @@ } }, "com.amazonaws.servicecatalog#IgnoreErrors": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#ImportAsProvisionedProduct": { "type": "operation", @@ -4372,6 +4394,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -4444,6 +4467,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -4522,6 +4546,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -4594,6 +4619,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -4682,6 +4708,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } @@ -4760,6 +4787,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } @@ -4854,6 +4882,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } @@ -4894,6 +4923,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } @@ -4960,6 +4990,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -5026,6 +5057,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -5118,6 +5150,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -5228,6 +5261,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -5325,6 +5359,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

", "smithy.api#httpQuery": "pageSize" } @@ -5422,6 +5457,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -5468,6 +5504,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -5541,6 +5578,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } } @@ -5626,6 +5664,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -5667,7 +5706,10 @@ } }, "com.amazonaws.servicecatalog#NoEcho": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#NotificationArn": { "type": "string", @@ -5692,10 +5734,7 @@ } }, "com.amazonaws.servicecatalog#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.servicecatalog#OperationNotSupportedException": { "type": "structure", @@ -5793,6 +5832,7 @@ "com.amazonaws.servicecatalog#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -5802,6 +5842,7 @@ "com.amazonaws.servicecatalog#PageSizeMax100": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5993,12 +6034,14 @@ "Accepted": { "target": "com.amazonaws.servicecatalog#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the shared portfolio is imported by the recipient account. If the recipient is in an organization node, the share is automatically imported, and the field is always set to true.

" } }, "ShareTagOptions": { "target": "com.amazonaws.servicecatalog#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether TagOptions sharing is enabled or disabled for the portfolio share.

" } } @@ -6133,6 +6176,7 @@ "ApproximateCount": { "target": "com.amazonaws.servicecatalog#ApproximateCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

An approximate count of the products that match the value.

" } } @@ -6338,6 +6382,7 @@ "HasDefaultPath": { "target": "com.amazonaws.servicecatalog#HasDefaultPath", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the product has a default path.\n If the product does not have a default path, call ListLaunchPaths \n to disambiguate between paths. Otherwise, ListLaunchPaths is not \n required, and the output of ProductViewSummary can be used directly with \n DescribeProvisioningParameters.

" } }, @@ -7082,10 +7127,7 @@ } }, "com.amazonaws.servicecatalog#ProvisioningArtifactActive": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.servicecatalog#ProvisioningArtifactCreatedTime": { "type": "timestamp" @@ -7266,6 +7308,7 @@ "IsNoEcho": { "target": "com.amazonaws.servicecatalog#NoEcho", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If this value is true, the value for this parameter is obfuscated from view when the\n parameter is retrieved. This parameter is used to hide sensitive information.

" } }, @@ -7343,6 +7386,7 @@ "DisableTemplateValidation": { "target": "com.amazonaws.servicecatalog#DisableTemplateValidation", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, Amazon Web Services Service Catalog stops validating the specified provisioning artifact even if it is invalid.

" } } @@ -8098,7 +8142,10 @@ "type": "string" }, "com.amazonaws.servicecatalog#RetainPhysicalResources": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#RoleArn": { "type": "string", @@ -8145,6 +8192,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -8274,6 +8322,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -8320,6 +8369,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#PageSizeMax100", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -8424,6 +8474,7 @@ "PageSize": { "target": "com.amazonaws.servicecatalog#SearchProvisionedProductsPageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of items to return with this call.

" } }, @@ -8447,6 +8498,7 @@ "TotalResultsCount": { "target": "com.amazonaws.servicecatalog#TotalResultsCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of provisioned products found.

" } }, @@ -8461,6 +8513,7 @@ "com.amazonaws.servicecatalog#SearchProvisionedProductsPageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -8851,7 +8904,6 @@ "com.amazonaws.servicecatalog#StackSetFailureToleranceCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -8860,7 +8912,6 @@ "com.amazonaws.servicecatalog#StackSetFailureTolerancePercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -8870,7 +8921,6 @@ "com.amazonaws.servicecatalog#StackSetMaxConcurrencyCount": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -8879,7 +8929,6 @@ "com.amazonaws.servicecatalog#StackSetMaxConcurrencyPercentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -9014,10 +9063,7 @@ } }, "com.amazonaws.servicecatalog#TagOptionActive": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.servicecatalog#TagOptionDetail": { "type": "structure", @@ -9201,6 +9247,7 @@ "IgnoreErrors": { "target": "com.amazonaws.servicecatalog#IgnoreErrors", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, Service Catalog stops managing the specified provisioned product even\n if it cannot delete the underlying resources.

" } }, @@ -9213,6 +9260,7 @@ "RetainPhysicalResources": { "target": "com.amazonaws.servicecatalog#RetainPhysicalResources", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When this boolean parameter is set to true, the TerminateProvisionedProduct API deletes\n the Service Catalog provisioned product. However, it does not remove the CloudFormation\n stack, stack set, or the underlying resources of the deleted provisioned product. The\n default value is false.

" } } @@ -9230,7 +9278,10 @@ } }, "com.amazonaws.servicecatalog#TotalResultsCount": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.servicecatalog#UpdateConstraint": { "type": "operation", @@ -9895,6 +9946,7 @@ "UsePreviousValue": { "target": "com.amazonaws.servicecatalog#UsePreviousValue", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, Value is ignored and the previous parameter value is kept.

" } } @@ -10117,7 +10169,10 @@ } }, "com.amazonaws.servicecatalog#UsePreviousValue": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicecatalog#UserArn": { "type": "string" @@ -10126,7 +10181,10 @@ "type": "string" }, "com.amazonaws.servicecatalog#Verbose": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/service-quotas.json b/codegen/sdk/aws-models/service-quotas.json index 07d345610c0..075de3663cc 100644 --- a/codegen/sdk/aws-models/service-quotas.json +++ b/codegen/sdk/aws-models/service-quotas.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -608,7 +608,10 @@ } }, "com.amazonaws.servicequotas#GlobalQuota": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicequotas#IllegalArgumentException": { "type": "structure", @@ -1214,7 +1217,6 @@ "com.amazonaws.servicequotas#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1371,10 +1373,7 @@ } }, "com.amazonaws.servicequotas#PeriodValue": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.servicequotas#PutServiceQuotaIncreaseRequestIntoTemplate": { "type": "operation", @@ -1465,7 +1464,10 @@ } }, "com.amazonaws.servicequotas#QuotaAdjustable": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.servicequotas#QuotaArn": { "type": "string" @@ -1528,7 +1530,6 @@ "com.amazonaws.servicequotas#QuotaValue": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 10000000000 @@ -1728,6 +1729,7 @@ "GlobalQuota": { "target": "com.amazonaws.servicequotas#GlobalQuota", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the quota is global.

" } }, @@ -1864,12 +1866,14 @@ "Adjustable": { "target": "com.amazonaws.servicequotas#QuotaAdjustable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the quota value can be increased.

" } }, "GlobalQuota": { "target": "com.amazonaws.servicequotas#GlobalQuota", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the quota is global.

" } }, @@ -1944,6 +1948,7 @@ "GlobalQuota": { "target": "com.amazonaws.servicequotas#GlobalQuota", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the quota is global.

" } } diff --git a/codegen/sdk/aws-models/servicediscovery.json b/codegen/sdk/aws-models/servicediscovery.json index e30f6882b10..7220f51eef6 100644 --- a/codegen/sdk/aws-models/servicediscovery.json +++ b/codegen/sdk/aws-models/servicediscovery.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -673,7 +673,6 @@ "com.amazonaws.servicediscovery#DiscoverMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -798,7 +797,6 @@ "com.amazonaws.servicediscovery#FailureThreshold": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -1690,7 +1688,6 @@ "com.amazonaws.servicediscovery#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2413,7 +2410,6 @@ "com.amazonaws.servicediscovery#RecordTTL": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 2147483647 @@ -2530,10 +2526,7 @@ } }, "com.amazonaws.servicediscovery#ResourceCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.servicediscovery#ResourceDescription": { "type": "string", @@ -3290,6 +3283,9 @@ "input": { "target": "com.amazonaws.servicediscovery#UpdateInstanceCustomHealthStatusRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.servicediscovery#CustomHealthNotFound" diff --git a/codegen/sdk/aws-models/ses.json b/codegen/sdk/aws-models/ses.json index 0d6a92785ec..2e6bb3b1220 100644 --- a/codegen/sdk/aws-models/ses.json +++ b/codegen/sdk/aws-models/ses.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -663,7 +663,10 @@ } }, "com.amazonaws.ses#Counter": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ses#CreateConfigurationSet": { "type": "operation", @@ -827,6 +830,9 @@ "input": { "target": "com.amazonaws.ses#CreateCustomVerificationEmailTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#CustomVerificationEmailInvalidContentException" @@ -1362,6 +1368,9 @@ "input": { "target": "com.amazonaws.ses#DeleteCustomVerificationEmailTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes an existing custom verification email template.

\n

For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer\n Guide.

\n

You can execute this operation no more than once per second.

" } @@ -1611,6 +1620,9 @@ "input": { "target": "com.amazonaws.ses#DeleteVerifiedEmailAddressRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deprecated. Use the DeleteIdentity operation to delete email addresses\n and domains.

" } @@ -1958,7 +1970,10 @@ "type": "string" }, "com.amazonaws.ses#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.ses#Error": { "type": "string" @@ -1979,6 +1994,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets whether Amazon SES publishes events to this destination when you send an email with\n the associated configuration set. Set to true to enable publishing to this\n destination; set to false to prevent publishing to this destination. The\n default value is false.

" } }, @@ -2192,6 +2208,9 @@ }, "com.amazonaws.ses#GetAccountSendingEnabled": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.ses#GetAccountSendingEnabledResponse" }, @@ -2205,6 +2224,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether email sending is enabled or disabled for your Amazon SES account in the\n current AWS Region.

" } } @@ -2525,6 +2545,9 @@ }, "com.amazonaws.ses#GetSendQuota": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.ses#GetSendQuotaResponse" }, @@ -2538,18 +2561,21 @@ "Max24HourSend": { "target": "com.amazonaws.ses#Max24HourSend", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of emails the user is allowed to send in a 24-hour interval. A\n value of -1 signifies an unlimited quota.

" } }, "MaxSendRate": { "target": "com.amazonaws.ses#MaxSendRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of emails that Amazon SES can accept from the user's account per\n second.

\n \n

The rate at which Amazon SES accepts the user's messages might be less than the maximum\n send rate.

\n
" } }, "SentLast24Hours": { "target": "com.amazonaws.ses#SentLast24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of emails sent during the previous 24 hours.

" } } @@ -2560,6 +2586,9 @@ }, "com.amazonaws.ses#GetSendStatistics": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.ses#GetSendStatisticsResponse" }, @@ -2636,6 +2665,7 @@ "DkimEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Is true if DKIM signing is enabled for email sent from the identity. It's false\n otherwise. The default value is true.

", "smithy.api#required": {} } @@ -2720,6 +2750,7 @@ "ForwardingEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether Amazon SES will forward bounce and complaint notifications as email.\n true indicates that Amazon SES will forward bounce and complaint\n notifications as email, while false indicates that bounce and complaint\n notifications will be published only to the specified bounce and complaint Amazon SNS\n topics.

", "smithy.api#required": {} } @@ -2727,18 +2758,21 @@ "HeadersInBounceNotificationsEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of\n type Bounce. A value of true specifies that Amazon SES will include\n headers in bounce notifications, and a value of false specifies that Amazon SES\n will not include headers in bounce notifications.

" } }, "HeadersInComplaintNotificationsEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of\n type Complaint. A value of true specifies that Amazon SES will\n include headers in complaint notifications, and a value of false specifies\n that Amazon SES will not include headers in complaint notifications.

" } }, "HeadersInDeliveryNotificationsEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether Amazon SES includes the original email headers in Amazon SNS notifications of\n type Delivery. A value of true specifies that Amazon SES will\n include headers in delivery notifications, and a value of false specifies\n that Amazon SES will not include headers in delivery notifications.

" } } @@ -3477,6 +3511,9 @@ }, "com.amazonaws.ses#ListVerifiedEmailAddresses": { "type": "operation", + "input": { + "target": "smithy.api#Unit" + }, "output": { "target": "com.amazonaws.ses#ListVerifiedEmailAddressesResponse" }, @@ -3528,18 +3565,17 @@ } }, "com.amazonaws.ses#Max24HourSend": { - "type": "double" - }, - "com.amazonaws.ses#MaxItems": { - "type": "integer", + "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.ses#MaxItems": { + "type": "integer" + }, "com.amazonaws.ses#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -3547,7 +3583,10 @@ } }, "com.amazonaws.ses#MaxSendRate": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ses#Message": { "type": "structure", @@ -4014,6 +4053,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the receipt rule is active. The default value is\n false.

" } }, @@ -4038,6 +4078,7 @@ "ScanEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, then messages that this receipt rule applies to are scanned for\n spam and viruses. The default value is false.

" } } @@ -4215,12 +4256,14 @@ "SendingEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether email sending is enabled or disabled for the configuration set. If\n the value is true, then Amazon SES will send emails that use the configuration\n set. If the value is false, Amazon SES will not send emails that use the\n configuration set. The default value is true. You can change this setting\n using UpdateConfigurationSetSendingEnabled.

" } }, "ReputationMetricsEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether or not Amazon SES publishes reputation metrics for the configuration set,\n such as bounce and complaint rates, to Amazon CloudWatch.

\n

If the value is true, reputation metrics are published. If the value is\n false, reputation metrics are not published. The default value is\n false.

" } }, @@ -4656,24 +4699,28 @@ "DeliveryAttempts": { "target": "com.amazonaws.ses#Counter", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of emails that have been sent.

" } }, "Bounces": { "target": "com.amazonaws.ses#Counter", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of emails that have bounced.

" } }, "Complaints": { "target": "com.amazonaws.ses#Counter", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of unwanted emails that were rejected by recipients.

" } }, "Rejects": { "target": "com.amazonaws.ses#Counter", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of emails rejected by Amazon SES.

" } } @@ -5021,7 +5068,10 @@ } }, "com.amazonaws.ses#SentLast24Hours": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ses#SetActiveReceiptRuleSet": { "type": "operation", @@ -5086,6 +5136,7 @@ "DkimEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets whether DKIM signing is enabled for an identity. Set to true to\n enable DKIM signing for this identity; false to disable it.

", "smithy.api#required": {} } @@ -5127,6 +5178,7 @@ "ForwardingEnabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets whether Amazon SES will forward bounce and complaint notifications as email.\n true specifies that Amazon SES will forward bounce and complaint\n notifications as email, in addition to any Amazon SNS topic publishing otherwise specified.\n false specifies that Amazon SES will publish bounce and complaint\n notifications only through Amazon SNS. This value can only be set to false when\n Amazon SNS topics are set for both Bounce and Complaint\n notification types.

", "smithy.api#required": {} } @@ -5175,6 +5227,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the\n specified notification type. A value of true specifies that Amazon SES will\n include headers in notifications, and a value of false specifies that Amazon SES\n will not include headers in notifications.

\n

This value can only be set when NotificationType is already set to use a\n particular Amazon SNS topic.

", "smithy.api#required": {} } @@ -5850,6 +5903,9 @@ "input": { "target": "com.amazonaws.ses#UpdateAccountSendingEnabledRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Enables or disables email sending across your entire Amazon SES account in the current\n AWS Region. You can use this operation in conjunction with Amazon CloudWatch alarms to\n temporarily pause email sending across your Amazon SES account in a given AWS Region when\n reputation metrics (such as your bounce or complaint rates) reach certain\n thresholds.

\n

You can execute this operation no more than once per second.

" } @@ -5860,6 +5916,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether email sending is enabled or disabled for your Amazon SES account in the\n current AWS Region.

" } } @@ -5931,6 +5988,9 @@ "input": { "target": "com.amazonaws.ses#UpdateConfigurationSetReputationMetricsEnabledRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#ConfigurationSetDoesNotExistException" @@ -5953,6 +6013,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether or not Amazon SES will publish reputation metrics for the configuration\n set, such as bounce and complaint rates, to Amazon CloudWatch.

", "smithy.api#required": {} } @@ -5967,6 +6028,9 @@ "input": { "target": "com.amazonaws.ses#UpdateConfigurationSetSendingEnabledRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#ConfigurationSetDoesNotExistException" @@ -5989,6 +6053,7 @@ "Enabled": { "target": "com.amazonaws.ses#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Describes whether email sending is enabled or disabled for the configuration set.\n

", "smithy.api#required": {} } @@ -6054,6 +6119,9 @@ "input": { "target": "com.amazonaws.ses#UpdateCustomVerificationEmailTemplateRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.ses#CustomVerificationEmailInvalidContentException" @@ -6344,6 +6412,9 @@ "input": { "target": "com.amazonaws.ses#VerifyEmailAddressRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deprecated. Use the VerifyEmailIdentity operation to verify a new email\n address.

" } diff --git a/codegen/sdk/aws-models/sesv2.json b/codegen/sdk/aws-models/sesv2.json index 632722fe4a7..e4d7ee0359c 100644 --- a/codegen/sdk/aws-models/sesv2.json +++ b/codegen/sdk/aws-models/sesv2.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -503,6 +503,7 @@ "UnsubscribeAll": { "target": "com.amazonaws.sesv2#UnsubscribeAll", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value status noting if the contact is unsubscribed from all contact list\n topics.

" } }, @@ -899,6 +900,7 @@ "UnsubscribeAll": { "target": "com.amazonaws.sesv2#UnsubscribeAll", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value status noting if the contact is unsubscribed from all contact list\n topics.

" } }, @@ -1323,6 +1325,7 @@ "VerifiedForSendingStatus": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not the identity is verified. You can only send email from\n verified email addresses or domains. For more information about verifying identities,\n see the Amazon Pinpoint User Guide.

" } }, @@ -2322,6 +2325,7 @@ "SigningEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the value is true, then the messages that you send from the identity\n are signed using DKIM. If the value is false, then the messages that you\n send from the identity aren't DKIM-signed.

" } }, @@ -2770,14 +2774,14 @@ } }, "com.amazonaws.sesv2#Enabled": { - "type": "boolean" - }, - "com.amazonaws.sesv2#EnabledWrapper": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.sesv2#EnabledWrapper": { + "type": "boolean" + }, "com.amazonaws.sesv2#ErrorMessage": { "type": "string" }, @@ -2803,6 +2807,7 @@ "Enabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.

\n

If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.

" } }, @@ -2848,6 +2853,7 @@ "Enabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, the event destination is enabled. When the event destination is\n enabled, the specified event types are sent to the destinations in this\n EventDestinationDefinition.

\n

If false, the event destination is disabled. When the event destination\n is disabled, events aren't sent to the specified destinations.

" } }, @@ -2953,10 +2959,7 @@ } }, "com.amazonaws.sesv2#FailedRecordsCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sesv2#FailedRecordsS3Url": { "type": "string" @@ -3031,6 +3034,7 @@ "DedicatedIpAutoWarmupEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not the automatic warm-up feature is enabled for dedicated IP\n addresses that are associated with your account.

" } }, @@ -3043,6 +3047,7 @@ "ProductionAccessEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not your account has production access in the current Amazon Web Services\n Region.

\n

If the value is false, then your account is in the\n sandbox. When your account is in the sandbox, you can only send\n email to verified identities. Additionally, the maximum number of emails you can send in\n a 24-hour period (your sending quota) is 200, and the maximum number of emails you can\n send per second (your maximum sending rate) is 1.

\n

If the value is true, then your account has production access. When your\n account has production access, you can send email to any address. The sending quota and\n maximum sending rate for your account vary based on your specific use case.

" } }, @@ -3055,6 +3060,7 @@ "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not email sending is enabled for your Amazon SES account in the\n current Amazon Web Services Region.

" } }, @@ -3447,6 +3453,7 @@ "UnsubscribeAll": { "target": "com.amazonaws.sesv2#UnsubscribeAll", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value status noting if the contact is unsubscribed from all contact list\n topics.

" } }, @@ -3739,6 +3746,7 @@ "DashboardEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Deliverability dashboard is enabled. If this value is true,\n the dashboard is enabled.

", "smithy.api#required": {} } @@ -4112,12 +4120,14 @@ "FeedbackForwardingStatus": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The feedback forwarding configuration for the identity.

\n

If the value is true, you receive email notifications when bounce or\n complaint events occur. These notifications are sent to the address that you specified\n in the Return-Path header of the original email.

\n

You're required to have a method of tracking bounces and complaints. If you haven't\n set up another mechanism for receiving bounce or complaint notifications (for example,\n by setting up an event destination), you receive an email notification when these events\n occur (even if this setting is disabled).

" } }, "VerifiedForSendingStatus": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether or not the identity is verified. You can only send email from\n verified email addresses or domains. For more information about verifying identities,\n see the Amazon Pinpoint User Guide.

" } }, @@ -4413,6 +4423,7 @@ "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether or not you can send email from the identity.

\n

An identity is an email address or domain that you send email\n from. Before you can send email from an identity, you have to demostrate that you own\n the identity, and that you authorize Amazon SES to send email from that identity.

" } } @@ -4545,6 +4556,7 @@ "Global": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether inbox placement data is being tracked for the domain.

" } }, @@ -5758,16 +5770,19 @@ } }, "com.amazonaws.sesv2#Max24HourSend": { - "type": "double" - }, - "com.amazonaws.sesv2#MaxItems": { - "type": "integer", + "type": "double", "traits": { - "smithy.api#box": {} + "smithy.api#default": 0 } }, + "com.amazonaws.sesv2#MaxItems": { + "type": "integer" + }, "com.amazonaws.sesv2#MaxSendRate": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sesv2#Message": { "type": "structure", @@ -5904,15 +5919,11 @@ "com.amazonaws.sesv2#Percentage": { "type": "double", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

An object that contains information about inbox placement percentages.

" } }, "com.amazonaws.sesv2#Percentage100Wrapper": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sesv2#PinpointDestination": { "type": "structure", @@ -6015,10 +6026,7 @@ } }, "com.amazonaws.sesv2#ProcessedRecordsCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sesv2#PutAccountDedicatedIpWarmupAttributes": { "type": "operation", @@ -6051,6 +6059,7 @@ "AutoWarmupEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables or disables the automatic warm-up feature for dedicated IP addresses that are\n associated with your Amazon SES account in the current Amazon Web Services Region. Set to true\n to enable the automatic warm-up feature, or set to false to disable\n it.

" } } @@ -6179,6 +6188,7 @@ "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables or disables your account's ability to send email. Set to true to\n enable email sending, or set to false to disable email sending.

\n \n

If Amazon Web Services paused your account's ability to send email, you can't use this operation\n to resume your account's ability to send email.

\n
" } } @@ -6345,6 +6355,7 @@ "ReputationMetricsEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.

" } } @@ -6402,6 +6413,7 @@ "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.

" } } @@ -6687,6 +6699,7 @@ "DashboardEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to enable the Deliverability dashboard. To enable the dashboard, set this\n value to true.

", "smithy.api#required": {} } @@ -6808,6 +6821,7 @@ "SigningEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets the DKIM signing configuration for the identity.

\n

When you set this value true, then the messages that are sent from the\n identity are signed using DKIM. If you set this value to false, your\n messages are sent without DKIM signing.

" } } @@ -6942,6 +6956,7 @@ "EmailForwardingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets the feedback forwarding configuration for the identity.

\n

If the value is true, you receive email notifications when bounce or\n complaint events occur. These notifications are sent to the address that you specified\n in the Return-Path header of the original email.

\n

You're required to have a method of tracking bounces and complaints. If you haven't\n set up another mechanism for receiving bounce or complaint notifications (for example,\n by setting up an event destination), you receive an email notification when these events\n occur (even if this setting is disabled).

" } } @@ -7153,6 +7168,7 @@ "ReputationMetricsEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, tracking of reputation metrics is enabled for the configuration\n set. If false, tracking of reputation metrics is disabled for the\n configuration set.

" } }, @@ -7563,18 +7579,21 @@ "Max24HourSend": { "target": "com.amazonaws.sesv2#Max24HourSend", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of emails that you can send in the current Amazon Web Services Region over a\n 24-hour period. This value is also called your sending\n quota.

" } }, "MaxSendRate": { "target": "com.amazonaws.sesv2#MaxSendRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of emails that you can send per second in the current Amazon Web Services Region.\n This value is also called your maximum sending rate or your\n maximum TPS (transactions per second) rate.

" } }, "SentLast24Hours": { "target": "com.amazonaws.sesv2#SentLast24Hours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of emails sent from your Amazon SES account in the current Amazon Web Services Region over the\n past 24 hours.

" } } @@ -7589,6 +7608,7 @@ "SendingEnabled": { "target": "com.amazonaws.sesv2#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, email sending is enabled for the configuration set. If\n false, email sending is disabled for the configuration set.

" } } @@ -7617,7 +7637,10 @@ } }, "com.amazonaws.sesv2#SentLast24Hours": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sesv2#SimpleEmailService_v2": { "type": "service", @@ -8364,6 +8387,7 @@ "UseDefaultIfPreferenceUnavailable": { "target": "com.amazonaws.sesv2#UseDefaultIfPreferenceUnavailable", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Notes that the default subscription status should be applied to a contact because the\n contact has not noted their preference for subscribing to a topic.

" } } @@ -8425,7 +8449,10 @@ } }, "com.amazonaws.sesv2#UnsubscribeAll": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sesv2#UntagResource": { "type": "operation", @@ -8668,6 +8695,7 @@ "UnsubscribeAll": { "target": "com.amazonaws.sesv2#UnsubscribeAll", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A boolean value status noting if the contact is unsubscribed from all contact list\n topics.

" } }, @@ -8904,12 +8932,14 @@ } }, "com.amazonaws.sesv2#UseDefaultIfPreferenceUnavailable": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sesv2#Volume": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#documentation": "

An object that contains information about inbox placement volume.

" } }, diff --git a/codegen/sdk/aws-models/sfn.json b/codegen/sdk/aws-models/sfn.json index b83e7268f52..4c48359c414 100644 --- a/codegen/sdk/aws-models/sfn.json +++ b/codegen/sdk/aws-models/sfn.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -246,14 +246,14 @@ "timeoutInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum allowed duration of the activity task.

" } }, "heartbeatInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum allowed duration between two heartbeats for the activity task.

" } } @@ -340,6 +340,7 @@ "com.amazonaws.sfn#BilledDuration": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -348,6 +349,7 @@ "com.amazonaws.sfn#BilledMemoryUsed": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -359,12 +361,14 @@ "billedMemoryUsedInMB": { "target": "com.amazonaws.sfn#BilledMemoryUsed", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Billed memory consumption of your workflow, in MB.

" } }, "billedDurationInMilliseconds": { "target": "com.amazonaws.sfn#BilledDuration", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Billed duration of your workflow, in milliseconds.

" } } @@ -379,6 +383,7 @@ "included": { "target": "com.amazonaws.sfn#includedDetails", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether input or output was included in the response. Always true\n for API calls.

" } } @@ -997,13 +1002,19 @@ } }, "com.amazonaws.sfn#Enabled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sfn#ErrorMessage": { "type": "string" }, "com.amazonaws.sfn#EventId": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sfn#ExecutionAbortedEventDetails": { "type": "structure", @@ -1329,12 +1340,14 @@ "maxResults": { "target": "com.amazonaws.sfn#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

\n

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

" } }, "reverseOrder": { "target": "com.amazonaws.sfn#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Lists events in descending order of their timeStamp.

" } }, @@ -1390,6 +1403,7 @@ "id": { "target": "com.amazonaws.sfn#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The id of the event. Events are numbered sequentially, starting at one.

", "smithy.api#required": {} } @@ -1397,6 +1411,7 @@ "previousEventId": { "target": "com.amazonaws.sfn#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The id of the previous event.

" } }, @@ -1555,6 +1570,7 @@ "truncated": { "target": "com.amazonaws.sfn#truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether input or output was truncated in the response. Always\n false for API calls.

" } } @@ -1809,14 +1825,14 @@ } }, "com.amazonaws.sfn#IncludeExecutionData": { - "type": "boolean" - }, - "com.amazonaws.sfn#IncludeExecutionDataGetExecutionHistory": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.sfn#IncludeExecutionDataGetExecutionHistory": { + "type": "boolean" + }, "com.amazonaws.sfn#InvalidArn": { "type": "structure", "members": { @@ -1978,7 +1994,7 @@ "timeoutInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum allowed duration of the lambda function.

" } } @@ -2076,6 +2092,7 @@ "maxResults": { "target": "com.amazonaws.sfn#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

\n

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

" } }, @@ -2156,6 +2173,7 @@ "maxResults": { "target": "com.amazonaws.sfn#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

\n

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

" } }, @@ -2223,6 +2241,7 @@ "maxResults": { "target": "com.amazonaws.sfn#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call. You can use nextToken to obtain further pages of results.\n The default is 100 and the maximum allowed page size is 1000. A value of 0 uses the default.

\n

This is only an upper limit. The actual number of results returned per call might be fewer than the specified maximum.

" } }, @@ -2349,6 +2368,7 @@ "includeExecutionData": { "target": "com.amazonaws.sfn#IncludeExecutionData", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Determines whether execution data is included in your log. When set to false,\n data is excluded.

" } }, @@ -2375,6 +2395,7 @@ "index": { "target": "com.amazonaws.sfn#UnsignedInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The index of the array belonging to the Map state iteration.

" } } @@ -2389,6 +2410,7 @@ "length": { "target": "com.amazonaws.sfn#UnsignedInteger", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the array for Map state iterations.

" } } @@ -2421,6 +2443,7 @@ "com.amazonaws.sfn#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -2453,7 +2476,10 @@ } }, "com.amazonaws.sfn#ReverseOrder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sfn#SendTaskFailure": { "type": "operation", @@ -3307,14 +3333,14 @@ "timeoutInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum allowed duration of the task.

" } }, "heartbeatInSeconds": { "target": "com.amazonaws.sfn#TimeoutInSeconds", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The maximum allowed duration between two heartbeats for the task.

" } } @@ -3536,7 +3562,10 @@ } }, "com.amazonaws.sfn#TimeoutInSeconds": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sfn#Timestamp": { "type": "timestamp" @@ -3573,6 +3602,7 @@ "enabled": { "target": "com.amazonaws.sfn#Enabled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, AWS X-Ray tracing is enabled.

" } } @@ -3584,6 +3614,7 @@ "com.amazonaws.sfn#UnsignedInteger": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3717,10 +3748,16 @@ } }, "com.amazonaws.sfn#includedDetails": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sfn#truncated": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/shield.json b/codegen/sdk/aws-models/shield.json index 38d2908adb5..0287943f951 100644 --- a/codegen/sdk/aws-models/shield.json +++ b/codegen/sdk/aws-models/shield.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.shield#AWSShield_20160616": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Shield", - "arnNamespace": "shield", - "cloudFormationName": "Shield", - "cloudTrailEventSource": "shield.amazonaws.com", - "endpointPrefix": "shield" - }, - "aws.auth#sigv4": { - "name": "shield" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Shield Advanced\n

This is the Shield Advanced API Reference. This guide is for developers who need detailed information about the Shield Advanced API actions,\n data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the\n WAF and Shield Developer Guide.

", - "smithy.api#title": "AWS Shield", - "smithy.api#xmlNamespace": { - "uri": "http://ddp.amazonaws.com/doc/2016-06-02/" - } - }, "version": "2016-06-02", "operations": [ { @@ -159,7 +141,25 @@ { "target": "com.amazonaws.shield#UpdateSubscription" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Shield", + "arnNamespace": "shield", + "cloudFormationName": "Shield", + "cloudTrailEventSource": "shield.amazonaws.com", + "endpointPrefix": "shield" + }, + "aws.auth#sigv4": { + "name": "shield" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Shield Advanced\n

This is the Shield Advanced API Reference. This guide is for developers who need detailed information about the Shield Advanced API actions,\n data types, and errors. For detailed information about WAF and Shield Advanced features and an overview of how to use the WAF and Shield Advanced APIs, see the\n WAF and Shield Developer Guide.

", + "smithy.api#title": "AWS Shield", + "smithy.api#xmlNamespace": { + "uri": "http://ddp.amazonaws.com/doc/2016-06-02/" + } + } }, "com.amazonaws.shield#AccessDeniedException": { "type": "structure", @@ -541,6 +541,7 @@ "Total": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total contributions made to this Shield event by all contributors.

" } } @@ -600,6 +601,7 @@ "AttackCount": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of attacks detected during the time period. This is always present, but might be zero.

", "smithy.api#required": {} } @@ -715,6 +717,7 @@ "Max": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum attack volume observed for the given unit.

", "smithy.api#required": {} } @@ -768,6 +771,7 @@ "Value": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The contribution of this contributor expressed in Protection units. For example 10,000.

" } } @@ -1587,11 +1591,15 @@ "members": {} }, "com.amazonaws.shield#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.shield#DurationInSeconds": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1849,7 +1857,10 @@ } }, "com.amazonaws.shield#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.shield#InternalErrorException": { "type": "structure", @@ -1935,6 +1946,7 @@ "Max": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of protections that can be created for the specified Type.

" } } @@ -1944,7 +1956,10 @@ } }, "com.amazonaws.shield#LimitNumber": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.shield#LimitType": { "type": "string" @@ -1970,6 +1985,7 @@ "Limit": { "target": "com.amazonaws.shield#LimitNumber", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The threshold that would be exceeded.

" } } @@ -2349,12 +2365,14 @@ } }, "com.amazonaws.shield#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.shield#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 10000 @@ -2606,6 +2624,7 @@ "MaxMembers": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of resources you can specify for a single arbitrary pattern in a protection group.

", "smithy.api#required": {} } @@ -2643,6 +2662,7 @@ "MaxProtectionGroups": { "target": "com.amazonaws.shield#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of protection groups that you can have at one time.

", "smithy.api#required": {} } @@ -2950,6 +2970,7 @@ "TimeCommitmentInSeconds": { "target": "com.amazonaws.shield#DurationInSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The length, in seconds, of the Shield Advanced subscription for the account.

" } }, @@ -3065,24 +3086,28 @@ "Max": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum value of the counter for a specified time period.

" } }, "Average": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The average value of the counter for a specified time period.

" } }, "Sum": { "target": "com.amazonaws.shield#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total of counter values for a specified time period.

" } }, "N": { "target": "com.amazonaws.shield#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of counters for a specified time period.

" } }, diff --git a/codegen/sdk/aws-models/signer.json b/codegen/sdk/aws-models/signer.json index 2f11a6669ab..7bf1f449a97 100644 --- a/codegen/sdk/aws-models/signer.json +++ b/codegen/sdk/aws-models/signer.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -185,6 +185,9 @@ "input": { "target": "com.amazonaws.signer#CancelSigningProfileRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.signer#AccessDeniedException" @@ -608,12 +611,14 @@ "maxSizeInMB": { "target": "com.amazonaws.signer#MaxSizeInMB", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size (in MB) of the payload that can be signed by the target\n\t\t\tplatform.

" } }, "revocationSupported": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag indicating whether signatures generated for the signing platform can be\n\t\t\trevoked.

" } } @@ -822,7 +827,10 @@ } }, "com.amazonaws.signer#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.signer#InternalServiceErrorException": { "type": "structure", @@ -912,6 +920,7 @@ "policySizeBytes": { "target": "com.amazonaws.signer#PolicySizeBytes", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total size of the policy associated with the Signing Profile in bytes.

" } }, @@ -1006,6 +1015,7 @@ "isRevoked": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Filters results to return only signing jobs with revoked signatures.

", "smithy.api#httpQuery": "isRevoked" } @@ -1182,6 +1192,7 @@ "includeCanceled": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Designates whether to include profiles with the status of\n\t\t\tCANCELED.

", "smithy.api#httpQuery": "includeCanceled" } @@ -1291,7 +1302,6 @@ "com.amazonaws.signer#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 25 @@ -1299,7 +1309,10 @@ } }, "com.amazonaws.signer#MaxSizeInMB": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.signer#NextToken": { "type": "string" @@ -1362,7 +1375,10 @@ "type": "string" }, "com.amazonaws.signer#PolicySizeBytes": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.signer#Prefix": { "type": "string" @@ -1604,6 +1620,9 @@ "input": { "target": "com.amazonaws.signer#RevokeSignatureRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.signer#AccessDeniedException" @@ -1661,6 +1680,9 @@ "input": { "target": "com.amazonaws.signer#RevokeSigningProfileRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.signer#AccessDeniedException" @@ -1812,6 +1834,7 @@ "value": { "target": "com.amazonaws.signer#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The numerical value of the time unit for signature validity.

" } }, @@ -1946,6 +1969,7 @@ "isRevoked": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the signing job is revoked.

" } }, @@ -2103,12 +2127,14 @@ "maxSizeInMB": { "target": "com.amazonaws.signer#MaxSizeInMB", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum size (in MB) of code that can be signed by a code signing platform.

" } }, "revocationSupported": { "target": "com.amazonaws.signer#bool", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether revocation is supported for the platform.

" } } @@ -2713,7 +2739,10 @@ } }, "com.amazonaws.signer#bool": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/sms.json b/codegen/sdk/aws-models/sms.json index e56c54f134e..f42dd3129b8 100644 --- a/codegen/sdk/aws-models/sms.json +++ b/codegen/sdk/aws-models/sms.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.sms#AWSServerMigrationService_V2016_10_24": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SMS", - "arnNamespace": "sms", - "cloudFormationName": "SMS", - "cloudTrailEventSource": "sms.amazonaws.com", - "endpointPrefix": "sms" - }, - "aws.auth#sigv4": { - "name": "sms" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "\n

\n Product update\n

\n

We recommend Amazon Web Services Application Migration Service (Amazon Web Services\n MGN) as the primary migration service for lift-and-shift migrations. If Amazon Web Services MGN is\n unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March\n 2023.

\n
\n \n

Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your\n on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following \n resources:

\n ", - "smithy.api#title": "AWS Server Migration Service", - "smithy.api#xmlNamespace": { - "uri": "http://ec2.amazon.com/servermigration/2016-10-24/" - } - }, "version": "2016-10-24", "operations": [ { @@ -156,7 +138,25 @@ { "target": "com.amazonaws.sms#UpdateReplicationJob" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SMS", + "arnNamespace": "sms", + "cloudFormationName": "SMS", + "cloudTrailEventSource": "sms.amazonaws.com", + "endpointPrefix": "sms" + }, + "aws.auth#sigv4": { + "name": "sms" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "\n

\n Product update\n

\n

We recommend Amazon Web Services Application Migration Service (Amazon Web Services\n MGN) as the primary migration service for lift-and-shift migrations. If Amazon Web Services MGN is\n unavailable in a specific Amazon Web Services Region, you can use the Server Migration Service APIs through March\n 2023.

\n
\n \n

Server Migration Service (Server Migration Service) makes it easier and faster for you to migrate your\n on-premises workloads to Amazon Web Services. To learn more about Server Migration Service, see the following \n resources:

\n ", + "smithy.api#title": "AWS Server Migration Service", + "smithy.api#xmlNamespace": { + "uri": "http://ec2.amazon.com/servermigration/2016-10-24/" + } + } }, "com.amazonaws.sms#AmiId": { "type": "string" @@ -582,16 +582,10 @@ } }, "com.amazonaws.sms#AssociatePublicIpAddress": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.sms#AutoLaunch": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.sms#BucketName": { "type": "string" @@ -1288,10 +1282,7 @@ "type": "string" }, "com.amazonaws.sms#Encrypted": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.sms#ErrorMessage": { "type": "string" @@ -1299,6 +1290,7 @@ "com.amazonaws.sms#ExecutionTimeoutSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 60, "max": 28800 @@ -1306,22 +1298,13 @@ } }, "com.amazonaws.sms#ForceStopAppReplication": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.sms#ForceTerminateApp": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.sms#Frequency": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#GenerateChangeSet": { "type": "operation", @@ -2220,10 +2203,7 @@ } }, "com.amazonaws.sms#LaunchOrder": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#LicenseType": { "type": "string", @@ -2316,10 +2296,7 @@ "type": "string" }, "com.amazonaws.sms#MaxResults": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#MissingRequiredParameterException": { "type": "structure", @@ -2446,10 +2423,7 @@ "members": {} }, "com.amazonaws.sms#NumberOfRecentAmisToKeep": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#OperationNotPermittedException": { "type": "structure", @@ -2857,10 +2831,7 @@ "type": "string" }, "com.amazonaws.sms#ReplicationJobTerminated": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.sms#ReplicationRun": { "type": "structure", @@ -3048,10 +3019,7 @@ "type": "string" }, "com.amazonaws.sms#RunOnce": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.sms#S3BucketName": { "type": "string", @@ -3132,6 +3100,7 @@ "executionTimeoutSeconds": { "target": "com.amazonaws.sms#ExecutionTimeoutSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The timeout interval, in seconds.

" } }, @@ -3926,16 +3895,10 @@ "type": "timestamp" }, "com.amazonaws.sms#TotalServerGroups": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#TotalServers": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.sms#UnauthorizedOperationException": { "type": "structure", diff --git a/codegen/sdk/aws-models/snow-device-management.json b/codegen/sdk/aws-models/snow-device-management.json index c1b1870bcbf..253821d0910 100644 --- a/codegen/sdk/aws-models/snow-device-management.json +++ b/codegen/sdk/aws-models/snow-device-management.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.snowdevicemanagement#AccessDeniedException": { "type": "structure", @@ -1534,7 +1534,6 @@ "com.amazonaws.snowdevicemanagement#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1817,6 +1816,9 @@ "input": { "target": "com.amazonaws.snowdevicemanagement#TagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" @@ -2031,6 +2033,9 @@ "input": { "target": "com.amazonaws.snowdevicemanagement#UntagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.snowdevicemanagement#InternalServerException" @@ -2090,4 +2095,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/snowball.json b/codegen/sdk/aws-models/snowball.json index f5167b978c7..588b0c89bf1 100644 --- a/codegen/sdk/aws-models/snowball.json +++ b/codegen/sdk/aws-models/snowball.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,21 +31,6 @@ "shapes": { "com.amazonaws.snowball#AWSIESnowballJobManagementService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Snowball", - "arnNamespace": "snowball", - "cloudFormationName": "Snowball", - "cloudTrailEventSource": "snowball.amazonaws.com", - "endpointPrefix": "snowball" - }, - "aws.auth#sigv4": { - "name": "snowball" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses\n secure devices to transfer large amounts of data between your on-premises data centers and\n Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same\n functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create\n and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device,\n you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or OpsHub for Snow Family. For more information, see the User Guide.

", - "smithy.api#title": "Amazon Import/Export Snowball" - }, "version": "2016-06-30", "operations": [ { @@ -123,7 +108,22 @@ { "target": "com.amazonaws.snowball#UpdateLongTermPricing" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Snowball", + "arnNamespace": "snowball", + "cloudFormationName": "Snowball", + "cloudTrailEventSource": "snowball.amazonaws.com", + "endpointPrefix": "snowball" + }, + "aws.auth#sigv4": { + "name": "snowball" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

The Amazon Web Services Snow Family provides a petabyte-scale data transport solution that uses\n secure devices to transfer large amounts of data between your on-premises data centers and\n Amazon Simple Storage Service (Amazon S3). The Snow Family commands described here provide access to the same\n functionality that is available in the Amazon Web Services Snow Family Management Console, which enables you to create\n and manage jobs for a Snow Family device. To transfer data locally with a Snow Family device,\n you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball or OpsHub for Snow Family. For more information, see the User Guide.

", + "smithy.api#title": "Amazon Import/Export Snowball" + } }, "com.amazonaws.snowball#Address": { "type": "structure", @@ -209,6 +209,7 @@ "IsRestricted": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the address you are creating is a primary address, then set this option to\n true. This field is not supported in most regions.

" } } @@ -244,7 +245,10 @@ } }, "com.amazonaws.snowball#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.snowball#CancelCluster": { "type": "operation", @@ -483,30 +487,38 @@ } }, "com.amazonaws.snowball#ClusterState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "AwaitingQuorum", - "name": "AWAITING_QUORUM" - }, - { - "value": "Pending", - "name": "PENDING" - }, - { - "value": "InUse", - "name": "IN_USE" - }, - { - "value": "Complete", - "name": "COMPLETE" - }, - { - "value": "Cancelled", - "name": "CANCELLED" - } - ] + "type": "enum", + "members": { + "AWAITING_QUORUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AwaitingQuorum" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + }, + "IN_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InUse" + } + }, + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Complete" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Cancelled" + } + } } }, "com.amazonaws.snowball#CompatibleImage": { @@ -674,7 +686,7 @@ "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices to use for this cluster.

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

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

The type of Snow Family devices to use for this cluster.

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

", "smithy.api#required": {} } }, @@ -748,7 +760,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a job to import or export data between Amazon S3 and your on-premises data\n center. Your Amazon Web Services account must have the right trust policies and permissions in\n place to create a job for a Snow device. If you're creating a job for a node in a cluster, you\n only need to provide the clusterId value; the other job attributes are inherited\n from the cluster.

\n \n

Only the Snowball; Edge device type is supported when ordering clustered jobs.

\n

The device capacity is optional.

\n

Availability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.

\n
\n\n

\n\n

\n Snow Family Devices and their capacities.\n

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

Creates a job to import or export data between Amazon S3 and your on-premises data\n center. Your Amazon Web Services account must have the right trust policies and permissions in\n place to create a job for a Snow device. If you're creating a job for a node in a cluster, you\n only need to provide the clusterId value; the other job attributes are inherited\n from the cluster.

\n \n

Only the Snowball; Edge device type is supported when ordering clustered jobs.

\n

The device capacity is optional.

\n

Availability of device types differ by Amazon Web Services Region. For more information\n about Region availability, see Amazon Web Services Regional Services.

\n
\n\n

\n\n

\n Snow Family devices and their capacities.\n

\n " } }, "com.amazonaws.snowball#CreateJobRequest": { @@ -823,7 +835,7 @@ "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices to use for this job.\n

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n

The type of Amazon Web Services Snow device to use for this job. Currently, the only\n supported device type for cluster jobs is EDGE.

\n

For more information, see Snowball Edge Device\n Options in the Snowball Edge Developer Guide.

\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

" + "smithy.api#documentation": "

The type of Snow Family devices to use for this job.\n

\n \n

For cluster jobs, Amazon Web Services Snow Family currently supports only the\n EDGE device type.

\n
\n

The type of Amazon Web Services Snow device to use for this job. Currently, the only\n supported device type for cluster jobs is EDGE.

\n

For more information, see Snowball Edge Device\n Options in the Snowball Edge Developer Guide.

\n \n

For more information, see\n \"https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide or\n \"https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html\" (Snow\n Family Devices and Capacity) in the Snowcone User Guide.

" } }, "ForwardingAddressId": { @@ -899,13 +911,13 @@ "IsLongTermPricingAutoRenew": { "target": "com.amazonaws.snowball#JavaBoolean", "traits": { - "smithy.api#documentation": "

Specifies whether the current long-term pricing type for the device should be\n renewed.

" + "smithy.api#documentation": "

snowballty

\n

Specifies whether the current long-term pricing type for the device should be\n renewed.

" } }, "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices to use for the long-term pricing job.

" + "smithy.api#documentation": "

The type of Snow Family devices to use for the long-term pricing job.

" } } } @@ -985,24 +997,28 @@ "BytesTransferred": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of bytes transferred between a Snow device and Amazon S3.

" } }, "ObjectsTransferred": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of objects transferred between a Snow device and Amazon S3.

" } }, "TotalBytes": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total bytes of data for a transfer between a Snow device and Amazon S3. This value\n is set to 0 (zero) until all the keys that will be transferred have been listed.

" } }, "TotalObjects": { "target": "com.amazonaws.snowball#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of objects for a transfer between a Snow device and Amazon S3. This\n value is set to 0 (zero) until all the keys that will be transferred have been\n listed.

" } } @@ -1270,18 +1286,20 @@ } }, "com.amazonaws.snowball#DeviceServiceName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NFS_ON_DEVICE_SERVICE", - "name": "NFS_ON_DEVICE_SERVICE" - }, - { - "value": "S3_ON_DEVICE_SERVICE", - "name": "S3_ON_DEVICE_SERVICE" + "type": "enum", + "members": { + "NFS_ON_DEVICE_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NFS_ON_DEVICE_SERVICE" + } + }, + "S3_ON_DEVICE_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "S3_ON_DEVICE_SERVICE" } - ] + } } }, "com.amazonaws.snowball#Ec2AmiResource": { @@ -1370,7 +1388,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns a link to an Amazon S3 presigned URL for the manifest file associated with the\n specified JobId value. You can access the manifest file for up to 60 minutes\n after this request has been made. To access the manifest file after 60 minutes have passed,\n you'll have to make another call to the GetJobManifest action.

\n\n

The manifest is an encrypted file that you can download after your job enters the\n WithCustomer status. The manifest is decrypted by using the\n UnlockCode code value, when you pass both values to the Snow device through the\n Snowball client when the client is started for the first time.

\n\n\n

As a best practice, we recommend that you don't save a copy of an\n UnlockCode value in the same location as the manifest file for that job. Saving\n these separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

\n\n\n

The credentials of a given job, including its manifest file and unlock code, expire 360\n days after the job is created.

" + "smithy.api#documentation": "

Returns a link to an Amazon S3 presigned URL for the manifest file associated with the\n specified JobId value. You can access the manifest file for up to 60 minutes\n after this request has been made. To access the manifest file after 60 minutes have passed,\n you'll have to make another call to the GetJobManifest action.

\n\n

The manifest is an encrypted file that you can download after your job enters the\n WithCustomer status. This is the only valid status for calling this API as the\n manifest and UnlockCode code value are used for securing your device and should\n only be used when you have the device. The manifest is decrypted by using the\n UnlockCode code value, when you pass both values to the Snow device through the\n Snowball client when the client is started for the first time.

\n\n\n

As a best practice, we recommend that you don't save a copy of an\n UnlockCode value in the same location as the manifest file for that job. Saving\n these separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

\n\n\n

The credentials of a given job, including its manifest file and unlock code, expire 360\n days after the job is created.

" } }, "com.amazonaws.snowball#GetJobManifestRequest": { @@ -1413,7 +1431,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns the UnlockCode code value for the specified job. A particular\n UnlockCode value can be accessed for up to 360 days after the associated job\n has been created.

\n\n

The UnlockCode value is a 29-character code with 25 alphanumeric\n characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed\n along with the manifest to the Snow device through the Snowball client when the client is\n started for the first time.

\n\n

As a best practice, we recommend that you don't save a copy of the\n UnlockCode in the same location as the manifest file for that job. Saving these\n separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

" + "smithy.api#documentation": "

Returns the UnlockCode code value for the specified job. A particular\n UnlockCode value can be accessed for up to 360 days after the associated job\n has been created.

\n\n

The UnlockCode value is a 29-character code with 25 alphanumeric\n characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed\n along with the manifest to the Snow device through the Snowball client when the client is\n started for the first time. The only valid status for calling this API is\n WithCustomer as the manifest and Unlock code values are used for\n securing your device and should only be used when you have the device.

\n\n

As a best practice, we recommend that you don't save a copy of the\n UnlockCode in the same location as the manifest file for that job. Saving these\n separately helps prevent unauthorized parties from gaining access to the Snow device\n associated with that job.

" } }, "com.amazonaws.snowball#GetJobUnlockCodeRequest": { @@ -1530,10 +1548,7 @@ } }, "com.amazonaws.snowball#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.snowball#InvalidAddressException": { "type": "structure", @@ -1602,10 +1617,7 @@ } }, "com.amazonaws.snowball#JavaBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.snowball#JobId": { "type": "string", @@ -1635,6 +1647,7 @@ "IsMaster": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A value that indicates that this job is a main job. A main job represents a successful\n request to create an export job. Main jobs aren't associated with any Snowballs. Instead, each\n main job will have at least one job part, and each job part is associated with a Snowball. It\n might take some time before the job parts associated with a particular main job are listed,\n because they are created after the main job is created.

" } }, @@ -1869,62 +1882,86 @@ } }, "com.amazonaws.snowball#JobState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "New", - "name": "NEW" - }, - { - "value": "PreparingAppliance", - "name": "PREPARING_APPLIANCE" - }, - { - "value": "PreparingShipment", - "name": "PREPARING_SHIPMENT" - }, - { - "value": "InTransitToCustomer", - "name": "IN_TRANSIT_TO_CUSTOMER" - }, - { - "value": "WithCustomer", - "name": "WITH_CUSTOMER" - }, - { - "value": "InTransitToAWS", - "name": "IN_TRANSIT_TO_AWS" - }, - { - "value": "WithAWSSortingFacility", - "name": "WITH_AWS_SORTING_FACILITY" - }, - { - "value": "WithAWS", - "name": "WITH_AWS" - }, - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "Complete", - "name": "COMPLETE" - }, - { - "value": "Cancelled", - "name": "CANCELLED" - }, - { - "value": "Listing", - "name": "LISTING" - }, - { - "value": "Pending", - "name": "PENDING" - } - ] + "type": "enum", + "members": { + "NEW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "New" + } + }, + "PREPARING_APPLIANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PreparingAppliance" + } + }, + "PREPARING_SHIPMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PreparingShipment" + } + }, + "IN_TRANSIT_TO_CUSTOMER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InTransitToCustomer" + } + }, + "WITH_CUSTOMER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WithCustomer" + } + }, + "IN_TRANSIT_TO_AWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InTransitToAWS" + } + }, + "WITH_AWS_SORTING_FACILITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WithAWSSortingFacility" + } + }, + "WITH_AWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WithAWS" + } + }, + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "COMPLETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Complete" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Cancelled" + } + }, + "LISTING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Listing" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Pending" + } + } } }, "com.amazonaws.snowball#JobStateList": { @@ -1934,22 +1971,26 @@ } }, "com.amazonaws.snowball#JobType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMPORT", - "name": "IMPORT" - }, - { - "value": "EXPORT", - "name": "EXPORT" - }, - { - "value": "LOCAL_USE", - "name": "LOCAL_USE" + "type": "enum", + "members": { + "IMPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT" + } + }, + "EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPORT" + } + }, + "LOCAL_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOCAL_USE" } - ] + } } }, "com.amazonaws.snowball#KMSRequestFailedException": { @@ -2037,7 +2078,13 @@ } ], "traits": { - "smithy.api#documentation": "

Returns an array of JobListEntry objects of the specified length. Each\n JobListEntry object is for a job in the specified cluster and contains a job's\n state, a job's ID, and other information.

" + "smithy.api#documentation": "

Returns an array of JobListEntry objects of the specified length. Each\n JobListEntry object is for a job in the specified cluster and contains a job's\n state, a job's ID, and other information.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "JobListEntries", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListClusterJobsRequest": { @@ -2095,7 +2142,13 @@ } ], "traits": { - "smithy.api#documentation": "

Returns an array of ClusterListEntry objects of the specified length. Each\n ClusterListEntry object contains a cluster's state, a cluster's ID, and other\n important status information.

" + "smithy.api#documentation": "

Returns an array of ClusterListEntry objects of the specified length. Each\n ClusterListEntry object contains a cluster's state, a cluster's ID, and other\n important status information.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "ClusterListEntries", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListClustersRequest": { @@ -2149,7 +2202,13 @@ } ], "traits": { - "smithy.api#documentation": "

This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs)\n that are owned by your Amazon Web Services accountthat would be supported for use on a Snow\n device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM,\n Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the\n Amazon Web Services Marketplace.

" + "smithy.api#documentation": "

This action returns a list of the different Amazon EC2 Amazon Machine Images (AMIs)\n that are owned by your Amazon Web Services accountthat would be supported for use on a Snow\n device. Currently, supported AMIs are based on the CentOS 7 (x86_64) - with Updates HVM,\n Ubuntu Server 14.04 LTS (HVM), and Ubuntu 16.04 LTS - Xenial (HVM) images, available on the\n Amazon Web Services Marketplace.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "CompatibleImages", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListCompatibleImagesRequest": { @@ -2246,7 +2305,6 @@ "com.amazonaws.snowball#ListLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -2270,7 +2328,13 @@ } ], "traits": { - "smithy.api#documentation": "

Lists all long-term pricing types.

" + "smithy.api#documentation": "

Lists all long-term pricing types.

", + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "LongTermPricingEntries", + "pageSize": "MaxResults" + } } }, "com.amazonaws.snowball#ListLongTermPricingRequest": { @@ -2308,7 +2372,10 @@ } }, "com.amazonaws.snowball#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.snowball#LongTermPricingAssociatedJobIdList": { "type": "list", @@ -2386,7 +2453,7 @@ "SnowballType": { "target": "com.amazonaws.snowball#SnowballType", "traits": { - "smithy.api#documentation": "

The type of Snow Family Devices associated with this long-term pricing job.

" + "smithy.api#documentation": "

The type of Snow Family devices associated with this long-term pricing job.

" } }, "JobIds": { @@ -2401,18 +2468,20 @@ } }, "com.amazonaws.snowball#LongTermPricingType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "OneYear", - "name": "ONE_YEAR" - }, - { - "value": "ThreeYear", - "name": "THREE_YEAR" + "type": "enum", + "members": { + "ONE_YEAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "OneYear" + } + }, + "THREE_YEAR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ThreeYear" } - ] + } } }, "com.amazonaws.snowball#NFSOnDeviceServiceConfiguration": { @@ -2421,6 +2490,7 @@ "StorageLimit": { "target": "com.amazonaws.snowball#StorageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum NFS storage for one Snow Family device.

" } }, @@ -2453,6 +2523,7 @@ "NotifyAll": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Any change in job state will trigger a notification for this job.

" } } @@ -2482,18 +2553,20 @@ } }, "com.amazonaws.snowball#RemoteManagement": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INSTALLED_ONLY", - "name": "INSTALLED_ONLY" - }, - { - "value": "INSTALLED_AUTOSTART", - "name": "INSTALLED_AUTOSTART" + "type": "enum", + "members": { + "INSTALLED_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLED_ONLY" } - ] + }, + "INSTALLED_AUTOSTART": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INSTALLED_AUTOSTART" + } + } } }, "com.amazonaws.snowball#ResourceARN": { @@ -2581,18 +2654,20 @@ } }, "com.amazonaws.snowball#ShipmentState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RECEIVED", - "name": "RECEIVED" - }, - { - "value": "RETURNED", - "name": "RETURNED" + "type": "enum", + "members": { + "RECEIVED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RECEIVED" + } + }, + "RETURNED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RETURNED" } - ] + } } }, "com.amazonaws.snowball#ShippingDetails": { @@ -2622,123 +2697,173 @@ } }, "com.amazonaws.snowball#ShippingLabelStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "InProgress", - "name": "IN_PROGRESS" - }, - { - "value": "TimedOut", - "name": "TIMED_OUT" - }, - { - "value": "Succeeded", - "name": "SUCCEEDED" - }, - { - "value": "Failed", - "name": "FAILED" - } - ] + "type": "enum", + "members": { + "IN_PROGRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "TIMED_OUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TimedOut" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Succeeded" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + } } }, "com.amazonaws.snowball#ShippingOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "SECOND_DAY", - "name": "SECOND_DAY" - }, - { - "value": "NEXT_DAY", - "name": "NEXT_DAY" - }, - { - "value": "EXPRESS", - "name": "EXPRESS" - }, - { - "value": "STANDARD", - "name": "STANDARD" - } - ] + "type": "enum", + "members": { + "SECOND_DAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SECOND_DAY" + } + }, + "NEXT_DAY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NEXT_DAY" + } + }, + "EXPRESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPRESS" + } + }, + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + } } }, "com.amazonaws.snowball#SnowballCapacity": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "T50", - "name": "T50" - }, - { - "value": "T80", - "name": "T80" - }, - { - "value": "T100", - "name": "T100" - }, - { - "value": "T42", - "name": "T42" - }, - { - "value": "T98", - "name": "T98" - }, - { - "value": "T8", - "name": "T8" - }, - { - "value": "T14", - "name": "T14" - }, - { - "value": "NoPreference", - "name": "NO_PREFERENCE" - } - ] + "type": "enum", + "members": { + "T50": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T50" + } + }, + "T80": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T80" + } + }, + "T100": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T100" + } + }, + "T42": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T42" + } + }, + "T98": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T98" + } + }, + "T8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T8" + } + }, + "T14": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T14" + } + }, + "NO_PREFERENCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NoPreference" + } + }, + "T32": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "T32" + } + } } }, "com.amazonaws.snowball#SnowballType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "STANDARD", - "name": "STANDARD" - }, - { - "value": "EDGE", - "name": "EDGE" - }, - { - "value": "EDGE_C", - "name": "EDGE_C" - }, - { - "value": "EDGE_CG", - "name": "EDGE_CG" - }, - { - "value": "EDGE_S", - "name": "EDGE_S" - }, - { - "value": "SNC1_HDD", - "name": "SNC1_HDD" - }, - { - "value": "SNC1_SSD", - "name": "SNC1_SSD" - } - ] + "type": "enum", + "members": { + "STANDARD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "STANDARD" + } + }, + "EDGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE" + } + }, + "EDGE_C": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE_C" + } + }, + "EDGE_CG": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE_CG" + } + }, + "EDGE_S": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EDGE_S" + } + }, + "SNC1_HDD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNC1_HDD" + } + }, + "SNC1_SSD": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SNC1_SSD" + } + }, + "V3_5C": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "V3_5C" + } + } } }, "com.amazonaws.snowball#SnowconeDeviceConfiguration": { @@ -2768,20 +2893,21 @@ "com.amazonaws.snowball#StorageLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.snowball#StorageUnit": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "TB", - "name": "TB" + "type": "enum", + "members": { + "TB": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "TB" } - ] + } } }, "com.amazonaws.snowball#String": { @@ -2800,6 +2926,7 @@ "StorageLimit": { "target": "com.amazonaws.snowball#StorageLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of virtual tapes to store on one Snow Family device. Due to physical\n resource limitations, this value must be set to 80 for Snowball Edge.

" } }, @@ -2855,22 +2982,26 @@ "type": "timestamp" }, "com.amazonaws.snowball#TransferOption": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "IMPORT", - "name": "IMPORT" - }, - { - "value": "EXPORT", - "name": "EXPORT" - }, - { - "value": "LOCAL_USE", - "name": "LOCAL_USE" + "type": "enum", + "members": { + "IMPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT" + } + }, + "EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EXPORT" } - ] + }, + "LOCAL_USE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LOCAL_USE" + } + } } }, "com.amazonaws.snowball#UnsupportedAddressException": { @@ -3174,6 +3305,7 @@ "IsWifiEnabled": { "target": "com.amazonaws.snowball#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Enables the Wi-Fi adapter on an Snowcone device.

" } } diff --git a/codegen/sdk/aws-models/sns.json b/codegen/sdk/aws-models/sns.json index 0c906caa14c..aeda250852c 100644 --- a/codegen/sdk/aws-models/sns.json +++ b/codegen/sdk/aws-models/sns.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -105,24 +105,6 @@ }, "com.amazonaws.sns#AmazonSimpleNotificationService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SNS", - "arnNamespace": "sns", - "cloudFormationName": "SNS", - "cloudTrailEventSource": "sns.amazonaws.com", - "endpointPrefix": "sns" - }, - "aws.auth#sigv4": { - "name": "sns" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon Simple Notification Service\n

Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build\n distributed web-enabled applications. Applications can use Amazon SNS to easily push\n real-time notification messages to interested subscribers over multiple delivery\n protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS features\n and their associated API calls, see the Amazon SNS Developer Guide.

\n

For information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer\n Guide.\n

\n

We also provide SDKs that enable you to access Amazon SNS from your preferred programming\n language. The SDKs contain functionality that automatically takes care of tasks such as:\n cryptographically signing your service requests, retrying requests, and handling error\n responses. For a list of available SDKs, go to Tools for Amazon Web Services.

", - "smithy.api#title": "Amazon Simple Notification Service", - "smithy.api#xmlNamespace": { - "uri": "http://sns.amazonaws.com/doc/2010-03-31/" - } - }, "version": "2010-03-31", "operations": [ { @@ -251,7 +233,25 @@ { "target": "com.amazonaws.sns#VerifySMSSandboxPhoneNumber" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SNS", + "arnNamespace": "sns", + "cloudFormationName": "SNS", + "cloudTrailEventSource": "sns.amazonaws.com", + "endpointPrefix": "sns" + }, + "aws.auth#sigv4": { + "name": "sns" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Amazon Simple Notification Service\n

Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build\n distributed web-enabled applications. Applications can use Amazon SNS to easily push\n real-time notification messages to interested subscribers over multiple delivery\n protocols. For more information about this product see the Amazon SNS product page. For detailed information about Amazon SNS features\n and their associated API calls, see the Amazon SNS Developer Guide.

\n

For information on the permissions you need to use this API, see Identity and access management in Amazon SNS in the Amazon SNS Developer\n Guide.\n

\n

We also provide SDKs that enable you to access Amazon SNS from your preferred programming\n language. The SDKs contain functionality that automatically takes care of tasks such as:\n cryptographically signing your service requests, retrying requests, and handling error\n responses. For a list of available SDKs, go to Tools for Amazon Web Services.

", + "smithy.api#title": "Amazon Simple Notification Service", + "smithy.api#xmlNamespace": { + "uri": "http://sns.amazonaws.com/doc/2010-03-31/" + } + } }, "com.amazonaws.sns#AuthorizationErrorException": { "type": "structure", @@ -330,6 +330,7 @@ "SenderFault": { "target": "com.amazonaws.sns#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the error happened due to the caller of the batch API action.

", "smithy.api#required": {} } @@ -395,6 +396,7 @@ "isOptedOut": { "target": "com.amazonaws.sns#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the phone number is opted out:

\n " } } @@ -1279,6 +1281,7 @@ "IsInSandbox": { "target": "com.amazonaws.sns#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether the calling Amazon Web Services account is in the SMS sandbox.

", "smithy.api#required": {} } @@ -2272,7 +2275,6 @@ "com.amazonaws.sns#MaxItems": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2282,7 +2284,6 @@ "com.amazonaws.sns#MaxItemsListOriginationNumbers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 30 @@ -3427,6 +3428,7 @@ "ReturnSubscriptionArn": { "target": "com.amazonaws.sns#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Sets whether the response from the Subscribe request includes the\n subscription ARN, even if the subscription is not yet confirmed.

\n

If you set this parameter to true, the response includes the ARN in all\n cases, even if the subscription is not yet confirmed. In addition to the ARN for\n confirmed subscriptions, the response also includes the pending\n subscription ARN value for subscriptions that aren't yet confirmed. A\n subscription becomes confirmed when the subscriber calls the\n ConfirmSubscription action with a confirmation token.

\n

\n

The default value is false.

" } } @@ -3984,7 +3986,10 @@ "type": "string" }, "com.amazonaws.sns#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.sns#delegate": { "type": "string" diff --git a/codegen/sdk/aws-models/sqs.json b/codegen/sdk/aws-models/sqs.json index 1c5848d6420..306722a81cc 100644 --- a/codegen/sdk/aws-models/sqs.json +++ b/codegen/sdk/aws-models/sqs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -46,6 +46,9 @@ "input": { "target": "com.amazonaws.sqs#AddPermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sqs#OverLimit" @@ -97,24 +100,6 @@ }, "com.amazonaws.sqs#AmazonSQS": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SQS", - "arnNamespace": "sqs", - "cloudFormationName": "SQS", - "cloudTrailEventSource": "sqs.amazonaws.com", - "endpointPrefix": "sqs" - }, - "aws.auth#sigv4": { - "name": "sqs" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "

Welcome to the Amazon SQS API Reference.

\n

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.

\n

For information on the permissions you need to use this API, see\n Identity and\n access management in the Amazon SQS Developer Guide.\n

\n

You can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:

\n \n \n

\n Additional information\n

\n ", - "smithy.api#title": "Amazon Simple Queue Service", - "smithy.api#xmlNamespace": { - "uri": "http://queue.amazonaws.com/doc/2012-11-05/" - } - }, "version": "2012-11-05", "operations": [ { @@ -177,7 +162,25 @@ { "target": "com.amazonaws.sqs#UntagQueue" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SQS", + "arnNamespace": "sqs", + "cloudFormationName": "SQS", + "cloudTrailEventSource": "sqs.amazonaws.com", + "endpointPrefix": "sqs" + }, + "aws.auth#sigv4": { + "name": "sqs" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "

Welcome to the Amazon SQS API Reference.

\n

Amazon SQS is a reliable, highly-scalable hosted queue for storing messages as they travel between applications or microservices. Amazon SQS moves data between distributed application components and helps you decouple these components.

\n

For information on the permissions you need to use this API, see\n Identity and\n access management in the Amazon SQS Developer Guide.\n

\n

You can use Amazon Web Services SDKs to access Amazon SQS using your favorite programming language. The SDKs perform tasks such as the following automatically:

\n \n \n

\n Additional information\n

\n ", + "smithy.api#title": "Amazon Simple Queue Service", + "smithy.api#xmlNamespace": { + "uri": "http://queue.amazonaws.com/doc/2012-11-05/" + } + } }, "com.amazonaws.sqs#AttributeNameList": { "type": "list", @@ -224,6 +227,7 @@ "SenderFault": { "target": "com.amazonaws.sqs#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the error happened due to the caller of the batch API action.

", "smithy.api#required": {} } @@ -265,19 +269,22 @@ } }, "com.amazonaws.sqs#Boolean": { - "type": "boolean" - }, - "com.amazonaws.sqs#BoxedInteger": { - "type": "integer", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.sqs#BoxedInteger": { + "type": "integer" + }, "com.amazonaws.sqs#ChangeMessageVisibility": { "type": "operation", "input": { "target": "com.amazonaws.sqs#ChangeMessageVisibilityRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sqs#MessageNotInflight" @@ -360,6 +367,7 @@ "VisibilityTimeout": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new value (in seconds) for the message's visibility timeout.

" } } @@ -441,6 +449,7 @@ "VisibilityTimeout": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The new value for the message's visibility timeout (in seconds). Values range: 0 to 43200. Maximum: 12 hours.

", "smithy.api#required": {} } @@ -517,6 +526,9 @@ "input": { "target": "com.amazonaws.sqs#DeleteMessageRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sqs#InvalidIdFormat" @@ -681,6 +693,9 @@ "input": { "target": "com.amazonaws.sqs#DeleteQueueRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Deletes the queue specified by the QueueUrl, regardless of the queue's contents.

\n \n

Be careful with the DeleteQueue action: When you delete a queue, any messages in the queue are no longer available.\n

\n
\n

When you delete a queue, the deletion process takes up to 60 seconds. Requests you send involving that queue during the 60 seconds might succeed. For example, a \n \n SendMessage\n request might succeed, but after 60 seconds the queue and the message you sent no longer exist.

\n

When you delete a queue, you must wait at least 60 seconds before creating a queue with the same name.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a user name in the Amazon SQS Developer Guide.

\n
" } @@ -822,7 +837,10 @@ } }, "com.amazonaws.sqs#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sqs#InvalidAttributeName": { "type": "structure", @@ -1318,6 +1336,9 @@ "input": { "target": "com.amazonaws.sqs#PurgeQueueRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sqs#PurgeQueueInProgress" @@ -1567,18 +1588,21 @@ "MaxNumberOfMessages": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of messages to return. Amazon SQS never returns more messages than this value (however, fewer messages might be returned). Valid values: 1 to 10. Default: 1.

" } }, "VisibilityTimeout": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration (in seconds) that the received messages are hidden from subsequent retrieve requests after being retrieved by a ReceiveMessage request.

" } }, "WaitTimeSeconds": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration (in seconds) for which the call waits for a message to arrive in the queue before returning. If a message is available, the call returns sooner than WaitTimeSeconds.\n If no messages are available and the wait time expires, the call returns successfully with an empty list of messages.

\n \n

To avoid HTTP errors, ensure that the HTTP response timeout for ReceiveMessage\n requests is longer than the WaitTimeSeconds parameter. For example,\n with the Java SDK, you can set HTTP transport settings using the NettyNioAsyncHttpClient for asynchronous clients, or the ApacheHttpClient for synchronous clients.

\n
" } }, @@ -1614,6 +1638,9 @@ "input": { "target": "com.amazonaws.sqs#RemovePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Revokes any permissions in the queue policy that matches the specified Label parameter.

\n \n \n " } @@ -1736,6 +1763,7 @@ "DelaySeconds": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The length of time, in seconds, for which a specific message is delayed. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished.\n If you don't specify a value, the default value for the queue is applied.\n

\n \n

When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.

\n
" } }, @@ -1877,6 +1905,7 @@ "DelaySeconds": { "target": "com.amazonaws.sqs#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\n The length of time, in seconds, for which to delay a specific message. Valid values: 0 to 900. Maximum: 15 minutes. Messages with a positive DelaySeconds value become available for processing after the delay period is finished.\n If you don't specify a value, the default value for the queue applies.\n

\n \n

When you set FifoQueue, you can't set DelaySeconds per message. You can set this parameter only on a queue level.

\n
" } }, @@ -1956,6 +1985,9 @@ "input": { "target": "com.amazonaws.sqs#SetQueueAttributesRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.sqs#InvalidAttributeName" @@ -2030,6 +2062,9 @@ "input": { "target": "com.amazonaws.sqs#TagQueueRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.

\n \n

When you use queue tags, keep the following guidelines in mind:

\n \n

For a full list of tag restrictions, see \nQuotas related to queues \nin the Amazon SQS Developer Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a user name in the Amazon SQS Developer Guide.

\n
" } @@ -2092,6 +2127,9 @@ "input": { "target": "com.amazonaws.sqs#UntagQueueRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "traits": { "smithy.api#documentation": "

Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see Tagging \nYour Amazon SQS Queues in the Amazon SQS Developer Guide.

\n \n

Cross-account permissions don't apply to this action. For more information, \nsee Grant \ncross-account permissions to a role and a user name in the Amazon SQS Developer Guide.

\n
" } diff --git a/codegen/sdk/aws-models/ssm-contacts.json b/codegen/sdk/aws-models/ssm-contacts.json index a097d2c3c3c..3312a487f3e 100644 --- a/codegen/sdk/aws-models/ssm-contacts.json +++ b/codegen/sdk/aws-models/ssm-contacts.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -751,10 +751,7 @@ "members": {} }, "com.amazonaws.ssmcontacts#DeferActivation": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ssmcontacts#DeleteContact": { "type": "operation", @@ -1403,6 +1400,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.ssmcontacts#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Advice to clients on when the call can be safely retried", "smithy.api#httpHeader": "Retry-After" } @@ -1415,10 +1413,7 @@ } }, "com.amazonaws.ssmcontacts#IsEssential": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.ssmcontacts#ListContactChannels": { "type": "operation", @@ -1942,7 +1937,6 @@ "com.amazonaws.ssmcontacts#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1024 @@ -2233,12 +2227,14 @@ } }, "com.amazonaws.ssmcontacts#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ssmcontacts#RetryIntervalInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 60 @@ -2247,21 +2243,6 @@ }, "com.amazonaws.ssmcontacts#SSMContacts": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SSM Contacts", - "arnNamespace": "ssm-contacts", - "cloudFormationName": "SSMContacts", - "cloudTrailEventSource": "ssmcontacts.amazonaws.com", - "endpointPrefix": "ssm-contacts" - }, - "aws.auth#sigv4": { - "name": "ssm-contacts" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services.

\n

Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation.

", - "smithy.api#title": "AWS Systems Manager Incident Manager Contacts" - }, "version": "2021-05-03", "operations": [ { @@ -2345,7 +2326,22 @@ { "target": "com.amazonaws.ssmcontacts#UpdateContactChannel" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SSM Contacts", + "arnNamespace": "ssm-contacts", + "cloudFormationName": "SSMContacts", + "cloudTrailEventSource": "ssmcontacts.amazonaws.com", + "endpointPrefix": "ssm-contacts" + }, + "aws.auth#sigv4": { + "name": "ssm-contacts" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services.

\n

Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation.

", + "smithy.api#title": "AWS Systems Manager Incident Manager Contacts" + } }, "com.amazonaws.ssmcontacts#SendActivationCode": { "type": "operation", @@ -2494,7 +2490,6 @@ "com.amazonaws.ssmcontacts#StageDurationInMins": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 30 @@ -2852,6 +2847,7 @@ "RetryAfterSeconds": { "target": "com.amazonaws.ssmcontacts#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "Advice to clients on when the call can be safely retried", "smithy.api#httpHeader": "Retry-After" } diff --git a/codegen/sdk/aws-models/ssm-incidents.json b/codegen/sdk/aws-models/ssm-incidents.json index 5f26f650398..3fb612f040d 100644 --- a/codegen/sdk/aws-models/ssm-incidents.json +++ b/codegen/sdk/aws-models/ssm-incidents.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.ssmincidents#AccessDeniedException": { "type": "structure", @@ -144,7 +144,7 @@ } }, "com.amazonaws.ssmincidents#ChatbotSnsConfigurationSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.ssmincidents#SnsArn", "traits": { @@ -157,7 +157,8 @@ "smithy.api#length": { "min": 1, "max": 5 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.ssmincidents#ClientToken": { @@ -878,7 +879,7 @@ } }, "com.amazonaws.ssmincidents#EngagementSet": { - "type": "set", + "type": "list", "member": { "target": "com.amazonaws.ssmincidents#SsmContactsArn", "traits": { @@ -890,7 +891,8 @@ "traits": { "smithy.api#length": { "max": 5 - } + }, + "smithy.api#uniqueItems": {} } }, "com.amazonaws.ssmincidents#EventData": { @@ -1476,7 +1478,6 @@ "com.amazonaws.ssmincidents#Impact": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 5 @@ -2421,7 +2422,6 @@ "com.amazonaws.ssmincidents#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3002,28 +3002,6 @@ }, "com.amazonaws.ssmincidents#SSMIncidents": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SSM Incidents", - "arnNamespace": "ssm-incidents", - "awsProductName": "AWSSystemsManager", - "cloudFormationName": "SSMIncidents" - }, - "aws.auth#sigv4": { - "name": "ssm-incidents" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": { - "additionalAllowedHeaders": [ - "content-type", - "x-amz-content-sha256", - "x-amz-user-agent", - "x-amzn-platform-id" - ] - }, - "smithy.api#documentation": "

Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An\n incident is any unplanned interruption or reduction in quality of services.

\n

Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get services\n back up and running. To achieve the primary goal of reducing the time-to-resolution of\n critical incidents, Incident Manager automates response plans and enables responder\n team escalation.

", - "smithy.api#title": "AWS Systems Manager Incident Manager" - }, "version": "2018-05-10", "operations": [ { @@ -3113,7 +3091,29 @@ { "target": "com.amazonaws.ssmincidents#UpdateTimelineEvent" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SSM Incidents", + "arnNamespace": "ssm-incidents", + "awsProductName": "AWSSystemsManager", + "cloudFormationName": "SSMIncidents" + }, + "aws.auth#sigv4": { + "name": "ssm-incidents" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "content-type", + "x-amz-content-sha256", + "x-amz-user-agent", + "x-amzn-platform-id" + ] + }, + "smithy.api#documentation": "

Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An\n incident is any unplanned interruption or reduction in quality of services.

\n

Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get services\n back up and running. To achieve the primary goal of reducing the time-to-resolution of\n critical incidents, Incident Manager automates response plans and enables responder\n team escalation.

", + "smithy.api#title": "AWS Systems Manager Incident Manager" + } }, "com.amazonaws.ssmincidents#ServiceCode": { "type": "string", @@ -4444,4 +4444,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/sso-admin.json b/codegen/sdk/aws-models/sso-admin.json index 5da825ddff3..486d2b87bc4 100644 --- a/codegen/sdk/aws-models/sso-admin.json +++ b/codegen/sdk/aws-models/sso-admin.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -2595,7 +2595,6 @@ "com.amazonaws.ssoadmin#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3102,21 +3101,6 @@ }, "com.amazonaws.ssoadmin#SWBExternalService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SSO Admin", - "arnNamespace": "sso", - "cloudFormationName": "SSOAdmin", - "cloudTrailEventSource": "ssoadmin.amazonaws.com", - "endpointPrefix": "sso" - }, - "aws.auth#sigv4": { - "name": "sso" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

AWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely create, or connect, your workforce identities and manage their\n access centrally across AWS accounts and applications. IAM Identity Center is the recommended\n approach for workforce authentication and authorization in AWS, for organizations of any size\n and type.

\n \n

Although AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.

\n
\n

This reference guide provides information on single sign-on operations which could be used for\n access management of AWS accounts. For information about IAM Identity Center features, see the IAM Identity Center User\n Guide.

\n

Many operations in the IAM Identity Center APIs rely on identifiers for users and groups, known as\n principals. For more information about how to work with principals and principal IDs in IAM Identity Center,\n see the Identity Store API\n Reference.

\n \n

AWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

\n
", - "smithy.api#title": "AWS Single Sign-On Admin" - }, "version": "2020-07-20", "operations": [ { @@ -3230,7 +3214,22 @@ { "target": "com.amazonaws.ssoadmin#UpdatePermissionSet" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SSO Admin", + "arnNamespace": "sso", + "cloudFormationName": "SSOAdmin", + "cloudTrailEventSource": "ssoadmin.amazonaws.com", + "endpointPrefix": "sso" + }, + "aws.auth#sigv4": { + "name": "sso" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

AWS IAM Identity Center (successor to AWS Single Sign-On) helps you securely create, or connect, your workforce identities and manage their\n access centrally across AWS accounts and applications. IAM Identity Center is the recommended\n approach for workforce authentication and authorization in AWS, for organizations of any size\n and type.

\n \n

Although AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.

\n
\n

This reference guide provides information on single sign-on operations which could be used for\n access management of AWS accounts. For information about IAM Identity Center features, see the IAM Identity Center User\n Guide.

\n

Many operations in the IAM Identity Center APIs rely on identifiers for users and groups, known as\n principals. For more information about how to work with principals and principal IDs in IAM Identity Center,\n see the Identity Store API\n Reference.

\n \n

AWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

\n
", + "smithy.api#title": "AWS Single Sign-On Admin" + } }, "com.amazonaws.ssoadmin#ServiceQuotaExceededException": { "type": "structure", diff --git a/codegen/sdk/aws-models/sso-oidc.json b/codegen/sdk/aws-models/sso-oidc.json index 59289ba76fc..9293c87239d 100644 --- a/codegen/sdk/aws-models/sso-oidc.json +++ b/codegen/sdk/aws-models/sso-oidc.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,6 +31,18 @@ "shapes": { "com.amazonaws.ssooidc#AWSSSOOIDCService": { "type": "service", + "version": "2019-06-10", + "operations": [ + { + "target": "com.amazonaws.ssooidc#CreateToken" + }, + { + "target": "com.amazonaws.ssooidc#RegisterClient" + }, + { + "target": "com.amazonaws.ssooidc#StartDeviceAuthorization" + } + ], "traits": { "aws.api#service": { "sdkId": "SSO OIDC", @@ -43,21 +55,9 @@ "name": "awsssooidc" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AWS Single Sign-On (SSO) OpenID Connect (OIDC) is a web service that enables a client\n (such as AWS CLI or a native application) to register with AWS SSO. The service also\n enables the client to fetch the user’s access token upon successful authentication and\n authorization with AWS SSO. This service conforms with the OAuth 2.0 based implementation of\n the device authorization grant standard (https://tools.ietf.org/html/rfc8628).

\n \n

For general information about AWS SSO, see What is AWS\n Single Sign-On? in the AWS SSO User Guide.

\n \n

This API reference guide describes the AWS SSO OIDC operations that you can call\n programatically and includes detailed information on data types and errors.

\n \n \n

AWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms such as Java, Ruby, .Net, iOS, and Android. The SDKs provide a\n convenient way to create programmatic access to AWS SSO and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

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

AWS IAM Identity Center (successor to AWS Single Sign-On) OpenID Connect (OIDC) is a web service that enables a client (such as AWS CLI\n or a native application) to register with IAM Identity Center. The service also enables the client to\n fetch the user’s access token upon successful authentication and authorization with\n IAM Identity Center.

\n \n

Although AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.

\n
\n

\n Considerations for Using This Guide\n

\n

Before you begin using this guide, we recommend that you first review the following\n important information about how the IAM Identity Center OIDC service works.

\n \n\n

For general information about IAM Identity Center, see What is\n IAM Identity Center? in the IAM Identity Center User Guide.

", "smithy.api#title": "AWS SSO OIDC" - }, - "version": "2019-06-10", - "operations": [ - { - "target": "com.amazonaws.ssooidc#CreateToken" - }, - { - "target": "com.amazonaws.ssooidc#RegisterClient" - }, - { - "target": "com.amazonaws.ssooidc#StartDeviceAuthorization" - } - ] + } }, "com.amazonaws.ssooidc#AccessDeniedException": { "type": "structure", @@ -92,7 +92,7 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates that a request to authorize a client with an access user session token is pending.

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

Indicates that a request to authorize a client with an access user session token is\n pending.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -169,21 +169,21 @@ "clientId": { "target": "com.amazonaws.ssooidc#ClientId", "traits": { - "smithy.api#documentation": "

The unique identifier string for each client. This value should come from the persisted result of the RegisterClient API.

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

The unique identifier string for each client. This value should come from the persisted\n result of the RegisterClient API.

", "smithy.api#required": {} } }, "clientSecret": { "target": "com.amazonaws.ssooidc#ClientSecret", "traits": { - "smithy.api#documentation": "

A secret string generated for the client. This value should come from the persisted result of the RegisterClient API.

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

A secret string generated for the client. This value should come from the persisted result\n of the RegisterClient API.

", "smithy.api#required": {} } }, "grantType": { "target": "com.amazonaws.ssooidc#GrantType", "traits": { - "smithy.api#documentation": "

Supports grant types for authorization code, refresh token, and device code request.

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

Supports grant types for the authorization code, refresh token, and device code request.\n For device code requests, specify the following value:

\n\n

\n urn:ietf:params:oauth:grant-type:device_code\n \n

\n\n

For information about how to obtain the device code, see the StartDeviceAuthorization topic.

", "smithy.api#required": {} } }, @@ -196,13 +196,13 @@ "code": { "target": "com.amazonaws.ssooidc#AuthCode", "traits": { - "smithy.api#documentation": "

The authorization code received from the authorization service. This parameter is required to perform an authorization grant request to get access to a token.

" + "smithy.api#documentation": "

The authorization code received from the authorization service. This parameter is required\n to perform an authorization grant request to get access to a token.

" } }, "refreshToken": { "target": "com.amazonaws.ssooidc#RefreshToken", "traits": { - "smithy.api#documentation": "

The token used to obtain an access token in the event that the access token is invalid or expired. This token is not issued by the service.

" + "smithy.api#documentation": "

Currently, refreshToken is not yet implemented and is not supported. For more\n information about the features and limitations of the current IAM Identity Center OIDC implementation,\n see Considerations for Using this Guide in the IAM Identity Center\n OIDC API Reference.

\n

The token used to obtain an access token in the event that the access token is invalid or\n expired.

" } }, "scope": { @@ -225,7 +225,7 @@ "accessToken": { "target": "com.amazonaws.ssooidc#AccessToken", "traits": { - "smithy.api#documentation": "

An opaque token to access AWS SSO resources assigned to a user.

" + "smithy.api#documentation": "

An opaque token to access IAM Identity Center resources assigned to a user.

" } }, "tokenType": { @@ -237,19 +237,20 @@ "expiresIn": { "target": "com.amazonaws.ssooidc#ExpirationInSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the time in seconds when an access token will expire.

" } }, "refreshToken": { "target": "com.amazonaws.ssooidc#RefreshToken", "traits": { - "smithy.api#documentation": "

A token that, if present, can be used to refresh a previously issued access token that\n might have expired.

" + "smithy.api#documentation": "

Currently, refreshToken is not yet implemented and is not supported. For more\n information about the features and limitations of the current IAM Identity Center OIDC implementation,\n see Considerations for Using this Guide in the IAM Identity Center\n OIDC API Reference.

\n

A token that, if present, can be used to refresh a previously issued access token that\n might have expired.

" } }, "idToken": { "target": "com.amazonaws.ssooidc#IdToken", "traits": { - "smithy.api#documentation": "

The identifier of the user that associated with the access token, if present.

" + "smithy.api#documentation": "

Currently, idToken is not yet implemented and is not supported. For more\n information about the features and limitations of the current IAM Identity Center OIDC implementation,\n see Considerations for Using this Guide in the IAM Identity Center\n OIDC API Reference.

\n

The identifier of the user that associated with the access token, if present.

" } } } @@ -264,7 +265,10 @@ "type": "string" }, "com.amazonaws.ssooidc#ExpirationInSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ssooidc#ExpiredTokenException": { "type": "structure", @@ -299,13 +303,16 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates that an error from the service occurred while trying to process a request.

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

Indicates that an error from the service occurred while trying to process a\n request.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.ssooidc#IntervalInSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ssooidc#InvalidClientException": { "type": "structure", @@ -334,7 +341,7 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates that the client information sent in the request during registration is invalid.

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

Indicates that the client information sent in the request during registration is\n invalid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -350,7 +357,7 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.

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

Indicates that a request contains an invalid grant. This can occur if a client makes a\n CreateToken request with an invalid grant type.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -388,7 +395,10 @@ } }, "com.amazonaws.ssooidc#LongTimeStampType": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.ssooidc#RefreshToken": { "type": "string" @@ -417,7 +427,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Registers a client with AWS SSO. This allows clients to initiate device authorization.\n The output should be persisted for reuse through many authentication requests.

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

Registers a client with IAM Identity Center. This allows clients to initiate device authorization.\n The output should be persisted for reuse through many authentication requests.

", "smithy.api#http": { "method": "POST", "uri": "/client/register", @@ -439,7 +449,7 @@ "clientType": { "target": "com.amazonaws.ssooidc#ClientType", "traits": { - "smithy.api#documentation": "

The type of client. The service supports only public as a client type. Anything other than public will be rejected by the service.

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

The type of client. The service supports only public as a client type.\n Anything other than public will be rejected by the service.

", "smithy.api#required": {} } }, @@ -469,13 +479,15 @@ "clientIdIssuedAt": { "target": "com.amazonaws.ssooidc#LongTimeStampType", "traits": { - "smithy.api#documentation": "

Indicates the time at which the clientId and clientSecret were issued.

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

Indicates the time at which the clientId and clientSecret were\n issued.

" } }, "clientSecretExpiresAt": { "target": "com.amazonaws.ssooidc#LongTimeStampType", "traits": { - "smithy.api#documentation": "

Indicates the time at which the clientId and clientSecret will become invalid.

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

Indicates the time at which the clientId and clientSecret will\n become invalid.

" } }, "authorizationEndpoint": { @@ -512,7 +524,7 @@ } }, "traits": { - "smithy.api#documentation": "

Indicates that the client is making the request too frequently and is more than the service can handle.

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

Indicates that the client is making the request too frequently and is more than the\n service can handle.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -544,7 +556,7 @@ ], "traits": { "smithy.api#auth": [], - "smithy.api#documentation": "

Initiates device authorization by requesting a pair of verification codes from the authorization service.

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

Initiates device authorization by requesting a pair of verification codes from the\n authorization service.

", "smithy.api#http": { "method": "POST", "uri": "/device_authorization", @@ -559,7 +571,7 @@ "clientId": { "target": "com.amazonaws.ssooidc#ClientId", "traits": { - "smithy.api#documentation": "

The unique identifier string for the client that is registered with AWS SSO. This value\n should come from the persisted result of the RegisterClient API\n operation.

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

The unique identifier string for the client that is registered with IAM Identity Center. This value\n should come from the persisted result of the RegisterClient API\n operation.

", "smithy.api#required": {} } }, @@ -573,7 +585,7 @@ "startUrl": { "target": "com.amazonaws.ssooidc#URI", "traits": { - "smithy.api#documentation": "

The URL for the AWS SSO user portal. For more information, see Using\n the User Portal in the AWS Single Sign-On User Guide.

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

The URL for the AWS access portal. For more information, see Using\n the AWS access portal in the IAM Identity Center User Guide.

", "smithy.api#required": {} } } @@ -597,7 +609,7 @@ "verificationUri": { "target": "com.amazonaws.ssooidc#URI", "traits": { - "smithy.api#documentation": "

The URI of the verification page that takes the userCode to authorize the device.

" + "smithy.api#documentation": "

The URI of the verification page that takes the userCode to authorize the\n device.

" } }, "verificationUriComplete": { @@ -609,13 +621,15 @@ "expiresIn": { "target": "com.amazonaws.ssooidc#ExpirationInSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Indicates the number of seconds in which the verification code will become invalid.

" } }, "interval": { "target": "com.amazonaws.ssooidc#IntervalInSeconds", "traits": { - "smithy.api#documentation": "

Indicates the number of seconds the client must wait between attempts when polling for a session.

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

Indicates the number of seconds the client must wait between attempts when polling for a\n session.

" } } } diff --git a/codegen/sdk/aws-models/sso.json b/codegen/sdk/aws-models/sso.json index 9a05d611b2f..a5c48e332f6 100644 --- a/codegen/sdk/aws-models/sso.json +++ b/codegen/sdk/aws-models/sso.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -89,7 +89,10 @@ "type": "string" }, "com.amazonaws.sso#ExpirationTimestampType": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.sso#GetRoleCredentials": { "type": "operation", @@ -397,7 +400,6 @@ "com.amazonaws.sso#MaxResultType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -444,6 +446,7 @@ "expiration": { "target": "com.amazonaws.sso#ExpirationTimestampType", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The date on which temporary security credentials expire.

" } } @@ -483,21 +486,6 @@ }, "com.amazonaws.sso#SWBPortalService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "SSO", - "arnNamespace": "awsssoportal", - "cloudFormationName": "SSO", - "cloudTrailEventSource": "sso.amazonaws.com", - "endpointPrefix": "portal.sso" - }, - "aws.auth#sigv4": { - "name": "awsssoportal" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to\n IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles\n assigned to them and get federated into the application.

\n\n \n

Although AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.

\n
\n\n

This reference guide describes the IAM Identity Center Portal operations that you can call\n programatically and includes detailed information on data types and errors.

\n\n \n

AWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

\n
", - "smithy.api#title": "AWS Single Sign-On" - }, "version": "2019-06-10", "operations": [ { @@ -512,7 +500,22 @@ { "target": "com.amazonaws.sso#Logout" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "SSO", + "arnNamespace": "awsssoportal", + "cloudFormationName": "SSO", + "cloudTrailEventSource": "sso.amazonaws.com", + "endpointPrefix": "portal.sso" + }, + "aws.auth#sigv4": { + "name": "awsssoportal" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to\n IAM Identity Center resources such as the AWS access portal. Users can get AWS account applications and roles\n assigned to them and get federated into the application.

\n\n \n

Although AWS Single Sign-On was renamed, the sso and\n identitystore API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see IAM Identity Center rename.

\n
\n\n

This reference guide describes the IAM Identity Center Portal operations that you can call\n programatically and includes detailed information on data types and errors.

\n\n \n

AWS provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to IAM Identity Center and other AWS services. For more\n information about the AWS SDKs, including how to download and install them, see Tools for Amazon Web Services.

\n
", + "smithy.api#title": "AWS Single Sign-On" + } }, "com.amazonaws.sso#SecretAccessKeyType": { "type": "string", diff --git a/codegen/sdk/aws-models/storage-gateway.json b/codegen/sdk/aws-models/storage-gateway.json index 2aa4cbe2d13..f534f59f9c8 100644 --- a/codegen/sdk/aws-models/storage-gateway.json +++ b/codegen/sdk/aws-models/storage-gateway.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -404,6 +404,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set permissions to bypass governance retention. If the lock type of the archived tape is\n Governance, the tape's archived age is not older than\n RetentionLockInDays, and the user does not already have\n BypassGovernanceRetention, setting this to TRUE enables the user to bypass\n the retention lock. This parameter is set to true by default for calls from the\n console.

\n\n

Valid values: TRUE | FALSE\n

" } } @@ -668,6 +669,7 @@ "Worm": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to indicate that tapes are to be archived as\n write-once-read-many (WORM). Set to false when WORM is not enabled for\n tapes.

" } } @@ -710,7 +712,6 @@ "com.amazonaws.storagegateway#BandwidthDownloadRateLimit": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 102400 } @@ -795,21 +796,20 @@ "com.amazonaws.storagegateway#BandwidthUploadRateLimit": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 51200 } } }, "com.amazonaws.storagegateway#Boolean": { + "type": "boolean" + }, + "com.amazonaws.storagegateway#Boolean2": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.storagegateway#Boolean2": { - "type": "boolean" - }, "com.amazonaws.storagegateway#CacheAttributes": { "type": "structure", "members": { @@ -825,10 +825,7 @@ } }, "com.amazonaws.storagegateway#CacheStaleTimeoutInSeconds": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.storagegateway#CachediSCSIVolume": { "type": "structure", @@ -866,6 +863,7 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size, in bytes, of the volume capacity.

" } }, @@ -1142,6 +1140,7 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume in bytes.

", "smithy.api#required": {} } @@ -1777,6 +1776,7 @@ "PreserveExistingData": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if you want to preserve the data on the local disk. Otherwise,\n set to false to create an empty volume.

\n\n

Valid Values: true | false\n

", "smithy.api#required": {} } @@ -1830,6 +1830,7 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume in bytes.

" } }, @@ -1977,6 +1978,7 @@ "Worm": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.

" } }, @@ -2084,6 +2086,7 @@ "Worm": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE if the tape you are creating is to be configured as a\n write-once-read-many (WORM) tape.

" } }, @@ -2128,7 +2131,6 @@ "com.amazonaws.storagegateway#DayOfMonth": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 28 @@ -2138,7 +2140,6 @@ "com.amazonaws.storagegateway#DayOfWeek": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 6 @@ -2343,6 +2344,7 @@ "ForceDelete": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If this value is set to true, the operation deletes a file share\n immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is\n not deleted until all data is uploaded to Amazon Web Services. This process aborts the data\n upload process, and the file share enters the FORCE_DELETING status.

\n\n

Valid Values: true | false\n

" } } @@ -2506,6 +2508,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.

" } } @@ -2548,6 +2551,7 @@ "BypassGovernanceRetention": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE to delete an archived tape that belongs to a custom pool with\n tape retention lock. Only archived tapes with tape retention lock set to\n governance can be deleted. Archived tapes with tape retention lock set to\n compliance can't be deleted.

" } } @@ -2870,30 +2874,35 @@ "CacheAllocatedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of cache in bytes allocated to a gateway.

" } }, "CacheUsedPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Percent use of the gateway's cache storage. This metric applies only to the\n gateway-cached volume setup. The sample is taken at the end of the reporting period.

" } }, "CacheDirtyPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The file share's contribution to the overall percentage of the gateway's cache\n that has not been persisted to Amazon Web Services. The sample is taken at the end of the\n reporting period.

" } }, "CacheHitPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Percent of application read operations from the file shares that are served from cache.\n The sample is taken at the end of the reporting period.

" } }, "CacheMissPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Percent of application read operations from the file shares that are not served from\n cache. The sample is taken at the end of the reporting period.

" } } @@ -3843,12 +3852,14 @@ "UploadBufferUsedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of bytes being used in the gateway's upload buffer.

" } }, "UploadBufferAllocatedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of bytes allocated in the gateway's as upload buffer.

" } } @@ -3984,12 +3995,14 @@ "WorkingStorageUsedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total working storage in bytes in use by the gateway. If no working storage is\n configured for the gateway, this field returns 0.

" } }, "WorkingStorageAllocatedInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total working storage in bytes allocated for the gateway. If no working storage is\n configured for the gateway, this field returns 0.

" } } @@ -4089,12 +4102,14 @@ "NetworkInterfacePort": { "target": "com.amazonaws.storagegateway#integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port used to communicate with iSCSI VTL device targets.

" } }, "ChapEnabled": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether mutual CHAP is enabled for the iSCSI target.

" } } @@ -4184,6 +4199,7 @@ "ForceDelete": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If this value is set to true, the operation disassociates an Amazon FSx file\n system immediately. It ends all data uploads to the file system, and the file system\n association enters the FORCE_DELETING status. If this value is set to false,\n the Amazon FSx file system does not disassociate until all data is uploaded.

" } } @@ -4230,6 +4246,7 @@ "DiskSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The local disk size in bytes.

" } }, @@ -4335,10 +4352,7 @@ } }, "com.amazonaws.storagegateway#DoubleObject": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.storagegateway#Ec2InstanceId": { "type": "string" @@ -5140,7 +5154,6 @@ "com.amazonaws.storagegateway#HourOfDay": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 23 @@ -6074,7 +6087,6 @@ "com.amazonaws.storagegateway#MinimumNumTapes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -6084,7 +6096,6 @@ "com.amazonaws.storagegateway#MinuteOfHour": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 59 @@ -6144,6 +6155,7 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own\n KMS key, or false to use a key managed by Amazon S3.\n Optional.

\n\n

Valid Values: true | false\n

" } }, @@ -6351,7 +6363,6 @@ "com.amazonaws.storagegateway#NumTapesToCreate": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -6412,7 +6423,6 @@ "com.amazonaws.storagegateway#PermissionId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967294 @@ -6531,7 +6541,6 @@ "com.amazonaws.storagegateway#PositiveIntObject": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -6540,7 +6549,6 @@ "com.amazonaws.storagegateway#RecurrenceInHours": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 24 @@ -6724,7 +6732,6 @@ "com.amazonaws.storagegateway#RetentionLockTimeInDays": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 36500 @@ -6890,6 +6897,7 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true to use Amazon S3 server-side encryption with your own\n KMS key, or false to use a key managed by Amazon S3.\n Optional.

\n\n

Valid Values: true | false\n

" } }, @@ -7393,24 +7401,6 @@ }, "com.amazonaws.storagegateway#StorageGateway_20130630": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Storage Gateway", - "arnNamespace": "storagegateway", - "cloudFormationName": "StorageGateway", - "cloudTrailEventSource": "storagegateway.amazonaws.com", - "endpointPrefix": "storagegateway" - }, - "aws.auth#sigv4": { - "name": "storagegateway" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Storage Gateway Service\n\n

Storage Gateway is the service that connects an on-premises software appliance\n with cloud-based storage to provide seamless and secure integration between an\n organization's on-premises IT environment and the Amazon Web Services storage\n infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

\n\n

Use the following links to get started using the Storage Gateway\n Service API Reference:

\n\n \n\n \n

Storage Gateway resource IDs are in uppercase. When you use these resource IDs\n with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change\n your resource ID to lowercase to use it with the EC2 API. For example, in Storage\n Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use\n this ID with the EC2 API, you must change it to vol-aa22bb012345daf670.\n Otherwise, the EC2 API might not behave as expected.

\n
\n\n \n

IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway\n volumes are changing to a longer format. Starting in December 2016, all new volumes and\n snapshots will be created with a 17-character string. Starting in April 2016, you will\n be able to use these longer IDs so you can test your systems with the new format. For\n more information, see Longer EC2 and\n EBS resource IDs.

\n\n

For example, a volume Amazon Resource Name (ARN) with the longer volume ID format\n looks like the following:

\n\n

\n arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.

\n\n

A snapshot ID with the longer ID format looks like the following:\n snap-78e226633445566ee.

\n\n

For more information, see Announcement:\n Heads-up – Longer Storage Gateway volume and snapshot IDs coming in\n 2016.

\n
", - "smithy.api#title": "AWS Storage Gateway", - "smithy.api#xmlNamespace": { - "uri": "http://storagegateway.amazonaws.com/doc/2013-06-30" - } - }, "version": "2013-06-30", "operations": [ { @@ -7683,7 +7673,25 @@ { "target": "com.amazonaws.storagegateway#UpdateVTLDeviceType" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Storage Gateway", + "arnNamespace": "storagegateway", + "cloudFormationName": "StorageGateway", + "cloudTrailEventSource": "storagegateway.amazonaws.com", + "endpointPrefix": "storagegateway" + }, + "aws.auth#sigv4": { + "name": "storagegateway" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Storage Gateway Service\n\n

Storage Gateway is the service that connects an on-premises software appliance\n with cloud-based storage to provide seamless and secure integration between an\n organization's on-premises IT environment and the Amazon Web Services storage\n infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

\n\n

Use the following links to get started using the Storage Gateway\n Service API Reference:

\n\n \n\n \n

Storage Gateway resource IDs are in uppercase. When you use these resource IDs\n with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change\n your resource ID to lowercase to use it with the EC2 API. For example, in Storage\n Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use\n this ID with the EC2 API, you must change it to vol-aa22bb012345daf670.\n Otherwise, the EC2 API might not behave as expected.

\n
\n\n \n

IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway\n volumes are changing to a longer format. Starting in December 2016, all new volumes and\n snapshots will be created with a 17-character string. Starting in April 2016, you will\n be able to use these longer IDs so you can test your systems with the new format. For\n more information, see Longer EC2 and\n EBS resource IDs.

\n\n

For example, a volume Amazon Resource Name (ARN) with the longer volume ID format\n looks like the following:

\n\n

\n arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.

\n\n

A snapshot ID with the longer ID format looks like the following:\n snap-78e226633445566ee.

\n\n

For more information, see Announcement:\n Heads-up – Longer Storage Gateway volume and snapshot IDs coming in\n 2016.

\n
", + "smithy.api#title": "AWS Storage Gateway", + "smithy.api#xmlNamespace": { + "uri": "http://storagegateway.amazonaws.com/doc/2013-06-30" + } + } }, "com.amazonaws.storagegateway#StorediSCSIVolume": { "type": "structure", @@ -7721,6 +7729,7 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume in bytes.

" } }, @@ -7745,6 +7754,7 @@ "PreservedExistingData": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates if when the stored volume was created, existing data on the underlying local\n disk was preserved.

\n\n

Valid Values: true | false\n

" } }, @@ -7908,6 +7918,7 @@ "Worm": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If the tape is archived as write-once-read-many (WORM), this value is\n true.

" } }, @@ -8010,6 +8021,7 @@ "Worm": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if the archived tape is stored as write-once-read-many\n (WORM).

" } }, @@ -8175,10 +8187,7 @@ "type": "string" }, "com.amazonaws.storagegateway#TapeSize": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.storagegateway#TapeStatus": { "type": "string" @@ -8199,10 +8208,7 @@ } }, "com.amazonaws.storagegateway#TapeUsage": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.storagegateway#Tapes": { "type": "list", @@ -8235,7 +8241,6 @@ "com.amazonaws.storagegateway#TimeoutInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 3600 @@ -9426,6 +9431,7 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume in bytes.

\n\n

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

" } }, @@ -9458,12 +9464,14 @@ "VolumeSizeInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the volume in bytes.

" } }, "VolumeUsageInBytes": { "target": "com.amazonaws.storagegateway#long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size of the data stored on the volume in bytes.

\n\n \n

This value is not available for volumes created prior to May 13, 2015, until you\n store data on the volume.

\n
" } }, @@ -9503,10 +9511,7 @@ } }, "com.amazonaws.storagegateway#VolumeUsedInBytes": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.storagegateway#VolumeiSCSIAttributes": { "type": "structure", @@ -9526,6 +9531,7 @@ "NetworkInterfacePort": { "target": "com.amazonaws.storagegateway#integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The port used to communicate with iSCSI targets.

" } }, @@ -9538,6 +9544,7 @@ "ChapEnabled": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether mutual CHAP is enabled for the iSCSI target.

" } } @@ -9547,7 +9554,10 @@ } }, "com.amazonaws.storagegateway#double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.storagegateway#errorDetails": { "type": "map", @@ -9559,10 +9569,16 @@ } }, "com.amazonaws.storagegateway#integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.storagegateway#long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.storagegateway#string": { "type": "string" diff --git a/codegen/sdk/aws-models/sts.json b/codegen/sdk/aws-models/sts.json index 8436979b512..8e671991d62 100644 --- a/codegen/sdk/aws-models/sts.json +++ b/codegen/sdk/aws-models/sts.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.sts#AWSSecurityTokenServiceV20110615": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "STS", - "arnNamespace": "sts", - "cloudFormationName": "STS", - "cloudTrailEventSource": "sts.amazonaws.com", - "endpointPrefix": "sts" - }, - "aws.auth#sigv4": { - "name": "sts" - }, - "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Security Token Service\n

Security Token Service (STS) enables you to request temporary, limited-privilege \n credentials for Identity and Access Management (IAM) users or for users that you \n authenticate (federated users). This guide provides descriptions of the STS API. For \n more information about using this service, see Temporary Security Credentials.

", - "smithy.api#title": "AWS Security Token Service", - "smithy.api#xmlNamespace": { - "uri": "https://sts.amazonaws.com/doc/2011-06-15/" - } - }, "version": "2011-06-15", "operations": [ { @@ -75,7 +57,25 @@ { "target": "com.amazonaws.sts#GetSessionToken" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "STS", + "arnNamespace": "sts", + "cloudFormationName": "STS", + "cloudTrailEventSource": "sts.amazonaws.com", + "endpointPrefix": "sts" + }, + "aws.auth#sigv4": { + "name": "sts" + }, + "aws.protocols#awsQuery": {}, + "smithy.api#documentation": "Security Token Service\n

Security Token Service (STS) enables you to request temporary, limited-privilege \n credentials for Identity and Access Management (IAM) users or for users that you \n authenticate (federated users). This guide provides descriptions of the STS API. For \n more information about using this service, see Temporary Security Credentials.

", + "smithy.api#title": "AWS Security Token Service", + "smithy.api#xmlNamespace": { + "uri": "https://sts.amazonaws.com/doc/2011-06-15/" + } + } }, "com.amazonaws.sts#AssumeRole": { "type": "operation", @@ -1070,7 +1070,6 @@ "com.amazonaws.sts#durationSecondsType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 129600 @@ -1127,7 +1126,6 @@ "com.amazonaws.sts#nonNegativeIntegerType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -1148,7 +1146,6 @@ "com.amazonaws.sts#roleDurationSecondsType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 900, "max": 43200 diff --git a/codegen/sdk/aws-models/support-app.json b/codegen/sdk/aws-models/support-app.json index d02fecf7e4b..ad2bfda7c9c 100644 --- a/codegen/sdk/aws-models/support-app.json +++ b/codegen/sdk/aws-models/support-app.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.supportapp#AccessDeniedException": { "type": "structure", @@ -603,19 +603,6 @@ }, "com.amazonaws.supportapp#SupportApp": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Support App", - "arnNamespace": "supportapp" - }, - "aws.auth#sigv4": { - "name": "supportapp" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "Amazon Web Services Support App in Slack\n

You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your\n Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can\n perform the following tasks directly in your Slack channel:

\n \n

For more information about how to perform these actions in Slack, see the following\n documentation in the Amazon Web Services Support User Guide:

\n \n

You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack\n configurations. For more information, see Authorize a\n Slack workspace to enable the Amazon Web Services Support App.

\n\n \n \n ", - "smithy.api#title": "AWS Support App" - }, "version": "2021-08-20", "operations": [ { @@ -645,7 +632,20 @@ { "target": "com.amazonaws.supportapp#UpdateSlackChannelConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Support App", + "arnNamespace": "supportapp" + }, + "aws.auth#sigv4": { + "name": "supportapp" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "Amazon Web Services Support App in Slack\n

You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your\n Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can\n perform the following tasks directly in your Slack channel:

\n \n

For more information about how to perform these actions in Slack, see the following\n documentation in the Amazon Web Services Support User Guide:

\n \n

You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack\n configurations. For more information, see Authorize a\n Slack workspace to enable the Amazon Web Services Support App.

\n\n \n \n ", + "smithy.api#title": "AWS Support App" + } }, "com.amazonaws.supportapp#UpdateSlackChannelConfiguration": { "type": "operation", @@ -813,10 +813,7 @@ } }, "com.amazonaws.supportapp#booleanValue": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.supportapp#channelId": { "type": "string", @@ -878,4 +875,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/support.json b/codegen/sdk/aws-models/support.json index 00cd9b6facb..55b226d2643 100644 --- a/codegen/sdk/aws-models/support.json +++ b/codegen/sdk/aws-models/support.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -31,24 +31,6 @@ "shapes": { "com.amazonaws.support#AWSSupport_20130415": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Support", - "arnNamespace": "support", - "cloudFormationName": "Support", - "cloudTrailEventSource": "support.amazonaws.com", - "endpointPrefix": "support" - }, - "aws.auth#sigv4": { - "name": "support" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "Amazon Web Services Support\n

The Amazon Web Services Support API Reference is intended for programmers who need detailed\n information about the Amazon Web Services Support operations and data types. You can use the API to manage\n your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return\n results in JSON format.

\n \n \n \n

The Amazon Web Services Support service also exposes a set of Trusted Advisor features. You can\n retrieve a list of checks and their descriptions, get check results, specify checks to\n refresh, and get the refresh status of checks.

\n

The following list describes the Amazon Web Services Support case management operations:

\n \n

The following list describes the operations available from the Amazon Web Services Support service for\n Trusted Advisor:

\n \n

For authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing\n Process.

\n

See About the\n Amazon Web Services Support API in the Amazon Web Services Support User Guide for\n information about how to use this service to create and manage your support cases, and\n how to call Trusted Advisor for results of checks on your resources.

", - "smithy.api#title": "AWS Support", - "smithy.api#xmlNamespace": { - "uri": "http://support.amazonaws.com/doc/2013-04-15/" - } - }, "version": "2013-04-15", "operations": [ { @@ -93,7 +75,25 @@ { "target": "com.amazonaws.support#ResolveCase" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Support", + "arnNamespace": "support", + "cloudFormationName": "Support", + "cloudTrailEventSource": "support.amazonaws.com", + "endpointPrefix": "support" + }, + "aws.auth#sigv4": { + "name": "support" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "Amazon Web Services Support\n

The Amazon Web Services Support API Reference is intended for programmers who need detailed\n information about the Amazon Web Services Support operations and data types. You can use the API to manage\n your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return\n results in JSON format.

\n \n \n \n

The Amazon Web Services Support service also exposes a set of Trusted Advisor features. You can\n retrieve a list of checks and their descriptions, get check results, specify checks to\n refresh, and get the refresh status of checks.

\n

The following list describes the Amazon Web Services Support case management operations:

\n \n

The following list describes the operations available from the Amazon Web Services Support service for\n Trusted Advisor:

\n \n

For authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing\n Process.

\n

See About the\n Amazon Web Services Support API in the Amazon Web Services Support User Guide for\n information about how to use this service to create and manage your support cases, and\n how to call Trusted Advisor for results of checks on your resources.

", + "smithy.api#title": "AWS Support", + "smithy.api#xmlNamespace": { + "uri": "http://support.amazonaws.com/doc/2013-04-15/" + } + } }, "com.amazonaws.support#AddAttachmentsToSet": { "type": "operation", @@ -224,6 +224,7 @@ "result": { "target": "com.amazonaws.support#Result", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

True if AddCommunicationToCase succeeds. Otherwise, returns an\n error.

" } } @@ -372,7 +373,10 @@ "type": "string" }, "com.amazonaws.support#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.support#CaseCreationLimitExceeded": { "type": "structure", @@ -820,6 +824,7 @@ "includeResolvedCases": { "target": "com.amazonaws.support#IncludeResolvedCases", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to include resolved support cases in the DescribeCases\n response. By default, resolved cases aren't included.

" } }, @@ -1229,7 +1234,10 @@ "type": "string" }, "com.amazonaws.support#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.support#ErrorMessage": { "type": "string" @@ -1241,14 +1249,14 @@ "type": "string" }, "com.amazonaws.support#IncludeCommunications": { + "type": "boolean" + }, + "com.amazonaws.support#IncludeResolvedCases": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, - "com.amazonaws.support#IncludeResolvedCases": { - "type": "boolean" - }, "com.amazonaws.support#InternalServerError": { "type": "structure", "members": { @@ -1271,12 +1279,14 @@ "type": "string" }, "com.amazonaws.support#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.support#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 10, "max": 100 @@ -1405,7 +1415,10 @@ } }, "com.amazonaws.support#Result": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.support#Service": { "type": "structure", @@ -1599,6 +1612,7 @@ "millisUntilNextRefreshable": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of time, in milliseconds, until the Trusted Advisor check is eligible for\n refresh.

", "smithy.api#required": {} } @@ -1690,6 +1704,7 @@ "hasFlaggedResources": { "target": "com.amazonaws.support#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Trusted Advisor check has flagged resources.

" } }, @@ -1723,6 +1738,7 @@ "estimatedMonthlySavings": { "target": "com.amazonaws.support#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated monthly savings that might be realized if the recommended operations are\n taken.

", "smithy.api#required": {} } @@ -1730,6 +1746,7 @@ "estimatedPercentMonthlySavings": { "target": "com.amazonaws.support#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated percentage of savings that might be realized if the recommended\n operations are taken.

", "smithy.api#required": {} } @@ -1765,6 +1782,7 @@ "isSuppressed": { "target": "com.amazonaws.support#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the Amazon Web Services resource was ignored by Trusted Advisor because it was\n marked as suppressed by the user.

" } }, @@ -1792,6 +1810,7 @@ "resourcesProcessed": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources that were analyzed by the Trusted Advisor check.

", "smithy.api#required": {} } @@ -1799,6 +1818,7 @@ "resourcesFlagged": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources that were flagged (listed) by the Trusted Advisor\n check.

", "smithy.api#required": {} } @@ -1806,6 +1826,7 @@ "resourcesIgnored": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources ignored by Trusted Advisor because information was\n unavailable.

", "smithy.api#required": {} } @@ -1813,6 +1834,7 @@ "resourcesSuppressed": { "target": "com.amazonaws.support#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of Amazon Web Services resources ignored by Trusted Advisor because they were marked as\n suppressed by the user.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/swf.json b/codegen/sdk/aws-models/swf.json index cd7586a4cd3..3eb879744d8 100644 --- a/codegen/sdk/aws-models/swf.json +++ b/codegen/sdk/aws-models/swf.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -58,6 +58,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded in the history.

", "smithy.api#required": {} } @@ -93,6 +94,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -121,6 +123,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -128,6 +131,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -135,6 +139,7 @@ "latestCancelRequestedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

If set, contains the ID of the last ActivityTaskCancelRequested event recorded for this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

" } } @@ -155,6 +160,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -162,6 +168,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -189,6 +196,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -196,6 +204,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -268,6 +277,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -295,6 +305,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -310,6 +321,7 @@ "cancelRequested": { "target": "com.amazonaws.swf#Canceled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if cancellation of the task is requested.

", "smithy.api#required": {} } @@ -332,6 +344,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this activity task was scheduled. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -339,6 +352,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event recorded when this activity task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -592,6 +606,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -643,6 +658,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -653,7 +669,10 @@ } }, "com.amazonaws.swf#Canceled": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.swf#CauseMessage": { "type": "string", @@ -709,6 +728,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -716,6 +736,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -751,6 +772,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -758,6 +780,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -799,6 +822,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -806,6 +830,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -835,6 +860,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -864,6 +890,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -871,6 +898,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -907,6 +935,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -914,6 +943,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was\n started. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1011,6 +1041,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1138,6 +1169,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1150,6 +1182,7 @@ "com.amazonaws.swf#Count": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -1479,6 +1512,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded in the history.

", "smithy.api#required": {} } @@ -1513,6 +1547,7 @@ "previousStartedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event of the previous decision task of this workflow execution that was processed by the decider. This can be used to determine the events in the history new since the last decision task received by the decider.

" } } @@ -1533,6 +1568,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1540,6 +1576,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded when this decision task was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1588,6 +1625,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1610,6 +1648,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskScheduled event that was recorded when this decision task was scheduled.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -1617,6 +1656,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskStarted event recorded when this decision task was started. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -1713,6 +1753,9 @@ "input": { "target": "com.amazonaws.swf#DeprecateActivityTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -1752,6 +1795,9 @@ "input": { "target": "com.amazonaws.swf#DeprecateDomainInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#DomainDeprecatedFault" @@ -1784,6 +1830,9 @@ "input": { "target": "com.amazonaws.swf#DeprecateWorkflowTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -2144,7 +2193,10 @@ "type": "string" }, "com.amazonaws.swf#EventId": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.swf#EventType": { "type": "string", @@ -2418,6 +2470,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -2440,6 +2493,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -2497,6 +2551,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -2594,12 +2649,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimeStamp of the\n events.

" } } @@ -2646,6 +2703,7 @@ "eventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.

", "smithy.api#required": {} } @@ -3000,6 +3058,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n Lambda task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3007,6 +3066,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3028,6 +3088,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3035,6 +3096,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionStarted event recorded when this activity task\n started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3094,6 +3156,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3109,6 +3172,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3124,6 +3188,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3131,6 +3196,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskStarted event that was recorded when this\n activity task started. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -3239,12 +3305,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the activity\n types.

" } } @@ -3331,12 +3399,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start or the close time of the\n executions.

" } } @@ -3384,12 +3454,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default, the\n results are returned in ascending alphabetical order by name of the\n domains.

" } } @@ -3459,12 +3531,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in descending order of the start time of the executions.

" } }, @@ -3580,12 +3654,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the results in reverse order. By default the\n results are returned in ascending alphabetical order of the name of the workflow\n types.

" } } @@ -3619,6 +3695,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarker decision that requested this marker. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -3640,6 +3717,7 @@ "com.amazonaws.swf#OpenDecisionTasksCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -3664,6 +3742,7 @@ "com.amazonaws.swf#PageSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1000 @@ -3685,6 +3764,7 @@ "count": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of tasks in the task list.

", "smithy.api#required": {} } @@ -3692,6 +3772,7 @@ "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

" } } @@ -3809,12 +3890,14 @@ "maximumPageSize": { "target": "com.amazonaws.swf#PageSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results that are returned per call.\n Use nextPageToken to obtain further pages of results.

\n

This\n is an upper limit only; the actual number of results returned per call may be fewer than the\n specified maximum.

" } }, "reverseOrder": { "target": "com.amazonaws.swf#ReverseOrder", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When set to true, returns the events in reverse order. By default the\n results are returned in ascending order of the eventTimestamp of the\n events.

" } } @@ -3910,6 +3993,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RecordMarkerFailed decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -3924,6 +4008,9 @@ "input": { "target": "com.amazonaws.swf#RegisterActivityTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -4015,6 +4102,9 @@ "input": { "target": "com.amazonaws.swf#RegisterDomainInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#DomainAlreadyExistsFault" @@ -4069,6 +4159,9 @@ "input": { "target": "com.amazonaws.swf#RegisterWorkflowTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -4220,6 +4313,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelActivityTask decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4301,6 +4395,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This\n information can be useful for diagnosing problems by tracing back the chain of events leading up to this\n event.

", "smithy.api#required": {} } @@ -4308,6 +4403,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4342,6 +4438,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n RequestCancelExternalWorkflowExecution decision for this cancellation request.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4362,6 +4459,9 @@ "input": { "target": "com.amazonaws.swf#RequestCancelWorkflowExecutionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4455,6 +4555,9 @@ "input": { "target": "com.amazonaws.swf#RespondActivityTaskCanceledInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4490,6 +4593,9 @@ "input": { "target": "com.amazonaws.swf#RespondActivityTaskCompletedInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4525,6 +4631,9 @@ "input": { "target": "com.amazonaws.swf#RespondActivityTaskFailedInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4566,6 +4675,9 @@ "input": { "target": "com.amazonaws.swf#RespondDecisionTaskCompletedInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -4606,7 +4718,10 @@ } }, "com.amazonaws.swf#ReverseOrder": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.swf#Run": { "type": "structure", @@ -4770,6 +4885,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision that resulted in the\n scheduling of this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4869,6 +4985,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the LambdaFunctionCompleted event corresponding to the decision\n that resulted in scheduling this Lambda task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

", "smithy.api#required": {} } @@ -4963,6 +5080,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflowExecution decision to request this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -4970,6 +5088,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5017,6 +5136,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5046,6 +5166,9 @@ "input": { "target": "com.amazonaws.swf#SignalWorkflowExecutionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -5385,6 +5508,7 @@ "initiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated\n event that corresponds to the StartChildWorkflowExecution \n Decision to start the workflow execution. You can use this information to diagnose\n problems by tracing back the chain of events leading up to this event.

\n

When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the \n StartChildWorkflowExecutionInitiated event doesn't exist.

", "smithy.api#required": {} } @@ -5392,6 +5516,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution \n Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

", "smithy.api#required": {} } @@ -5458,6 +5583,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartChildWorkflowExecution \n Decision to request this child workflow execution. This\n information can be useful for diagnosing problems by tracing back the cause of events.

", "smithy.api#required": {} } @@ -5509,6 +5635,7 @@ "scheduledEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the ActivityTaskScheduled event that was recorded when this\n activity task was scheduled. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

" } }, @@ -5600,6 +5727,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5756,6 +5884,9 @@ "input": { "target": "com.amazonaws.swf#TagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -5834,6 +5965,9 @@ "input": { "target": "com.amazonaws.swf#TerminateWorkflowExecutionInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -5902,6 +6036,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5909,6 +6044,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelTimer decision to cancel this timer. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5931,6 +6067,7 @@ "startedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the TimerStarted event that was recorded when this timer was started.\n This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -5975,6 +6112,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n StartTimer decision for this activity task. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6001,7 +6139,10 @@ } }, "com.amazonaws.swf#Truncated": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.swf#TypeAlreadyExistsFault": { "type": "structure", @@ -6038,6 +6179,9 @@ "input": { "target": "com.amazonaws.swf#UndeprecateActivityTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -6077,6 +6221,9 @@ "input": { "target": "com.amazonaws.swf#UndeprecateDomainInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#DomainAlreadyExistsFault" @@ -6109,6 +6256,9 @@ "input": { "target": "com.amazonaws.swf#UndeprecateWorkflowTypeInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#OperationNotPermittedFault" @@ -6163,6 +6313,9 @@ "input": { "target": "com.amazonaws.swf#UntagResourceInput" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.swf#LimitExceededFault" @@ -6275,6 +6428,7 @@ "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the\n RequestCancelExternalWorkflowExecution decision to cancel this workflow execution.The source event\n with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

" } }, @@ -6301,6 +6455,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CancelWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6322,6 +6477,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n CompleteWorkflowExecution decision to complete this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6391,6 +6547,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n ContinueAsNewWorkflowExecution decision that started this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6464,6 +6621,7 @@ "count": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of workflow executions.

", "smithy.api#required": {} } @@ -6471,6 +6629,7 @@ "truncated": { "target": "com.amazonaws.swf#Truncated", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

" } } @@ -6538,6 +6697,7 @@ "decisionTaskCompletedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the\n FailWorkflowExecution decision to fail this execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

", "smithy.api#required": {} } @@ -6620,6 +6780,7 @@ "cancelRequested": { "target": "com.amazonaws.swf#Canceled", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if a cancellation is requested for this workflow execution.

" } } @@ -6661,6 +6822,7 @@ "openActivityTasks": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of activity tasks whose status is OPEN.

", "smithy.api#required": {} } @@ -6668,6 +6830,7 @@ "openDecisionTasks": { "target": "com.amazonaws.swf#OpenDecisionTasksCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of decision tasks whose status is OPEN. A workflow execution can have at most one open decision task.

", "smithy.api#required": {} } @@ -6675,6 +6838,7 @@ "openTimers": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of timers started by this workflow execution that have not fired yet.

", "smithy.api#required": {} } @@ -6682,6 +6846,7 @@ "openChildWorkflowExecutions": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of child workflow executions whose status is OPEN.

", "smithy.api#required": {} } @@ -6689,6 +6854,7 @@ "openLambdaFunctions": { "target": "com.amazonaws.swf#Count", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The count of Lambda tasks whose status is OPEN.

" } } @@ -6722,6 +6888,7 @@ "externalInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the SignalExternalWorkflowExecutionInitiated event corresponding to the\n SignalExternalWorkflow decision to signal this workflow execution.The source event with this ID can\n be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event. This field is set only if\n the signal was initiated by another workflow execution.

" } } @@ -6799,6 +6966,7 @@ "parentInitiatedEventId": { "target": "com.amazonaws.swf#EventId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The ID of the StartChildWorkflowExecutionInitiated event corresponding to the\n StartChildWorkflowExecution \n Decision to start this workflow execution. The source event with\n this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of\n events leading up to this event.

" } }, diff --git a/codegen/sdk/aws-models/synthetics.json b/codegen/sdk/aws-models/synthetics.json index 89c330f93df..4b1e795ebba 100644 --- a/codegen/sdk/aws-models/synthetics.json +++ b/codegen/sdk/aws-models/synthetics.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1023,6 +1023,7 @@ "DeleteLambda": { "target": "com.amazonaws.synthetics#boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether to also delete the Lambda functions and layers used by this canary. The default\n is false.

\n

Type: Boolean

", "smithy.api#httpQuery": "deleteLambda" } @@ -2007,7 +2008,6 @@ "com.amazonaws.synthetics#MaxCanaryResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2017,7 +2017,6 @@ "com.amazonaws.synthetics#MaxFifteenMinutesInSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 3, "max": 840 @@ -2027,7 +2026,6 @@ "com.amazonaws.synthetics#MaxGroupResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -2037,7 +2035,6 @@ "com.amazonaws.synthetics#MaxOneYearInSeconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 31622400 @@ -2047,7 +2044,6 @@ "com.amazonaws.synthetics#MaxSize100": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -2057,7 +2053,6 @@ "com.amazonaws.synthetics#MaxSize1024": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1024 @@ -2067,7 +2062,6 @@ "com.amazonaws.synthetics#MaxSize3008": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 960, "max": 3008 @@ -2088,10 +2082,7 @@ } }, "com.amazonaws.synthetics#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.synthetics#PaginationToken": { "type": "string", @@ -2363,21 +2354,6 @@ }, "com.amazonaws.synthetics#Synthetics": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "synthetics", - "arnNamespace": "synthetics", - "cloudFormationName": "Synthetics", - "cloudTrailEventSource": "synthetics.amazonaws.com", - "endpointPrefix": "synthetics" - }, - "aws.auth#sigv4": { - "name": "synthetics" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Amazon CloudWatch Synthetics\n

You can use Amazon CloudWatch Synthetics to continually monitor your services. You can\n create and manage canaries, which are modular, lightweight scripts \n that monitor your endpoints and APIs\n from the outside-in. You can set up your canaries to run\n 24 hours a day, once per minute. The canaries help you check the availability and latency\n of your web services and troubleshoot anomalies by investigating load time data,\n screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch\n ServiceLens to help you trace the causes of impacted nodes in your applications. For more\n information, see Using ServiceLens to Monitor\n the Health of Your Applications in the Amazon CloudWatch User\n Guide.

\n \n

Before you create and manage canaries, be aware of the security considerations. For more\n information, see Security\n Considerations for Synthetics Canaries.

", - "smithy.api#title": "Synthetics" - }, "version": "2017-10-11", "operations": [ { @@ -2443,7 +2419,22 @@ { "target": "com.amazonaws.synthetics#UpdateCanary" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "synthetics", + "arnNamespace": "synthetics", + "cloudFormationName": "Synthetics", + "cloudTrailEventSource": "synthetics.amazonaws.com", + "endpointPrefix": "synthetics" + }, + "aws.auth#sigv4": { + "name": "synthetics" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Amazon CloudWatch Synthetics\n

You can use Amazon CloudWatch Synthetics to continually monitor your services. You can\n create and manage canaries, which are modular, lightweight scripts \n that monitor your endpoints and APIs\n from the outside-in. You can set up your canaries to run\n 24 hours a day, once per minute. The canaries help you check the availability and latency\n of your web services and troubleshoot anomalies by investigating load time data,\n screenshots of the UI, logs, and metrics. The canaries seamlessly integrate with CloudWatch\n ServiceLens to help you trace the causes of impacted nodes in your applications. For more\n information, see Using ServiceLens to Monitor\n the Health of Your Applications in the Amazon CloudWatch User\n Guide.

\n \n

Before you create and manage canaries, be aware of the security considerations. For more\n information, see Security\n Considerations for Synthetics Canaries.

", + "smithy.api#title": "Synthetics" + } }, "com.amazonaws.synthetics#TagKey": { "type": "string", @@ -2860,7 +2851,10 @@ "type": "string" }, "com.amazonaws.synthetics#boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } } } } diff --git a/codegen/sdk/aws-models/textract.json b/codegen/sdk/aws-models/textract.json index f1ee55b2002..1c416251254 100644 --- a/codegen/sdk/aws-models/textract.json +++ b/codegen/sdk/aws-models/textract.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -490,24 +490,28 @@ "Width": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The width of the bounding box as a ratio of the overall document page\n width.

" } }, "Height": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The height of the bounding box as a ratio of the overall document page\n height.

" } }, "Left": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The left coordinate of the bounding box as a ratio of overall document page\n width.

" } }, "Top": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The top coordinate of the bounding box as a ratio of overall document page\n height.

" } } @@ -871,7 +875,10 @@ } }, "com.amazonaws.textract#Float": { - "type": "float" + "type": "float", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.textract#FlowDefinitionArn": { "type": "string", @@ -1632,7 +1639,6 @@ "com.amazonaws.textract#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -1726,7 +1732,6 @@ "com.amazonaws.textract#Percent": { "type": "float", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -1739,12 +1744,14 @@ "X": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the X coordinate for a point on a Polygon.

" } }, "Y": { "target": "com.amazonaws.textract#Float", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the Y coordinate for a point on a Polygon.

" } } @@ -2358,21 +2365,6 @@ }, "com.amazonaws.textract#Textract": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Textract", - "arnNamespace": "textract", - "cloudFormationName": "Textract", - "cloudTrailEventSource": "textract.amazonaws.com", - "endpointPrefix": "textract" - }, - "aws.auth#sigv4": { - "name": "textract" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon Textract detects and analyzes text in documents and converts it\n into machine-readable text. This is the API reference documentation for\n Amazon Textract.

", - "smithy.api#title": "Amazon Textract" - }, "version": "2018-06-27", "operations": [ { @@ -2405,7 +2397,22 @@ { "target": "com.amazonaws.textract#StartExpenseAnalysis" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Textract", + "arnNamespace": "textract", + "cloudFormationName": "Textract", + "cloudTrailEventSource": "textract.amazonaws.com", + "endpointPrefix": "textract" + }, + "aws.auth#sigv4": { + "name": "textract" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon Textract detects and analyzes text in documents and converts it\n into machine-readable text. This is the API reference documentation for\n Amazon Textract.

", + "smithy.api#title": "Amazon Textract" + } }, "com.amazonaws.textract#ThrottlingException": { "type": "structure", @@ -2425,7 +2432,6 @@ "com.amazonaws.textract#UInteger": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } diff --git a/codegen/sdk/aws-models/timestream-query.json b/codegen/sdk/aws-models/timestream-query.json index a2cd21ad2ef..6145586d367 100644 --- a/codegen/sdk/aws-models/timestream-query.json +++ b/codegen/sdk/aws-models/timestream-query.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -343,6 +343,9 @@ "input": { "target": "com.amazonaws.timestreamquery#DeleteScheduledQueryRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamquery#AccessDeniedException" @@ -521,7 +524,10 @@ } }, "com.amazonaws.timestreamquery#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamquery#Endpoint": { "type": "structure", @@ -536,6 +542,7 @@ "CachePeriodInMinutes": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The TTL for the endpoint, in minutes.

", "smithy.api#required": {} } @@ -588,6 +595,9 @@ "input": { "target": "com.amazonaws.timestreamquery#ExecuteScheduledQueryRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamquery#AccessDeniedException" @@ -648,30 +658,35 @@ "ExecutionTimeInMillis": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total time, measured in milliseconds, that was needed for the scheduled query run to complete.

" } }, "DataWrites": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Data writes metered for records ingested in a single scheduled query run.

" } }, "BytesMetered": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Bytes metered for a single scheduled query run.

" } }, "RecordsIngested": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of records ingested for a single scheduled query run.

" } }, "QueryResultRows": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Number of rows present in the output from running a query before ingestion to\n destination data source.

" } } @@ -855,12 +870,14 @@ } }, "com.amazonaws.timestreamquery#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamquery#MaxQueryResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -870,7 +887,6 @@ "com.amazonaws.timestreamquery#MaxScheduledQueriesResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -880,7 +896,6 @@ "com.amazonaws.timestreamquery#MaxTagsForResourceResult": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 200 @@ -1046,10 +1061,7 @@ } }, "com.amazonaws.timestreamquery#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.timestreamquery#PaginationToken": { "type": "string", @@ -1307,18 +1319,21 @@ "ProgressPercentage": { "target": "com.amazonaws.timestreamquery#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The progress of the query, expressed as a percentage.

" } }, "CumulativeBytesScanned": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of data scanned by the query in bytes. This is a cumulative sum and\n represents the total amount of bytes scanned since the query was started.

" } }, "CumulativeBytesMetered": { "target": "com.amazonaws.timestreamquery#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The amount of data scanned by the query in bytes that you will be charged for. This is\n a cumulative sum and represents the total amount of data that you will be charged for\n since the query was started. The charge is applied only once and is either applied when\n the query completes running or when the query is cancelled.

" } } @@ -2201,25 +2216,6 @@ }, "com.amazonaws.timestreamquery#Timestream_20181101": { "type": "service", - "traits": { - "aws.api#clientEndpointDiscovery": { - "operation": "com.amazonaws.timestreamquery#DescribeEndpoints", - "error": "com.amazonaws.timestreamquery#InvalidEndpointException" - }, - "aws.api#service": { - "sdkId": "Timestream Query", - "arnNamespace": "timestream", - "cloudFormationName": "TimestreamQuery", - "cloudTrailEventSource": "timestreamquery.amazonaws.com", - "endpointPrefix": "query.timestream" - }, - "aws.auth#sigv4": { - "name": "timestream" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon Timestream Query\n \n

", - "smithy.api#title": "Amazon Timestream Query" - }, "version": "2018-11-01", "operations": [ { @@ -2261,7 +2257,26 @@ { "target": "com.amazonaws.timestreamquery#UpdateScheduledQuery" } - ] + ], + "traits": { + "aws.api#clientEndpointDiscovery": { + "operation": "com.amazonaws.timestreamquery#DescribeEndpoints", + "error": "com.amazonaws.timestreamquery#InvalidEndpointException" + }, + "aws.api#service": { + "sdkId": "Timestream Query", + "arnNamespace": "timestream", + "cloudFormationName": "TimestreamQuery", + "cloudTrailEventSource": "timestreamquery.amazonaws.com", + "endpointPrefix": "query.timestream" + }, + "aws.auth#sigv4": { + "name": "timestream" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon Timestream Query\n \n

", + "smithy.api#title": "Amazon Timestream Query" + } }, "com.amazonaws.timestreamquery#Type": { "type": "structure", @@ -2352,6 +2367,9 @@ "input": { "target": "com.amazonaws.timestreamquery#UpdateScheduledQueryRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamquery#AccessDeniedException" diff --git a/codegen/sdk/aws-models/timestream-write.json b/codegen/sdk/aws-models/timestream-write.json index 6495a50d738..76a62ef3321 100644 --- a/codegen/sdk/aws-models/timestream-write.json +++ b/codegen/sdk/aws-models/timestream-write.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -55,10 +55,7 @@ } }, "com.amazonaws.timestreamwrite#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.timestreamwrite#ConflictException": { "type": "structure", @@ -256,6 +253,7 @@ "TableCount": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of tables found within a Timestream database.

" } }, @@ -296,6 +294,9 @@ "input": { "target": "com.amazonaws.timestreamwrite#DeleteDatabaseRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" @@ -340,6 +341,9 @@ "input": { "target": "com.amazonaws.timestreamwrite#DeleteTableRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.timestreamwrite#AccessDeniedException" @@ -612,6 +616,7 @@ "CachePeriodInMinutes": { "target": "com.amazonaws.timestreamwrite#Long", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The TTL for the endpoint, in minutes.

", "smithy.api#required": {} } @@ -631,7 +636,10 @@ "type": "string" }, "com.amazonaws.timestreamwrite#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamwrite#InternalServerException": { "type": "structure", @@ -866,7 +874,10 @@ } }, "com.amazonaws.timestreamwrite#Long": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamwrite#MagneticStoreRejectedDataLocation": { "type": "structure", @@ -885,6 +896,7 @@ "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 73000 @@ -981,6 +993,7 @@ "com.amazonaws.timestreamwrite#MemoryStoreRetentionPeriodInHours": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 8766 @@ -990,7 +1003,6 @@ "com.amazonaws.timestreamwrite#PaginationLimit": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 20 @@ -1039,7 +1051,7 @@ "Version": { "target": "com.amazonaws.timestreamwrite#RecordVersion", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

64-bit attribute used for record updates. \n Write requests for duplicate data with a higher version number will update the existing measure value and version. \n In cases where the measure value is the same, Version will still be updated . Default value is 1.

\n \n \n

\n Version must be 1 or greater, or you will receive a ValidationException error.

\n
" } }, @@ -1055,10 +1067,16 @@ } }, "com.amazonaws.timestreamwrite#RecordIndex": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamwrite#RecordVersion": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.timestreamwrite#Records": { "type": "list", @@ -1078,18 +1096,21 @@ "Total": { "target": "com.amazonaws.timestreamwrite#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Total count of successfully ingested records.

" } }, "MemoryStore": { "target": "com.amazonaws.timestreamwrite#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Count of records ingested into the memory store.

" } }, "MagneticStore": { "target": "com.amazonaws.timestreamwrite#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Count of records ingested into the magnetic store.

" } } @@ -1104,6 +1125,7 @@ "RecordIndex": { "target": "com.amazonaws.timestreamwrite#RecordIndex", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

\nThe index of the record in the input request for WriteRecords. Indexes begin with 0. \n

" } }, @@ -1116,7 +1138,7 @@ "ExistingVersion": { "target": "com.amazonaws.timestreamwrite#RecordVersion", "traits": { - "smithy.api#box": {}, + "smithy.api#default": null, "smithy.api#documentation": "

The existing version of the record. \n This value is populated in scenarios where an identical record exists with a higher version than the version in the write request.

" } } @@ -1175,6 +1197,7 @@ "MemoryStoreRetentionPeriodInHours": { "target": "com.amazonaws.timestreamwrite#MemoryStoreRetentionPeriodInHours", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration for which data must be stored in the memory store.

", "smithy.api#required": {} } @@ -1182,6 +1205,7 @@ "MagneticStoreRetentionPeriodInDays": { "target": "com.amazonaws.timestreamwrite#MagneticStoreRetentionPeriodInDays", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration for which data must be stored in the magnetic store.

", "smithy.api#required": {} } @@ -1540,25 +1564,6 @@ }, "com.amazonaws.timestreamwrite#Timestream_20181101": { "type": "service", - "traits": { - "aws.api#clientEndpointDiscovery": { - "operation": "com.amazonaws.timestreamwrite#DescribeEndpoints", - "error": "com.amazonaws.timestreamwrite#InvalidEndpointException" - }, - "aws.api#service": { - "sdkId": "Timestream Write", - "arnNamespace": "timestream", - "cloudFormationName": "TimestreamWrite", - "cloudTrailEventSource": "timestreamwrite.amazonaws.com", - "endpointPrefix": "ingest.timestream" - }, - "aws.auth#sigv4": { - "name": "timestream" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "Amazon Timestream Write\n

Amazon Timestream is a fast, scalable, fully managed time series database service that makes it easy to store and analyze trillions of time series data points per day. \n With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. \n You can analyze industrial telemetry to streamline equipment management and maintenance. \n You can also store and analyze log data and metrics to improve the performance and availability of your applications. \n Timestream is built from the ground up to effectively ingest, process, \n and store time series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.

", - "smithy.api#title": "Amazon Timestream Write" - }, "version": "2018-11-01", "operations": [ { @@ -1606,7 +1611,26 @@ { "target": "com.amazonaws.timestreamwrite#WriteRecords" } - ] + ], + "traits": { + "aws.api#clientEndpointDiscovery": { + "operation": "com.amazonaws.timestreamwrite#DescribeEndpoints", + "error": "com.amazonaws.timestreamwrite#InvalidEndpointException" + }, + "aws.api#service": { + "sdkId": "Timestream Write", + "arnNamespace": "timestream", + "cloudFormationName": "TimestreamWrite", + "cloudTrailEventSource": "timestreamwrite.amazonaws.com", + "endpointPrefix": "ingest.timestream" + }, + "aws.auth#sigv4": { + "name": "timestream" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "Amazon Timestream Write\n

Amazon Timestream is a fast, scalable, fully managed time series database service that makes it easy to store and analyze trillions of time series data points per day. \n With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. \n You can analyze industrial telemetry to streamline equipment management and maintenance. \n You can also store and analyze log data and metrics to improve the performance and availability of your applications. \n Timestream is built from the ground up to effectively ingest, process, \n and store time series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.

", + "smithy.api#title": "Amazon Timestream Write" + } }, "com.amazonaws.timestreamwrite#UntagResource": { "type": "operation", diff --git a/codegen/sdk/aws-models/transcribe-streaming.json b/codegen/sdk/aws-models/transcribe-streaming.json index 0fc0c6da42d..1eb87c1dd75 100644 --- a/codegen/sdk/aws-models/transcribe-streaming.json +++ b/codegen/sdk/aws-models/transcribe-streaming.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -108,14 +108,14 @@ } }, "com.amazonaws.transcribestreaming#Boolean": { - "type": "boolean" - }, - "com.amazonaws.transcribestreaming#Confidence": { - "type": "double", + "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.transcribestreaming#Confidence": { + "type": "double" + }, "com.amazonaws.transcribestreaming#ConflictException": { "type": "structure", "members": { @@ -152,7 +152,10 @@ } }, "com.amazonaws.transcribestreaming#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.transcribestreaming#Entity": { "type": "structure", @@ -160,12 +163,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The start time of speech that was identified as PII.

" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The end time of speech that was identified as PII.

" } }, @@ -223,12 +228,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The offset from the beginning of the audio stream to the beginning of the audio that\n resulted in the item.

" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The offset from the beginning of the audio stream to the end of the audio that resulted in\n the item.

" } }, @@ -247,6 +254,7 @@ "VocabularyFilterMatch": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether a word in the item matches a word in the vocabulary filter you've chosen\n for your media stream. If true then a word in the item matches your\n vocabulary filter.

" } }, @@ -377,6 +385,7 @@ "Score": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The confidence score for the associated language code. Confidence scores are values\n between zero and one; larger values indicate a higher confidence in the identified language.\n

" } } @@ -420,7 +429,6 @@ "com.amazonaws.transcribestreaming#MediaSampleRateHertz": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 8000, "max": 48000 @@ -476,12 +484,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The start time of the speech that was identified as a medical entity.

" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The end time of the speech that was identified as a medical entity.

" } }, @@ -520,12 +530,14 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds into an audio stream that indicates the creation time of an\n item.

" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of seconds into an audio stream that indicates the creation time of an\n item.

" } }, @@ -576,18 +588,21 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in seconds, from the beginning of the audio stream to the beginning of the\n result.

" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The time, in seconds, from the beginning of the audio stream to the end of the\n result.

" } }, "IsPartial": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Amazon Transcribe Medical divides the incoming audio stream into segments at natural points in the audio.\n Transcription results are returned based on these segments.

\n

The IsPartial field is true to indicate that Amazon Transcribe Medical has\n additional transcription data to send. The IsPartial field is\n false to indicate that this is the last transcription result for the\n segment.

" } }, @@ -685,7 +700,6 @@ "com.amazonaws.transcribestreaming#NumberOfChannels": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2 } @@ -735,18 +749,21 @@ "StartTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The offset in seconds from the beginning of the audio stream to the beginning of the\n result.

" } }, "EndTime": { "target": "com.amazonaws.transcribestreaming#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The offset in seconds from the beginning of the audio stream to the end of the\n result.

" } }, "IsPartial": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Amazon Transcribe divides the incoming audio stream into segments at natural points in the audio.\n Transcription results are returned based on these segments.

\n

The IsPartial field is true to indicate that Amazon Transcribe has\n additional transcription data to send, false to indicate that this is the last\n transcription result for the segment.

" } }, @@ -840,10 +857,7 @@ } }, "com.amazonaws.transcribestreaming#Stable": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription": { "type": "operation", @@ -932,6 +946,7 @@ "ShowSpeakerLabel": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, enables speaker identification in your real-time\n stream.

", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } @@ -953,6 +968,7 @@ "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, instructs Amazon Transcribe Medical to process each audio channel separately and\n then merge the transcription output of each channel into a single transcription.

\n

Amazon Transcribe Medical also produces a transcription of each item. An item includes the start time,\n end time, and any alternative transcriptions.

\n

You can't set both ShowSpeakerLabel and\n EnableChannelIdentification in the same request. If you set both, your\n request returns a BadRequestException.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } @@ -1028,6 +1044,7 @@ "ShowSpeakerLabel": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Shows whether speaker identification was enabled in the stream.

", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } @@ -1049,6 +1066,7 @@ "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Shows whether channel identification has been enabled in the stream.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } @@ -1168,6 +1186,7 @@ "ShowSpeakerLabel": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, enables speaker identification in your media stream.

", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } @@ -1175,6 +1194,7 @@ "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, instructs Amazon Transcribe to process each audio channel separately,\n then merges the transcription output of each channel into a single transcription.

\n

Amazon Transcribe also produces a transcription of each item. An item includes the start time, end\n time, and any alternative transcriptions.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } @@ -1189,6 +1209,7 @@ "EnablePartialResultsStabilization": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

When true, instructs Amazon Transcribe to present transcription results that have the\n partial results stabilized. Normally, any word or phrase from one partial result can change in\n a subsequent partial result. With partial results stabilization enabled, only the last few\n words of one partial result can change in another partial result.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-partial-results-stabilization" } @@ -1231,6 +1252,7 @@ "IdentifyLanguage": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Optional. Set this value to true to enable language identification for \n your media stream.

", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } @@ -1334,6 +1356,7 @@ "ShowSpeakerLabel": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Shows whether speaker identification was enabled in the transcription.

", "smithy.api#httpHeader": "x-amzn-transcribe-show-speaker-label" } @@ -1341,6 +1364,7 @@ "EnableChannelIdentification": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Shows whether channel identification was enabled in the stream.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-channel-identification" } @@ -1355,6 +1379,7 @@ "EnablePartialResultsStabilization": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Shows whether partial results stabilization was enabled in the transcription.

", "smithy.api#httpHeader": "x-amzn-transcribe-enable-partial-results-stabilization" } @@ -1397,6 +1422,7 @@ "IdentifyLanguage": { "target": "com.amazonaws.transcribestreaming#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The language code of the language identified in your media stream.

", "smithy.api#httpHeader": "x-amzn-transcribe-identify-language" } @@ -1436,6 +1462,15 @@ }, "com.amazonaws.transcribestreaming#Transcribe": { "type": "service", + "version": "2017-10-26", + "operations": [ + { + "target": "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription" + }, + { + "target": "com.amazonaws.transcribestreaming#StartStreamTranscription" + } + ], "traits": { "aws.api#service": { "sdkId": "Transcribe Streaming", @@ -1448,21 +1483,17 @@ "name": "transcribe" }, "aws.protocols#restJson1": { - "http": ["http/1.1", "h2"], - "eventStreamHttp": ["h2"] + "http": [ + "http/1.1", + "h2" + ], + "eventStreamHttp": [ + "h2" + ] }, "smithy.api#documentation": "

Operations and objects for transcribing streaming speech to text.

", "smithy.api#title": "Amazon Transcribe Streaming Service" - }, - "version": "2017-10-26", - "operations": [ - { - "target": "com.amazonaws.transcribestreaming#StartMedicalStreamTranscription" - }, - { - "target": "com.amazonaws.transcribestreaming#StartStreamTranscription" - } - ] + } }, "com.amazonaws.transcribestreaming#Transcript": { "type": "structure", diff --git a/codegen/sdk/aws-models/transcribe.json b/codegen/sdk/aws-models/transcribe.json index 21b1b34933c..3923bf85bf7 100644 --- a/codegen/sdk/aws-models/transcribe.json +++ b/codegen/sdk/aws-models/transcribe.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -90,10 +90,7 @@ } }, "com.amazonaws.transcribe#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.transcribe#CLMLanguageCode": { "type": "string", @@ -404,6 +401,7 @@ "ChannelId": { "target": "com.amazonaws.transcribe#ChannelId", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specify the audio channel you want to define.

" } }, @@ -433,6 +431,7 @@ "com.amazonaws.transcribe#ChannelId": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -1360,10 +1359,7 @@ } }, "com.amazonaws.transcribe#DurationInSeconds": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.transcribe#FailureReason": { "type": "string" @@ -1832,10 +1828,7 @@ } }, "com.amazonaws.transcribe#IdentifiedLanguageScore": { - "type": "float", - "traits": { - "smithy.api#box": {} - } + "type": "float" }, "com.amazonaws.transcribe#InputDataConfig": { "type": "structure", @@ -3006,7 +2999,6 @@ "com.amazonaws.transcribe#MaxAlternatives": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 10 @@ -3016,7 +3008,6 @@ "com.amazonaws.transcribe#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3026,7 +3017,6 @@ "com.amazonaws.transcribe#MaxSpeakers": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 2, "max": 10 @@ -3091,7 +3081,6 @@ "com.amazonaws.transcribe#MediaSampleRateHertz": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 8000, "max": 48000 @@ -3112,7 +3101,6 @@ "com.amazonaws.transcribe#MedicalMediaSampleRateHertz": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 16000, "max": 48000 @@ -3525,7 +3513,6 @@ "com.amazonaws.transcribe#Percentage": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -4293,7 +4280,6 @@ "com.amazonaws.transcribe#SubtitleOutputStartIndex": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 1 @@ -4471,7 +4457,6 @@ "com.amazonaws.transcribe#TimestampMilliseconds": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 14400000 @@ -4480,21 +4465,6 @@ }, "com.amazonaws.transcribe#Transcribe": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Transcribe", - "arnNamespace": "transcribe", - "cloudFormationName": "Transcribe", - "cloudTrailEventSource": "transcribe.amazonaws.com", - "endpointPrefix": "transcribe" - }, - "aws.auth#sigv4": { - "name": "transcribe" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon Transcribe offers three main types of batch transcription: \n Standard, Medical, and\n Call Analytics.

\n ", - "smithy.api#title": "Amazon Transcribe Service" - }, "version": "2017-10-26", "operations": [ { @@ -4614,7 +4584,22 @@ { "target": "com.amazonaws.transcribe#UpdateVocabularyFilter" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Transcribe", + "arnNamespace": "transcribe", + "cloudFormationName": "Transcribe", + "cloudTrailEventSource": "transcribe.amazonaws.com", + "endpointPrefix": "transcribe" + }, + "aws.auth#sigv4": { + "name": "transcribe" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Amazon Transcribe offers three main types of batch transcription: \n Standard, Medical, and\n Call Analytics.

\n ", + "smithy.api#title": "Amazon Transcribe Service" + } }, "com.amazonaws.transcribe#TranscribeArn": { "type": "string", diff --git a/codegen/sdk/aws-models/transfer.json b/codegen/sdk/aws-models/transfer.json index 7dd5b896821..0baca957060 100644 --- a/codegen/sdk/aws-models/transfer.json +++ b/codegen/sdk/aws-models/transfer.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -1111,7 +1111,6 @@ "com.amazonaws.transfer#CustomStepTimeoutSeconds": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1800 @@ -3283,10 +3282,7 @@ } }, "com.amazonaws.transfer#Fips": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.transfer#Function": { "type": "string", @@ -5196,7 +5192,6 @@ "com.amazonaws.transfer#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 1000 @@ -5329,7 +5324,6 @@ "com.amazonaws.transfer#PosixId": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 4294967295 @@ -5995,10 +5989,7 @@ } }, "com.amazonaws.transfer#SshPublicKeyCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.transfer#SshPublicKeyId": { "type": "string", @@ -6156,7 +6147,10 @@ } }, "com.amazonaws.transfer#StatusCode": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.transfer#StepResultOutputsJson": { "type": "string", @@ -6427,6 +6421,7 @@ "StatusCode": { "target": "com.amazonaws.transfer#StatusCode", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The HTTP status code that is the response from your API Gateway.

", "smithy.api#required": {} } @@ -6493,21 +6488,6 @@ }, "com.amazonaws.transfer#TransferService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Transfer", - "arnNamespace": "transfer", - "cloudFormationName": "Transfer", - "cloudTrailEventSource": "transfer.amazonaws.com", - "endpointPrefix": "transfer" - }, - "aws.auth#sigv4": { - "name": "transfer" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Transfer Family is a fully managed service that enables the transfer of files over the File\n Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File\n Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS.\n Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3.\n Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating\n with existing authentication systems, and providing DNS routing with Amazon Route 53 so\n nothing changes for your customers and partners, or their applications. With your data in\n Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and\n archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and\n set up.

", - "smithy.api#title": "AWS Transfer Family" - }, "version": "2018-11-05", "operations": [ { @@ -6684,7 +6664,22 @@ { "target": "com.amazonaws.transfer#UpdateUser" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Transfer", + "arnNamespace": "transfer", + "cloudFormationName": "Transfer", + "cloudTrailEventSource": "transfer.amazonaws.com", + "endpointPrefix": "transfer" + }, + "aws.auth#sigv4": { + "name": "transfer" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Transfer Family is a fully managed service that enables the transfer of files over the File\n Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File\n Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3) or Amazon EFS.\n Additionally, you can use Applicability Statement 2 (AS2) to transfer files into and out of Amazon S3.\n Amazon Web Services helps you seamlessly migrate your file transfer workflows to Transfer Family by integrating\n with existing authentication systems, and providing DNS routing with Amazon Route 53 so\n nothing changes for your customers and partners, or their applications. With your data in\n Amazon S3, you can use it with Amazon Web Services for processing, analytics, machine learning, and\n archiving. Getting started with Transfer Family is easy since there is no infrastructure to buy and\n set up.

", + "smithy.api#title": "AWS Transfer Family" + } }, "com.amazonaws.transfer#UntagResource": { "type": "operation", @@ -7452,10 +7447,7 @@ } }, "com.amazonaws.transfer#UserCount": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.transfer#UserDetails": { "type": "structure", diff --git a/codegen/sdk/aws-models/voice-id.json b/codegen/sdk/aws-models/voice-id.json index fcd2e47cfc4..8dda4397831 100644 --- a/codegen/sdk/aws-models/voice-id.json +++ b/codegen/sdk/aws-models/voice-id.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.voiceid#AccessDeniedException": { "type": "structure", @@ -1542,10 +1542,7 @@ } }, "com.amazonaws.voiceid#Integer": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.voiceid#InternalServerException": { "type": "structure", @@ -1987,7 +1984,6 @@ "com.amazonaws.voiceid#MaxResultsForList": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1997,7 +1993,6 @@ "com.amazonaws.voiceid#MaxResultsForListDomainFe": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 10 @@ -2183,7 +2178,6 @@ "com.amazonaws.voiceid#Score": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 @@ -3121,21 +3115,6 @@ }, "com.amazonaws.voiceid#VoiceID": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Voice ID", - "arnNamespace": "voiceid", - "cloudFormationName": "VoiceID", - "cloudTrailEventSource": "voiceid.amazonaws.com", - "endpointPrefix": "voiceid" - }, - "aws.auth#sigv4": { - "name": "voiceid" - }, - "aws.protocols#awsJson1_0": {}, - "smithy.api#documentation": "

Amazon Connect Voice ID provides real-time caller authentication and fraud screening. This guide\n describes the APIs used for this service.

", - "smithy.api#title": "Amazon Voice ID" - }, "version": "2021-09-27", "operations": [ { @@ -3191,7 +3170,22 @@ { "target": "com.amazonaws.voiceid#DomainResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Voice ID", + "arnNamespace": "voiceid", + "cloudFormationName": "VoiceID", + "cloudTrailEventSource": "voiceid.amazonaws.com", + "endpointPrefix": "voiceid" + }, + "aws.auth#sigv4": { + "name": "voiceid" + }, + "aws.protocols#awsJson1_0": {}, + "smithy.api#documentation": "

Amazon Connect Voice ID provides real-time caller authentication and fraud screening. This guide\n describes the APIs used for this service.

", + "smithy.api#title": "Amazon Voice ID" + } }, "com.amazonaws.voiceid#VoiceSpoofingRisk": { "type": "structure", @@ -3209,4 +3203,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/waf-regional.json b/codegen/sdk/aws-models/waf-regional.json index 271efb6af65..a4f64e2261e 100644 --- a/codegen/sdk/aws-models/waf-regional.json +++ b/codegen/sdk/aws-models/waf-regional.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -884,6 +884,7 @@ "RateLimit": { "target": "com.amazonaws.wafregional#RateLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field that is\n specified by RateKey, allowed in a five-minute period. If the number of\n requests exceeds the RateLimit and the other predicates specified in the rule\n are also met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -4281,6 +4282,7 @@ "com.amazonaws.wafregional#GetSampledRequestsMaxItems": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -4314,6 +4316,7 @@ "MaxItems": { "target": "com.amazonaws.wafregional#GetSampledRequestsMaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received\n\t\t\tduring the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests \n\t\t\treturns information about all of them.

", "smithy.api#required": {} } @@ -4332,6 +4335,7 @@ "PopulationSize": { "target": "com.amazonaws.wafregional#PopulationSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of requests from which GetSampledRequests got a sample of MaxItems requests. \n\t\t\tIf PopulationSize is less than MaxItems, the sample includes every request that your AWS resource \n\t\t\treceived during the specified time range.

" } }, @@ -4819,10 +4823,7 @@ "type": "string" }, "com.amazonaws.wafregional#IgnoreUnsupportedType": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.wafregional#ListActivatedRulesInRuleGroup": { "type": "operation", @@ -4865,6 +4866,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of ActivatedRules that you want AWS WAF to return for this request. If you have more ActivatedRules than the number that you specify for Limit, the response includes a \n NextMarker value that you can use to get another batch of ActivatedRules.

" } } @@ -4919,6 +4921,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of ByteMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tByteMatchSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of ByteMatchSet objects.

" } } @@ -4973,6 +4976,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tGeoMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of GeoMatchSet objects.

" } } @@ -5027,6 +5031,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tIPSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of IPSet objects.

" } } @@ -5084,6 +5089,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of LoggingConfigurations that you want AWS WAF to return for this request. If you have more LoggingConfigurations than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of LoggingConfigurations.

" } } @@ -5138,6 +5144,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of Rules that you want AWS WAF to return for this\n request. If you have more Rules than the number that you specify for\n Limit, the response includes a NextMarker value that you can\n use to get another batch of Rules.

" } } @@ -5192,6 +5199,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of RegexMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexMatchSet objects.

" } } @@ -5246,6 +5254,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of RegexPatternSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexPatternSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexPatternSet objects.

" } } @@ -5352,6 +5361,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of RuleGroups that you want AWS WAF to return for this request. If you have more RuleGroups than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of RuleGroups.

" } } @@ -5406,6 +5416,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of Rules that you want AWS WAF to return for this request. If you have more \t\t\tRules than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.

" } } @@ -5460,6 +5471,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of SizeConstraintSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSizeConstraintSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of SizeConstraintSet objects.

" } } @@ -5514,6 +5526,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of SqlInjectionMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSqlInjectionMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.

" } } @@ -5574,6 +5587,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more \n\t\t\tobjects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of objects.

" } } @@ -5640,6 +5654,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

" } }, @@ -5701,6 +5716,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of WebACL objects that you want AWS WAF to return for this request. If you have more \n\t\t\tWebACL objects than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of WebACL objects.

" } } @@ -5755,6 +5771,7 @@ "Limit": { "target": "com.amazonaws.wafregional#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of XssMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tXssMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.

" } } @@ -5929,10 +5946,7 @@ } }, "com.amazonaws.wafregional#Negated": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.wafregional#NextMarker": { "type": "string", @@ -5947,6 +5961,7 @@ "com.amazonaws.wafregional#PaginationLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -6074,7 +6089,10 @@ } }, "com.amazonaws.wafregional#PopulationSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.wafregional#PositionalConstraint": { "type": "string", @@ -6310,6 +6328,7 @@ "RateLimit": { "target": "com.amazonaws.wafregional#RateLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified\n by the RateKey, allowed in a five-minute period. If the number of requests\n exceeds the RateLimit and the other predicates specified in the rule are also\n met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -6333,6 +6352,7 @@ "com.amazonaws.wafregional#RateLimit": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 100, "max": 2000000000 @@ -6752,10 +6772,7 @@ } }, "com.amazonaws.wafregional#RulePriority": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.wafregional#RuleSummaries": { "type": "list", @@ -6834,6 +6851,7 @@ "com.amazonaws.wafregional#SampleWeight": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6852,6 +6870,7 @@ "Weight": { "target": "com.amazonaws.wafregional#SampleWeight", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value that indicates how one result in the response relates proportionally to other results in the response. \n\t\t\tA result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result \n\t\t\tthat has a weight of 1.

", "smithy.api#required": {} } @@ -6888,6 +6907,7 @@ "com.amazonaws.wafregional#Size": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 21474836480 @@ -6921,6 +6941,7 @@ "Size": { "target": "com.amazonaws.wafregional#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination \n\t\t\twith ComparisonOperator and FieldToMatch to build an expression in the form of \"Size \n ComparisonOperator size \n\t\t\tin bytes of FieldToMatch\". If that expression is true, the SizeConstraint is considered to match.

\n\t\t

Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).

\n\t\t

If you specify URI for the value of Type, the / in the URI counts as one character. \n\t\t\tFor example, the URI /logo.jpg is nine characters long.

", "smithy.api#required": {} } @@ -7732,6 +7753,7 @@ "RateLimit": { "target": "com.amazonaws.wafregional#RateLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a\n five-minute period. If the number of requests exceeds the RateLimit and the other\n predicates specified in the rule are also met,\n AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/waf.json b/codegen/sdk/aws-models/waf.json index ebdce2b542d..5679419e8d7 100644 --- a/codegen/sdk/aws-models/waf.json +++ b/codegen/sdk/aws-models/waf.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -820,6 +820,7 @@ "RateLimit": { "target": "com.amazonaws.waf#RateLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field that is\n specified by RateKey, allowed in a five-minute period. If the number of\n requests exceeds the RateLimit and the other predicates specified in the rule\n are also met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -4175,6 +4176,7 @@ "com.amazonaws.waf#GetSampledRequestsMaxItems": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 500 @@ -4208,6 +4210,7 @@ "MaxItems": { "target": "com.amazonaws.waf#GetSampledRequestsMaxItems", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received\n\t\t\tduring the time range. If your resource received fewer requests than the value of MaxItems, GetSampledRequests \n\t\t\treturns information about all of them.

", "smithy.api#required": {} } @@ -4226,6 +4229,7 @@ "PopulationSize": { "target": "com.amazonaws.waf#PopulationSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The total number of requests from which GetSampledRequests got a sample of MaxItems requests. \n\t\t\tIf PopulationSize is less than MaxItems, the sample includes every request that your AWS resource \n\t\t\treceived during the specified time range.

" } }, @@ -4661,10 +4665,7 @@ "type": "string" }, "com.amazonaws.waf#IgnoreUnsupportedType": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.waf#ListActivatedRulesInRuleGroup": { "type": "operation", @@ -4707,6 +4708,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of ActivatedRules that you want AWS WAF to return for this request. If you have more ActivatedRules than the number that you specify for Limit, the response includes a \n NextMarker value that you can use to get another batch of ActivatedRules.

" } } @@ -4761,6 +4763,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of ByteMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tByteMatchSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of ByteMatchSet objects.

" } } @@ -4815,6 +4818,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tGeoMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of GeoMatchSet objects.

" } } @@ -4869,6 +4873,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tIPSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of IPSet objects.

" } } @@ -4926,6 +4931,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of LoggingConfigurations that you want AWS WAF to return for this request. If you have more LoggingConfigurations than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of LoggingConfigurations.

" } } @@ -4980,6 +4986,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of Rules that you want AWS WAF to return for this\n request. If you have more Rules than the number that you specify for\n Limit, the response includes a NextMarker value that you can\n use to get another batch of Rules.

" } } @@ -5034,6 +5041,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of RegexMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexMatchSet objects.

" } } @@ -5088,6 +5096,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of RegexPatternSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tRegexPatternSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of RegexPatternSet objects.

" } } @@ -5139,6 +5148,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of RuleGroups that you want AWS WAF to return for this request. If you have more RuleGroups than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of RuleGroups.

" } } @@ -5193,6 +5203,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of Rules that you want AWS WAF to return for this request. If you have more \t\t\tRules than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.

" } } @@ -5247,6 +5258,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of SizeConstraintSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSizeConstraintSets objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of SizeConstraintSet objects.

" } } @@ -5301,6 +5313,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of SqlInjectionMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tSqlInjectionMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.

" } } @@ -5361,6 +5374,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of subscribed rule groups that you want AWS WAF to return for this request. If you have more \n\t\t\tobjects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of objects.

" } } @@ -5427,6 +5441,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

" } }, @@ -5488,6 +5503,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of WebACL objects that you want AWS WAF to return for this request. If you have more \n\t\t\tWebACL objects than the number that you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of WebACL objects.

" } } @@ -5542,6 +5558,7 @@ "Limit": { "target": "com.amazonaws.waf#PaginationLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Specifies the number of XssMatchSet objects that you want AWS WAF to return for this request. If you have more \n\t\t\tXssMatchSet objects than the number you specify for Limit, the response includes a \n\t\t\tNextMarker value that you can use to get another batch of Rules.

" } } @@ -5716,10 +5733,7 @@ } }, "com.amazonaws.waf#Negated": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.waf#NextMarker": { "type": "string", @@ -5734,6 +5748,7 @@ "com.amazonaws.waf#PaginationLimit": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5861,7 +5876,10 @@ } }, "com.amazonaws.waf#PopulationSize": { - "type": "long" + "type": "long", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.waf#PositionalConstraint": { "type": "string", @@ -6097,6 +6115,7 @@ "RateLimit": { "target": "com.amazonaws.waf#RateLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified\n by the RateKey, allowed in a five-minute period. If the number of requests\n exceeds the RateLimit and the other predicates specified in the rule are also\n met, AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } @@ -6120,6 +6139,7 @@ "com.amazonaws.waf#RateLimit": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 100, "max": 2000000000 @@ -6518,10 +6538,7 @@ } }, "com.amazonaws.waf#RulePriority": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.waf#RuleSummaries": { "type": "list", @@ -6600,6 +6617,7 @@ "com.amazonaws.waf#SampleWeight": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -6618,6 +6636,7 @@ "Weight": { "target": "com.amazonaws.waf#SampleWeight", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A value that indicates how one result in the response relates proportionally to other results in the response. \n\t\t\tA result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result \n\t\t\tthat has a weight of 1.

", "smithy.api#required": {} } @@ -6654,6 +6673,7 @@ "com.amazonaws.waf#Size": { "type": "long", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 21474836480 @@ -6687,6 +6707,7 @@ "Size": { "target": "com.amazonaws.waf#Size", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The size in bytes that you want AWS WAF to compare against the size of the specified FieldToMatch. AWS WAF uses this in combination \n\t\t\twith ComparisonOperator and FieldToMatch to build an expression in the form of \"Size \n ComparisonOperator size \n\t\t\tin bytes of FieldToMatch\". If that expression is true, the SizeConstraint is considered to match.

\n\t\t

Valid values for size are 0 - 21474836480 bytes (0 - 20 GB).

\n\t\t

If you specify URI for the value of Type, the / in the URI counts as one character. \n\t\t\tFor example, the URI /logo.jpg is nine characters long.

", "smithy.api#required": {} } @@ -7498,6 +7519,7 @@ "RateLimit": { "target": "com.amazonaws.waf#RateLimit", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of requests, which have an identical value in the field specified by the RateKey, allowed in a\n five-minute period. If the number of requests exceeds the RateLimit and the other\n predicates specified in the rule are also met,\n AWS WAF triggers the action that is specified for this rule.

", "smithy.api#required": {} } diff --git a/codegen/sdk/aws-models/wellarchitected.json b/codegen/sdk/aws-models/wellarchitected.json index c5cf631798e..068a8b72a02 100644 --- a/codegen/sdk/aws-models/wellarchitected.json +++ b/codegen/sdk/aws-models/wellarchitected.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -126,7 +126,10 @@ } }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable" + "target": "com.amazonaws.wellarchitected#IsApplicable", + "traits": { + "smithy.api#default": false + } }, "Risk": { "target": "com.amazonaws.wellarchitected#Risk" @@ -206,7 +209,10 @@ } }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable" + "target": "com.amazonaws.wellarchitected#IsApplicable", + "traits": { + "smithy.api#default": false + } }, "Risk": { "target": "com.amazonaws.wellarchitected#Risk" @@ -633,6 +639,7 @@ "com.amazonaws.wellarchitected#Count": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A non-negative integer that denotes how many.

", "smithy.api#range": { "min": 0 @@ -772,6 +779,7 @@ "IsMajorVersion": { "target": "com.amazonaws.wellarchitected#IsMajorVersion", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to true if this new major lens version.

" } }, @@ -876,7 +884,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -1579,6 +1590,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -1594,7 +1606,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -1731,6 +1746,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -1746,7 +1762,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensReview": { "target": "com.amazonaws.wellarchitected#LensReview" @@ -1810,6 +1829,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } } @@ -1825,7 +1845,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensReviewReport": { "target": "com.amazonaws.wellarchitected#LensReviewReport" @@ -1977,6 +2000,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2241,14 +2265,21 @@ "com.amazonaws.wellarchitected#IsApplicable": { "type": "boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Defines whether this question is applicable to a lens review.

" } }, "com.amazonaws.wellarchitected#IsMajorVersion": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.wellarchitected#Lens": { "type": "structure", @@ -2736,6 +2767,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -2748,6 +2780,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListAnswersMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -2760,6 +2793,7 @@ "com.amazonaws.wellarchitected#ListAnswersMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -2773,7 +2807,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -2860,6 +2897,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -2872,6 +2910,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListLensReviewImprovementsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -2884,6 +2923,7 @@ "com.amazonaws.wellarchitected#ListLensReviewImprovementsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 100 @@ -2897,7 +2937,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensAlias": { "target": "com.amazonaws.wellarchitected#LensAlias" @@ -2971,6 +3014,7 @@ "MilestoneNumber": { "target": "com.amazonaws.wellarchitected#MilestoneNumber", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MilestoneNumber" } }, @@ -2983,6 +3027,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } } @@ -2998,7 +3043,10 @@ "target": "com.amazonaws.wellarchitected#WorkloadId" }, "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "LensReviewSummaries": { "target": "com.amazonaws.wellarchitected#LensReviewSummaries" @@ -3076,6 +3124,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -3150,6 +3199,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#MaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#httpQuery": "MaxResults" } }, @@ -3245,7 +3295,10 @@ "target": "com.amazonaws.wellarchitected#NextToken" }, "MaxResults": { - "target": "com.amazonaws.wellarchitected#MaxResults" + "target": "com.amazonaws.wellarchitected#MaxResults", + "traits": { + "smithy.api#default": 0 + } } }, "traits": { @@ -3317,6 +3370,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListNotificationsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

" } } @@ -3325,6 +3379,7 @@ "com.amazonaws.wellarchitected#ListNotificationsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3413,6 +3468,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListShareInvitationsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -3425,6 +3481,7 @@ "com.amazonaws.wellarchitected#ListShareInvitationsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3561,6 +3618,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#httpQuery": "MaxResults" } @@ -3579,6 +3637,7 @@ "com.amazonaws.wellarchitected#ListWorkloadSharesMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3650,6 +3709,7 @@ "MaxResults": { "target": "com.amazonaws.wellarchitected#ListWorkloadsMaxResults", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

" } } @@ -3661,6 +3721,7 @@ "com.amazonaws.wellarchitected#ListWorkloadsMaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 50 @@ -3684,6 +3745,7 @@ "com.amazonaws.wellarchitected#MaxResults": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The maximum number of results to return for this request.

", "smithy.api#range": { "min": 1, @@ -3695,7 +3757,10 @@ "type": "structure", "members": { "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName" @@ -3724,6 +3789,7 @@ "com.amazonaws.wellarchitected#MilestoneNumber": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The milestone number.

\n

A workload can have a maximum of 100 milestones.

", "smithy.api#range": { "min": 1, @@ -3744,7 +3810,10 @@ "type": "structure", "members": { "MilestoneNumber": { - "target": "com.amazonaws.wellarchitected#MilestoneNumber" + "target": "com.amazonaws.wellarchitected#MilestoneNumber", + "traits": { + "smithy.api#default": 0 + } }, "MilestoneName": { "target": "com.amazonaws.wellarchitected#MilestoneName" @@ -4558,7 +4627,10 @@ "target": "com.amazonaws.wellarchitected#Notes" }, "IsApplicable": { - "target": "com.amazonaws.wellarchitected#IsApplicable" + "target": "com.amazonaws.wellarchitected#IsApplicable", + "traits": { + "smithy.api#default": false + } }, "Reason": { "target": "com.amazonaws.wellarchitected#AnswerReason", @@ -4865,6 +4937,7 @@ "IsReviewOwnerUpdateAcknowledged": { "target": "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag indicating whether the workload owner has acknowledged that the Review\n owner field is required.

\n

If a Review owner is not added to the workload within\n 60 days of acknowledgement, access to the workload is restricted until an owner is\n added.

" } }, @@ -5143,21 +5216,6 @@ }, "com.amazonaws.wellarchitected#WellArchitectedApiServiceLambda": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WellArchitected", - "arnNamespace": "wellarchitected", - "cloudFormationName": "WellArchitected", - "cloudTrailEventSource": "wellarchitected.amazonaws.com", - "endpointPrefix": "wellarchitected" - }, - "aws.auth#sigv4": { - "name": "wellarchitected" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "Well-Architected Tool\n \n

This is the Well-Architected Tool API Reference. The WA Tool API provides programmatic access to the \n Well-Architected Tool in the \n Amazon Web Services Management Console. For information \n about the Well-Architected Tool, see the \n Well-Architected Tool User Guide.

", - "smithy.api#title": "AWS Well-Architected Tool" - }, "version": "2020-03-31", "operations": [ { @@ -5280,7 +5338,22 @@ { "target": "com.amazonaws.wellarchitected#UpgradeLensReview" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WellArchitected", + "arnNamespace": "wellarchitected", + "cloudFormationName": "WellArchitected", + "cloudTrailEventSource": "wellarchitected.amazonaws.com", + "endpointPrefix": "wellarchitected" + }, + "aws.auth#sigv4": { + "name": "wellarchitected" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "Well-Architected Tool\n \n

This is the Well-Architected Tool API Reference. The WA Tool API provides programmatic access to the \n Well-Architected Tool in the \n Amazon Web Services Management Console. For information \n about the Well-Architected Tool, see the \n Well-Architected Tool User Guide.

", + "smithy.api#title": "AWS Well-Architected Tool" + } }, "com.amazonaws.wellarchitected#Workload": { "type": "structure", @@ -5324,6 +5397,7 @@ "IsReviewOwnerUpdateAcknowledged": { "target": "com.amazonaws.wellarchitected#IsReviewOwnerUpdateAcknowledged", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag indicating whether the workload owner has acknowledged that the Review\n owner field is required.

\n

If a Review owner is not added to the workload within\n 60 days of acknowledgement, access to the workload is restricted until an owner is\n added.

" } }, diff --git a/codegen/sdk/aws-models/wisdom.json b/codegen/sdk/aws-models/wisdom.json index 761d503b834..b145f698b50 100644 --- a/codegen/sdk/aws-models/wisdom.json +++ b/codegen/sdk/aws-models/wisdom.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.wisdom#AccessDeniedException": { "type": "structure", @@ -1961,6 +1961,7 @@ "waitTimeSeconds": { "target": "com.amazonaws.wisdom#WaitTimeSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The duration (in seconds) for which the call waits for a recommendation to be made\n available before returning. If a recommendation is available, the call returns sooner than\n WaitTimeSeconds. If no messages are available and the wait time expires, the\n call returns successfully with an empty list.

", "smithy.api#httpQuery": "waitTimeSeconds" } @@ -2060,12 +2061,14 @@ "beginOffsetInclusive": { "target": "com.amazonaws.wisdom#HighlightOffset", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The offset for the start of the highlight.

" } }, "endOffsetExclusive": { "target": "com.amazonaws.wisdom#HighlightOffset", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The offset for the end of the highlight.

" } } @@ -2075,7 +2078,10 @@ } }, "com.amazonaws.wisdom#HighlightOffset": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.wisdom#Highlights": { "type": "list", @@ -2707,7 +2713,6 @@ "com.amazonaws.wisdom#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -3105,6 +3110,7 @@ "relevanceScore": { "target": "com.amazonaws.wisdom#RelevanceScore", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The relevance score of the recommendation.

" } }, @@ -3278,6 +3284,7 @@ "com.amazonaws.wisdom#RelevanceScore": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0.0 } @@ -3381,6 +3388,7 @@ "relevanceScore": { "target": "com.amazonaws.wisdom#RelevanceScore", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The relevance score of the results.

" } } @@ -4183,6 +4191,7 @@ "com.amazonaws.wisdom#WaitTimeSeconds": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 20 @@ -4191,20 +4200,6 @@ }, "com.amazonaws.wisdom#WisdomService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "Wisdom", - "arnNamespace": "wisdom", - "cloudFormationName": "Wisdom" - }, - "aws.auth#sigv4": { - "name": "wisdom" - }, - "aws.protocols#restJson1": {}, - "smithy.api#cors": {}, - "smithy.api#documentation": "

Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively\n speaking with customers. Agents can search across connected repositories from within their agent desktop\n to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.

", - "smithy.api#title": "Amazon Connect Wisdom Service" - }, "version": "2020-10-19", "operations": [ { @@ -4224,7 +4219,21 @@ { "target": "com.amazonaws.wisdom#KnowledgeBase" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "Wisdom", + "arnNamespace": "wisdom", + "cloudFormationName": "Wisdom" + }, + "aws.auth#sigv4": { + "name": "wisdom" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": {}, + "smithy.api#documentation": "

Amazon Connect Wisdom delivers agents the information they need to solve customer issues as they're actively\n speaking with customers. Agents can search across connected repositories from within their agent desktop\n to find answers quickly. Use the Amazon Connect Wisdom APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.

", + "smithy.api#title": "Amazon Connect Wisdom Service" + } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/workdocs.json b/codegen/sdk/aws-models/workdocs.json index 2eecace76b9..17dc65e7705 100644 --- a/codegen/sdk/aws-models/workdocs.json +++ b/codegen/sdk/aws-models/workdocs.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -181,6 +181,9 @@ "input": { "target": "com.amazonaws.workdocs#AbortDocumentVersionUploadRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -321,6 +324,7 @@ "IsIndirectActivity": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Indicates whether an activity is indirect or direct. An indirect activity results\n from a direct activity performed on a parent resource. For example, sharing a parent\n folder (the direct activity) shares all of the subfolders and documents within the\n parent folder (the indirect activity).

" } }, @@ -615,7 +619,10 @@ } }, "com.amazonaws.workdocs#BooleanType": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.workdocs#Comment": { "type": "structure", @@ -901,6 +908,7 @@ "NotifyCollaborators": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set this parameter to TRUE to send an email out to the document collaborators after\n the comment is created.

" } } @@ -1392,6 +1400,9 @@ "input": { "target": "com.amazonaws.workdocs#DeactivateUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -1459,6 +1470,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteCommentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#DocumentLockedForCommentsException" @@ -1599,6 +1613,7 @@ "DeleteAll": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag to indicate removal of all custom metadata properties from the specified\n resource.

", "smithy.api#httpQuery": "deleteAll" } @@ -1614,6 +1629,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteDocumentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -1674,6 +1692,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteFolderRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -1714,6 +1735,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteFolderContentsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConflictingOperationException" @@ -1848,6 +1872,7 @@ "DeleteAll": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Flag to request removal of all labels from the specified resource.

", "smithy.api#httpQuery": "deleteAll" } @@ -1863,6 +1888,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteNotificationSubscriptionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -1912,6 +1940,9 @@ "input": { "target": "com.amazonaws.workdocs#DeleteUserRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#EntityNotExistsException" @@ -2047,6 +2078,7 @@ "IncludeIndirectActivities": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Includes indirect activities. An indirect activity results from a direct activity\n performed on a parent resource. For example, sharing a parent folder (the direct\n activity) shares all of the subfolders and documents within the parent folder (the\n indirect activity).

", "smithy.api#httpQuery": "includeIndirectActivities" } @@ -3546,6 +3578,7 @@ "IncludeCustomMetadata": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set this to TRUE to include custom metadata in the response.

", "smithy.api#httpQuery": "includeCustomMetadata" } @@ -3645,6 +3678,7 @@ "IncludeCustomMetadata": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set this to TRUE to include custom metadata in the response.

", "smithy.api#httpQuery": "includeCustomMetadata" } @@ -3815,6 +3849,7 @@ "IncludeCustomMetadata": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Set to TRUE to include custom metadata in the response.

", "smithy.api#httpQuery": "includeCustomMetadata" } @@ -4208,7 +4243,6 @@ "com.amazonaws.workdocs#LimitType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 999 @@ -4292,6 +4326,7 @@ "SendEmail": { "target": "com.amazonaws.workdocs#BooleanType", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean value to indicate an email notification should be sent to the\n receipients.

" } }, @@ -4396,7 +4431,6 @@ "com.amazonaws.workdocs#PositiveIntegerType": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4405,7 +4439,6 @@ "com.amazonaws.workdocs#PositiveSizeType": { "type": "long", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0 } @@ -4488,6 +4521,9 @@ "input": { "target": "com.amazonaws.workdocs#RemoveAllResourcePermissionsRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#FailedDependencyException" @@ -4536,6 +4572,9 @@ "input": { "target": "com.amazonaws.workdocs#RemoveResourcePermissionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#FailedDependencyException" @@ -4988,10 +5027,7 @@ } }, "com.amazonaws.workdocs#SizeType": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.workdocs#StorageLimitExceededException": { "type": "structure", @@ -5195,6 +5231,9 @@ "input": { "target": "com.amazonaws.workdocs#UpdateDocumentRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -5279,6 +5318,9 @@ "input": { "target": "com.amazonaws.workdocs#UpdateDocumentVersionRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" @@ -5353,6 +5395,9 @@ "input": { "target": "com.amazonaws.workdocs#UpdateFolderRequest" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.workdocs#ConcurrentModificationException" diff --git a/codegen/sdk/aws-models/worklink.json b/codegen/sdk/aws-models/worklink.json index 7b8ca007801..e3896434409 100644 --- a/codegen/sdk/aws-models/worklink.json +++ b/codegen/sdk/aws-models/worklink.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -281,10 +281,7 @@ } }, "com.amazonaws.worklink#Boolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.worklink#Certificate": { "type": "string", @@ -2086,7 +2083,6 @@ "com.amazonaws.worklink#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -2995,21 +2991,6 @@ }, "com.amazonaws.worklink#WorkLink": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WorkLink", - "arnNamespace": "worklink", - "cloudFormationName": "WorkLink", - "cloudTrailEventSource": "worklink.amazonaws.com", - "endpointPrefix": "worklink" - }, - "aws.auth#sigv4": { - "name": "worklink" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

Amazon WorkLink is a cloud-based service that provides secure access\n to internal websites and web apps from iOS and Android phones. In a single step, your users, such as\n employees, can access internal websites as efficiently as they access any other public website.\n They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink\n authenticates the user's access and securely renders authorized internal web content in a secure\n rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on\n mobile devices.

", - "smithy.api#title": "Amazon WorkLink" - }, "version": "2018-09-25", "operations": [ { @@ -3111,7 +3092,22 @@ { "target": "com.amazonaws.worklink#UpdateIdentityProviderConfiguration" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WorkLink", + "arnNamespace": "worklink", + "cloudFormationName": "WorkLink", + "cloudTrailEventSource": "worklink.amazonaws.com", + "endpointPrefix": "worklink" + }, + "aws.auth#sigv4": { + "name": "worklink" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

Amazon WorkLink is a cloud-based service that provides secure access\n to internal websites and web apps from iOS and Android phones. In a single step, your users, such as\n employees, can access internal websites as efficiently as they access any other public website.\n They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink\n authenticates the user's access and securely renders authorized internal web content in a secure\n rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on\n mobile devices.

", + "smithy.api#title": "Amazon WorkLink" + } } } } diff --git a/codegen/sdk/aws-models/workmail.json b/codegen/sdk/aws-models/workmail.json index 8aeb9b282f3..19f1dd08979 100644 --- a/codegen/sdk/aws-models/workmail.json +++ b/codegen/sdk/aws-models/workmail.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -97,10 +97,22 @@ "traits": { "smithy.api#documentation": "

The date that the rule was modified.

" } + }, + "ImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "

Impersonation role IDs to include in the rule.

" + } + }, + "NotImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "

Impersonation role IDs to exclude from the rule.

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

A rule that controls access to an Amazon WorkMail organization.

" + "smithy.api#documentation": "

A rule that controls access to an WorkMail organization.

" } }, "com.amazonaws.workmail#AccessControlRuleAction": { @@ -124,18 +136,20 @@ } }, "com.amazonaws.workmail#AccessControlRuleEffect": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALLOW", - "name": "ALLOW" - }, - { - "value": "DENY", - "name": "DENY" + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY" } - ] + } } }, "com.amazonaws.workmail#AccessControlRuleName": { @@ -172,6 +186,23 @@ } } }, + "com.amazonaws.workmail#AccessEffect": { + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY" + } + } + } + }, "com.amazonaws.workmail#ActionsList": { "type": "list", "member": { @@ -328,6 +359,68 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#AssumeImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#AssumeImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#AssumeImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Assumes an impersonation role for the given WorkMail organization. This method returns an\n authentication token you can use to make impersonated calls.

" + } + }, + "com.amazonaws.workmail#AssumeImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The WorkMail organization under which the impersonation role will be assumed.

", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The impersonation role ID to assume.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#AssumeImpersonationRoleResponse": { + "type": "structure", + "members": { + "Token": { + "target": "com.amazonaws.workmail#ImpersonationToken", + "traits": { + "smithy.api#documentation": "

The authentication token for the impersonation role.

" + } + }, + "ExpiresIn": { + "target": "com.amazonaws.workmail#ExpiresIn", + "traits": { + "smithy.api#documentation": "

The authentication token's validity, in seconds.

" + } + } + } + }, "com.amazonaws.workmail#AvailabilityConfiguration": { "type": "structure", "members": { @@ -346,7 +439,7 @@ "EwsProvider": { "target": "com.amazonaws.workmail#RedactedEwsAvailabilityProvider", "traits": { - "smithy.api#documentation": "

If ProviderType is EWS, then this field contains\n RedactedEwsAvailabilityProvider. Otherwise, it is not requried.

" + "smithy.api#documentation": "

If ProviderType is EWS, then this field contains\n RedactedEwsAvailabilityProvider. Otherwise, it is not required.

" } }, "LambdaProvider": { @@ -379,18 +472,20 @@ } }, "com.amazonaws.workmail#AvailabilityProviderType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "EWS", - "name": "EWS" - }, - { - "value": "LAMBDA", - "name": "LAMBDA" + "type": "enum", + "members": { + "EWS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EWS" + } + }, + "LAMBDA": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LAMBDA" } - ] + } } }, "com.amazonaws.workmail#BookingOptions": { @@ -399,18 +494,21 @@ "AutoAcceptRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The resource's ability to automatically reply to requests. If disabled, delegates\n must be associated to the resource.

" } }, "AutoDeclineRecurringRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The resource's ability to automatically decline any recurring requests.

" } }, "AutoDeclineConflictingRequests": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

The resource's ability to automatically decline any conflicting requests.

" } } @@ -420,14 +518,14 @@ } }, "com.amazonaws.workmail#Boolean": { - "type": "boolean" - }, - "com.amazonaws.workmail#BooleanObject": { "type": "boolean", "traits": { - "smithy.api#box": {} + "smithy.api#default": false } }, + "com.amazonaws.workmail#BooleanObject": { + "type": "boolean" + }, "com.amazonaws.workmail#CancelMailboxExportJob": { "type": "operation", "input": { @@ -524,7 +622,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds an alias to the set of a given member (user or group) of Amazon WorkMail.

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

Adds an alias to the set of a given member (user or group) of WorkMail.

", "smithy.api#idempotent": {} } }, @@ -601,7 +699,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration will be created.

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

The WorkMail organization for which the AvailabilityConfiguration will be created.

", "smithy.api#required": {} } }, @@ -665,7 +763,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

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

Creates a group that can be used in WorkMail by calling the RegisterToWorkMail operation.

", "smithy.api#idempotent": {} } }, @@ -699,6 +797,95 @@ } } }, + "com.amazonaws.workmail#CreateImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#CreateImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#CreateImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#LimitExceededException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates an impersonation role for the given WorkMail organization.

\n

\n Idempotency ensures that an API request completes no more than one\n time. With an idempotent request, if the original request completes successfully, any\n subsequent retries also complete successfully without performing any further\n actions.

" + } + }, + "com.amazonaws.workmail#CreateImpersonationRoleRequest": { + "type": "structure", + "members": { + "ClientToken": { + "target": "com.amazonaws.workmail#IdempotencyClientToken", + "traits": { + "smithy.api#documentation": "

The idempotency token for the client request.

", + "smithy.api#idempotencyToken": {} + } + }, + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The WorkMail organization to create the new impersonation role within.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "

The name of the new impersonation role.

", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.workmail#ImpersonationRoleType", + "traits": { + "smithy.api#documentation": "

The impersonation role's type. The available impersonation role types are\n READ_ONLY or FULL_ACCESS.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.workmail#ImpersonationRoleDescription", + "traits": { + "smithy.api#documentation": "

The description of the new impersonation role.

" + } + }, + "Rules": { + "target": "com.amazonaws.workmail#ImpersonationRuleList", + "traits": { + "smithy.api#documentation": "

The list of rules for the impersonation role.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#CreateImpersonationRoleResponse": { + "type": "structure", + "members": { + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The new impersonation role ID.

" + } + } + } + }, "com.amazonaws.workmail#CreateMobileDeviceAccessRule": { "type": "operation", "input": { @@ -722,7 +909,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new mobile device access rule for the specified Amazon WorkMail organization.

" + "smithy.api#documentation": "

Creates a new mobile device access rule for the specified WorkMail organization.

" } }, "com.amazonaws.workmail#CreateMobileDeviceAccessRuleRequest": { @@ -731,7 +918,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization under which the rule will be created.

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

The WorkMail organization under which the rule will be created.

", "smithy.api#required": {} } }, @@ -849,7 +1036,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide.

\n

You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide.

\n

Optionally, you can use a customer managed master key from AWS Key Management Service\n (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a\n default AWS managed master key for you.

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

Creates a new WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new WorkMail directory for you. For more information, see Adding an organization in the WorkMail Administrator Guide.

\n

You can associate multiple email domains with an organization, then choose your\n default email domain from the WorkMail console. You can also associate a domain that is managed\n in an Amazon Route 53 public hosted zone. For more information, see Adding a\n domain and Choosing the default domain\n in the WorkMail Administrator Guide.

\n

Optionally, you can use a customer managed key from AWS Key Management Service (AWS\n KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, WorkMail\n creates a default, AWS managed key for you.

", "smithy.api#idempotent": {} } }, @@ -885,13 +1072,14 @@ "KmsKeyArn": { "target": "com.amazonaws.workmail#KmsKeyArn", "traits": { - "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a customer managed master key from AWS\n KMS.

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of a customer managed key from AWS KMS.

" } }, "EnableInteroperability": { "target": "com.amazonaws.workmail#Boolean", "traits": { - "smithy.api#documentation": "

When true, allows organization interoperability between Amazon WorkMail and Microsoft Exchange. Can only be set to true if an AD Connector directory ID is included in the request.

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

When true, allows organization interoperability between WorkMail and\n Microsoft Exchange. If true, you must include a AD Connector directory ID in\n the request.

" } } } @@ -939,7 +1127,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a new Amazon WorkMail resource.

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

Creates a new WorkMail resource.

", "smithy.api#idempotent": {} } }, @@ -1018,7 +1206,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

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

Creates a user who can be used in WorkMail by calling the RegisterToWorkMail operation.

", "smithy.api#idempotent": {} } }, @@ -1218,7 +1406,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration will be deleted.

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

The WorkMail organization for which the AvailabilityConfiguration will be deleted.

", "smithy.api#required": {} } }, @@ -1307,7 +1495,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a group from Amazon WorkMail.

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

Deletes a group from WorkMail.

", "smithy.api#idempotent": {} } }, @@ -1334,6 +1522,52 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#DeleteImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#DeleteImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#DeleteImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes an impersonation role for the given WorkMail organization.

" + } + }, + "com.amazonaws.workmail#DeleteImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The WorkMail organization from which to delete the impersonation role.

", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The ID of the impersonation role to delete.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#DeleteImpersonationRoleResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#DeleteMailboxPermissions": { "type": "operation", "input": { @@ -1426,14 +1660,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which the access override will be deleted.

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

The WorkMail organization for which the access override will be deleted.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "

The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

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

The WorkMail user for which you want to delete the override. Accepts the following types of user identities:

\n ", "smithy.api#required": {} } }, @@ -1470,7 +1704,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a mobile device access rule for the specified Amazon WorkMail organization.

\n \n

Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

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

Deletes a mobile device access rule for the specified WorkMail organization.

\n \n

Deleting already deleted and non-existing rules does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

\n
" } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessRuleRequest": { @@ -1479,7 +1713,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization under which the rule will be deleted.

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

The WorkMail organization under which the rule will be deleted.

", "smithy.api#required": {} } }, @@ -1516,7 +1750,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the Amazon WorkMail Administrator Guide.

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

Deletes an WorkMail organization and all underlying AWS resources managed by WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the WorkMail Administrator Guide.

", "smithy.api#idempotent": {} } }, @@ -1540,6 +1774,7 @@ "DeleteDirectory": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

If true, deletes the AWS Directory Service directory associated with the organization.

", "smithy.api#required": {} } @@ -1586,7 +1821,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified resource.

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

Deletes the specified resource.

", "smithy.api#idempotent": {} } }, @@ -1692,7 +1927,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes a user from Amazon WorkMail and all subsequent systems. Before you can delete a\n user, the user state must be DISABLED. Use the DescribeUser\n action to confirm the user state.

\n

Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for\n 30 days before they are permanently removed.

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

Deletes a user from WorkMail and all subsequent systems. Before you can delete a\n user, the user state must be DISABLED. Use the DescribeUser\n action to confirm the user state.

\n

Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for\n 30 days before they are permanently removed.

", "smithy.api#idempotent": {} } }, @@ -1745,7 +1980,7 @@ } ], "traits": { - "smithy.api#documentation": "

Mark a user, group, or resource as no longer used in Amazon WorkMail. This action\n disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days\n before they are permanently removed. The functionality in the console is\n Disable.

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

Mark a user, group, or resource as no longer used in WorkMail. This action\n disassociates the mailbox and schedules it for clean-up. WorkMail keeps mailboxes for 30 days\n before they are permanently removed. The functionality in the console is\n Disable.

", "smithy.api#idempotent": {} } }, @@ -1755,7 +1990,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The identifier for the organization under which the Amazon WorkMail entity exists.

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

The identifier for the organization under which the WorkMail entity exists.

", "smithy.api#required": {} } }, @@ -1798,7 +2033,7 @@ } ], "traits": { - "smithy.api#documentation": "

Removes a domain from Amazon WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first \n remove any email address used by WorkMail entities before you remove the domain.

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

Removes a domain from WorkMail, stops email routing to WorkMail, and removes the authorization allowing WorkMail use. SES keeps the domain because other applications may use it. You must first \n remove any email address used by WorkMail entities before you remove the domain.

", "smithy.api#idempotent": {} } }, @@ -1808,14 +2043,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which the domain will be deregistered.

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

The WorkMail organization for which the domain will be deregistered.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { - "smithy.api#documentation": "

The domain to deregister in WorkMail and SES.

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

The domain to deregister in WorkMail and SES.

", "smithy.api#required": {} } } @@ -1951,7 +2186,7 @@ "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { - "smithy.api#documentation": "

The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or\n never registered to WorkMail).

" + "smithy.api#documentation": "

The state of the user: enabled (registered to WorkMail) or disabled (deregistered or\n never registered to WorkMail).

" } }, "EnabledDate": { @@ -2007,6 +2242,7 @@ "Enforced": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Lists the enforcement setting of the applied policy.

" } } @@ -2106,6 +2342,7 @@ "EstimatedProgress": { "target": "com.amazonaws.workmail#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated progress of the mailbox export job, in percentage points.

" } }, @@ -2192,7 +2429,7 @@ "DirectoryId": { "target": "com.amazonaws.workmail#String", "traits": { - "smithy.api#documentation": "

The identifier for the directory associated with an Amazon WorkMail organization.

" + "smithy.api#documentation": "

The identifier for the directory associated with an WorkMail organization.

" } }, "DirectoryType": { @@ -2309,7 +2546,7 @@ "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { - "smithy.api#documentation": "

The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered\n or never registered to WorkMail), or deleted.

" + "smithy.api#documentation": "

The state of the resource: enabled (registered to WorkMail), disabled (deregistered\n or never registered to WorkMail), or deleted.

" } }, "EnabledDate": { @@ -2402,25 +2639,25 @@ "State": { "target": "com.amazonaws.workmail#EntityState", "traits": { - "smithy.api#documentation": "

The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or\n never registered to WorkMail).

" + "smithy.api#documentation": "

The state of a user: enabled (registered to WorkMail) or disabled (deregistered or\n never registered to WorkMail).

" } }, "UserRole": { "target": "com.amazonaws.workmail#UserRole", "traits": { - "smithy.api#documentation": "

In certain cases, other entities are modeled as users. If interoperability is\n enabled, resources are imported into Amazon WorkMail as users. Because different WorkMail\n organizations rely on different directory types, administrators can distinguish between an\n unregistered user (account is disabled and has a user role) and the directory\n administrators. The values are USER, RESOURCE, and SYSTEM_USER.

" + "smithy.api#documentation": "

In certain cases, other entities are modeled as users. If interoperability is\n enabled, resources are imported into WorkMail as users. Because different WorkMail\n organizations rely on different directory types, administrators can distinguish between an\n unregistered user (account is disabled and has a user role) and the directory\n administrators. The values are USER, RESOURCE, and SYSTEM_USER.

" } }, "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch\n time format.

" + "smithy.api#documentation": "

The date and time at which the user was enabled for WorkMailusage, in UNIX epoch\n time format.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch\n time format.

" + "smithy.api#documentation": "

The date and time at which the user was disabled for WorkMail usage, in UNIX epoch\n time format.

" } } } @@ -2735,22 +2972,26 @@ } }, "com.amazonaws.workmail#DnsRecordVerificationStatus": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "PENDING", - "name": "PENDING" - }, - { - "value": "VERIFIED", - "name": "VERIFIED" - }, - { - "value": "FAILED", - "name": "FAILED" + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "VERIFIED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VERIFIED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" } - ] + } } }, "com.amazonaws.workmail#DnsRecords": { @@ -2776,7 +3017,7 @@ } }, "traits": { - "smithy.api#documentation": "

The domain to associate with an Amazon WorkMail organization.

\n

When you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the Amazon WorkMail Administrator Guide.

" + "smithy.api#documentation": "

The domain to associate with an WorkMail organization.

\n

When you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the WorkMail Administrator Guide.

" } }, "com.amazonaws.workmail#DomainName": { @@ -2858,22 +3099,26 @@ } }, "com.amazonaws.workmail#EntityState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ENABLED", - "name": "ENABLED" - }, - { - "value": "DISABLED", - "name": "DISABLED" - }, - { - "value": "DELETED", - "name": "DELETED" + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" } - ] + }, + "DELETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED" + } + } } }, "com.amazonaws.workmail#EntityStateException": { @@ -2917,6 +3162,9 @@ "smithy.api#documentation": "

Describes an EWS based availability provider. This is only used as input to the service.

" } }, + "com.amazonaws.workmail#ExpiresIn": { + "type": "long" + }, "com.amazonaws.workmail#ExternalUserName": { "type": "string", "traits": { @@ -2962,30 +3210,38 @@ } }, "com.amazonaws.workmail#FolderName": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "INBOX", - "name": "INBOX" - }, - { - "value": "DELETED_ITEMS", - "name": "DELETED_ITEMS" - }, - { - "value": "SENT_ITEMS", - "name": "SENT_ITEMS" - }, - { - "value": "DRAFTS", - "name": "DRAFTS" - }, - { - "value": "JUNK_EMAIL", - "name": "JUNK_EMAIL" - } - ] + "type": "enum", + "members": { + "INBOX": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "INBOX" + } + }, + "DELETED_ITEMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETED_ITEMS" + } + }, + "SENT_ITEMS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SENT_ITEMS" + } + }, + "DRAFTS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DRAFTS" + } + }, + "JUNK_EMAIL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "JUNK_EMAIL" + } + } } }, "com.amazonaws.workmail#GetAccessControlEffect": { @@ -3008,10 +3264,13 @@ }, { "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "

Gets the effects of an organization's access control rules as they apply to a\n specified IPv4 address, access protocol action, or user ID.

" + "smithy.api#documentation": "

Gets the effects of an organization's access control rules as they apply to a\n specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.

" } }, "com.amazonaws.workmail#GetAccessControlEffectRequest": { @@ -3041,8 +3300,13 @@ "UserId": { "target": "com.amazonaws.workmail#WorkMailIdentifier", "traits": { - "smithy.api#documentation": "

The user ID.

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

The user ID.

" + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The impersonation role ID.

" } } } @@ -3132,41 +3396,214 @@ } } }, - "com.amazonaws.workmail#GetMailDomain": { + "com.amazonaws.workmail#GetImpersonationRole": { "type": "operation", "input": { - "target": "com.amazonaws.workmail#GetMailDomainRequest" + "target": "com.amazonaws.workmail#GetImpersonationRoleRequest" }, "output": { - "target": "com.amazonaws.workmail#GetMailDomainResponse" + "target": "com.amazonaws.workmail#GetImpersonationRoleResponse" }, "errors": [ { "target": "com.amazonaws.workmail#InvalidParameterException" }, - { - "target": "com.amazonaws.workmail#MailDomainNotFoundException" - }, { "target": "com.amazonaws.workmail#OrganizationNotFoundException" }, { "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "

Gets details for a mail domain, including domain records required to configure your domain with recommended security.

", - "smithy.api#idempotent": {} + "smithy.api#documentation": "

Gets the impersonation role details for the given WorkMail organization.

" } }, - "com.amazonaws.workmail#GetMailDomainRequest": { - "type": "structure", - "members": { - "OrganizationId": { - "target": "com.amazonaws.workmail#OrganizationId", - "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which the domain is retrieved.

", - "smithy.api#required": {} + "com.amazonaws.workmail#GetImpersonationRoleEffect": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#GetImpersonationRoleEffectRequest" + }, + "output": { + "target": "com.amazonaws.workmail#GetImpersonationRoleEffectResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Tests whether the given impersonation role can impersonate a target user.

" + } + }, + "com.amazonaws.workmail#GetImpersonationRoleEffectRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The WorkMail organization where the impersonation role is defined.

", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The impersonation role ID to test.

", + "smithy.api#required": {} + } + }, + "TargetUser": { + "target": "com.amazonaws.workmail#EntityIdentifier", + "traits": { + "smithy.api#documentation": "

The WorkMail organization user chosen to test the impersonation role. The following identity\n formats are available:

\n ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#GetImpersonationRoleEffectResponse": { + "type": "structure", + "members": { + "Type": { + "target": "com.amazonaws.workmail#ImpersonationRoleType", + "traits": { + "smithy.api#documentation": "

The impersonation role type.

" + } + }, + "Effect": { + "target": "com.amazonaws.workmail#AccessEffect", + "traits": { + "smithy.api#documentation": "

\n Effect of the impersonation role on the target user based on its rules. Available\n effects are ALLOW or DENY.

" + } + }, + "MatchedRules": { + "target": "com.amazonaws.workmail#ImpersonationMatchedRuleList", + "traits": { + "smithy.api#documentation": "

A list of the rules that match the input and produce the configured effect.

" + } + } + } + }, + "com.amazonaws.workmail#GetImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The WorkMail organization from which to retrieve the impersonation role.

", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The impersonation role ID to retrieve.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#GetImpersonationRoleResponse": { + "type": "structure", + "members": { + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The impersonation role ID.

" + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "

The impersonation role name.

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

The impersonation role type.

" + } + }, + "Description": { + "target": "com.amazonaws.workmail#ImpersonationRoleDescription", + "traits": { + "smithy.api#documentation": "

The impersonation role description.

" + } + }, + "Rules": { + "target": "com.amazonaws.workmail#ImpersonationRuleList", + "traits": { + "smithy.api#documentation": "

The list of rules for the given impersonation role.

" + } + }, + "DateCreated": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "

The date when the impersonation role was created.

" + } + }, + "DateModified": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "

The date when the impersonation role was last modified.

" + } + } + } + }, + "com.amazonaws.workmail#GetMailDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#GetMailDomainRequest" + }, + "output": { + "target": "com.amazonaws.workmail#GetMailDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#MailDomainNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets details for a mail domain, including domain records required to configure your domain with recommended security.

", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workmail#GetMailDomainRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The WorkMail organization for which the domain is retrieved.

", + "smithy.api#required": {} } }, "DomainName": { @@ -3184,18 +3621,20 @@ "Records": { "target": "com.amazonaws.workmail#DnsRecords", "traits": { - "smithy.api#documentation": "

A list of the DNS records that Amazon WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming \n email traffic to SES. See admin guide for more details.

" + "smithy.api#documentation": "

A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming \n email traffic to SES. See admin guide for more details.

" } }, "IsTestDomain": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.

" } }, "IsDefault": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Specifies whether the domain is the default domain for your organization.

" } }, @@ -3268,6 +3707,7 @@ "MailboxSize": { "target": "com.amazonaws.workmail#MailboxSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The current mailbox size, in MB, for the specified user.

" } } @@ -3293,7 +3733,7 @@ } ], "traits": { - "smithy.api#documentation": "

Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access \n rules for the Amazon WorkMail organization for a particular user's attributes.

" + "smithy.api#documentation": "

Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access \n rules for the WorkMail organization for a particular user's attributes.

" } }, "com.amazonaws.workmail#GetMobileDeviceAccessEffectRequest": { @@ -3302,7 +3742,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization to simulate the access effect for.

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

The WorkMail organization to simulate the access effect for.

", "smithy.api#required": {} } }, @@ -3338,7 +3778,7 @@ "Effect": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleEffect", "traits": { - "smithy.api#documentation": "

The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the Amazon WorkMail organization for the simulated \n user parameters.

" + "smithy.api#documentation": "

The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the WorkMail organization for the simulated \n user parameters.

" } }, "MatchedRules": { @@ -3384,14 +3824,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization to which you want to apply the override.

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

The WorkMail organization to which you want to apply the override.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "

Identifies the WorkMail user for the override. Accepts the following types of user identities:

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

Identifies the WorkMail user for the override. Accepts the following types of user identities:

\n ", "smithy.api#required": {} } }, @@ -3475,18 +3915,18 @@ "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the group was enabled for Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the group was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the group was disabled from Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the group was disabled from WorkMail use.

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

The representation of an Amazon WorkMail group.

" + "smithy.api#documentation": "

The representation of an WorkMail group.

" } }, "com.amazonaws.workmail#GroupName": { @@ -3525,6 +3965,245 @@ "smithy.api#pattern": "^[\\x21-\\x7e]+$" } }, + "com.amazonaws.workmail#ImpersonationMatchedRule": { + "type": "structure", + "members": { + "ImpersonationRuleId": { + "target": "com.amazonaws.workmail#ImpersonationRuleId", + "traits": { + "smithy.api#documentation": "

The ID of the rule that matched the input

" + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRuleName", + "traits": { + "smithy.api#documentation": "

The name of the rule that matched the input.

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

The impersonation rule that matched the input.

" + } + }, + "com.amazonaws.workmail#ImpersonationMatchedRuleList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationMatchedRule" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.workmail#ImpersonationRole": { + "type": "structure", + "members": { + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The identifier of the impersonation role.

" + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "

The impersonation role name.

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

The impersonation role type.

" + } + }, + "DateCreated": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "

The date when the impersonation role was created.

" + } + }, + "DateModified": { + "target": "com.amazonaws.workmail#Timestamp", + "traits": { + "smithy.api#documentation": "

The date when the impersonation role was last modified.

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

An impersonation role for the given WorkMail organization.

" + } + }, + "com.amazonaws.workmail#ImpersonationRoleDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRoleId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRoleIdList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationRoleId" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.workmail#ImpersonationRoleList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationRole" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 20 + } + } + }, + "com.amazonaws.workmail#ImpersonationRoleName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRoleType": { + "type": "enum", + "members": { + "FULL_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_ACCESS" + } + }, + "READ_ONLY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "READ_ONLY" + } + } + } + }, + "com.amazonaws.workmail#ImpersonationRule": { + "type": "structure", + "members": { + "ImpersonationRuleId": { + "target": "com.amazonaws.workmail#ImpersonationRuleId", + "traits": { + "smithy.api#documentation": "

The identifier of the rule.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRuleName", + "traits": { + "smithy.api#documentation": "

The rule name.

" + } + }, + "Description": { + "target": "com.amazonaws.workmail#ImpersonationRuleDescription", + "traits": { + "smithy.api#documentation": "

The rule description.

" + } + }, + "Effect": { + "target": "com.amazonaws.workmail#AccessEffect", + "traits": { + "smithy.api#documentation": "

The effect of the rule when it matches the input. Allowed effect values are\n ALLOW or DENY.

", + "smithy.api#required": {} + } + }, + "TargetUsers": { + "target": "com.amazonaws.workmail#TargetUsers", + "traits": { + "smithy.api#documentation": "

A list of user IDs that match the rule.

" + } + }, + "NotTargetUsers": { + "target": "com.amazonaws.workmail#TargetUsers", + "traits": { + "smithy.api#documentation": "

A list of user IDs that don't match the rule.

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

The rules for the given impersonation role.

" + } + }, + "com.amazonaws.workmail#ImpersonationRuleDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[^\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRuleId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" + } + }, + "com.amazonaws.workmail#ImpersonationRuleList": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#ImpersonationRule" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 10 + } + } + }, + "com.amazonaws.workmail#ImpersonationRuleName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[^\\x00-\\x1F\\x7F\\x3C\\x3E\\x5C]+$" + } + }, + "com.amazonaws.workmail#ImpersonationToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[\\x21-\\x7e]+$" + } + }, "com.amazonaws.workmail#InvalidConfigurationException": { "type": "structure", "members": { @@ -3545,7 +4224,7 @@ } }, "traits": { - "smithy.api#documentation": "

You SES configuration has customizations that Amazon WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to \n CreateReceiptRule.

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

You SES configuration has customizations that WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to \n CreateReceiptRule.

", "smithy.api#error": "client" } }, @@ -3816,7 +4495,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration's will be\n listed.

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

The WorkMail organization for which the AvailabilityConfiguration's will be\n listed.

", "smithy.api#required": {} } }, @@ -3840,32 +4519,112 @@ "AvailabilityConfigurations": { "target": "com.amazonaws.workmail#AvailabilityConfigurationList", "traits": { - "smithy.api#documentation": "

The list of AvailabilityConfiguration's that exist for the specified Amazon WorkMail organization.

" + "smithy.api#documentation": "

The list of AvailabilityConfiguration's that exist for the specified WorkMail organization.

" + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is null when there are no further results to return.

" + } + } + } + }, + "com.amazonaws.workmail#ListGroupMembers": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#ListGroupMembersRequest" + }, + "output": { + "target": "com.amazonaws.workmail#ListGroupMembersResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns an overview of the members of a group. Users and groups can be members of a\n group.

", + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.workmail#ListGroupMembersRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The identifier for the organization under which the group exists.

", + "smithy.api#required": {} + } + }, + "GroupId": { + "target": "com.amazonaws.workmail#WorkMailIdentifier", + "traits": { + "smithy.api#documentation": "

The identifier for the group to which the members (users or groups) are\n associated.

", + "smithy.api#required": {} + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" + } + }, + "MaxResults": { + "target": "com.amazonaws.workmail#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return in a single call.

" + } + } + } + }, + "com.amazonaws.workmail#ListGroupMembersResponse": { + "type": "structure", + "members": { + "Members": { + "target": "com.amazonaws.workmail#Members", + "traits": { + "smithy.api#documentation": "

The members associated to the group.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is null when there are no further results to return.

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } } } }, - "com.amazonaws.workmail#ListGroupMembers": { + "com.amazonaws.workmail#ListGroups": { "type": "operation", "input": { - "target": "com.amazonaws.workmail#ListGroupMembersRequest" + "target": "com.amazonaws.workmail#ListGroupsRequest" }, "output": { - "target": "com.amazonaws.workmail#ListGroupMembersResponse" + "target": "com.amazonaws.workmail#ListGroupsResponse" }, "errors": [ { "target": "com.amazonaws.workmail#EntityNotFoundException" }, - { - "target": "com.amazonaws.workmail#EntityStateException" - }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, @@ -3877,7 +4636,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns an overview of the members of a group. Users and groups can be members of a\n group.

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

Returns summaries of the organization's groups.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -3886,27 +4645,20 @@ } } }, - "com.amazonaws.workmail#ListGroupMembersRequest": { + "com.amazonaws.workmail#ListGroupsRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The identifier for the organization under which the group exists.

", - "smithy.api#required": {} - } - }, - "GroupId": { - "target": "com.amazonaws.workmail#WorkMailIdentifier", - "traits": { - "smithy.api#documentation": "

The identifier for the group to which the members (users or groups) are\n associated.

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

The identifier for the organization under which the groups exist.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" } }, "MaxResults": { @@ -3917,35 +4669,32 @@ } } }, - "com.amazonaws.workmail#ListGroupMembersResponse": { + "com.amazonaws.workmail#ListGroupsResponse": { "type": "structure", "members": { - "Members": { - "target": "com.amazonaws.workmail#Members", + "Groups": { + "target": "com.amazonaws.workmail#Groups", "traits": { - "smithy.api#documentation": "

The members associated to the group.

" + "smithy.api#documentation": "

The overview of groups for an organization.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" + "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.

" } } } }, - "com.amazonaws.workmail#ListGroups": { + "com.amazonaws.workmail#ListImpersonationRoles": { "type": "operation", "input": { - "target": "com.amazonaws.workmail#ListGroupsRequest" + "target": "com.amazonaws.workmail#ListImpersonationRolesRequest" }, "output": { - "target": "com.amazonaws.workmail#ListGroupsResponse" + "target": "com.amazonaws.workmail#ListImpersonationRolesResponse" }, "errors": [ - { - "target": "com.amazonaws.workmail#EntityNotFoundException" - }, { "target": "com.amazonaws.workmail#InvalidParameterException" }, @@ -3957,8 +4706,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns summaries of the organization's groups.

", - "smithy.api#idempotent": {}, + "smithy.api#documentation": "

Lists all the impersonation roles for the given WorkMail organization.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -3966,43 +4714,43 @@ } } }, - "com.amazonaws.workmail#ListGroupsRequest": { + "com.amazonaws.workmail#ListImpersonationRolesRequest": { "type": "structure", "members": { "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The identifier for the organization under which the groups exist.

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

The WorkMail organization to which the listed impersonation roles belong.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. The first call does not\n contain any tokens.

" + "smithy.api#documentation": "

The token used to retrieve the next page of results. The first call doesn't require a\n token.

" } }, "MaxResults": { "target": "com.amazonaws.workmail#MaxResults", "traits": { - "smithy.api#documentation": "

The maximum number of results to return in a single call.

" + "smithy.api#documentation": "

The maximum number of results returned in a single call.

" } } } }, - "com.amazonaws.workmail#ListGroupsResponse": { + "com.amazonaws.workmail#ListImpersonationRolesResponse": { "type": "structure", "members": { - "Groups": { - "target": "com.amazonaws.workmail#Groups", + "Roles": { + "target": "com.amazonaws.workmail#ImpersonationRoleList", "traits": { - "smithy.api#documentation": "

The overview of groups for an organization.

" + "smithy.api#documentation": "

The list of impersonation roles under the given WorkMail organization.

" } }, "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "

The token to use to retrieve the next page of results. The value is \"null\" when there\n are no more results to return.

" + "smithy.api#documentation": "

The token to retrieve the next page of results. The value is null when\n there are no results to return.

" } } } @@ -4027,7 +4775,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the mail domains in a given Amazon WorkMail organization.

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

Lists the mail domains in a given WorkMail organization.

", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -4042,7 +4790,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which to list domains.

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

The WorkMail organization for which to list domains.

", "smithy.api#required": {} } }, @@ -4066,7 +4814,7 @@ "MailDomains": { "target": "com.amazonaws.workmail#MailDomains", "traits": { - "smithy.api#documentation": "

The list of mail domain summaries, specifying domains that exist in the specified Amazon WorkMail organization, along with the information about whether the domain is or isn't the default.

" + "smithy.api#documentation": "

The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.

" } }, "NextToken": { @@ -4264,14 +5012,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization under which to list mobile device access overrides.

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

The WorkMail organization under which to list mobile device access overrides.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "

The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:

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

The WorkMail user under which you list the mobile device access overrides. Accepts the following types of user identities:

\n " } }, "DeviceId": { @@ -4300,7 +5048,7 @@ "Overrides": { "target": "com.amazonaws.workmail#MobileDeviceAccessOverridesList", "traits": { - "smithy.api#documentation": "

The list of mobile device access overrides that exist for the specified Amazon WorkMail organization and user.

" + "smithy.api#documentation": "

The list of mobile device access overrides that exist for the specified WorkMail organization and user.

" } }, "NextToken": { @@ -4331,7 +5079,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the mobile device access rules for the specified Amazon WorkMail organization.

" + "smithy.api#documentation": "

Lists the mobile device access rules for the specified WorkMail organization.

" } }, "com.amazonaws.workmail#ListMobileDeviceAccessRulesRequest": { @@ -4340,7 +5088,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which to list the rules.

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

The WorkMail organization for which to list the rules.

", "smithy.api#required": {} } } @@ -4352,7 +5100,7 @@ "Rules": { "target": "com.amazonaws.workmail#MobileDeviceAccessRulesList", "traits": { - "smithy.api#documentation": "

The list of mobile device access rules that exist under the specified Amazon WorkMail organization.

" + "smithy.api#documentation": "

The list of mobile device access rules that exist under the specified WorkMail organization.

" } } } @@ -4492,7 +5240,7 @@ "NextToken": { "target": "com.amazonaws.workmail#NextToken", "traits": { - "smithy.api#documentation": "

The token used to paginate through the delegates associated with a resource. While\n results are still available, it has an associated value. When the last page is reached, the\n token is empty.

" + "smithy.api#documentation": "

The token used to paginate through the delegates associated with a resource. While\n results are still available, it has an associated value. When the last page is reached, the\n token is empty.

" } } } @@ -4581,7 +5329,7 @@ } ], "traits": { - "smithy.api#documentation": "

Lists the tags applied to an Amazon WorkMail organization resource.

" + "smithy.api#documentation": "

Lists the tags applied to an WorkMail organization resource.

" } }, "com.amazonaws.workmail#ListTagsForResourceRequest": { @@ -4735,6 +5483,7 @@ "DefaultDomain": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Whether the domain is default or not.

" } } @@ -4795,6 +5544,7 @@ "EstimatedProgress": { "target": "com.amazonaws.workmail#Percentage", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The estimated progress of the mailbox export job, in percentage points.

" } }, @@ -4832,32 +5582,37 @@ } }, "com.amazonaws.workmail#MailboxExportJobState": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "RUNNING", - "name": "RUNNING" - }, - { - "value": "COMPLETED", - "name": "COMPLETED" - }, - { - "value": "FAILED", - "name": "FAILED" - }, - { - "value": "CANCELLED", - "name": "CANCELLED" - } - ] + "type": "enum", + "members": { + "RUNNING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RUNNING" + } + }, + "COMPLETED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLETED" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "CANCELLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CANCELLED" + } + } } }, "com.amazonaws.workmail#MailboxQuota": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -4866,6 +5621,7 @@ "com.amazonaws.workmail#MailboxSize": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -4874,7 +5630,6 @@ "com.amazonaws.workmail#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -4911,13 +5666,13 @@ "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the member was enabled for Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the member was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the member was disabled from Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the member was disabled from WorkMail use.

" } } }, @@ -4926,18 +5681,20 @@ } }, "com.amazonaws.workmail#MemberType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GROUP", - "name": "GROUP" - }, - { - "value": "USER", - "name": "USER" + "type": "enum", + "members": { + "GROUP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GROUP" + } + }, + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" } - ] + } } }, "com.amazonaws.workmail#Members": { @@ -5034,7 +5791,7 @@ "MobileDeviceAccessRuleId": { "target": "com.amazonaws.workmail#MobileDeviceAccessRuleId", "traits": { - "smithy.api#documentation": "

The ID assigned to a mobile access rule.

" + "smithy.api#documentation": "

The ID assigned to a mobile access rule.

" } }, "Name": { @@ -5058,7 +5815,7 @@ "DeviceTypes": { "target": "com.amazonaws.workmail#DeviceTypeList", "traits": { - "smithy.api#documentation": "

Device types that a rule will match.

" + "smithy.api#documentation": "

Device types that a rule will match.

" } }, "NotDeviceTypes": { @@ -5117,7 +5874,7 @@ } }, "traits": { - "smithy.api#documentation": "

A rule that controls access to mobile devices for an Amazon WorkMail group.

" + "smithy.api#documentation": "

A rule that controls access to mobile devices for an WorkMail group.

" } }, "com.amazonaws.workmail#MobileDeviceAccessRuleDescription": { @@ -5131,18 +5888,20 @@ } }, "com.amazonaws.workmail#MobileDeviceAccessRuleEffect": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALLOW", - "name": "ALLOW" - }, - { - "value": "DENY", - "name": "DENY" + "type": "enum", + "members": { + "ALLOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALLOW" + } + }, + "DENY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DENY" } - ] + } } }, "com.amazonaws.workmail#MobileDeviceAccessRuleId": { @@ -5185,7 +5944,7 @@ } }, "traits": { - "smithy.api#documentation": "

The user, group, or resource name isn't unique in Amazon WorkMail.

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

The user, group, or resource name isn't unique in WorkMail.

", "smithy.api#error": "client" } }, @@ -5301,6 +6060,7 @@ "com.amazonaws.workmail#Percentage": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 100 @@ -5337,22 +6097,26 @@ } }, "com.amazonaws.workmail#PermissionType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "FULL_ACCESS", - "name": "FULL_ACCESS" - }, - { - "value": "SEND_AS", - "name": "SEND_AS" - }, - { - "value": "SEND_ON_BEHALF", - "name": "SEND_ON_BEHALF" + "type": "enum", + "members": { + "FULL_ACCESS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_ACCESS" + } + }, + "SEND_AS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEND_AS" + } + }, + "SEND_ON_BEHALF": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SEND_ON_BEHALF" } - ] + } } }, "com.amazonaws.workmail#PermissionValues": { @@ -5401,10 +6165,13 @@ }, { "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" } ], "traits": { - "smithy.api#documentation": "

Adds a new access control rule for the specified organization. The rule allows or\n denies access to the organization for the specified IPv4 addresses, access protocol\n actions, and user IDs. Adding a new rule with the same name as an existing rule replaces\n the older rule.

" + "smithy.api#documentation": "

Adds a new access control rule for the specified organization. The rule allows or\n denies access to the organization for the specified IPv4 addresses, access protocol\n actions, user IDs and impersonation IDs. Adding a new rule with the same name as an existing rule replaces\n the older rule.

" } }, "com.amazonaws.workmail#PutAccessControlRuleRequest": { @@ -5473,6 +6240,18 @@ "smithy.api#documentation": "

The identifier of the organization.

", "smithy.api#required": {} } + }, + "ImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "

Impersonation role IDs to include in the rule.

" + } + }, + "NotImpersonationRoleIds": { + "target": "com.amazonaws.workmail#ImpersonationRoleIdList", + "traits": { + "smithy.api#documentation": "

Impersonation role IDs to exclude from the rule.

" + } } } }, @@ -5564,7 +6343,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The ID of the organization that you are applying the DMARC policy to.

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

The ID of the organization that you are applying the DMARC policy to.

", "smithy.api#required": {} } }, @@ -5683,14 +6462,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

Identifies the Amazon WorkMail organization for which you create the override.

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

Identifies the WorkMail organization for which you create the override.

", "smithy.api#required": {} } }, "UserId": { "target": "com.amazonaws.workmail#EntityIdentifier", "traits": { - "smithy.api#documentation": "

The WorkMail user for which you create the override. Accepts the following types of user identities:

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

The WorkMail user for which you create the override. Accepts the following types of user identities:

\n ", "smithy.api#required": {} } }, @@ -5835,7 +6614,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers a new domain in Amazon WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has \n permanent permission to use the specified domain for sending your users' emails.

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

Registers a new domain in WorkMail and SES, and configures it for use by WorkMail. Emails received by SES for this domain are routed to the specified WorkMail organization, and WorkMail has \n permanent permission to use the specified domain for sending your users' emails.

", "smithy.api#idempotent": {} } }, @@ -5852,14 +6631,14 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization under which you're creating the domain.

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

The WorkMail organization under which you're creating the domain.

", "smithy.api#required": {} } }, "DomainName": { "target": "com.amazonaws.workmail#WorkMailDomainName", "traits": { - "smithy.api#documentation": "

The name of the mail domain to create in Amazon WorkMail and SES.

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

The name of the mail domain to create in WorkMail and SES.

", "smithy.api#required": {} } } @@ -5913,7 +6692,7 @@ } ], "traits": { - "smithy.api#documentation": "

Registers an existing and disabled user, group, or resource for Amazon WorkMail use by\n associating a mailbox and calendaring capabilities. It performs no change if the user,\n group, or resource is enabled and fails if the user, group, or resource is deleted. This\n operation results in the accumulation of costs. For more information, see Pricing. The equivalent console\n functionality for this operation is Enable.

\n

Users can either be created by calling the CreateUser API operation\n or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.

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

Registers an existing and disabled user, group, or resource for WorkMail use by\n associating a mailbox and calendaring capabilities. It performs no change if the user,\n group, or resource is enabled and fails if the user, group, or resource is deleted. This\n operation results in the accumulation of costs. For more information, see Pricing. The equivalent console\n functionality for this operation is Enable.

\n

Users can either be created by calling the CreateUser API operation\n or they can be synchronized from your directory. For more information, see DeregisterFromWorkMail.

", "smithy.api#idempotent": {} } }, @@ -5955,7 +6734,7 @@ } }, "traits": { - "smithy.api#documentation": "

This user, group, or resource name is not allowed in Amazon WorkMail.

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

This user, group, or resource name is not allowed in WorkMail.

", "smithy.api#error": "client" } }, @@ -6067,13 +6846,13 @@ "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the resource was enabled for Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the resource was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the resource was disabled from Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the resource was disabled from WorkMail use.

" } } }, @@ -6121,18 +6900,20 @@ } }, "com.amazonaws.workmail#ResourceType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ROOM", - "name": "ROOM" - }, - { - "value": "EQUIPMENT", - "name": "EQUIPMENT" + "type": "enum", + "members": { + "ROOM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROOM" + } + }, + "EQUIPMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EQUIPMENT" } - ] + } } }, "com.amazonaws.workmail#Resources": { @@ -6142,28 +6923,31 @@ } }, "com.amazonaws.workmail#RetentionAction": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "NONE", - "name": "NONE" - }, - { - "value": "DELETE", - "name": "DELETE" - }, - { - "value": "PERMANENTLY_DELETE", - "name": "PERMANENTLY_DELETE" + "type": "enum", + "members": { + "NONE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NONE" + } + }, + "DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DELETE" + } + }, + "PERMANENTLY_DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PERMANENTLY_DELETE" } - ] + } } }, "com.amazonaws.workmail#RetentionPeriod": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 730 @@ -6235,7 +7019,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a mailbox export job to export MIME-format email messages and calendar items\n from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3)\n bucket. For more information, see Exporting mailbox content in\n the Amazon WorkMail Administrator Guide.

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

Starts a mailbox export job to export MIME-format email messages and calendar items\n from the specified mailbox to the specified Amazon Simple Storage Service (Amazon S3)\n bucket. For more information, see Exporting mailbox content in\n the WorkMail Administrator Guide.

", "smithy.api#idempotent": {} } }, @@ -6395,7 +7179,7 @@ } ], "traits": { - "smithy.api#documentation": "

Applies the specified tags to the specified Amazon WorkMail organization\n resource.

" + "smithy.api#documentation": "

Applies the specified tags to the specified WorkMailorganization\n resource.

" } }, "com.amazonaws.workmail#TagResourceRequest": { @@ -6430,6 +7214,18 @@ } } }, + "com.amazonaws.workmail#TargetUsers": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#EntityIdentifier" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 10 + } + } + }, "com.amazonaws.workmail#TestAvailabilityConfiguration": { "type": "operation", "input": { @@ -6453,7 +7249,7 @@ } ], "traits": { - "smithy.api#documentation": "

Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header.

\n \n

The request must contain either one provider definition (EwsProvider or\n LambdaProvider) or the DomainName parameter. If the\n DomainName parameter is provided, the configuration stored under the\n DomainName will be tested.

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

Performs a test on an availability provider to ensure that access is allowed. For EWS, it verifies the provided credentials can be used to successfully log in. For Lambda, it verifies that the Lambda function can be invoked and that the resource access\n policy was configured to deny anonymous access. An anonymous invocation is one done without providing either a SourceArn or SourceAccount header.

\n \n

The request must contain either one provider definition (EwsProvider or\n LambdaProvider) or the DomainName parameter. If the\n DomainName parameter is provided, the configuration stored under the\n DomainName will be tested.

\n
" } }, "com.amazonaws.workmail#TestAvailabilityConfigurationRequest": { @@ -6462,7 +7258,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization where the availability provider will be tested.

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

The WorkMail organization where the availability provider will be tested.

", "smithy.api#required": {} } }, @@ -6486,6 +7282,7 @@ "TestPassed": { "target": "com.amazonaws.workmail#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

Boolean indicating whether the test passed or failed.

" } }, @@ -6539,7 +7336,7 @@ } ], "traits": { - "smithy.api#documentation": "

Untags the specified tags from the specified Amazon WorkMail organization\n resource.

" + "smithy.api#documentation": "

Untags the specified tags from the specified WorkMail organization\n resource.

" } }, "com.amazonaws.workmail#UntagResourceRequest": { @@ -6598,7 +7395,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which the AvailabilityConfiguration will be\n updated.

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

The WorkMail organization for which the AvailabilityConfiguration will be\n updated.

", "smithy.api#required": {} } }, @@ -6663,7 +7460,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization for which to list domains.

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

The WorkMail organization for which to list domains.

", "smithy.api#required": {} } }, @@ -6680,6 +7477,91 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#UpdateImpersonationRole": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#UpdateImpersonationRoleRequest" + }, + "output": { + "target": "com.amazonaws.workmail#UpdateImpersonationRoleResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#EntityNotFoundException" + }, + { + "target": "com.amazonaws.workmail#EntityStateException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#LimitExceededException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + }, + { + "target": "com.amazonaws.workmail#ResourceNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates an impersonation role for the given WorkMail organization.

" + } + }, + "com.amazonaws.workmail#UpdateImpersonationRoleRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

The WorkMail organization that contains the impersonation role to update.

", + "smithy.api#required": {} + } + }, + "ImpersonationRoleId": { + "target": "com.amazonaws.workmail#ImpersonationRoleId", + "traits": { + "smithy.api#documentation": "

The ID of the impersonation role to update.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.workmail#ImpersonationRoleName", + "traits": { + "smithy.api#documentation": "

The updated impersonation role name.

", + "smithy.api#required": {} + } + }, + "Type": { + "target": "com.amazonaws.workmail#ImpersonationRoleType", + "traits": { + "smithy.api#documentation": "

The updated impersonation role type.

", + "smithy.api#required": {} + } + }, + "Description": { + "target": "com.amazonaws.workmail#ImpersonationRoleDescription", + "traits": { + "smithy.api#documentation": "

The updated impersonation role description.

" + } + }, + "Rules": { + "target": "com.amazonaws.workmail#ImpersonationRuleList", + "traits": { + "smithy.api#documentation": "

The updated list of rules.

", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#UpdateImpersonationRoleResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#UpdateMailboxQuota": { "type": "operation", "input": { @@ -6763,7 +7645,7 @@ } ], "traits": { - "smithy.api#documentation": "

Updates a mobile device access rule for the specified Amazon WorkMail organization.

" + "smithy.api#documentation": "

Updates a mobile device access rule for the specified WorkMail organization.

" } }, "com.amazonaws.workmail#UpdateMobileDeviceAccessRuleRequest": { @@ -6772,7 +7654,7 @@ "OrganizationId": { "target": "com.amazonaws.workmail#OrganizationId", "traits": { - "smithy.api#documentation": "

The Amazon WorkMail organization under which the rule will be updated.

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

The WorkMail organization under which the rule will be updated.

", "smithy.api#required": {} } }, @@ -7067,18 +7949,18 @@ "EnabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the user was enabled for Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the user was enabled for WorkMail use.

" } }, "DisabledDate": { "target": "com.amazonaws.workmail#Timestamp", "traits": { - "smithy.api#documentation": "

The date indicating when the user was disabled from Amazon WorkMail use.

" + "smithy.api#documentation": "

The date indicating when the user was disabled from WorkMail use.

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

The representation of an Amazon WorkMail user.

" + "smithy.api#documentation": "

The representation of an WorkMail user.

" } }, "com.amazonaws.workmail#UserIdList": { @@ -7104,22 +7986,26 @@ } }, "com.amazonaws.workmail#UserRole": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "USER", - "name": "USER" - }, - { - "value": "RESOURCE", - "name": "RESOURCE" - }, - { - "value": "SYSTEM_USER", - "name": "SYSTEM_USER" + "type": "enum", + "members": { + "USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "USER" + } + }, + "RESOURCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RESOURCE" + } + }, + "SYSTEM_USER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SYSTEM_USER" } - ] + } } }, "com.amazonaws.workmail#Users": { @@ -7149,21 +8035,6 @@ }, "com.amazonaws.workmail#WorkMailService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WorkMail", - "arnNamespace": "workmail", - "cloudFormationName": "WorkMail", - "cloudTrailEventSource": "workmail.amazonaws.com", - "endpointPrefix": "workmail" - }, - "aws.auth#sigv4": { - "name": "workmail" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Amazon WorkMail is a secure, managed business email and calendaring service with support for\n existing desktop and mobile email clients. You can access your email, contacts, and\n calendars using Microsoft Outlook, your browser, or other native iOS and Android email\n applications. You can integrate WorkMail with your existing corporate directory and control\n both the keys that encrypt your data and the location in which your data is\n stored.

\n

The WorkMail API is designed for the following scenarios:

\n \n \n \n \n

All WorkMail API operations are Amazon-authenticated and certificate-signed. They not\n only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management\n users and roles to help facilitate access, trust, and permission policies. By creating a\n role and allowing an IAM user to access the WorkMail site, the IAM user gains full\n administrative visibility into the entire WorkMail organization (or as set in the IAM\n policy). This includes, but is not limited to, the ability to create, update, and delete\n users, groups, and resources. This allows developers to perform the scenarios listed above,\n as well as give users the ability to grant access on a selective basis using the IAM\n model.

", - "smithy.api#title": "Amazon WorkMail" - }, "version": "2017-10-01", "operations": [ { @@ -7172,6 +8043,9 @@ { "target": "com.amazonaws.workmail#AssociateMemberToGroup" }, + { + "target": "com.amazonaws.workmail#AssumeImpersonationRole" + }, { "target": "com.amazonaws.workmail#CancelMailboxExportJob" }, @@ -7184,6 +8058,9 @@ { "target": "com.amazonaws.workmail#CreateGroup" }, + { + "target": "com.amazonaws.workmail#CreateImpersonationRole" + }, { "target": "com.amazonaws.workmail#CreateMobileDeviceAccessRule" }, @@ -7211,6 +8088,9 @@ { "target": "com.amazonaws.workmail#DeleteGroup" }, + { + "target": "com.amazonaws.workmail#DeleteImpersonationRole" + }, { "target": "com.amazonaws.workmail#DeleteMailboxPermissions" }, @@ -7271,6 +8151,12 @@ { "target": "com.amazonaws.workmail#GetDefaultRetentionPolicy" }, + { + "target": "com.amazonaws.workmail#GetImpersonationRole" + }, + { + "target": "com.amazonaws.workmail#GetImpersonationRoleEffect" + }, { "target": "com.amazonaws.workmail#GetMailboxDetails" }, @@ -7298,6 +8184,9 @@ { "target": "com.amazonaws.workmail#ListGroups" }, + { + "target": "com.amazonaws.workmail#ListImpersonationRoles" + }, { "target": "com.amazonaws.workmail#ListMailboxExportJobs" }, @@ -7373,6 +8262,9 @@ { "target": "com.amazonaws.workmail#UpdateDefaultMailDomain" }, + { + "target": "com.amazonaws.workmail#UpdateImpersonationRole" + }, { "target": "com.amazonaws.workmail#UpdateMailboxQuota" }, @@ -7385,7 +8277,22 @@ { "target": "com.amazonaws.workmail#UpdateResource" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WorkMail", + "arnNamespace": "workmail", + "cloudFormationName": "WorkMail", + "cloudTrailEventSource": "workmail.amazonaws.com", + "endpointPrefix": "workmail" + }, + "aws.auth#sigv4": { + "name": "workmail" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

WorkMail is a secure, managed business email and calendaring service with support for\n existing desktop and mobile email clients. You can access your email, contacts, and\n calendars using Microsoft Outlook, your browser, or other native iOS and Android email\n applications. You can integrate WorkMail with your existing corporate directory and control\n both the keys that encrypt your data and the location in which your data is\n stored.

\n

The WorkMail API is designed for the following scenarios:

\n \n \n \n \n

All WorkMail API operations are Amazon-authenticated and certificate-signed. They not\n only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management\n users and roles to help facilitate access, trust, and permission policies. By creating a\n role and allowing an IAM user to access the WorkMail site, the IAM user gains full\n administrative visibility into the entire WorkMail organization (or as set in the IAM\n policy). This includes, but is not limited to, the ability to create, update, and delete\n users, groups, and resources. This allows developers to perform the scenarios listed above,\n as well as give users the ability to grant access on a selective basis using the IAM\n model.

", + "smithy.api#title": "Amazon WorkMail" + } } } } diff --git a/codegen/sdk/aws-models/workmailmessageflow.json b/codegen/sdk/aws-models/workmailmessageflow.json index ba869814736..39491e410e4 100644 --- a/codegen/sdk/aws-models/workmailmessageflow.json +++ b/codegen/sdk/aws-models/workmailmessageflow.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { diff --git a/codegen/sdk/aws-models/workspaces-web.json b/codegen/sdk/aws-models/workspaces-web.json index 72e02c1dc95..298ceaf0b85 100644 --- a/codegen/sdk/aws-models/workspaces-web.json +++ b/codegen/sdk/aws-models/workspaces-web.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "shapes": { "com.amazonaws.workspacesweb#ARN": { "type": "string", @@ -13,21 +13,6 @@ }, "com.amazonaws.workspacesweb#AWSErmineControlPlaneService": { "type": "service", - "traits": { - "aws.api#service": { - "sdkId": "WorkSpaces Web", - "arnNamespace": "workspaces-web", - "cloudFormationName": "WorkSpacesWeb", - "cloudTrailEventSource": "workspaces-web.amazonaws.com", - "endpointPrefix": "workspaces-web" - }, - "aws.auth#sigv4": { - "name": "workspaces-web" - }, - "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate\n secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide\n their employees with access to internal websites and SaaS web applications without the\n administrative burden of appliances or specialized client software. WorkSpaces Web provides\n simple policy tools tailored for user interactions, while offloading common tasks like\n capacity management, scaling, and maintaining browser images.

", - "smithy.api#title": "Amazon WorkSpaces Web" - }, "version": "2020-07-08", "operations": [ { @@ -162,7 +147,22 @@ { "target": "com.amazonaws.workspacesweb#UpdateUserSettings" } - ] + ], + "traits": { + "aws.api#service": { + "sdkId": "WorkSpaces Web", + "arnNamespace": "workspaces-web", + "cloudFormationName": "WorkSpacesWeb", + "cloudTrailEventSource": "workspaces-web.amazonaws.com", + "endpointPrefix": "workspaces-web" + }, + "aws.auth#sigv4": { + "name": "workspaces-web" + }, + "aws.protocols#restJson1": {}, + "smithy.api#documentation": "

WorkSpaces Web is a low cost, fully managed WorkSpace built specifically to facilitate\n secure, web-based workloads. WorkSpaces Web makes it easy for customers to safely provide\n their employees with access to internal websites and SaaS web applications without the\n administrative burden of appliances or specialized client software. WorkSpaces Web provides\n simple policy tools tailored for user interactions, while offloading common tasks like\n capacity management, scaling, and maintaining browser images.

", + "smithy.api#title": "Amazon WorkSpaces Web" + } }, "com.amazonaws.workspacesweb#AccessDeniedException": { "type": "structure", @@ -1793,7 +1793,6 @@ "com.amazonaws.workspacesweb#DisconnectTimeoutInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 600 @@ -2456,7 +2455,6 @@ "com.amazonaws.workspacesweb#IdleDisconnectTimeoutInMinutes": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 60 @@ -2472,6 +2470,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.workspacesweb#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Advice to clients on when the call can be safely retried.

", "smithy.api#httpHeader": "Retry-After" } @@ -3081,7 +3080,6 @@ "com.amazonaws.workspacesweb#MaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1 } @@ -3397,7 +3395,10 @@ "type": "string" }, "com.amazonaws.workspacesweb#RetryAfterSeconds": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.workspacesweb#SamlMetadata": { "type": "string", @@ -3674,6 +3675,7 @@ "retryAfterSeconds": { "target": "com.amazonaws.workspacesweb#RetryAfterSeconds", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

Advice to clients on when the call can be safely retried.

", "smithy.api#httpHeader": "Retry-After" } @@ -4523,4 +4525,4 @@ } } } -} \ No newline at end of file +} diff --git a/codegen/sdk/aws-models/xray.json b/codegen/sdk/aws-models/xray.json index 462332a5258..c0578579d7f 100644 --- a/codegen/sdk/aws-models/xray.json +++ b/codegen/sdk/aws-models/xray.json @@ -1,5 +1,5 @@ { - "smithy": "1.0", + "smithy": "2.0", "metadata": { "suppressions": [ { @@ -396,11 +396,15 @@ } }, "com.amazonaws.xray#Boolean": { - "type": "boolean" + "type": "boolean", + "traits": { + "smithy.api#default": false + } }, "com.amazonaws.xray#BorrowCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -638,7 +642,10 @@ } }, "com.amazonaws.xray#Double": { - "type": "double" + "type": "double", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.xray#EC2InstanceId": { "type": "string", @@ -1085,6 +1092,7 @@ "com.amazonaws.xray#FixedRate": { "type": "double", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0, "max": 1 @@ -1329,7 +1337,6 @@ "com.amazonaws.xray#GetInsightEventsMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 50 @@ -1537,7 +1544,6 @@ "com.amazonaws.xray#GetInsightSummariesMaxResults": { "type": "integer", "traits": { - "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 100 @@ -1877,6 +1883,7 @@ "ContainsOldGroupVersions": { "target": "com.amazonaws.xray#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag indicating whether the group's filter expression has been consistent, or\n if the returned service graph may show traces from an older version of the group's filter\n expression.

" } }, @@ -1985,6 +1992,7 @@ "ContainsOldGroupVersions": { "target": "com.amazonaws.xray#Boolean", "traits": { + "smithy.api#default": false, "smithy.api#documentation": "

A flag indicating whether or not a group's filter expression has been consistent, or if a returned\n aggregation might show statistics from an older version of the group's filter expression.

" } }, @@ -2278,12 +2286,14 @@ "Value": { "target": "com.amazonaws.xray#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The value of the entry.

" } }, "Count": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The prevalence of the entry.

" } } @@ -2716,7 +2726,10 @@ } }, "com.amazonaws.xray#Integer": { - "type": "integer" + "type": "integer", + "traits": { + "smithy.api#default": 0 + } }, "com.amazonaws.xray#InvalidRequestException": { "type": "structure", @@ -2794,32 +2807,21 @@ } }, "com.amazonaws.xray#NullableBoolean": { - "type": "boolean", - "traits": { - "smithy.api#box": {} - } + "type": "boolean" }, "com.amazonaws.xray#NullableDouble": { - "type": "double", - "traits": { - "smithy.api#box": {} - } + "type": "double" }, "com.amazonaws.xray#NullableInteger": { - "type": "integer", - "traits": { - "smithy.api#box": {} - } + "type": "integer" }, "com.amazonaws.xray#NullableLong": { - "type": "long", - "traits": { - "smithy.api#box": {} - } + "type": "long" }, "com.amazonaws.xray#Priority": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1, "max": 9999 @@ -2990,6 +2992,7 @@ "com.amazonaws.xray#RequestCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3024,6 +3027,7 @@ "com.amazonaws.xray#ReservoirSize": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3226,6 +3230,7 @@ "com.amazonaws.xray#SampledCount": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 0 } @@ -3256,6 +3261,7 @@ "Priority": { "target": "com.amazonaws.xray#Priority", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The priority of the sampling rule.

", "smithy.api#required": {} } @@ -3263,6 +3269,7 @@ "FixedRate": { "target": "com.amazonaws.xray#FixedRate", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of matching requests to instrument, after the reservoir is\n exhausted.

", "smithy.api#required": {} } @@ -3270,6 +3277,7 @@ "ReservoirSize": { "target": "com.amazonaws.xray#ReservoirSize", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

A fixed number of matching requests to instrument per second, prior to applying the\n fixed rate. The reservoir is not used directly by services, but applies to all services using the rule collectively.

", "smithy.api#required": {} } @@ -3312,6 +3320,7 @@ "Version": { "target": "com.amazonaws.xray#Version", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The version of the sampling rule format (1).

", "smithy.api#required": {} } @@ -3457,18 +3466,21 @@ "RequestCount": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests that matched the rule.

" } }, "BorrowCount": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests recorded with borrowed reservoir quota.

" } }, "SampledCount": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests recorded.

" } } @@ -3510,6 +3522,7 @@ "RequestCount": { "target": "com.amazonaws.xray#RequestCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests that matched the rule.

", "smithy.api#required": {} } @@ -3517,6 +3530,7 @@ "SampledCount": { "target": "com.amazonaws.xray#SampledCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests recorded.

", "smithy.api#required": {} } @@ -3524,6 +3538,7 @@ "BorrowCount": { "target": "com.amazonaws.xray#BorrowCount", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The number of requests recorded with borrowed reservoir quota.

" } } @@ -3591,6 +3606,7 @@ "FixedRate": { "target": "com.amazonaws.xray#Double", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The percentage of matching requests to instrument, after the reservoir is\n exhausted.

" } }, @@ -4312,6 +4328,7 @@ "Revision": { "target": "com.amazonaws.xray#Integer", "traits": { + "smithy.api#default": 0, "smithy.api#documentation": "

The revision number of a trace.

" } }, @@ -4630,6 +4647,7 @@ "com.amazonaws.xray#Version": { "type": "integer", "traits": { + "smithy.api#default": 0, "smithy.api#range": { "min": 1 } diff --git a/gradle.properties b/gradle.properties index 69e9e1964aa..2a66cfc96ae 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ sdkVersion=0.17.8-SNAPSHOT smithyVersion=1.25.2 smithyGradleVersion=0.6.0 # smithy-kotlin codegen and runtime are versioned together -smithyKotlinVersion=0.12.9-SNAPSHOT +smithyKotlinVersion=0.12.9 # kotlin kotlinVersion=1.7.10