From 2730b5424377944a5a2ad5e1ad7d3ca4135dae1c Mon Sep 17 00:00:00 2001 From: Trivikram Kamat <16024985+trivikr@users.noreply.github.com> Date: Fri, 15 Oct 2021 12:04:52 -0700 Subject: [PATCH] feat(clients): update clients as of 10/15/2021 (#2902) --- .../client-accessanalyzer/src/endpoints.ts | 2 +- clients/client-account/src/endpoints.ts | 2 +- clients/client-acm-pca/src/endpoints.ts | 2 +- clients/client-acm/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-amp/src/endpoints.ts | 2 +- clients/client-amplify/src/endpoints.ts | 2 +- .../client-amplifybackend/src/endpoints.ts | 2 +- clients/client-api-gateway/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-apigatewayv2/src/endpoints.ts | 2 +- clients/client-app-mesh/src/endpoints.ts | 2 +- clients/client-appconfig/src/endpoints.ts | 2 +- clients/client-appflow/src/endpoints.ts | 2 +- .../client-appintegrations/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-apprunner/src/endpoints.ts | 2 +- clients/client-appstream/src/endpoints.ts | 2 +- clients/client-appsync/src/endpoints.ts | 2 +- clients/client-athena/src/endpoints.ts | 2 +- clients/client-auditmanager/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-auto-scaling/src/AutoScaling.ts | 10 +- .../src/AutoScalingClient.ts | 2 + .../commands/DescribeAccountLimitsCommand.ts | 2 +- .../DescribeAutoScalingGroupsCommand.ts | 6 +- clients/client-auto-scaling/src/endpoints.ts | 2 +- .../src/models/models_0.ts | 155 +- .../src/protocols/Aws_query.ts | 23 + clients/client-backup/src/endpoints.ts | 2 +- clients/client-batch/src/endpoints.ts | 2 +- clients/client-braket/src/endpoints.ts | 2 +- clients/client-budgets/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-chime/src/endpoints.ts | 2 +- clients/client-cloud9/src/endpoints.ts | 2 +- clients/client-cloudcontrol/src/endpoints.ts | 2 +- .../client-clouddirectory/src/endpoints.ts | 2 +- .../client-cloudformation/src/endpoints.ts | 2 +- clients/client-cloudfront/src/endpoints.ts | 2 +- clients/client-cloudhsm-v2/src/endpoints.ts | 2 +- clients/client-cloudhsm/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-cloudsearch/src/endpoints.ts | 2 +- .../client-cloudsearch/src/models/models_0.ts | 52 +- .../src/protocols/Aws_query.ts | 96 + clients/client-cloudtrail/src/endpoints.ts | 2 +- .../client-cloudwatch-events/src/endpoints.ts | 2 +- .../client-cloudwatch-logs/src/endpoints.ts | 2 +- clients/client-cloudwatch/src/endpoints.ts | 2 +- clients/client-codeartifact/src/endpoints.ts | 2 +- clients/client-codebuild/src/endpoints.ts | 2 +- clients/client-codecommit/src/endpoints.ts | 2 +- clients/client-codedeploy/src/endpoints.ts | 2 +- .../client-codeguru-reviewer/src/endpoints.ts | 2 +- .../client-codeguruprofiler/src/endpoints.ts | 2 +- clients/client-codepipeline/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-codestar/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-cognito-identity/src/endpoints.ts | 2 +- clients/client-cognito-sync/src/endpoints.ts | 2 +- clients/client-comprehend/src/endpoints.ts | 2 +- .../client-comprehendmedical/src/endpoints.ts | 2 +- .../client-compute-optimizer/src/endpoints.ts | 2 +- .../client-config-service/src/endpoints.ts | 2 +- .../src/models/models_0.ts | 1 + .../src/endpoints.ts | 2 +- clients/client-connect/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-cost-explorer/src/endpoints.ts | 2 +- .../client-customer-profiles/src/endpoints.ts | 2 +- clients/client-data-pipeline/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-databrew/src/endpoints.ts | 2 +- clients/client-dataexchange/src/endpoints.ts | 2 +- clients/client-datasync/src/endpoints.ts | 2 +- clients/client-dax/src/endpoints.ts | 2 +- clients/client-detective/src/endpoints.ts | 2 +- clients/client-device-farm/src/endpoints.ts | 2 +- clients/client-devops-guru/src/endpoints.ts | 2 +- .../client-direct-connect/src/endpoints.ts | 2 +- .../client-directory-service/src/endpoints.ts | 2 +- clients/client-dlm/src/endpoints.ts | 2 +- clients/client-docdb/src/endpoints.ts | 2 +- .../client-dynamodb-streams/src/endpoints.ts | 2 +- clients/client-dynamodb/src/endpoints.ts | 2 +- clients/client-ebs/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-ec2/src/EC2.ts | 46 +- .../src/commands/CreateFpgaImageCommand.ts | 2 +- .../CreateInstanceEventWindowCommand.ts | 3 +- .../commands/CreateLaunchTemplateCommand.ts | 2 +- .../CreateTrafficMirrorFilterRuleCommand.ts | 2 +- .../src/commands/CreateVpcEndpointCommand.ts | 11 +- ...eVpcEndpointServiceConfigurationCommand.ts | 2 +- .../DescribeAvailabilityZonesCommand.ts | 4 +- .../commands/DescribeFleetHistoryCommand.ts | 3 +- .../src/commands/DescribeFpgaImagesCommand.ts | 2 +- .../src/commands/DescribeIdFormatCommand.ts | 2 +- .../src/commands/DescribeRegionsCommand.ts | 6 +- .../DescribeSpotFleetRequestHistoryCommand.ts | 2 + ...scribeTrunkInterfaceAssociationsCommand.ts | 6 +- .../DescribeVolumeAttributeCommand.ts | 2 +- ...nectionDeviceSampleConfigurationCommand.ts | 2 +- .../src/commands/ModifyIdFormatCommand.ts | 2 +- ...afficMirrorFilterNetworkServicesCommand.ts | 2 - .../ModifyTrafficMirrorFilterRuleCommand.ts | 2 +- .../ModifyTrafficMirrorSessionCommand.ts | 3 +- ...ifyVpcEndpointServicePermissionsCommand.ts | 2 +- clients/client-ec2/src/endpoints.ts | 2 +- clients/client-ec2/src/models/models_0.ts | 189 +- clients/client-ec2/src/models/models_1.ts | 340 +- clients/client-ec2/src/models/models_2.ts | 508 +- clients/client-ec2/src/models/models_3.ts | 318 +- clients/client-ec2/src/models/models_4.ts | 260 +- clients/client-ec2/src/models/models_5.ts | 193 +- clients/client-ec2/src/protocols/Aws_ec2.ts | 106 +- clients/client-ecr-public/src/endpoints.ts | 2 +- clients/client-ecr/src/endpoints.ts | 6 +- clients/client-ecs/src/endpoints.ts | 2 +- clients/client-ecs/src/models/models_0.ts | 23 +- clients/client-efs/src/EFS.ts | 23 +- .../commands/PutAccountPreferencesCommand.ts | 10 +- .../commands/PutFileSystemPolicyCommand.ts | 4 +- .../PutLifecycleConfigurationCommand.ts | 9 +- clients/client-efs/src/endpoints.ts | 2 +- clients/client-efs/src/models/models_0.ts | 40 +- clients/client-eks/src/endpoints.ts | 2 +- .../client-elastic-beanstalk/src/endpoints.ts | 2 +- .../client-elastic-inference/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/models/models_0.ts | 58 +- .../src/protocols/Aws_query.ts | 23 + .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-elasticache/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-emr-containers/src/endpoints.ts | 2 +- clients/client-emr/src/endpoints.ts | 2 +- clients/client-eventbridge/src/endpoints.ts | 2 +- clients/client-finspace-data/src/endpoints.ts | 2 +- clients/client-finspace/src/endpoints.ts | 2 +- clients/client-firehose/src/endpoints.ts | 2 +- clients/client-fis/src/endpoints.ts | 2 +- clients/client-fms/src/endpoints.ts | 2 +- clients/client-forecast/src/endpoints.ts | 2 +- clients/client-forecastquery/src/endpoints.ts | 2 +- .../client-frauddetector/src/FraudDetector.ts | 326 +- .../src/FraudDetectorClient.ts | 42 + .../commands/CancelBatchImportJobCommand.ts | 95 + .../commands/CreateBatchImportJobCommand.ts | 95 + .../commands/DeleteBatchImportJobCommand.ts | 95 + .../src/commands/DeleteEventTypeCommand.ts | 2 +- .../DeleteEventsByEventTypeCommand.ts | 95 + .../src/commands/GetBatchImportJobsCommand.ts | 98 + ...GetDeleteEventsByEventTypeStatusCommand.ts | 103 + .../src/commands/GetEventCommand.ts | 92 + .../commands/GetKMSEncryptionKeyCommand.ts | 2 +- .../commands/PutKMSEncryptionKeyCommand.ts | 2 +- .../src/commands/SendEventCommand.ts | 92 + .../src/commands/UpdateEventLabelCommand.ts | 95 + .../src/commands/UpdateModelCommand.ts | 2 +- .../UpdateModelVersionStatusCommand.ts | 2 +- clients/client-frauddetector/src/endpoints.ts | 2 +- clients/client-frauddetector/src/index.ts | 10 + .../src/models/models_0.ts | 700 ++- .../pagination/GetBatchImportJobsPaginator.ts | 59 + .../src/protocols/Aws_json1_1.ts | 1772 ++++++- clients/client-fsx/src/endpoints.ts | 2 +- clients/client-gamelift/src/endpoints.ts | 2 +- clients/client-glacier/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-glue/src/endpoints.ts | 2 +- clients/client-glue/src/models/models_0.ts | 13 + .../client-glue/src/protocols/Aws_json1_1.ts | 5 + clients/client-grafana/src/endpoints.ts | 2 +- clients/client-greengrass/src/endpoints.ts | 2 +- clients/client-greengrassv2/src/endpoints.ts | 2 +- clients/client-groundstation/src/endpoints.ts | 2 +- clients/client-guardduty/src/endpoints.ts | 2 +- clients/client-health/src/endpoints.ts | 2 +- clients/client-healthlake/src/endpoints.ts | 2 +- clients/client-honeycode/src/endpoints.ts | 2 +- clients/client-iam/src/endpoints.ts | 2 +- clients/client-identitystore/src/endpoints.ts | 2 +- clients/client-imagebuilder/src/endpoints.ts | 2 +- clients/client-inspector/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-iot-data-plane/src/endpoints.ts | 2 +- .../client-iot-events-data/src/endpoints.ts | 2 +- clients/client-iot-events/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-iot-wireless/src/endpoints.ts | 2 +- clients/client-iot/src/endpoints.ts | 2 +- clients/client-iotanalytics/src/endpoints.ts | 2 +- .../client-iotdeviceadvisor/src/endpoints.ts | 2 +- clients/client-iotfleethub/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-iotsitewise/src/endpoints.ts | 2 +- .../client-iotthingsgraph/src/endpoints.ts | 2 +- clients/client-ivs/src/endpoints.ts | 2 +- clients/client-kafka/src/endpoints.ts | 2 +- clients/client-kafkaconnect/src/endpoints.ts | 2 +- clients/client-kendra/src/endpoints.ts | 2 +- .../src/KinesisAnalyticsV2.ts | 4 +- ...tionInputProcessingConfigurationCommand.ts | 2 +- .../commands/AddApplicationOutputCommand.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/models/models_0.ts | 124 +- .../src/protocols/Aws_json1_1.ts | 16 + .../client-kinesis-analytics/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-kinesis-video/src/endpoints.ts | 2 +- clients/client-kinesis/src/endpoints.ts | 2 +- clients/client-kms/src/endpoints.ts | 2 +- clients/client-lakeformation/src/endpoints.ts | 2 +- clients/client-lambda/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-lex-models-v2/src/endpoints.ts | 2 +- .../src/models/models_0.ts | 281 +- .../src/protocols/Aws_restJson1.ts | 163 + .../src/endpoints.ts | 2 +- .../client-lex-runtime-v2/src/LexRuntimeV2.ts | 84 + .../src/commands/RecognizeTextCommand.ts | 26 + .../src/commands/RecognizeUtteranceCommand.ts | 26 + .../src/commands/StartConversationCommand.ts | 32 + .../client-lex-runtime-v2/src/endpoints.ts | 2 +- .../src/models/models_0.ts | 22 +- .../client-license-manager/src/endpoints.ts | 2 +- clients/client-lightsail/src/endpoints.ts | 2 +- clients/client-location/src/endpoints.ts | 2 +- .../client-lookoutequipment/src/endpoints.ts | 2 +- .../client-lookoutmetrics/src/endpoints.ts | 2 +- clients/client-lookoutvision/src/endpoints.ts | 2 +- .../client-machine-learning/src/endpoints.ts | 2 +- clients/client-macie/src/endpoints.ts | 2 +- clients/client-macie2/src/endpoints.ts | 2 +- .../client-managedblockchain/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-mediaconnect/src/endpoints.ts | 2 +- .../client-mediaconvert/src/MediaConvert.ts | 88 + .../src/MediaConvertClient.ts | 9 + .../src/commands/DeletePolicyCommand.ts | 95 + .../src/commands/GetPolicyCommand.ts | 95 + .../src/commands/PutPolicyCommand.ts | 95 + .../src/commands/UpdateQueueCommand.ts | 3 +- clients/client-mediaconvert/src/endpoints.ts | 2 +- clients/client-mediaconvert/src/index.ts | 3 + .../client-mediaconvert/src/models/index.ts | 1 + .../src/models/models_1.ts | 131 +- .../src/models/models_2.ts | 17 + .../src/protocols/Aws_restJson1.ts | 370 ++ clients/client-medialive/src/MediaLive.ts | 27 + .../client-medialive/src/MediaLiveClient.ts | 3 + .../src/commands/ClaimDeviceCommand.ts | 95 + clients/client-medialive/src/endpoints.ts | 2 +- clients/client-medialive/src/index.ts | 1 + .../client-medialive/src/models/models_0.ts | 156 +- .../client-medialive/src/models/models_1.ts | 78 +- .../src/protocols/Aws_restJson1.ts | 238 + .../client-mediapackage-vod/src/endpoints.ts | 2 +- clients/client-mediapackage/src/endpoints.ts | 2 +- .../client-mediastore-data/src/endpoints.ts | 2 +- clients/client-mediastore/src/endpoints.ts | 2 +- clients/client-mediatailor/src/MediaTailor.ts | 148 + .../src/MediaTailorClient.ts | 24 + .../commands/CreatePrefetchScheduleCommand.ts | 95 + .../commands/DeletePrefetchScheduleCommand.ts | 95 + .../commands/GetPrefetchScheduleCommand.ts | 95 + .../commands/ListPrefetchSchedulesCommand.ts | 95 + clients/client-mediatailor/src/endpoints.ts | 2 +- clients/client-mediatailor/src/index.ts | 5 + .../client-mediatailor/src/models/models_0.ts | 353 ++ .../ListPrefetchSchedulesPaginator.ts | 59 + .../src/protocols/Aws_restJson1.ts | 547 +++ clients/client-memorydb/src/endpoints.ts | 2 +- clients/client-mgn/src/endpoints.ts | 2 +- clients/client-migration-hub/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-mobile/src/endpoints.ts | 2 +- clients/client-mq/src/endpoints.ts | 2 +- clients/client-mturk/src/endpoints.ts | 2 +- clients/client-mwaa/src/endpoints.ts | 2 +- clients/client-neptune/src/endpoints.ts | 2 +- .../client-network-firewall/src/endpoints.ts | 2 +- .../client-networkmanager/src/endpoints.ts | 2 +- clients/client-nimble/src/endpoints.ts | 2 +- clients/client-opensearch/src/endpoints.ts | 2 +- clients/client-opsworks/src/endpoints.ts | 2 +- clients/client-opsworkscm/src/endpoints.ts | 2 +- clients/client-organizations/src/endpoints.ts | 2 +- clients/client-outposts/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-personalize/src/endpoints.ts | 2 +- clients/client-pi/src/endpoints.ts | 2 +- .../client-pinpoint-email/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-pinpoint/src/endpoints.ts | 2 +- clients/client-polly/src/endpoints.ts | 2 +- clients/client-pricing/src/endpoints.ts | 2 +- clients/client-proton/src/endpoints.ts | 2 +- clients/client-qldb-session/src/endpoints.ts | 2 +- clients/client-qldb/src/endpoints.ts | 2 +- clients/client-quicksight/src/endpoints.ts | 2 +- clients/client-ram/src/endpoints.ts | 2 +- clients/client-rds-data/src/endpoints.ts | 2 +- clients/client-rds/src/endpoints.ts | 2 +- clients/client-redshift-data/src/endpoints.ts | 2 +- clients/client-redshift/src/endpoints.ts | 2 +- clients/client-rekognition/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-resource-groups/src/endpoints.ts | 2 +- clients/client-robomaker/src/endpoints.ts | 2 +- .../client-robomaker/src/models/models_0.ts | 193 +- .../src/protocols/Aws_restJson1.ts | 49 +- .../client-route-53-domains/src/endpoints.ts | 2 +- clients/client-route-53/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-route53resolver/src/endpoints.ts | 2 +- clients/client-s3-control/src/endpoints.ts | 2 +- clients/client-s3/src/endpoints.ts | 2 +- clients/client-s3outposts/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-sagemaker-edge/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-sagemaker-runtime/src/endpoints.ts | 2 +- clients/client-sagemaker/src/endpoints.ts | 2 +- .../client-sagemaker/src/models/models_1.ts | 9 +- clients/client-savingsplans/src/endpoints.ts | 2 +- clients/client-schemas/src/endpoints.ts | 2 +- .../src/SecretsManager.ts | 26 +- .../src/commands/PutSecretValueCommand.ts | 11 +- .../src/commands/UpdateSecretCommand.ts | 15 +- .../client-secrets-manager/src/endpoints.ts | 2 +- .../src/models/models_0.ts | 322 +- clients/client-securityhub/src/SecurityHub.ts | 14 +- .../src/commands/CreateMembersCommand.ts | 14 +- clients/client-securityhub/src/endpoints.ts | 2 +- .../client-securityhub/src/models/models_0.ts | 4121 +++++++++-------- .../client-securityhub/src/models/models_1.ts | 989 +++- .../src/protocols/Aws_restJson1.ts | 1469 +++++- .../src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- .../client-service-catalog/src/endpoints.ts | 2 +- .../client-service-quotas/src/endpoints.ts | 2 +- .../client-servicediscovery/src/endpoints.ts | 2 +- clients/client-ses/src/endpoints.ts | 2 +- clients/client-sesv2/src/endpoints.ts | 2 +- clients/client-sfn/src/endpoints.ts | 2 +- clients/client-shield/src/endpoints.ts | 2 +- clients/client-signer/src/endpoints.ts | 2 +- clients/client-sms/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-snowball/src/endpoints.ts | 2 +- clients/client-sns/src/endpoints.ts | 2 +- clients/client-sqs/src/endpoints.ts | 2 +- clients/client-ssm-contacts/src/endpoints.ts | 2 +- clients/client-ssm-incidents/src/endpoints.ts | 2 +- clients/client-ssm/src/endpoints.ts | 2 +- clients/client-sso-admin/src/endpoints.ts | 2 +- clients/client-sso-oidc/src/endpoints.ts | 2 +- clients/client-sso/src/endpoints.ts | 2 +- clients/client-storage-gateway/README.md | 38 +- .../src/StorageGateway.ts | 284 +- .../src/StorageGatewayClient.ts | 46 +- .../src/commands/ActivateGatewayCommand.ts | 8 +- .../commands/AssociateFileSystemCommand.ts | 4 +- .../src/commands/CreateNFSFileShareCommand.ts | 24 +- .../src/commands/CreateSMBFileShareCommand.ts | 21 +- .../src/commands/CreateSnapshotCommand.ts | 20 +- .../src/commands/DeleteFileShareCommand.ts | 4 +- ...scribeBandwidthRateLimitScheduleCommand.ts | 31 +- .../DescribeCachediSCSIVolumesCommand.ts | 2 +- .../DescribeFileSystemAssociationsCommand.ts | 4 +- .../DescribeStorediSCSIVolumesCommand.ts | 4 +- .../commands/DisassociateFileSystemCommand.ts | 4 +- .../src/commands/ListFileSharesCommand.ts | 5 +- .../src/commands/ListGatewaysCommand.ts | 5 +- .../src/commands/NotifyWhenUploadedCommand.ts | 10 +- .../src/commands/RefreshCacheCommand.ts | 17 +- .../src/commands/ResetCacheCommand.ts | 6 +- .../commands/SetSMBGuestPasswordCommand.ts | 2 +- ...UpdateBandwidthRateLimitScheduleCommand.ts | 10 +- .../UpdateFileSystemAssociationCommand.ts | 3 +- .../src/commands/UpdateNFSFileShareCommand.ts | 3 +- .../src/commands/UpdateSMBFileShareCommand.ts | 17 +- .../commands/UpdateSMBLocalGroupsCommand.ts | 96 + .../client-storage-gateway/src/endpoints.ts | 2 +- clients/client-storage-gateway/src/index.ts | 1 + .../src/models/models_0.ts | 901 ++-- .../src/protocols/Aws_json1_1.ts | 157 + clients/client-sts/src/endpoints.ts | 2 +- clients/client-support/src/endpoints.ts | 2 +- clients/client-swf/src/endpoints.ts | 2 +- clients/client-synthetics/src/endpoints.ts | 2 +- clients/client-textract/src/endpoints.ts | 40 +- .../client-timestream-query/src/endpoints.ts | 2 +- .../client-timestream-write/src/endpoints.ts | 2 +- .../src/endpoints.ts | 2 +- clients/client-transcribe/src/endpoints.ts | 2 +- clients/client-transfer/src/endpoints.ts | 2 +- clients/client-translate/src/endpoints.ts | 2 +- clients/client-voice-id/src/endpoints.ts | 2 +- clients/client-waf-regional/src/endpoints.ts | 2 +- clients/client-waf/src/endpoints.ts | 2 +- clients/client-wafv2/src/endpoints.ts | 2 +- .../client-wellarchitected/src/endpoints.ts | 2 +- clients/client-wisdom/src/endpoints.ts | 2 +- clients/client-workdocs/src/endpoints.ts | 2 +- clients/client-worklink/src/endpoints.ts | 2 +- clients/client-workmail/src/WorkMail.ts | 196 + clients/client-workmail/src/WorkMailClient.ts | 21 + .../DeleteAccessControlRuleCommand.ts | 3 + ...DeleteMobileDeviceAccessOverrideCommand.ts | 3 + .../DeleteMobileDeviceAccessRuleCommand.ts | 3 + .../commands/DeregisterMailDomainCommand.ts | 96 + .../src/commands/GetMailDomainCommand.ts | 95 + .../src/commands/ListMailDomainsCommand.ts | 95 + .../src/commands/RegisterMailDomainCommand.ts | 96 + .../UpdateDefaultMailDomainCommand.ts | 95 + clients/client-workmail/src/endpoints.ts | 2 +- clients/client-workmail/src/index.ts | 6 + .../client-workmail/src/models/models_0.ts | 307 +- .../pagination/ListMailDomainsPaginator.ts | 59 + .../src/protocols/Aws_json1_1.ts | 683 ++- .../src/endpoints.ts | 2 +- clients/client-workspaces/src/endpoints.ts | 2 +- clients/client-xray/src/endpoints.ts | 2 +- .../aws-models/auto-scaling.2011-01-01.json | 30 +- .../aws-models/cloudsearch.2013-01-01.json | 36 + .../aws-models/config-service.2014-11-12.json | 4 + .../aws-models/ec2.2016-11-15.json | 301 +- .../aws-models/ecs.2014-11-13.json | 14 +- .../aws-models/efs.2015-02-01.json | 16 +- .../elastic-load-balancing-v2.2015-12-01.json | 45 +- .../aws-models/frauddetector.2019-11-15.json | 1077 ++++- .../aws-models/glue.2017-03-31.json | 21 +- .../kinesis-analytics-v2.2018-05-23.json | 145 +- .../aws-models/lex-models-v2.2020-08-07.json | 176 +- .../aws-models/lex-runtime-v2.2020-08-07.json | 20 +- .../aws-models/mediaconvert.2017-08-29.json | 214 + .../aws-models/medialive.2017-10-14.json | 249 +- .../aws-models/mediatailor.2018-04-23.json | 460 ++ .../aws-models/robomaker.2018-06-29.json | 192 +- .../aws-models/sagemaker.2017-07-24.json | 7 +- .../secrets-manager.2017-10-17.json | 50 +- .../aws-models/securityhub.2018-10-26.json | 1308 +++++- .../storage-gateway.2013-06-30.json | 396 +- .../aws-models/workmail.2017-10-01.json | 453 +- .../aws/typescript/codegen/endpoints.json | 160 +- protocol_tests/aws-ec2/src/endpoints.ts | 2 +- protocol_tests/aws-json-10/src/endpoints.ts | 2 +- protocol_tests/aws-json/src/endpoints.ts | 2 +- protocol_tests/aws-query/src/endpoints.ts | 2 +- protocol_tests/aws-restjson/src/endpoints.ts | 2 +- protocol_tests/aws-restxml/src/endpoints.ts | 2 +- 472 files changed, 21477 insertions(+), 5393 deletions(-) create mode 100644 clients/client-frauddetector/src/commands/CancelBatchImportJobCommand.ts create mode 100644 clients/client-frauddetector/src/commands/CreateBatchImportJobCommand.ts create mode 100644 clients/client-frauddetector/src/commands/DeleteBatchImportJobCommand.ts create mode 100644 clients/client-frauddetector/src/commands/DeleteEventsByEventTypeCommand.ts create mode 100644 clients/client-frauddetector/src/commands/GetBatchImportJobsCommand.ts create mode 100644 clients/client-frauddetector/src/commands/GetDeleteEventsByEventTypeStatusCommand.ts create mode 100644 clients/client-frauddetector/src/commands/GetEventCommand.ts create mode 100644 clients/client-frauddetector/src/commands/SendEventCommand.ts create mode 100644 clients/client-frauddetector/src/commands/UpdateEventLabelCommand.ts create mode 100644 clients/client-frauddetector/src/pagination/GetBatchImportJobsPaginator.ts create mode 100644 clients/client-mediaconvert/src/commands/DeletePolicyCommand.ts create mode 100644 clients/client-mediaconvert/src/commands/GetPolicyCommand.ts create mode 100644 clients/client-mediaconvert/src/commands/PutPolicyCommand.ts create mode 100644 clients/client-mediaconvert/src/models/models_2.ts create mode 100644 clients/client-medialive/src/commands/ClaimDeviceCommand.ts create mode 100644 clients/client-mediatailor/src/commands/CreatePrefetchScheduleCommand.ts create mode 100644 clients/client-mediatailor/src/commands/DeletePrefetchScheduleCommand.ts create mode 100644 clients/client-mediatailor/src/commands/GetPrefetchScheduleCommand.ts create mode 100644 clients/client-mediatailor/src/commands/ListPrefetchSchedulesCommand.ts create mode 100644 clients/client-mediatailor/src/pagination/ListPrefetchSchedulesPaginator.ts create mode 100644 clients/client-storage-gateway/src/commands/UpdateSMBLocalGroupsCommand.ts create mode 100644 clients/client-workmail/src/commands/DeregisterMailDomainCommand.ts create mode 100644 clients/client-workmail/src/commands/GetMailDomainCommand.ts create mode 100644 clients/client-workmail/src/commands/ListMailDomainsCommand.ts create mode 100644 clients/client-workmail/src/commands/RegisterMailDomainCommand.ts create mode 100644 clients/client-workmail/src/commands/UpdateDefaultMailDomainCommand.ts create mode 100644 clients/client-workmail/src/pagination/ListMailDomainsPaginator.ts diff --git a/clients/client-accessanalyzer/src/endpoints.ts b/clients/client-accessanalyzer/src/endpoints.ts index 454ead36862d..954c25bdd4e0 100644 --- a/clients/client-accessanalyzer/src/endpoints.ts +++ b/clients/client-accessanalyzer/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "access-analyzer.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "access-analyzer.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-account/src/endpoints.ts b/clients/client-account/src/endpoints.ts index f8bf63bec48a..cefa8d312583 100644 --- a/clients/client-account/src/endpoints.ts +++ b/clients/client-account/src/endpoints.ts @@ -45,7 +45,7 @@ const partitionHash: PartitionHash = { endpoint: "aws-cn-global", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "account.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-acm-pca/src/endpoints.ts b/clients/client-acm-pca/src/endpoints.ts index 29a4699d8775..733976efa5ce 100644 --- a/clients/client-acm-pca/src/endpoints.ts +++ b/clients/client-acm-pca/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "acm-pca.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "acm-pca.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-acm/src/endpoints.ts b/clients/client-acm/src/endpoints.ts index e98788a23b22..bf02f4a8ddcd 100644 --- a/clients/client-acm/src/endpoints.ts +++ b/clients/client-acm/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "acm.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "acm.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-alexa-for-business/src/endpoints.ts b/clients/client-alexa-for-business/src/endpoints.ts index 05aea7deffb3..359ad436b314 100644 --- a/clients/client-alexa-for-business/src/endpoints.ts +++ b/clients/client-alexa-for-business/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "a4b.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "a4b.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-amp/src/endpoints.ts b/clients/client-amp/src/endpoints.ts index 6b1d36a4e873..0ed02e13f18d 100644 --- a/clients/client-amp/src/endpoints.ts +++ b/clients/client-amp/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "aps.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "aps.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-amplify/src/endpoints.ts b/clients/client-amplify/src/endpoints.ts index 554c55980741..7489d695e8cf 100644 --- a/clients/client-amplify/src/endpoints.ts +++ b/clients/client-amplify/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "amplify.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "amplify.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-amplifybackend/src/endpoints.ts b/clients/client-amplifybackend/src/endpoints.ts index 537905149a16..2494f8cbde28 100644 --- a/clients/client-amplifybackend/src/endpoints.ts +++ b/clients/client-amplifybackend/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "amplifybackend.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "amplifybackend.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-api-gateway/src/endpoints.ts b/clients/client-api-gateway/src/endpoints.ts index 667b8802bf7e..720144d2d810 100644 --- a/clients/client-api-gateway/src/endpoints.ts +++ b/clients/client-api-gateway/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "apigateway.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "apigateway.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-apigatewaymanagementapi/src/endpoints.ts b/clients/client-apigatewaymanagementapi/src/endpoints.ts index 9902eb5f5310..5dcd331b3267 100644 --- a/clients/client-apigatewaymanagementapi/src/endpoints.ts +++ b/clients/client-apigatewaymanagementapi/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "execute-api.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "execute-api.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-apigatewayv2/src/endpoints.ts b/clients/client-apigatewayv2/src/endpoints.ts index 667b8802bf7e..720144d2d810 100644 --- a/clients/client-apigatewayv2/src/endpoints.ts +++ b/clients/client-apigatewayv2/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "apigateway.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "apigateway.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-app-mesh/src/endpoints.ts b/clients/client-app-mesh/src/endpoints.ts index dac6349c24b6..556c6b57de65 100644 --- a/clients/client-app-mesh/src/endpoints.ts +++ b/clients/client-app-mesh/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "appmesh.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "appmesh.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-appconfig/src/endpoints.ts b/clients/client-appconfig/src/endpoints.ts index efb478086e25..de3e97ccc83a 100644 --- a/clients/client-appconfig/src/endpoints.ts +++ b/clients/client-appconfig/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "appconfig.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "appconfig.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-appflow/src/endpoints.ts b/clients/client-appflow/src/endpoints.ts index 432c26f02a9a..3ae51830b1db 100644 --- a/clients/client-appflow/src/endpoints.ts +++ b/clients/client-appflow/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "appflow.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "appflow.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-appintegrations/src/endpoints.ts b/clients/client-appintegrations/src/endpoints.ts index c3bab263433a..42abb4fcac51 100644 --- a/clients/client-appintegrations/src/endpoints.ts +++ b/clients/client-appintegrations/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "app-integrations.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "app-integrations.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-application-auto-scaling/src/endpoints.ts b/clients/client-application-auto-scaling/src/endpoints.ts index 23a803d08c4d..03d57cec05c9 100644 --- a/clients/client-application-auto-scaling/src/endpoints.ts +++ b/clients/client-application-auto-scaling/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "application-autoscaling.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "application-autoscaling.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-application-discovery-service/src/endpoints.ts b/clients/client-application-discovery-service/src/endpoints.ts index 3f8f65290b5d..b3b3a5ed77ee 100644 --- a/clients/client-application-discovery-service/src/endpoints.ts +++ b/clients/client-application-discovery-service/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "discovery.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "discovery.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-application-insights/src/endpoints.ts b/clients/client-application-insights/src/endpoints.ts index d205a832f519..1e9876c32a29 100644 --- a/clients/client-application-insights/src/endpoints.ts +++ b/clients/client-application-insights/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "applicationinsights.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "applicationinsights.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-applicationcostprofiler/src/endpoints.ts b/clients/client-applicationcostprofiler/src/endpoints.ts index 8f11b01b19b6..d10f64da391d 100644 --- a/clients/client-applicationcostprofiler/src/endpoints.ts +++ b/clients/client-applicationcostprofiler/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "application-cost-profiler.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "application-cost-profiler.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-apprunner/src/endpoints.ts b/clients/client-apprunner/src/endpoints.ts index c02c67b8a22f..36227e6d7e7c 100644 --- a/clients/client-apprunner/src/endpoints.ts +++ b/clients/client-apprunner/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "apprunner.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "apprunner.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-appstream/src/endpoints.ts b/clients/client-appstream/src/endpoints.ts index 1fc2a22a9514..c17b063c56b5 100644 --- a/clients/client-appstream/src/endpoints.ts +++ b/clients/client-appstream/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "appstream2.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "appstream2.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-appsync/src/endpoints.ts b/clients/client-appsync/src/endpoints.ts index 002f2cb1b4c0..0ad5001579b1 100644 --- a/clients/client-appsync/src/endpoints.ts +++ b/clients/client-appsync/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "appsync.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "appsync.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-athena/src/endpoints.ts b/clients/client-athena/src/endpoints.ts index b12bd1b7d0fd..86dd9cce4242 100644 --- a/clients/client-athena/src/endpoints.ts +++ b/clients/client-athena/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "athena.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "athena.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-auditmanager/src/endpoints.ts b/clients/client-auditmanager/src/endpoints.ts index a2d87733a499..3c59898ce2da 100644 --- a/clients/client-auditmanager/src/endpoints.ts +++ b/clients/client-auditmanager/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "auditmanager.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "auditmanager.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-auto-scaling-plans/src/endpoints.ts b/clients/client-auto-scaling-plans/src/endpoints.ts index fd998a936d6d..b3f336df3450 100644 --- a/clients/client-auto-scaling-plans/src/endpoints.ts +++ b/clients/client-auto-scaling-plans/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "autoscaling-plans.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "autoscaling-plans.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-auto-scaling/src/AutoScaling.ts b/clients/client-auto-scaling/src/AutoScaling.ts index f8009674cdc4..fd161a88b7c1 100644 --- a/clients/client-auto-scaling/src/AutoScaling.ts +++ b/clients/client-auto-scaling/src/AutoScaling.ts @@ -304,6 +304,8 @@ import { * * * + * + * *

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

*

For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide. For information about granting IAM users required @@ -1003,7 +1005,7 @@ export class AutoScaling extends AutoScalingClient { /** *

Describes the current Amazon EC2 Auto Scaling resource quotas for your account.

- *

When you establish an account, the account has initial quotas on the maximum + *

When you establish an Amazon Web Services account, the account has initial quotas on the maximum * number of Auto Scaling groups and launch configurations that you can create in a given Region. * For more information, see Amazon EC2 Auto Scaling service * quotas in the Amazon EC2 Auto Scaling User Guide.

@@ -1090,7 +1092,11 @@ export class AutoScaling extends AutoScalingClient { /** *

Gets information about the Auto Scaling groups in the account and Region.

- *

This operation returns information about instances in Auto Scaling groups. To retrieve + *

If you specify Auto Scaling group names, the output includes information for only the + * specified Auto Scaling groups. If you specify filters, the output includes information for only + * those Auto Scaling groups that meet the filter criteria. If you do not specify group names or + * filters, the output includes information for all Auto Scaling groups.

+ *

This operation also returns information about instances in Auto Scaling groups. To retrieve * information about the instances in a warm pool, you must call the DescribeWarmPool API.

*/ public describeAutoScalingGroups( diff --git a/clients/client-auto-scaling/src/AutoScalingClient.ts b/clients/client-auto-scaling/src/AutoScalingClient.ts index c41d64dde59f..b8fadfda239e 100644 --- a/clients/client-auto-scaling/src/AutoScalingClient.ts +++ b/clients/client-auto-scaling/src/AutoScalingClient.ts @@ -511,6 +511,8 @@ export interface AutoScalingClientResolvedConfig extends AutoScalingClientResolv * * * + * + * *

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

*

For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide. For information about granting IAM users required diff --git a/clients/client-auto-scaling/src/commands/DescribeAccountLimitsCommand.ts b/clients/client-auto-scaling/src/commands/DescribeAccountLimitsCommand.ts index de1de7f3bcf0..4a290a7cfd6c 100644 --- a/clients/client-auto-scaling/src/commands/DescribeAccountLimitsCommand.ts +++ b/clients/client-auto-scaling/src/commands/DescribeAccountLimitsCommand.ts @@ -23,7 +23,7 @@ export interface DescribeAccountLimitsCommandOutput extends DescribeAccountLimit /** *

Describes the current Amazon EC2 Auto Scaling resource quotas for your account.

- *

When you establish an account, the account has initial quotas on the maximum + *

When you establish an Amazon Web Services account, the account has initial quotas on the maximum * number of Auto Scaling groups and launch configurations that you can create in a given Region. * For more information, see Amazon EC2 Auto Scaling service * quotas in the Amazon EC2 Auto Scaling User Guide.

diff --git a/clients/client-auto-scaling/src/commands/DescribeAutoScalingGroupsCommand.ts b/clients/client-auto-scaling/src/commands/DescribeAutoScalingGroupsCommand.ts index 016e8155d28b..dce5b8945a4a 100644 --- a/clients/client-auto-scaling/src/commands/DescribeAutoScalingGroupsCommand.ts +++ b/clients/client-auto-scaling/src/commands/DescribeAutoScalingGroupsCommand.ts @@ -23,7 +23,11 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup /** *

Gets information about the Auto Scaling groups in the account and Region.

- *

This operation returns information about instances in Auto Scaling groups. To retrieve + *

If you specify Auto Scaling group names, the output includes information for only the + * specified Auto Scaling groups. If you specify filters, the output includes information for only + * those Auto Scaling groups that meet the filter criteria. If you do not specify group names or + * filters, the output includes information for all Auto Scaling groups.

+ *

This operation also returns information about instances in Auto Scaling groups. To retrieve * information about the instances in a warm pool, you must call the DescribeWarmPool API.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-auto-scaling/src/endpoints.ts b/clients/client-auto-scaling/src/endpoints.ts index 1ced45a0af07..7d6d1f0ac30f 100644 --- a/clients/client-auto-scaling/src/endpoints.ts +++ b/clients/client-auto-scaling/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "autoscaling.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "autoscaling.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-auto-scaling/src/models/models_0.ts b/clients/client-auto-scaling/src/models/models_0.ts index 8eba2d4536d1..a671c2cd083b 100644 --- a/clients/client-auto-scaling/src/models/models_0.ts +++ b/clients/client-auto-scaling/src/models/models_0.ts @@ -1270,8 +1270,8 @@ export interface Ebs { VolumeSize?: number; /** - *

The volume type. For more information, see Amazon EBS Volume Types in - * the Amazon EC2 User Guide for Linux Instances.

+ *

The volume type. For more information, see Amazon EBS volume types in the + * Amazon EC2 User Guide for Linux Instances.

*

Valid Values: standard | io1 | gp2 | * st1 | sc1 | gp3 *

@@ -1315,26 +1315,18 @@ export interface Ebs { /** *

Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be - * attached to instances that support Amazon EBS encryption. For more information, see - * Supported Instance Types. If your AMI uses encrypted volumes, you can also + * attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also * only launch it on supported instance types.

* - *

If you are creating a volume from a snapshot, you cannot specify an encryption - * value. Volumes that are created from encrypted snapshots are automatically - * encrypted, and volumes that are created from unencrypted snapshots are automatically - * unencrypted. By default, encrypted snapshots use the Amazon Web Services managed CMK that is used - * for EBS encryption, but you can specify a custom CMK when you create the snapshot. - * The ability to encrypt a snapshot during copying also allows you to apply a new CMK - * to an already-encrypted snapshot. Volumes restored from the - * resulting copy are only accessible using the new CMK.

- *

Enabling encryption by default results in all EBS volumes being encrypted with - * the Amazon Web Services managed CMK or a customer managed CMK, whether or not the snapshot was - * encrypted.

+ *

If you are creating a volume from a snapshot, you cannot create an unencrypted + * volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using + * a launch configuration.

+ *

If you enable encryption by default, the EBS volumes that you create are always + * encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, + * regardless of whether the snapshot was encrypted.

+ *

For more information, see Using Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the + * Amazon EC2 Auto Scaling User Guide.

*
- *

For more information, see Using Encryption with EBS-Backed - * AMIs in the Amazon EC2 User Guide for Linux Instances and Required - * CMK key policy for use with encrypted volumes in the - * Amazon EC2 Auto Scaling User Guide.

*/ Encrypted?: boolean; @@ -1617,8 +1609,8 @@ export interface CreateLaunchConfigurationType { * throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O * performance. This optimization is not available with all instance types. Additional fees * are incurred when you enable EBS optimization for an instance type that is not - * EBS-optimized by default. For more information, see Amazon EBS-Optimized - * Instances in the Amazon EC2 User Guide for Linux Instances.

+ * EBS-optimized by default. For more information, see Amazon EBS-optimized instances in + * the Amazon EC2 User Guide for Linux Instances.

*

The default value is false.

*/ EbsOptimized?: boolean; @@ -1967,6 +1959,93 @@ export namespace DescribeAdjustmentTypesAnswer { }); } +/** + *

Describes a filter that is used to return a more specific list of results from a + * describe operation.

+ *

If you specify multiple filters, the filters are joined with an AND, and + * the request returns only results that match all of the specified filters.

+ *

For more information, see Tagging Auto Scaling groups and + * instances in the Amazon EC2 Auto Scaling User Guide.

+ */ +export interface Filter { + /** + *

The name of the filter.

+ *

The valid values for Name depend on the API operation that you are + * including the filter in, DescribeAutoScalingGroups or DescribeTags.

+ *

+ * DescribeAutoScalingGroups + *

+ *

Valid values for Name include the following:

+ * + *

+ * DescribeTags + *

+ *

Valid values for Name include the following:

+ * + */ + Name?: string; + + /** + *

One or more filter values. Filter values are case-sensitive.

+ *

If you specify multiple values for a filter, the values are joined with an + * OR, and the request returns all results that match any of the specified + * values. For example, specify "tag:environment" for the filter name and + * "production,development" for the filter values to find Auto Scaling groups with the tag + * "environment=production" or "environment=development".

+ */ + Values?: string[]; +} + +export namespace Filter { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Filter): any => ({ + ...obj, + }); +} + export interface AutoScalingGroupNamesType { /** *

The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can @@ -1986,6 +2065,12 @@ export interface AutoScalingGroupNamesType { * 50 and the maximum value is 100.

*/ MaxRecords?: number; + + /** + *

One or more filters to limit the results based on specific tags. + *

+ */ + Filters?: Filter[]; } export namespace AutoScalingGroupNamesType { @@ -4945,34 +5030,6 @@ export namespace ScheduledActionsType { }); } -/** - *

Describes a filter that is used to return a more specific list of results when - * describing tags.

- *

For more information, see Tagging Auto Scaling groups and - * instances in the Amazon EC2 Auto Scaling User Guide.

- */ -export interface Filter { - /** - *

The name of the filter. The valid values are: auto-scaling-group, - * key, value, and propagate-at-launch.

- */ - Name?: string; - - /** - *

One or more filter values. Filter values are case-sensitive.

- */ - Values?: string[]; -} - -export namespace Filter { - /** - * @internal - */ - export const filterSensitiveLog = (obj: Filter): any => ({ - ...obj, - }); -} - export interface DescribeTagsType { /** *

One or more filters to scope the tags to return. The maximum number of filters per diff --git a/clients/client-auto-scaling/src/protocols/Aws_query.ts b/clients/client-auto-scaling/src/protocols/Aws_query.ts index 087c3910cabb..640a1e112a2a 100644 --- a/clients/client-auto-scaling/src/protocols/Aws_query.ts +++ b/clients/client-auto-scaling/src/protocols/Aws_query.ts @@ -3011,6 +3011,14 @@ const deserializeAws_queryDescribeLoadBalancersCommandError = async ( let errorCode = "UnknownError"; errorCode = loadQueryErrorCode(output, parsedOutput.body); switch (errorCode) { + case "InvalidNextToken": + case "com.amazonaws.autoscaling#InvalidNextToken": + response = { + ...(await deserializeAws_queryInvalidNextTokenResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ResourceContentionFault": case "com.amazonaws.autoscaling#ResourceContentionFault": response = { @@ -3068,6 +3076,14 @@ const deserializeAws_queryDescribeLoadBalancerTargetGroupsCommandError = async ( let errorCode = "UnknownError"; errorCode = loadQueryErrorCode(output, parsedOutput.body); switch (errorCode) { + case "InvalidNextToken": + case "com.amazonaws.autoscaling#InvalidNextToken": + response = { + ...(await deserializeAws_queryInvalidNextTokenResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ResourceContentionFault": case "com.amazonaws.autoscaling#ResourceContentionFault": response = { @@ -5238,6 +5254,13 @@ const serializeAws_queryAutoScalingGroupNamesType = ( if (input.MaxRecords !== undefined && input.MaxRecords !== null) { entries["MaxRecords"] = input.MaxRecords; } + if (input.Filters !== undefined && input.Filters !== null) { + const memberEntries = serializeAws_queryFilters(input.Filters, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filters.${key}`; + entries[loc] = value; + }); + } return entries; }; diff --git a/clients/client-backup/src/endpoints.ts b/clients/client-backup/src/endpoints.ts index 646e5a5ca9d1..b6f5e1e27a5c 100644 --- a/clients/client-backup/src/endpoints.ts +++ b/clients/client-backup/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "backup.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "backup.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-batch/src/endpoints.ts b/clients/client-batch/src/endpoints.ts index 20e5c83a29ca..f5988e015adf 100644 --- a/clients/client-batch/src/endpoints.ts +++ b/clients/client-batch/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "batch.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "batch.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-braket/src/endpoints.ts b/clients/client-braket/src/endpoints.ts index be146977c67c..42a6df1a2873 100644 --- a/clients/client-braket/src/endpoints.ts +++ b/clients/client-braket/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "braket.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "braket.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-budgets/src/endpoints.ts b/clients/client-budgets/src/endpoints.ts index cc9f66bd7adc..1e181c5b8b2e 100644 --- a/clients/client-budgets/src/endpoints.ts +++ b/clients/client-budgets/src/endpoints.ts @@ -45,7 +45,7 @@ const partitionHash: PartitionHash = { endpoint: "aws-cn-global", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "budgets.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-chime-sdk-identity/src/endpoints.ts b/clients/client-chime-sdk-identity/src/endpoints.ts index dd076efbe837..af9a069f6824 100644 --- a/clients/client-chime-sdk-identity/src/endpoints.ts +++ b/clients/client-chime-sdk-identity/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "identity-chime.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "identity-chime.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-chime-sdk-messaging/src/endpoints.ts b/clients/client-chime-sdk-messaging/src/endpoints.ts index 502ced4f2313..2175fd0f1dc2 100644 --- a/clients/client-chime-sdk-messaging/src/endpoints.ts +++ b/clients/client-chime-sdk-messaging/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "messaging-chime.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "messaging-chime.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-chime/src/endpoints.ts b/clients/client-chime/src/endpoints.ts index 9cbfd41fc252..584a3b15cb7b 100644 --- a/clients/client-chime/src/endpoints.ts +++ b/clients/client-chime/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "chime.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "chime.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloud9/src/endpoints.ts b/clients/client-cloud9/src/endpoints.ts index ae5a554ecded..002f1cfa2099 100644 --- a/clients/client-cloud9/src/endpoints.ts +++ b/clients/client-cloud9/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "cloud9.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloud9.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudcontrol/src/endpoints.ts b/clients/client-cloudcontrol/src/endpoints.ts index 4c604e0a8901..4b47f91c98ad 100644 --- a/clients/client-cloudcontrol/src/endpoints.ts +++ b/clients/client-cloudcontrol/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "cloudcontrolapi.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudcontrolapi.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-clouddirectory/src/endpoints.ts b/clients/client-clouddirectory/src/endpoints.ts index 2265733cdcca..32fe525d1029 100644 --- a/clients/client-clouddirectory/src/endpoints.ts +++ b/clients/client-clouddirectory/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "clouddirectory.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "clouddirectory.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudformation/src/endpoints.ts b/clients/client-cloudformation/src/endpoints.ts index 0b22d3f344c3..ffb3a9a63a1e 100644 --- a/clients/client-cloudformation/src/endpoints.ts +++ b/clients/client-cloudformation/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "cloudformation.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudformation.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudfront/src/endpoints.ts b/clients/client-cloudfront/src/endpoints.ts index 43b96d2c891e..4a0e687ba134 100644 --- a/clients/client-cloudfront/src/endpoints.ts +++ b/clients/client-cloudfront/src/endpoints.ts @@ -45,7 +45,7 @@ const partitionHash: PartitionHash = { endpoint: "aws-cn-global", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudfront.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudhsm-v2/src/endpoints.ts b/clients/client-cloudhsm-v2/src/endpoints.ts index e107fef1d5c5..34ca0db46874 100644 --- a/clients/client-cloudhsm-v2/src/endpoints.ts +++ b/clients/client-cloudhsm-v2/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "cloudhsmv2.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudhsmv2.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudhsm/src/endpoints.ts b/clients/client-cloudhsm/src/endpoints.ts index 9786d5224ff9..76d59d3671a7 100644 --- a/clients/client-cloudhsm/src/endpoints.ts +++ b/clients/client-cloudhsm/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "cloudhsm.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudhsm.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudsearch-domain/src/endpoints.ts b/clients/client-cloudsearch-domain/src/endpoints.ts index a0311afa230d..2ddb162fe034 100644 --- a/clients/client-cloudsearch-domain/src/endpoints.ts +++ b/clients/client-cloudsearch-domain/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "cloudsearchdomain.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudsearchdomain.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudsearch/src/endpoints.ts b/clients/client-cloudsearch/src/endpoints.ts index f47c82316bd4..6cf29443f99a 100644 --- a/clients/client-cloudsearch/src/endpoints.ts +++ b/clients/client-cloudsearch/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "cloudsearch.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudsearch.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudsearch/src/models/models_0.ts b/clients/client-cloudsearch/src/models/models_0.ts index e55b98864e12..43679907ebe3 100644 --- a/clients/client-cloudsearch/src/models/models_0.ts +++ b/clients/client-cloudsearch/src/models/models_0.ts @@ -117,6 +117,32 @@ export namespace ResourceNotFoundException { }); } +/** + *

The request was rejected because it has invalid parameters.

+ */ +export interface ValidationException extends __SmithyException, $MetadataBearer { + name: "ValidationException"; + $fault: "client"; + /** + *

A machine-parsable string error or warning code.

+ */ + Code?: string; + + /** + *

A human-readable string error or warning message.

+ */ + Message?: string; +} + +export namespace ValidationException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ValidationException): any => ({ + ...obj, + }); +} + /** *

Container for the parameters to the CreateDomain operation. Specifies a name for the new search domain.

*/ @@ -316,32 +342,6 @@ export namespace ResourceAlreadyExistsException { }); } -/** - *

The request was rejected because it has invalid parameters.

- */ -export interface ValidationException extends __SmithyException, $MetadataBearer { - name: "ValidationException"; - $fault: "client"; - /** - *

A machine-parsable string error or warning code.

- */ - Code?: string; - - /** - *

A human-readable string error or warning message.

- */ - Message?: string; -} - -export namespace ValidationException { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ValidationException): any => ({ - ...obj, - }); -} - export type AlgorithmicStemming = "full" | "light" | "minimal" | "none"; /** diff --git a/clients/client-cloudsearch/src/protocols/Aws_query.ts b/clients/client-cloudsearch/src/protocols/Aws_query.ts index 3d349495c5fa..b4cbbba2ed6b 100644 --- a/clients/client-cloudsearch/src/protocols/Aws_query.ts +++ b/clients/client-cloudsearch/src/protocols/Aws_query.ts @@ -648,6 +648,14 @@ const deserializeAws_queryBuildSuggestersCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -820,6 +828,14 @@ const deserializeAws_queryDefineAnalysisSchemeCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -906,6 +922,14 @@ const deserializeAws_queryDefineExpressionCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -992,6 +1016,14 @@ const deserializeAws_queryDefineIndexFieldCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -1078,6 +1110,14 @@ const deserializeAws_queryDefineSuggesterCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -1156,6 +1196,14 @@ const deserializeAws_queryDeleteAnalysisSchemeCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -1296,6 +1344,14 @@ const deserializeAws_queryDeleteExpressionCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -1374,6 +1430,14 @@ const deserializeAws_queryDeleteIndexFieldCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -1452,6 +1516,14 @@ const deserializeAws_queryDeleteSuggesterCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -2190,6 +2262,14 @@ const deserializeAws_queryIndexDocumentsCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -2534,6 +2614,14 @@ const deserializeAws_queryUpdateScalingParametersCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; @@ -2620,6 +2708,14 @@ const deserializeAws_queryUpdateServiceAccessPoliciesCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ValidationException": + case "com.amazonaws.cloudsearch#ValidationException": + response = { + ...(await deserializeAws_queryValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode; diff --git a/clients/client-cloudtrail/src/endpoints.ts b/clients/client-cloudtrail/src/endpoints.ts index cbb6954cf277..d45bd75c5c5f 100644 --- a/clients/client-cloudtrail/src/endpoints.ts +++ b/clients/client-cloudtrail/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "cloudtrail.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cloudtrail.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudwatch-events/src/endpoints.ts b/clients/client-cloudwatch-events/src/endpoints.ts index 34d10f89ad6b..73060c2e9937 100644 --- a/clients/client-cloudwatch-events/src/endpoints.ts +++ b/clients/client-cloudwatch-events/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "events.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "events.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudwatch-logs/src/endpoints.ts b/clients/client-cloudwatch-logs/src/endpoints.ts index 9f05597e1d9d..5398914be663 100644 --- a/clients/client-cloudwatch-logs/src/endpoints.ts +++ b/clients/client-cloudwatch-logs/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "logs.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "logs.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cloudwatch/src/endpoints.ts b/clients/client-cloudwatch/src/endpoints.ts index fc41e41c98d6..d823f5908b8d 100644 --- a/clients/client-cloudwatch/src/endpoints.ts +++ b/clients/client-cloudwatch/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "monitoring.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "monitoring.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codeartifact/src/endpoints.ts b/clients/client-codeartifact/src/endpoints.ts index 0b9299664e21..d3dcf34c48ce 100644 --- a/clients/client-codeartifact/src/endpoints.ts +++ b/clients/client-codeartifact/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "codeartifact.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codeartifact.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codebuild/src/endpoints.ts b/clients/client-codebuild/src/endpoints.ts index 4adee9198f79..db8225add14e 100644 --- a/clients/client-codebuild/src/endpoints.ts +++ b/clients/client-codebuild/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "codebuild.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codebuild.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codecommit/src/endpoints.ts b/clients/client-codecommit/src/endpoints.ts index 449af442cdca..76c4d27ffa5b 100644 --- a/clients/client-codecommit/src/endpoints.ts +++ b/clients/client-codecommit/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "codecommit.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codecommit.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codedeploy/src/endpoints.ts b/clients/client-codedeploy/src/endpoints.ts index 3f6a237443f4..118c3f5478e8 100644 --- a/clients/client-codedeploy/src/endpoints.ts +++ b/clients/client-codedeploy/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "codedeploy.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codedeploy.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codeguru-reviewer/src/endpoints.ts b/clients/client-codeguru-reviewer/src/endpoints.ts index 6b78e1a35938..88a37f904e53 100644 --- a/clients/client-codeguru-reviewer/src/endpoints.ts +++ b/clients/client-codeguru-reviewer/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "codeguru-reviewer.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codeguru-reviewer.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codeguruprofiler/src/endpoints.ts b/clients/client-codeguruprofiler/src/endpoints.ts index 76a548255578..91a742deaa6c 100644 --- a/clients/client-codeguruprofiler/src/endpoints.ts +++ b/clients/client-codeguruprofiler/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "codeguru-profiler.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codeguru-profiler.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codepipeline/src/endpoints.ts b/clients/client-codepipeline/src/endpoints.ts index 5b940aade5f5..d069783173b7 100644 --- a/clients/client-codepipeline/src/endpoints.ts +++ b/clients/client-codepipeline/src/endpoints.ts @@ -65,7 +65,7 @@ const partitionHash: PartitionHash = { hostname: "codepipeline.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codepipeline.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codestar-connections/src/endpoints.ts b/clients/client-codestar-connections/src/endpoints.ts index 88386c924b67..49f46213fc70 100644 --- a/clients/client-codestar-connections/src/endpoints.ts +++ b/clients/client-codestar-connections/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "codestar-connections.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codestar-connections.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codestar-notifications/src/endpoints.ts b/clients/client-codestar-notifications/src/endpoints.ts index 6acad52e617d..1527c9c8973f 100644 --- a/clients/client-codestar-notifications/src/endpoints.ts +++ b/clients/client-codestar-notifications/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "codestar-notifications.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codestar-notifications.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-codestar/src/endpoints.ts b/clients/client-codestar/src/endpoints.ts index 3f4bfff07825..ad96e89668f4 100644 --- a/clients/client-codestar/src/endpoints.ts +++ b/clients/client-codestar/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "codestar.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "codestar.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cognito-identity-provider/src/endpoints.ts b/clients/client-cognito-identity-provider/src/endpoints.ts index 05500888ac91..65180da45396 100644 --- a/clients/client-cognito-identity-provider/src/endpoints.ts +++ b/clients/client-cognito-identity-provider/src/endpoints.ts @@ -60,7 +60,7 @@ const partitionHash: PartitionHash = { hostname: "cognito-idp.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cognito-idp.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cognito-identity/src/endpoints.ts b/clients/client-cognito-identity/src/endpoints.ts index 8f413f2d0383..97ed79d2316c 100644 --- a/clients/client-cognito-identity/src/endpoints.ts +++ b/clients/client-cognito-identity/src/endpoints.ts @@ -55,7 +55,7 @@ const partitionHash: PartitionHash = { hostname: "cognito-identity.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cognito-identity.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cognito-sync/src/endpoints.ts b/clients/client-cognito-sync/src/endpoints.ts index 2f110d141d59..ec2de925f29d 100644 --- a/clients/client-cognito-sync/src/endpoints.ts +++ b/clients/client-cognito-sync/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "cognito-sync.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cognito-sync.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-comprehend/src/endpoints.ts b/clients/client-comprehend/src/endpoints.ts index 04233622af87..3fd486dd8913 100644 --- a/clients/client-comprehend/src/endpoints.ts +++ b/clients/client-comprehend/src/endpoints.ts @@ -55,7 +55,7 @@ const partitionHash: PartitionHash = { hostname: "comprehend.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "comprehend.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-comprehendmedical/src/endpoints.ts b/clients/client-comprehendmedical/src/endpoints.ts index 75e80794710f..ac52809e1d37 100644 --- a/clients/client-comprehendmedical/src/endpoints.ts +++ b/clients/client-comprehendmedical/src/endpoints.ts @@ -55,7 +55,7 @@ const partitionHash: PartitionHash = { hostname: "comprehendmedical.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "comprehendmedical.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-compute-optimizer/src/endpoints.ts b/clients/client-compute-optimizer/src/endpoints.ts index 29b2f9e6d859..45b887ddf9d4 100644 --- a/clients/client-compute-optimizer/src/endpoints.ts +++ b/clients/client-compute-optimizer/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "compute-optimizer.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "compute-optimizer.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-config-service/src/endpoints.ts b/clients/client-config-service/src/endpoints.ts index 361fd8a05e87..a00e46b2b7ad 100644 --- a/clients/client-config-service/src/endpoints.ts +++ b/clients/client-config-service/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "config.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "config.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-config-service/src/models/models_0.ts b/clients/client-config-service/src/models/models_0.ts index e120c3494352..6412f616a6ac 100644 --- a/clients/client-config-service/src/models/models_0.ts +++ b/clients/client-config-service/src/models/models_0.ts @@ -660,6 +660,7 @@ export enum ResourceType { NetworkFirewallFirewallPolicy = "AWS::NetworkFirewall::FirewallPolicy", NetworkFirewallRuleGroup = "AWS::NetworkFirewall::RuleGroup", NetworkInterface = "AWS::EC2::NetworkInterface", + OpenSearchDomain = "AWS::OpenSearch::Domain", PatchCompliance = "AWS::SSM::PatchCompliance", Pipeline = "AWS::CodePipeline::Pipeline", Policy = "AWS::IAM::Policy", diff --git a/clients/client-connect-contact-lens/src/endpoints.ts b/clients/client-connect-contact-lens/src/endpoints.ts index b7e087ea8cb1..e6cb5784833d 100644 --- a/clients/client-connect-contact-lens/src/endpoints.ts +++ b/clients/client-connect-contact-lens/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "contact-lens.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "contact-lens.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-connect/src/endpoints.ts b/clients/client-connect/src/endpoints.ts index 4efb93dae82f..c26ce3999cff 100644 --- a/clients/client-connect/src/endpoints.ts +++ b/clients/client-connect/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "connect.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "connect.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-connectparticipant/src/endpoints.ts b/clients/client-connectparticipant/src/endpoints.ts index 0fb026d6fcb4..906f8e2279b8 100644 --- a/clients/client-connectparticipant/src/endpoints.ts +++ b/clients/client-connectparticipant/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "participant.connect.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "participant.connect.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cost-and-usage-report-service/src/endpoints.ts b/clients/client-cost-and-usage-report-service/src/endpoints.ts index 0c807ad65cba..9c4a90a6f783 100644 --- a/clients/client-cost-and-usage-report-service/src/endpoints.ts +++ b/clients/client-cost-and-usage-report-service/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "cur.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "cur.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-cost-explorer/src/endpoints.ts b/clients/client-cost-explorer/src/endpoints.ts index 5f17dac38b18..1b9ee883295f 100644 --- a/clients/client-cost-explorer/src/endpoints.ts +++ b/clients/client-cost-explorer/src/endpoints.ts @@ -45,7 +45,7 @@ const partitionHash: PartitionHash = { endpoint: "aws-cn-global", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ce.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-customer-profiles/src/endpoints.ts b/clients/client-customer-profiles/src/endpoints.ts index 2228627498b6..542dfcfe1186 100644 --- a/clients/client-customer-profiles/src/endpoints.ts +++ b/clients/client-customer-profiles/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "profile.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "profile.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-data-pipeline/src/endpoints.ts b/clients/client-data-pipeline/src/endpoints.ts index 5e784e0c49ba..9f22ad7dd146 100644 --- a/clients/client-data-pipeline/src/endpoints.ts +++ b/clients/client-data-pipeline/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "datapipeline.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "datapipeline.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-database-migration-service/src/endpoints.ts b/clients/client-database-migration-service/src/endpoints.ts index e697b784e25f..a0d465d9328b 100644 --- a/clients/client-database-migration-service/src/endpoints.ts +++ b/clients/client-database-migration-service/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "dms.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["dms-fips", "us-iso-east-1"], + regions: ["dms-fips", "us-iso-east-1", "us-iso-west-1"], hostname: "dms.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-databrew/src/endpoints.ts b/clients/client-databrew/src/endpoints.ts index 5638bee114de..8a82ce7c9779 100644 --- a/clients/client-databrew/src/endpoints.ts +++ b/clients/client-databrew/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "databrew.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "databrew.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-dataexchange/src/endpoints.ts b/clients/client-dataexchange/src/endpoints.ts index e99b8e388df3..76069309e25a 100644 --- a/clients/client-dataexchange/src/endpoints.ts +++ b/clients/client-dataexchange/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "dataexchange.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "dataexchange.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-datasync/src/endpoints.ts b/clients/client-datasync/src/endpoints.ts index 9de159d979a2..4d0129f96b7b 100644 --- a/clients/client-datasync/src/endpoints.ts +++ b/clients/client-datasync/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "datasync.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "datasync.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-dax/src/endpoints.ts b/clients/client-dax/src/endpoints.ts index 7c4ad7efe0dc..2065d3979d9a 100644 --- a/clients/client-dax/src/endpoints.ts +++ b/clients/client-dax/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "dax.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "dax.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-detective/src/endpoints.ts b/clients/client-detective/src/endpoints.ts index 068144b3de06..6ec102ed7184 100644 --- a/clients/client-detective/src/endpoints.ts +++ b/clients/client-detective/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "api.detective.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.detective.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-device-farm/src/endpoints.ts b/clients/client-device-farm/src/endpoints.ts index 4eadea95db3f..33b7c7c97a08 100644 --- a/clients/client-device-farm/src/endpoints.ts +++ b/clients/client-device-farm/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "devicefarm.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "devicefarm.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-devops-guru/src/endpoints.ts b/clients/client-devops-guru/src/endpoints.ts index dacc2d30c2c4..d8b083413606 100644 --- a/clients/client-devops-guru/src/endpoints.ts +++ b/clients/client-devops-guru/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "devops-guru.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "devops-guru.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-direct-connect/src/endpoints.ts b/clients/client-direct-connect/src/endpoints.ts index 021b8545b3a2..51a55cee24c6 100644 --- a/clients/client-direct-connect/src/endpoints.ts +++ b/clients/client-direct-connect/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "directconnect.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "directconnect.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-directory-service/src/endpoints.ts b/clients/client-directory-service/src/endpoints.ts index c2dd1e4a5008..4a68e11e9bd3 100644 --- a/clients/client-directory-service/src/endpoints.ts +++ b/clients/client-directory-service/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "ds.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ds.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-dlm/src/endpoints.ts b/clients/client-dlm/src/endpoints.ts index 3c6abd88de56..4621f5e6510b 100644 --- a/clients/client-dlm/src/endpoints.ts +++ b/clients/client-dlm/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "dlm.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "dlm.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-docdb/src/endpoints.ts b/clients/client-docdb/src/endpoints.ts index 42173114c678..125bf04793ce 100644 --- a/clients/client-docdb/src/endpoints.ts +++ b/clients/client-docdb/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "rds.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-dynamodb-streams/src/endpoints.ts b/clients/client-dynamodb-streams/src/endpoints.ts index cadec738feb2..c1ec323e9d9a 100644 --- a/clients/client-dynamodb-streams/src/endpoints.ts +++ b/clients/client-dynamodb-streams/src/endpoints.ts @@ -74,7 +74,7 @@ const partitionHash: PartitionHash = { hostname: "streams.dynamodb.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "streams.dynamodb.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-dynamodb/src/endpoints.ts b/clients/client-dynamodb/src/endpoints.ts index 42c8b803ce6f..85329a5f0a65 100644 --- a/clients/client-dynamodb/src/endpoints.ts +++ b/clients/client-dynamodb/src/endpoints.ts @@ -74,7 +74,7 @@ const partitionHash: PartitionHash = { hostname: "dynamodb.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "dynamodb.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ebs/src/endpoints.ts b/clients/client-ebs/src/endpoints.ts index dcdb4df0c1e9..86d793ce2567 100644 --- a/clients/client-ebs/src/endpoints.ts +++ b/clients/client-ebs/src/endpoints.ts @@ -61,7 +61,7 @@ const partitionHash: PartitionHash = { hostname: "ebs.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ebs.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ec2-instance-connect/src/endpoints.ts b/clients/client-ec2-instance-connect/src/endpoints.ts index 7b9a91715ff0..09ae6bf331ef 100644 --- a/clients/client-ec2-instance-connect/src/endpoints.ts +++ b/clients/client-ec2-instance-connect/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "ec2-instance-connect.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ec2-instance-connect.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ec2/src/EC2.ts b/clients/client-ec2/src/EC2.ts index 61217dd854f6..430ca3078122 100644 --- a/clients/client-ec2/src/EC2.ts +++ b/clients/client-ec2/src/EC2.ts @@ -4598,7 +4598,7 @@ export class EC2 extends EC2Client { * check the output logs.

*

An AFI contains the FPGA bitstream that is ready to download to an FPGA. * You can securely deploy an AFI on multiple FPGA-accelerated instances. - * For more information, see the AWS FPGA Hardware Development Kit.

+ * For more information, see the Amazon Web Services FPGA Hardware Development Kit.

*/ public createFpgaImage( args: CreateFpgaImageCommandInput, @@ -4836,7 +4836,7 @@ export class EC2 extends EC2Client { * instance. When you launch an instance using RunInstances, you can * specify a launch template instead of providing the launch parameters in the request. For * more information, see Launching an instance from a - * launch templatein the Amazon Elastic Compute Cloud User Guide.

+ * launch template in the Amazon Elastic Compute Cloud User Guide.

*/ public createLaunchTemplate( args: CreateLaunchTemplateCommandInput, @@ -5827,7 +5827,7 @@ export class EC2 extends EC2Client { } /** - *

Creates a Traffic Mirror filter rule.

+ *

Creates a Traffic Mirror filter rule.

*

A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

*

You need the Traffic Mirror filter ID when you create the rule.

*/ @@ -6331,12 +6331,13 @@ export class EC2 extends EC2Client { /** *

Creates a VPC endpoint for a specified service. An endpoint enables you to create a - * private connection between your VPC and the service. The service may be provided by AWS, - * an AWS Marketplace Partner, or another AWS account. For more information, see VPC Endpoints in - * the Amazon Virtual Private Cloud User Guide.

+ * private connection between your VPC and the service. The service may be provided by Amazon Web Services, + * an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information, + * see VPC Endpoints in the + * Amazon Virtual Private Cloud User Guide.

*

A gateway endpoint serves as a target for a route in your route table for - * traffic destined for the AWS service. You can specify an endpoint policy to attach to - * the endpoint, which will control access to the service from your VPC. You can also + * traffic destined for the Amazon Web Service. You can specify an endpoint policy to attach + * to the endpoint, which will control access to the service from your VPC. You can also * specify the VPC route tables that use the endpoint.

*

An interface endpoint is a network interface in your subnet that * serves as an endpoint for communicating with the specified service. You can specify the @@ -6414,7 +6415,7 @@ export class EC2 extends EC2Client { } /** - *

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, + *

Creates a VPC endpoint service configuration to which service consumers (Amazon Web Services accounts, * IAM users, and IAM roles) can connect.

*

To create an endpoint service configuration, you must first create one of the * following for your service:

@@ -8889,8 +8890,8 @@ export class EC2 extends EC2Client { * you. If there is an event impacting a zone, you can use this request to view the state and any * provided messages for that zone.

*

For more information about Availability Zones, Local Zones, and Wavelength Zones, see - * Regions, Zones and - * Outposts in the Amazon Elastic Compute Cloud User Guide.

+ * Regions and zones + * in the Amazon Elastic Compute Cloud User Guide.

*/ public describeAvailabilityZones( args: DescribeAvailabilityZonesCommandInput, @@ -9582,7 +9583,8 @@ export class EC2 extends EC2Client { *

EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures * that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events * are available for 48 hours.

- *

For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.

+ *

For more information, see Monitor fleet events using Amazon EventBridge in the + * Amazon EC2 User Guide.

*/ public describeFleetHistory( args: DescribeFleetHistoryCommandInput, @@ -9747,7 +9749,7 @@ export class EC2 extends EC2Client { /** *

Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, - * private AFIs that you own, and AFIs owned by other AWS accounts for which you have load + * private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for which you have load * permissions.

*/ public describeFpgaImages( @@ -9985,7 +9987,7 @@ export class EC2 extends EC2Client { * | vpc-cidr-block-association | vpc-endpoint | * vpc-peering-connection | vpn-connection | vpn-gateway.

*

These settings apply to the IAM user who makes the request; they do not apply to the entire - * AWS account. By default, an IAM user defaults to the same settings as the root user, unless + * Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user, unless * they explicitly override the settings by running the ModifyIdFormat command. Resources * created with longer IDs are visible to all IAM users, regardless of these settings and * provided that they have permission to use the relevant Describe command for the @@ -11298,9 +11300,9 @@ export class EC2 extends EC2Client { /** *

Describes the Regions that are enabled for your account, or all Regions.

- *

For a list of the Regions supported by Amazon EC2, see - * Regions and Endpoints.

- *

For information about enabling and disabling Regions for your account, see Managing AWS Regions in the AWS General Reference.

+ *

For a list of the Regions supported by Amazon EC2, see + * Amazon Elastic Compute Cloud endpoints and quotas.

+ *

For information about enabling and disabling Regions for your account, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference.

*/ public describeRegions( args: DescribeRegionsCommandInput, @@ -11894,6 +11896,8 @@ export class EC2 extends EC2Client { *

Spot Fleet events are delayed by up to 30 seconds before they can be described. This * ensures that you can query by the last evaluated time and not miss a recorded event. * Spot Fleet events are available for 48 hours.

+ *

For more information, see Monitor fleet events using Amazon + * EventBridge in the Amazon EC2 User Guide for Linux Instances.

*/ public describeSpotFleetRequestHistory( args: DescribeSpotFleetRequestHistoryCommandInput, @@ -15343,7 +15347,7 @@ export class EC2 extends EC2Client { } /** - *

Download an AWS-provided sample configuration file to be used with the customer + *

Download an Amazon Web Services-provided sample configuration file to be used with the customer * gateway device specified for your Site-to-Site VPN connection.

*/ public getVpnConnectionDeviceSampleConfiguration( @@ -16055,7 +16059,7 @@ export class EC2 extends EC2Client { * subnet-cidr-block-association | vpc | * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

*

This setting applies to the IAM user who makes the request; it does not apply to the - * entire AWS account. By default, an IAM user defaults to the same settings as the root user. If + * entire Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user. If * you're using this action as the root user, then these settings apply to the entire account, * unless an IAM user explicitly overrides these settings for themselves. For more information, * see Resource IDs @@ -16714,8 +16718,6 @@ export class EC2 extends EC2Client { *

By default, Amazon DNS network services are not eligible for Traffic Mirror. Use AddNetworkServices to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored. * When you no longer want to mirror network services, use RemoveNetworkServices to remove the network services from the Traffic Mirror filter. *

- *

For information about filter rule properties, see - * Network Services in the Traffic Mirroring User Guide .

*/ public modifyTrafficMirrorFilterNetworkServices( args: ModifyTrafficMirrorFilterNetworkServicesCommandInput, @@ -17140,7 +17142,7 @@ export class EC2 extends EC2Client { /** *

Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (IAM users, - * IAM roles, and AWS accounts) to connect to your endpoint service.

+ * IAM roles, and Amazon Web Services accounts) to connect to your endpoint service.

*

If you grant permissions to all principals, the service is public. Any users who know the name of a * public service can send a request to attach an endpoint. If the service does not require manual approval, * attachments are automatically approved.

diff --git a/clients/client-ec2/src/commands/CreateFpgaImageCommand.ts b/clients/client-ec2/src/commands/CreateFpgaImageCommand.ts index 9a6903736d0f..7739a2239247 100644 --- a/clients/client-ec2/src/commands/CreateFpgaImageCommand.ts +++ b/clients/client-ec2/src/commands/CreateFpgaImageCommand.ts @@ -24,7 +24,7 @@ export interface CreateFpgaImageCommandOutput extends CreateFpgaImageResult, __M * check the output logs.

*

An AFI contains the FPGA bitstream that is ready to download to an FPGA. * You can securely deploy an AFI on multiple FPGA-accelerated instances. - * For more information, see the AWS FPGA Hardware Development Kit.

+ * For more information, see the Amazon Web Services FPGA Hardware Development Kit.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/CreateInstanceEventWindowCommand.ts b/clients/client-ec2/src/commands/CreateInstanceEventWindowCommand.ts index fad8c8afd9c5..048b079cdc93 100644 --- a/clients/client-ec2/src/commands/CreateInstanceEventWindowCommand.ts +++ b/clients/client-ec2/src/commands/CreateInstanceEventWindowCommand.ts @@ -12,8 +12,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { CreateInstanceEventWindowRequest } from "../models/models_0"; -import { CreateInstanceEventWindowResult } from "../models/models_1"; +import { CreateInstanceEventWindowRequest, CreateInstanceEventWindowResult } from "../models/models_1"; import { deserializeAws_ec2CreateInstanceEventWindowCommand, serializeAws_ec2CreateInstanceEventWindowCommand, diff --git a/clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts b/clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts index 04eb58c83d7f..0c9955defede 100644 --- a/clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts +++ b/clients/client-ec2/src/commands/CreateLaunchTemplateCommand.ts @@ -26,7 +26,7 @@ export interface CreateLaunchTemplateCommandOutput extends CreateLaunchTemplateR * instance. When you launch an instance using RunInstances, you can * specify a launch template instead of providing the launch parameters in the request. For * more information, see Launching an instance from a - * launch templatein the Amazon Elastic Compute Cloud User Guide.

+ * launch template in the Amazon Elastic Compute Cloud User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/CreateTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/src/commands/CreateTrafficMirrorFilterRuleCommand.ts index c1512a3f5dc9..47f4055250ea 100644 --- a/clients/client-ec2/src/commands/CreateTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/src/commands/CreateTrafficMirrorFilterRuleCommand.ts @@ -24,7 +24,7 @@ export interface CreateTrafficMirrorFilterRuleCommandOutput __MetadataBearer {} /** - *

Creates a Traffic Mirror filter rule.

+ *

Creates a Traffic Mirror filter rule.

*

A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

*

You need the Traffic Mirror filter ID when you create the rule.

* @example diff --git a/clients/client-ec2/src/commands/CreateVpcEndpointCommand.ts b/clients/client-ec2/src/commands/CreateVpcEndpointCommand.ts index 2be90081c92a..1ac203a3bf13 100644 --- a/clients/client-ec2/src/commands/CreateVpcEndpointCommand.ts +++ b/clients/client-ec2/src/commands/CreateVpcEndpointCommand.ts @@ -23,12 +23,13 @@ export interface CreateVpcEndpointCommandOutput extends CreateVpcEndpointResult, /** *

Creates a VPC endpoint for a specified service. An endpoint enables you to create a - * private connection between your VPC and the service. The service may be provided by AWS, - * an AWS Marketplace Partner, or another AWS account. For more information, see VPC Endpoints in - * the Amazon Virtual Private Cloud User Guide.

+ * private connection between your VPC and the service. The service may be provided by Amazon Web Services, + * an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information, + * see VPC Endpoints in the + * Amazon Virtual Private Cloud User Guide.

*

A gateway endpoint serves as a target for a route in your route table for - * traffic destined for the AWS service. You can specify an endpoint policy to attach to - * the endpoint, which will control access to the service from your VPC. You can also + * traffic destined for the Amazon Web Service. You can specify an endpoint policy to attach + * to the endpoint, which will control access to the service from your VPC. You can also * specify the VPC route tables that use the endpoint.

*

An interface endpoint is a network interface in your subnet that * serves as an endpoint for communicating with the specified service. You can specify the diff --git a/clients/client-ec2/src/commands/CreateVpcEndpointServiceConfigurationCommand.ts b/clients/client-ec2/src/commands/CreateVpcEndpointServiceConfigurationCommand.ts index e0ef54e458e8..3e46a7ff24a2 100644 --- a/clients/client-ec2/src/commands/CreateVpcEndpointServiceConfigurationCommand.ts +++ b/clients/client-ec2/src/commands/CreateVpcEndpointServiceConfigurationCommand.ts @@ -28,7 +28,7 @@ export interface CreateVpcEndpointServiceConfigurationCommandOutput __MetadataBearer {} /** - *

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, + *

Creates a VPC endpoint service configuration to which service consumers (Amazon Web Services accounts, * IAM users, and IAM roles) can connect.

*

To create an endpoint service configuration, you must first create one of the * following for your service:

diff --git a/clients/client-ec2/src/commands/DescribeAvailabilityZonesCommand.ts b/clients/client-ec2/src/commands/DescribeAvailabilityZonesCommand.ts index b53da1ccbea6..d437271e6ac2 100644 --- a/clients/client-ec2/src/commands/DescribeAvailabilityZonesCommand.ts +++ b/clients/client-ec2/src/commands/DescribeAvailabilityZonesCommand.ts @@ -26,8 +26,8 @@ export interface DescribeAvailabilityZonesCommandOutput extends DescribeAvailabi * you. If there is an event impacting a zone, you can use this request to view the state and any * provided messages for that zone.

*

For more information about Availability Zones, Local Zones, and Wavelength Zones, see - * Regions, Zones and - * Outposts in the Amazon Elastic Compute Cloud User Guide.

+ * Regions and zones + * in the Amazon Elastic Compute Cloud User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/DescribeFleetHistoryCommand.ts b/clients/client-ec2/src/commands/DescribeFleetHistoryCommand.ts index 56242254a43b..c5b5da76ae11 100644 --- a/clients/client-ec2/src/commands/DescribeFleetHistoryCommand.ts +++ b/clients/client-ec2/src/commands/DescribeFleetHistoryCommand.ts @@ -26,7 +26,8 @@ export interface DescribeFleetHistoryCommandOutput extends DescribeFleetHistoryR *

EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures * that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events * are available for 48 hours.

- *

For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.

+ *

For more information, see Monitor fleet events using Amazon EventBridge in the + * Amazon EC2 User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/DescribeFpgaImagesCommand.ts b/clients/client-ec2/src/commands/DescribeFpgaImagesCommand.ts index c00675d07f93..0e31c8495aac 100644 --- a/clients/client-ec2/src/commands/DescribeFpgaImagesCommand.ts +++ b/clients/client-ec2/src/commands/DescribeFpgaImagesCommand.ts @@ -23,7 +23,7 @@ export interface DescribeFpgaImagesCommandOutput extends DescribeFpgaImagesResul /** *

Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, - * private AFIs that you own, and AFIs owned by other AWS accounts for which you have load + * private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for which you have load * permissions.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ec2/src/commands/DescribeIdFormatCommand.ts b/clients/client-ec2/src/commands/DescribeIdFormatCommand.ts index 9cef3e11187a..484dc35ef93a 100644 --- a/clients/client-ec2/src/commands/DescribeIdFormatCommand.ts +++ b/clients/client-ec2/src/commands/DescribeIdFormatCommand.ts @@ -37,7 +37,7 @@ export interface DescribeIdFormatCommandOutput extends DescribeIdFormatResult, _ * | vpc-cidr-block-association | vpc-endpoint | * vpc-peering-connection | vpn-connection | vpn-gateway.

*

These settings apply to the IAM user who makes the request; they do not apply to the entire - * AWS account. By default, an IAM user defaults to the same settings as the root user, unless + * Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user, unless * they explicitly override the settings by running the ModifyIdFormat command. Resources * created with longer IDs are visible to all IAM users, regardless of these settings and * provided that they have permission to use the relevant Describe command for the diff --git a/clients/client-ec2/src/commands/DescribeRegionsCommand.ts b/clients/client-ec2/src/commands/DescribeRegionsCommand.ts index 4cfdc637c6e2..8b59bf07ba7e 100644 --- a/clients/client-ec2/src/commands/DescribeRegionsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeRegionsCommand.ts @@ -20,9 +20,9 @@ export interface DescribeRegionsCommandOutput extends DescribeRegionsResult, __M /** *

Describes the Regions that are enabled for your account, or all Regions.

- *

For a list of the Regions supported by Amazon EC2, see - * Regions and Endpoints.

- *

For information about enabling and disabling Regions for your account, see Managing AWS Regions in the AWS General Reference.

+ *

For a list of the Regions supported by Amazon EC2, see + * Amazon Elastic Compute Cloud endpoints and quotas.

+ *

For information about enabling and disabling Regions for your account, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/DescribeSpotFleetRequestHistoryCommand.ts b/clients/client-ec2/src/commands/DescribeSpotFleetRequestHistoryCommand.ts index 5bbe658bc06a..7892a23573dd 100644 --- a/clients/client-ec2/src/commands/DescribeSpotFleetRequestHistoryCommand.ts +++ b/clients/client-ec2/src/commands/DescribeSpotFleetRequestHistoryCommand.ts @@ -29,6 +29,8 @@ export interface DescribeSpotFleetRequestHistoryCommandOutput *

Spot Fleet events are delayed by up to 30 seconds before they can be described. This * ensures that you can query by the last evaluated time and not miss a recorded event. * Spot Fleet events are available for 48 hours.

+ *

For more information, see Monitor fleet events using Amazon + * EventBridge in the Amazon EC2 User Guide for Linux Instances.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/DescribeTrunkInterfaceAssociationsCommand.ts b/clients/client-ec2/src/commands/DescribeTrunkInterfaceAssociationsCommand.ts index a64fa1927a84..3a0eba95e960 100644 --- a/clients/client-ec2/src/commands/DescribeTrunkInterfaceAssociationsCommand.ts +++ b/clients/client-ec2/src/commands/DescribeTrunkInterfaceAssociationsCommand.ts @@ -12,10 +12,8 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { - DescribeTrunkInterfaceAssociationsRequest, - DescribeTrunkInterfaceAssociationsResult, -} from "../models/models_3"; +import { DescribeTrunkInterfaceAssociationsRequest } from "../models/models_3"; +import { DescribeTrunkInterfaceAssociationsResult } from "../models/models_4"; import { deserializeAws_ec2DescribeTrunkInterfaceAssociationsCommand, serializeAws_ec2DescribeTrunkInterfaceAssociationsCommand, diff --git a/clients/client-ec2/src/commands/DescribeVolumeAttributeCommand.ts b/clients/client-ec2/src/commands/DescribeVolumeAttributeCommand.ts index 8a5ce5cc04c4..fa5a10ec0402 100644 --- a/clients/client-ec2/src/commands/DescribeVolumeAttributeCommand.ts +++ b/clients/client-ec2/src/commands/DescribeVolumeAttributeCommand.ts @@ -12,7 +12,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { DescribeVolumeAttributeRequest, DescribeVolumeAttributeResult } from "../models/models_3"; +import { DescribeVolumeAttributeRequest, DescribeVolumeAttributeResult } from "../models/models_4"; import { deserializeAws_ec2DescribeVolumeAttributeCommand, serializeAws_ec2DescribeVolumeAttributeCommand, diff --git a/clients/client-ec2/src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts b/clients/client-ec2/src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts index d34b96caeb65..86f8acf6dff8 100644 --- a/clients/client-ec2/src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts +++ b/clients/client-ec2/src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts @@ -28,7 +28,7 @@ export interface GetVpnConnectionDeviceSampleConfigurationCommandOutput __MetadataBearer {} /** - *

Download an AWS-provided sample configuration file to be used with the customer + *

Download an Amazon Web Services-provided sample configuration file to be used with the customer * gateway device specified for your Site-to-Site VPN connection.

* @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts b/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts index 9aca09cb05ac..34bb44c49ff1 100644 --- a/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts +++ b/clients/client-ec2/src/commands/ModifyIdFormatCommand.ts @@ -35,7 +35,7 @@ export interface ModifyIdFormatCommandOutput extends __MetadataBearer {} * subnet-cidr-block-association | vpc | * vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

*

This setting applies to the IAM user who makes the request; it does not apply to the - * entire AWS account. By default, an IAM user defaults to the same settings as the root user. If + * entire Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user. If * you're using this action as the root user, then these settings apply to the entire account, * unless an IAM user explicitly overrides these settings for themselves. For more information, * see Resource IDs diff --git a/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts b/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts index 712562b86ea2..12a9bae38166 100644 --- a/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts +++ b/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts @@ -32,8 +32,6 @@ export interface ModifyTrafficMirrorFilterNetworkServicesCommandOutput *

By default, Amazon DNS network services are not eligible for Traffic Mirror. Use AddNetworkServices to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored. * When you no longer want to mirror network services, use RemoveNetworkServices to remove the network services from the Traffic Mirror filter. *

- *

For information about filter rule properties, see - * Network Services in the Traffic Mirroring User Guide .

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterRuleCommand.ts b/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterRuleCommand.ts index 7cb2f4758b37..674a45f6a450 100644 --- a/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterRuleCommand.ts +++ b/clients/client-ec2/src/commands/ModifyTrafficMirrorFilterRuleCommand.ts @@ -12,7 +12,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ModifyTrafficMirrorFilterRuleRequest, ModifyTrafficMirrorFilterRuleResult } from "../models/models_4"; +import { ModifyTrafficMirrorFilterRuleRequest, ModifyTrafficMirrorFilterRuleResult } from "../models/models_5"; import { deserializeAws_ec2ModifyTrafficMirrorFilterRuleCommand, serializeAws_ec2ModifyTrafficMirrorFilterRuleCommand, diff --git a/clients/client-ec2/src/commands/ModifyTrafficMirrorSessionCommand.ts b/clients/client-ec2/src/commands/ModifyTrafficMirrorSessionCommand.ts index eec505fc7ceb..998069d341a3 100644 --- a/clients/client-ec2/src/commands/ModifyTrafficMirrorSessionCommand.ts +++ b/clients/client-ec2/src/commands/ModifyTrafficMirrorSessionCommand.ts @@ -12,8 +12,7 @@ import { } from "@aws-sdk/types"; import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; -import { ModifyTrafficMirrorSessionRequest } from "../models/models_4"; -import { ModifyTrafficMirrorSessionResult } from "../models/models_5"; +import { ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult } from "../models/models_5"; import { deserializeAws_ec2ModifyTrafficMirrorSessionCommand, serializeAws_ec2ModifyTrafficMirrorSessionCommand, diff --git a/clients/client-ec2/src/commands/ModifyVpcEndpointServicePermissionsCommand.ts b/clients/client-ec2/src/commands/ModifyVpcEndpointServicePermissionsCommand.ts index 7c73164133e6..839c43aabb37 100644 --- a/clients/client-ec2/src/commands/ModifyVpcEndpointServicePermissionsCommand.ts +++ b/clients/client-ec2/src/commands/ModifyVpcEndpointServicePermissionsCommand.ts @@ -28,7 +28,7 @@ export interface ModifyVpcEndpointServicePermissionsCommandOutput /** *

Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (IAM users, - * IAM roles, and AWS accounts) to connect to your endpoint service.

+ * IAM roles, and Amazon Web Services accounts) to connect to your endpoint service.

*

If you grant permissions to all principals, the service is public. Any users who know the name of a * public service can send a request to attach an endpoint. If the service does not require manual approval, * attachments are automatically approved.

diff --git a/clients/client-ec2/src/endpoints.ts b/clients/client-ec2/src/endpoints.ts index ee7b90f08159..5c9477c7a606 100644 --- a/clients/client-ec2/src/endpoints.ts +++ b/clients/client-ec2/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "ec2.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ec2.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ec2/src/models/models_0.ts b/clients/client-ec2/src/models/models_0.ts index 1b3e31734972..1bbb739a1468 100644 --- a/clients/client-ec2/src/models/models_0.ts +++ b/clients/client-ec2/src/models/models_0.ts @@ -1030,7 +1030,7 @@ export interface Address { /** *

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from - * which AWS advertises IP addresses.

+ * which Amazon Web Services advertises IP addresses.

*/ NetworkBorderGroup?: string; @@ -1281,29 +1281,7 @@ export type ResourceType = */ export interface TagSpecification { /** - *

The type of resource to tag on creation. The possible values are: - * capacity-reservation | carrier-gateway | - * client-vpn-endpoint | customer-gateway | - * dedicated-host | dhcp-options | - * egress-only-internet-gateway | elastic-gpu | - * elastic-ip | export-image-task | - * export-instance-task | fleet | fpga-image | - * host-reservation | image | import-image-task | - * import-snapshot-task | instance | instance-event-window | - * internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | - * key-pair | launch-template | local-gateway-route-table-vpc-association | - * natgateway | network-acl | network-insights-analysis | - * network-insights-path | network-interface | - * placement-group | prefix-list | reserved-instances | - * route-table | security-group | security-group-rule | - * snapshot | spot-fleet-request | spot-instances-request | subnet | - * traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | - * transit-gateway | transit-gateway-attachment | - * transit-gateway-multicast-domain | transit-gateway-route-table | - * volume | vpc | vpc-endpoint | vpc-endpoint-service | - * vpc-flow-log | vpc-peering-connection | - * vpn-connection | vpn-gateway.

- *

To tag a resource after it has been created, see CreateTags.

+ *

The type of resource to tag on creation.

*/ ResourceType?: ResourceType | string; @@ -1342,14 +1320,13 @@ export interface AllocateAddressRequest { PublicIpv4Pool?: string; /** - *

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS + *

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services * advertises IP addresses. Use this parameter to limit the IP address to this location. IP * addresses cannot move between network border groups.

*

Use DescribeAvailabilityZones to view the network border groups.

* - * - *

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

- *
+ *

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, + * you receive an InvalidParameterCombination error.

*/ NetworkBorderGroup?: string; @@ -1399,7 +1376,7 @@ export interface AllocateAddressResult { PublicIpv4Pool?: string; /** - *

The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises + *

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises * IP addresses.

*/ NetworkBorderGroup?: string; @@ -2990,7 +2967,7 @@ export interface VpcIpv6CidrBlockAssociation { /** *

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from - * which AWS advertises IP addresses, for example, us-east-1-wl1-bos-wlz-1.

+ * which Amazon Web Services advertises IP addresses, for example, us-east-1-wl1-bos-wlz-1.

*/ NetworkBorderGroup?: string; @@ -4933,7 +4910,7 @@ export interface CopyFpgaImageRequest { /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. - * For more information, see Ensuring Idempotency.

+ * For more information, see Ensuring idempotency.

*/ ClientToken?: string; } @@ -8365,6 +8342,42 @@ export namespace CreateFleetResult { }); } +export enum DestinationFileFormat { + parquet = "parquet", + plain_text = "plain-text", +} + +/** + *

Describes the destination options for a flow log.

+ */ +export interface DestinationOptionsRequest { + /** + *

The format for the flow log. The default is plain-text.

+ */ + FileFormat?: DestinationFileFormat | string; + + /** + *

Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3. + * The default is false.

+ */ + HiveCompatiblePartitions?: boolean; + + /** + *

Indicates whether to partition the flow log per hour. This reduces the cost and response + * time for queries. The default is false.

+ */ + PerHourPartition?: boolean; +} + +export namespace DestinationOptionsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DestinationOptionsRequest): any => ({ + ...obj, + }); +} + export type LogDestinationType = "cloud-watch-logs" | "s3"; export type FlowLogsResourceType = "NetworkInterface" | "Subnet" | "VPC"; @@ -8419,7 +8432,7 @@ export interface CreateFlowLogsRequest { TrafficType: TrafficType | string | undefined; /** - *

Specifies the type of destination to which the flow log data is to be published. Flow log data can be + *

The type of destination to which the flow log data is to be published. Flow log data can be * published to CloudWatch Logs or Amazon S3. To publish flow log data to CloudWatch Logs, specify cloud-watch-logs. To * publish flow log data to Amazon S3, specify s3.

*

If you specify LogDestinationType as s3, do not specify @@ -8430,7 +8443,7 @@ export interface CreateFlowLogsRequest { LogDestinationType?: LogDestinationType | string; /** - *

Specifies the destination to which the flow log data is to be published. Flow log data can be published + *

The destination to which the flow log data is to be published. Flow log data can be published * to a CloudWatch Logs log group or an Amazon S3 bucket. The value specified for this parameter depends on the value specified * for LogDestinationType.

*

If LogDestinationType is not specified or cloud-watch-logs, @@ -8452,7 +8465,8 @@ export interface CreateFlowLogsRequest { * omit this parameter, the flow log is created using the default format. If you specify this parameter, * you must specify at least one field.

*

Specify the fields using the ${field-id} format, separated by spaces. For - * the CLI, use single quotation marks (' ') to surround the parameter value.

+ * the CLI, surround this parameter value with single quotes on Linux or + * double quotes on Windows.

*/ LogFormat?: string; @@ -8469,6 +8483,11 @@ export interface CreateFlowLogsRequest { *

Default: 600

*/ MaxAggregationInterval?: number; + + /** + *

The destination options.

+ */ + DestinationOptions?: DestinationOptionsRequest; } export namespace CreateFlowLogsRequest { @@ -8858,105 +8877,3 @@ export namespace CreateImageResult { ...obj, }); } - -/** - *

The start day and time and the end day and time of the time range, in UTC.

- */ -export interface InstanceEventWindowTimeRangeRequest { - /** - *

The day on which the time range begins.

- */ - StartWeekDay?: WeekDay | string; - - /** - *

The hour when the time range begins.

- */ - StartHour?: number; - - /** - *

The day on which the time range ends.

- */ - EndWeekDay?: WeekDay | string; - - /** - *

The hour when the time range ends.

- */ - EndHour?: number; -} - -export namespace InstanceEventWindowTimeRangeRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstanceEventWindowTimeRangeRequest): any => ({ - ...obj, - }); -} - -export interface CreateInstanceEventWindowRequest { - /** - *

Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

- */ - DryRun?: boolean; - - /** - *

The name of the event window.

- */ - Name?: string; - - /** - *

The time range for the event window. If you specify a time range, you can't specify a cron - * expression.

- */ - TimeRanges?: InstanceEventWindowTimeRangeRequest[]; - - /** - *

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If - * you specify a cron expression, you can't specify a time range.

- *

Constraints:

- * - *

For more information about cron expressions, see cron on the Wikipedia - * website.

- */ - CronExpression?: string; - - /** - *

The tags to apply to the event window.

- */ - TagSpecifications?: TagSpecification[]; -} - -export namespace CreateInstanceEventWindowRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CreateInstanceEventWindowRequest): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_1.ts b/clients/client-ec2/src/models/models_1.ts index 8c20cdb10718..fd5ebbb864f7 100644 --- a/clients/client-ec2/src/models/models_1.ts +++ b/clients/client-ec2/src/models/models_1.ts @@ -26,8 +26,111 @@ import { VolumeType, Vpc, VpcPeeringConnection, + WeekDay, } from "./models_0"; +/** + *

The start day and time and the end day and time of the time range, in UTC.

+ */ +export interface InstanceEventWindowTimeRangeRequest { + /** + *

The day on which the time range begins.

+ */ + StartWeekDay?: WeekDay | string; + + /** + *

The hour when the time range begins.

+ */ + StartHour?: number; + + /** + *

The day on which the time range ends.

+ */ + EndWeekDay?: WeekDay | string; + + /** + *

The hour when the time range ends.

+ */ + EndHour?: number; +} + +export namespace InstanceEventWindowTimeRangeRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InstanceEventWindowTimeRangeRequest): any => ({ + ...obj, + }); +} + +export interface CreateInstanceEventWindowRequest { + /** + *

Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

+ */ + DryRun?: boolean; + + /** + *

The name of the event window.

+ */ + Name?: string; + + /** + *

The time range for the event window. If you specify a time range, you can't specify a cron + * expression.

+ */ + TimeRanges?: InstanceEventWindowTimeRangeRequest[]; + + /** + *

The cron expression for the event window, for example, * 0-4,20-23 * * 1,5. If + * you specify a cron expression, you can't specify a time range.

+ *

Constraints:

+ * + *

For more information about cron expressions, see cron on the Wikipedia + * website.

+ */ + CronExpression?: string; + + /** + *

The tags to apply to the event window.

+ */ + TagSpecifications?: TagSpecification[]; +} + +export namespace CreateInstanceEventWindowRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateInstanceEventWindowRequest): any => ({ + ...obj, + }); +} + export interface CreateInstanceEventWindowResult { /** *

Information about the event window.

@@ -659,8 +762,8 @@ export namespace CreditSpecificationRequest { export interface ElasticGpuSpecification { /** *

The type of Elastic Graphics accelerator. For more information about the values to specify for - * Type, see Elastic Graphics Basics, specifically the Elastic Graphics accelerator column, in the Amazon Elastic Compute Cloud User Guide for Windows - * Instances.

+ * Type, see Elastic Graphics Basics, specifically the Elastic Graphics accelerator column, in the + * Amazon Elastic Compute Cloud User Guide for Windows Instances.

*/ Type: string | undefined; } @@ -2618,17 +2721,17 @@ export interface CreateLocalGatewayRouteRequest { */ LocalGatewayRouteTableId: string | undefined; + /** + *

The ID of the virtual interface group.

+ */ + LocalGatewayVirtualInterfaceGroupId: string | undefined; + /** *

Checks whether you have the required permissions for the action, without actually making the request, * and provides an error response. If you have the required permissions, the error response is DryRunOperation. * Otherwise, it is UnauthorizedOperation.

*/ DryRun?: boolean; - - /** - *

The ID of the virtual interface group.

- */ - LocalGatewayVirtualInterfaceGroupId: string | undefined; } export namespace CreateLocalGatewayRouteRequest { @@ -2679,7 +2782,7 @@ export interface LocalGatewayRoute { LocalGatewayRouteTableArn?: string; /** - *

The AWS account ID that owns the local gateway route.

+ *

The ID of the Amazon Web Services account that owns the local gateway route.

*/ OwnerId?: string; } @@ -2772,7 +2875,7 @@ export interface LocalGatewayRouteTableVpcAssociation { VpcId?: string; /** - *

The AWS account ID that owns the local gateway route table for the association.

+ *

The ID of the Amazon Web Services account that owns the local gateway route table for the association.

*/ OwnerId?: string; @@ -5687,6 +5790,11 @@ export interface CreateSubnetRequest { */ AvailabilityZoneId?: string; + /** + *

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

+ */ + CidrBlock: string | undefined; + /** *

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a * /64 prefix length.

@@ -5710,11 +5818,6 @@ export interface CreateSubnetRequest { * Otherwise, it is UnauthorizedOperation.

*/ DryRun?: boolean; - - /** - *

The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

- */ - CidrBlock: string | undefined; } export namespace CreateSubnetRequest { @@ -5928,7 +6031,7 @@ export interface CreateTrafficMirrorFilterRequest { DryRun?: boolean; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -6092,7 +6195,7 @@ export interface CreateTrafficMirrorFilterResult { TrafficMirrorFilter?: TrafficMirrorFilter; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -6137,7 +6240,7 @@ export interface CreateTrafficMirrorFilterRuleRequest { TrafficMirrorFilterId: string | undefined; /** - *

The type of traffic (ingress | egress).

+ *

The type of traffic.

*/ TrafficDirection: TrafficDirection | string | undefined; @@ -6148,7 +6251,7 @@ export interface CreateTrafficMirrorFilterRuleRequest { RuleNumber: number | undefined; /** - *

The action to take (accept | reject) on the filtered traffic.

+ *

The action to take on the filtered traffic.

*/ RuleAction: TrafficMirrorRuleAction | string | undefined; @@ -6191,7 +6294,7 @@ export interface CreateTrafficMirrorFilterRuleRequest { DryRun?: boolean; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -6212,7 +6315,7 @@ export interface CreateTrafficMirrorFilterRuleResult { TrafficMirrorFilterRule?: TrafficMirrorFilterRule; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -6284,7 +6387,7 @@ export interface CreateTrafficMirrorSessionRequest { DryRun?: boolean; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -6370,7 +6473,7 @@ export interface CreateTrafficMirrorSessionResult { TrafficMirrorSession?: TrafficMirrorSession; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -6413,7 +6516,7 @@ export interface CreateTrafficMirrorTargetRequest { DryRun?: boolean; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -6485,7 +6588,7 @@ export interface CreateTrafficMirrorTargetResult { TrafficMirrorTarget?: TrafficMirrorTarget; /** - *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

+ *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

*/ ClientToken?: string; } @@ -8179,8 +8282,8 @@ export interface CreateVpcEndpointRequest { /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. For more information, see How to Ensure - * Idempotency.

+ * request. For more information, see How to ensure + * idempotency.

*/ ClientToken?: string; @@ -8380,7 +8483,7 @@ export interface VpcEndpoint { Tags?: Tag[]; /** - *

The ID of the AWS account that owns the VPC endpoint.

+ *

The ID of the Amazon Web Services account that owns the VPC endpoint.

*/ OwnerId?: string; @@ -8456,8 +8559,8 @@ export interface CreateVpcEndpointConnectionNotificationRequest { /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the - * request. For more information, see How to Ensure - * Idempotency.

+ * request. For more information, see How to ensure + * idempotency.

*/ ClientToken?: string; } @@ -8585,8 +8688,8 @@ export interface CreateVpcEndpointServiceConfigurationRequest { /** *

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. - * For more information, see How to Ensure - * Idempotency.

+ * For more information, see How to ensure + * idempotency.

*/ ClientToken?: string; @@ -8714,7 +8817,7 @@ export interface ServiceConfiguration { AvailabilityZones?: string[]; /** - *

Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.

+ *

Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

*/ AcceptanceRequired?: boolean; @@ -9461,176 +9564,3 @@ export namespace Phase2IntegrityAlgorithmsListValue { ...obj, }); } - -/** - *

The VPN tunnel options.

- */ -export interface TunnelOption { - /** - *

The external IP address of the VPN tunnel.

- */ - OutsideIpAddress?: string; - - /** - *

The range of inside IPv4 addresses for the tunnel.

- */ - TunnelInsideCidr?: string; - - /** - *

The range of inside IPv6 addresses for the tunnel.

- */ - TunnelInsideIpv6Cidr?: string; - - /** - *

The pre-shared key (PSK) to establish initial authentication between the virtual - * private gateway and the customer gateway.

- */ - PreSharedKey?: string; - - /** - *

The lifetime for phase 1 of the IKE negotiation, in seconds.

- */ - Phase1LifetimeSeconds?: number; - - /** - *

The lifetime for phase 2 of the IKE negotiation, in seconds.

- */ - Phase2LifetimeSeconds?: number; - - /** - *

The margin time, in seconds, before the phase 2 lifetime expires, during which the - * Amazon Web Services side of the VPN connection performs an IKE rekey.

- */ - RekeyMarginTimeSeconds?: number; - - /** - *

The percentage of the rekey window determined by RekeyMarginTimeSeconds - * during which the rekey time is randomly selected.

- */ - RekeyFuzzPercentage?: number; - - /** - *

The number of packets in an IKE replay window.

- */ - ReplayWindowSize?: number; - - /** - *

The number of seconds after which a DPD timeout occurs.

- */ - DpdTimeoutSeconds?: number; - - /** - *

The action to take after a DPD timeout occurs.

- */ - DpdTimeoutAction?: string; - - /** - *

The permitted encryption algorithms for the VPN tunnel for phase 1 IKE - * negotiations.

- */ - Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsListValue[]; - - /** - *

The permitted encryption algorithms for the VPN tunnel for phase 2 IKE - * negotiations.

- */ - Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsListValue[]; - - /** - *

The permitted integrity algorithms for the VPN tunnel for phase 1 IKE - * negotiations.

- */ - Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsListValue[]; - - /** - *

The permitted integrity algorithms for the VPN tunnel for phase 2 IKE - * negotiations.

- */ - Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsListValue[]; - - /** - *

The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE - * negotiations.

- */ - Phase1DHGroupNumbers?: Phase1DHGroupNumbersListValue[]; - - /** - *

The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE - * negotiations.

- */ - Phase2DHGroupNumbers?: Phase2DHGroupNumbersListValue[]; - - /** - *

The IKE versions that are permitted for the VPN tunnel.

- */ - IkeVersions?: IKEVersionsListValue[]; - - /** - *

The action to take when the establishing the VPN tunnels for a VPN connection.

- */ - StartupAction?: string; -} - -export namespace TunnelOption { - /** - * @internal - */ - export const filterSensitiveLog = (obj: TunnelOption): any => ({ - ...obj, - }); -} - -/** - *

Describes VPN connection options.

- */ -export interface VpnConnectionOptions { - /** - *

Indicates whether acceleration is enabled for the VPN connection.

- */ - EnableAcceleration?: boolean; - - /** - *

Indicates whether the VPN connection uses static routes only. Static routes must be - * used for devices that don't support BGP.

- */ - StaticRoutesOnly?: boolean; - - /** - *

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

- */ - LocalIpv4NetworkCidr?: string; - - /** - *

The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

- */ - RemoteIpv4NetworkCidr?: string; - - /** - *

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

- */ - LocalIpv6NetworkCidr?: string; - - /** - *

The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

- */ - RemoteIpv6NetworkCidr?: string; - - /** - *

Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.

- */ - TunnelInsideIpVersion?: TunnelInsideIpVersion | string; - - /** - *

Indicates the VPN tunnel options.

- */ - TunnelOptions?: TunnelOption[]; -} - -export namespace VpnConnectionOptions { - /** - * @internal - */ - export const filterSensitiveLog = (obj: VpnConnectionOptions): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_2.ts b/clients/client-ec2/src/models/models_2.ts index e1e0cf61db59..c126b4b7e417 100644 --- a/clients/client-ec2/src/models/models_2.ts +++ b/clients/client-ec2/src/models/models_2.ts @@ -24,6 +24,7 @@ import { CurrencyCodeValues, CustomerGateway, DefaultTargetCapacityType, + DestinationFileFormat, DhcpOptions, EgressOnlyInternetGateway, FleetCapacityReservation, @@ -59,10 +60,17 @@ import { DiskImageFormat, ExportTask, GroupIdentifier, + IKEVersionsListValue, LaunchTemplate, LocalGatewayRoute, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, + Phase1DHGroupNumbersListValue, + Phase1EncryptionAlgorithmsListValue, + Phase1IntegrityAlgorithmsListValue, + Phase2DHGroupNumbersListValue, + Phase2EncryptionAlgorithmsListValue, + Phase2IntegrityAlgorithmsListValue, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, @@ -71,9 +79,182 @@ import { TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, - VpnConnectionOptions, + TunnelInsideIpVersion, } from "./models_1"; +/** + *

The VPN tunnel options.

+ */ +export interface TunnelOption { + /** + *

The external IP address of the VPN tunnel.

+ */ + OutsideIpAddress?: string; + + /** + *

The range of inside IPv4 addresses for the tunnel.

+ */ + TunnelInsideCidr?: string; + + /** + *

The range of inside IPv6 addresses for the tunnel.

+ */ + TunnelInsideIpv6Cidr?: string; + + /** + *

The pre-shared key (PSK) to establish initial authentication between the virtual + * private gateway and the customer gateway.

+ */ + PreSharedKey?: string; + + /** + *

The lifetime for phase 1 of the IKE negotiation, in seconds.

+ */ + Phase1LifetimeSeconds?: number; + + /** + *

The lifetime for phase 2 of the IKE negotiation, in seconds.

+ */ + Phase2LifetimeSeconds?: number; + + /** + *

The margin time, in seconds, before the phase 2 lifetime expires, during which the + * Amazon Web Services side of the VPN connection performs an IKE rekey.

+ */ + RekeyMarginTimeSeconds?: number; + + /** + *

The percentage of the rekey window determined by RekeyMarginTimeSeconds + * during which the rekey time is randomly selected.

+ */ + RekeyFuzzPercentage?: number; + + /** + *

The number of packets in an IKE replay window.

+ */ + ReplayWindowSize?: number; + + /** + *

The number of seconds after which a DPD timeout occurs.

+ */ + DpdTimeoutSeconds?: number; + + /** + *

The action to take after a DPD timeout occurs.

+ */ + DpdTimeoutAction?: string; + + /** + *

The permitted encryption algorithms for the VPN tunnel for phase 1 IKE + * negotiations.

+ */ + Phase1EncryptionAlgorithms?: Phase1EncryptionAlgorithmsListValue[]; + + /** + *

The permitted encryption algorithms for the VPN tunnel for phase 2 IKE + * negotiations.

+ */ + Phase2EncryptionAlgorithms?: Phase2EncryptionAlgorithmsListValue[]; + + /** + *

The permitted integrity algorithms for the VPN tunnel for phase 1 IKE + * negotiations.

+ */ + Phase1IntegrityAlgorithms?: Phase1IntegrityAlgorithmsListValue[]; + + /** + *

The permitted integrity algorithms for the VPN tunnel for phase 2 IKE + * negotiations.

+ */ + Phase2IntegrityAlgorithms?: Phase2IntegrityAlgorithmsListValue[]; + + /** + *

The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE + * negotiations.

+ */ + Phase1DHGroupNumbers?: Phase1DHGroupNumbersListValue[]; + + /** + *

The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE + * negotiations.

+ */ + Phase2DHGroupNumbers?: Phase2DHGroupNumbersListValue[]; + + /** + *

The IKE versions that are permitted for the VPN tunnel.

+ */ + IkeVersions?: IKEVersionsListValue[]; + + /** + *

The action to take when the establishing the VPN tunnels for a VPN connection.

+ */ + StartupAction?: string; +} + +export namespace TunnelOption { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TunnelOption): any => ({ + ...obj, + }); +} + +/** + *

Describes VPN connection options.

+ */ +export interface VpnConnectionOptions { + /** + *

Indicates whether acceleration is enabled for the VPN connection.

+ */ + EnableAcceleration?: boolean; + + /** + *

Indicates whether the VPN connection uses static routes only. Static routes must be + * used for devices that don't support BGP.

+ */ + StaticRoutesOnly?: boolean; + + /** + *

The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.

+ */ + LocalIpv4NetworkCidr?: string; + + /** + *

The IPv4 CIDR on the Amazon Web Services side of the VPN connection.

+ */ + RemoteIpv4NetworkCidr?: string; + + /** + *

The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.

+ */ + LocalIpv6NetworkCidr?: string; + + /** + *

The IPv6 CIDR on the Amazon Web Services side of the VPN connection.

+ */ + RemoteIpv6NetworkCidr?: string; + + /** + *

Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.

+ */ + TunnelInsideIpVersion?: TunnelInsideIpVersion | string; + + /** + *

Indicates the VPN tunnel options.

+ */ + TunnelOptions?: TunnelOption[]; +} + +export namespace VpnConnectionOptions { + /** + * @internal + */ + export const filterSensitiveLog = (obj: VpnConnectionOptions): any => ({ + ...obj, + }); +} + export type VpnStaticRouteSource = "Static"; export type VpnState = "available" | "deleted" | "deleting" | "pending"; @@ -6416,59 +6597,71 @@ export interface EventInformation { /** *

The event.

* - *

The following are the error events:

+ *

+ * error events:

* * - *

The following are the fleetRequestChange events:

+ *

+ * fleetRequestChange events:

* * - *

The following are the instanceChange events:

+ *

+ * instanceChange events:

* * - *

The following are the Information events:

+ *

+ * Information events:

* */ @@ -7373,6 +7584,35 @@ export namespace DescribeFlowLogsRequest { }); } +/** + *

Describes the destination options for a flow log.

+ */ +export interface DestinationOptionsResponse { + /** + *

The format for the flow log.

+ */ + FileFormat?: DestinationFileFormat | string; + + /** + *

Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.

+ */ + HiveCompatiblePartitions?: boolean; + + /** + *

Indicates whether to partition the flow log per hour.

+ */ + PerHourPartition?: boolean; +} + +export namespace DestinationOptionsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DestinationOptionsResponse): any => ({ + ...obj, + }); +} + /** *

Describes a flow log.

*/ @@ -7428,13 +7668,13 @@ export interface FlowLog { TrafficType?: TrafficType | string; /** - *

Specifies the type of destination to which the flow log data is published. Flow log data can be + *

The type of destination to which the flow log data is published. Flow log data can be * published to CloudWatch Logs or Amazon S3.

*/ LogDestinationType?: LogDestinationType | string; /** - *

Specifies the destination to which the flow log data is published. Flow log data can be + *

The destination to which the flow log data is published. Flow log data can be * published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs, * this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which * the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN @@ -7461,6 +7701,11 @@ export interface FlowLog { *

*/ MaxAggregationInterval?: number; + + /** + *

The destination options.

+ */ + DestinationOptions?: DestinationOptionsResponse; } export namespace FlowLog { @@ -7530,7 +7775,7 @@ export type PermissionGroup = "all"; */ export interface LoadPermission { /** - *

The AWS account ID.

+ *

The Amazon Web Services account ID.

*/ UserId?: string; @@ -7644,7 +7889,9 @@ export interface DescribeFpgaImagesRequest { FpgaImageIds?: string[]; /** - *

Filters the AFI by owner. Specify an AWS account ID, self (owner is the sender of the request), or an AWS owner alias (valid values are amazon | aws-marketplace).

+ *

Filters the AFI by owner. Specify an Amazon Web Services account ID, self + * (owner is the sender of the request), or an Amazon Web Services owner alias (valid values are + * amazon | aws-marketplace).

*/ Owners?: string[]; @@ -7669,7 +7916,7 @@ export interface DescribeFpgaImagesRequest { * *
  • *

    - * owner-id - The AWS account ID of the AFI owner.

    + * owner-id - The Amazon Web Services account ID of the AFI owner.

    *
  • *
  • *

    @@ -7677,7 +7924,7 @@ export interface DescribeFpgaImagesRequest { *

  • *
  • *

    - * shell-version - The version of the AWS Shell that was used to create the bitstream.

    + * shell-version - The version of the Amazon Web Services Shell that was used to create the bitstream.

    *
  • *
  • *

    @@ -7823,7 +8070,7 @@ export interface FpgaImage { Description?: string; /** - *

    The version of the AWS Shell that was used to create the bitstream.

    + *

    The version of the Amazon Web Services Shell that was used to create the bitstream.

    */ ShellVersion?: string; @@ -7848,7 +8095,7 @@ export interface FpgaImage { UpdateTime?: Date; /** - *

    The AWS account ID of the AFI owner.

    + *

    The ID of the Amazon Web Services account that owns the AFI.

    */ OwnerId?: string; @@ -9382,194 +9629,3 @@ export namespace ImportImageLicenseConfigurationResponse { ...obj, }); } - -/** - *

    Describes the Amazon S3 bucket for the disk image.

    - */ -export interface UserBucketDetails { - /** - *

    The Amazon S3 bucket from which the disk image was created.

    - */ - S3Bucket?: string; - - /** - *

    The file name of the disk image.

    - */ - S3Key?: string; -} - -export namespace UserBucketDetails { - /** - * @internal - */ - export const filterSensitiveLog = (obj: UserBucketDetails): any => ({ - ...obj, - }); -} - -/** - *

    Describes the snapshot created from the imported disk.

    - */ -export interface SnapshotDetail { - /** - *

    A description for the snapshot.

    - */ - Description?: string; - - /** - *

    The block device mapping for the snapshot.

    - */ - DeviceName?: string; - - /** - *

    The size of the disk in the snapshot, in GiB.

    - */ - DiskImageSize?: number; - - /** - *

    The format of the disk image from which the snapshot is created.

    - */ - Format?: string; - - /** - *

    The percentage of progress for the task.

    - */ - Progress?: string; - - /** - *

    The snapshot ID of the disk being imported.

    - */ - SnapshotId?: string; - - /** - *

    A brief status of the snapshot creation.

    - */ - Status?: string; - - /** - *

    A detailed status message for the snapshot creation.

    - */ - StatusMessage?: string; - - /** - *

    The URL used to access the disk image.

    - */ - Url?: string; - - /** - *

    The Amazon S3 bucket for the disk image.

    - */ - UserBucket?: UserBucketDetails; -} - -export namespace SnapshotDetail { - /** - * @internal - */ - export const filterSensitiveLog = (obj: SnapshotDetail): any => ({ - ...obj, - }); -} - -/** - *

    Describes an import image task.

    - */ -export interface ImportImageTask { - /** - *

    The architecture of the virtual machine.

    - *

    Valid values: i386 | x86_64 | arm64 - *

    - */ - Architecture?: string; - - /** - *

    A description of the import task.

    - */ - Description?: string; - - /** - *

    Indicates whether the image is encrypted.

    - */ - Encrypted?: boolean; - - /** - *

    The target hypervisor for the import task.

    - *

    Valid values: xen - *

    - */ - Hypervisor?: string; - - /** - *

    The ID of the Amazon Machine Image (AMI) of the imported virtual machine.

    - */ - ImageId?: string; - - /** - *

    The ID of the import image task.

    - */ - ImportTaskId?: string; - - /** - *

    The identifier for the KMS key that was used to create the encrypted image.

    - */ - KmsKeyId?: string; - - /** - *

    The license type of the virtual machine.

    - */ - LicenseType?: string; - - /** - *

    The description string for the import image task.

    - */ - Platform?: string; - - /** - *

    The percentage of progress of the import image task.

    - */ - Progress?: string; - - /** - *

    Information about the snapshots.

    - */ - SnapshotDetails?: SnapshotDetail[]; - - /** - *

    A brief status for the import image task.

    - */ - Status?: string; - - /** - *

    A descriptive status message for the import image task.

    - */ - StatusMessage?: string; - - /** - *

    The tags for the import image task.

    - */ - Tags?: Tag[]; - - /** - *

    The ARNs of the license configurations that are associated with the import image task.

    - */ - LicenseSpecifications?: ImportImageLicenseConfigurationResponse[]; - - /** - *

    The usage operation value.

    - */ - UsageOperation?: string; - - /** - *

    The boot mode of the virtual machine.

    - */ - BootMode?: BootModeValues | string; -} - -export namespace ImportImageTask { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ImportImageTask): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_3.ts b/clients/client-ec2/src/models/models_3.ts index c2c248c451c6..4bc429c50972 100644 --- a/clients/client-ec2/src/models/models_3.ts +++ b/clients/client-ec2/src/models/models_3.ts @@ -29,7 +29,6 @@ import { TransitGatewayAttachmentState, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, - TrunkInterfaceAssociation, UserIdGroupPair, } from "./models_0"; import { @@ -79,15 +78,205 @@ import { Filter, HypervisorType, IdFormat, - ImportImageTask, + ImportImageLicenseConfigurationResponse, InstanceTagNotificationAttribute, PermissionGroup, ProductCode, StateReason, - UserBucketDetails, VirtualizationType, } from "./models_2"; +/** + *

    Describes the Amazon S3 bucket for the disk image.

    + */ +export interface UserBucketDetails { + /** + *

    The Amazon S3 bucket from which the disk image was created.

    + */ + S3Bucket?: string; + + /** + *

    The file name of the disk image.

    + */ + S3Key?: string; +} + +export namespace UserBucketDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UserBucketDetails): any => ({ + ...obj, + }); +} + +/** + *

    Describes the snapshot created from the imported disk.

    + */ +export interface SnapshotDetail { + /** + *

    A description for the snapshot.

    + */ + Description?: string; + + /** + *

    The block device mapping for the snapshot.

    + */ + DeviceName?: string; + + /** + *

    The size of the disk in the snapshot, in GiB.

    + */ + DiskImageSize?: number; + + /** + *

    The format of the disk image from which the snapshot is created.

    + */ + Format?: string; + + /** + *

    The percentage of progress for the task.

    + */ + Progress?: string; + + /** + *

    The snapshot ID of the disk being imported.

    + */ + SnapshotId?: string; + + /** + *

    A brief status of the snapshot creation.

    + */ + Status?: string; + + /** + *

    A detailed status message for the snapshot creation.

    + */ + StatusMessage?: string; + + /** + *

    The URL used to access the disk image.

    + */ + Url?: string; + + /** + *

    The Amazon S3 bucket for the disk image.

    + */ + UserBucket?: UserBucketDetails; +} + +export namespace SnapshotDetail { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SnapshotDetail): any => ({ + ...obj, + }); +} + +/** + *

    Describes an import image task.

    + */ +export interface ImportImageTask { + /** + *

    The architecture of the virtual machine.

    + *

    Valid values: i386 | x86_64 | arm64 + *

    + */ + Architecture?: string; + + /** + *

    A description of the import task.

    + */ + Description?: string; + + /** + *

    Indicates whether the image is encrypted.

    + */ + Encrypted?: boolean; + + /** + *

    The target hypervisor for the import task.

    + *

    Valid values: xen + *

    + */ + Hypervisor?: string; + + /** + *

    The ID of the Amazon Machine Image (AMI) of the imported virtual machine.

    + */ + ImageId?: string; + + /** + *

    The ID of the import image task.

    + */ + ImportTaskId?: string; + + /** + *

    The identifier for the KMS key that was used to create the encrypted image.

    + */ + KmsKeyId?: string; + + /** + *

    The license type of the virtual machine.

    + */ + LicenseType?: string; + + /** + *

    The description string for the import image task.

    + */ + Platform?: string; + + /** + *

    The percentage of progress of the import image task.

    + */ + Progress?: string; + + /** + *

    Information about the snapshots.

    + */ + SnapshotDetails?: SnapshotDetail[]; + + /** + *

    A brief status for the import image task.

    + */ + Status?: string; + + /** + *

    A descriptive status message for the import image task.

    + */ + StatusMessage?: string; + + /** + *

    The tags for the import image task.

    + */ + Tags?: Tag[]; + + /** + *

    The ARNs of the license configurations that are associated with the import image task.

    + */ + LicenseSpecifications?: ImportImageLicenseConfigurationResponse[]; + + /** + *

    The usage operation value.

    + */ + UsageOperation?: string; + + /** + *

    The boot mode of the virtual machine.

    + */ + BootMode?: BootModeValues | string; +} + +export namespace ImportImageTask { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ImportImageTask): any => ({ + ...obj, + }); +} + export interface DescribeImportImageTasksResult { /** *

    A list of zero or more import image tasks that are currently active or were completed or canceled in the @@ -1510,17 +1699,12 @@ export interface InstanceMetadataOptionsResponse { HttpPutResponseHopLimit?: number; /** - *

    This parameter enables or disables the HTTP metadata endpoint on your instances. If - * the parameter is not specified, the default state is enabled.

    - * - *

    If you specify a value of disabled, you will not be able to access your - * instance metadata.

    - *
    + *

    Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.

    */ HttpEndpoint?: InstanceMetadataEndpointState | string; /** - *

    Whether or not the IPv6 endpoint for the instance metadata service is enabled or disabled.

    + *

    Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.

    */ HttpProtocolIpv6?: InstanceMetadataProtocolState | string; } @@ -2772,9 +2956,14 @@ export interface DescribeInstanceTypesRequest { *
  • *
  • *

    + * instance-storage-info.encryption-supported - Indicates whether data is encrypted at rest + * (required | unsupported).

    + *
  • + *
  • + *

    * instance-storage-info.nvme-support - Indicates whether non-volatile memory - * express (NVMe) is supported for instance store (required | supported) - * | unsupported).

    + * express (NVMe) is supported for instance store (required | supported | + * unsupported).

    *
  • *
  • *

    @@ -3214,7 +3403,7 @@ export namespace InferenceAcceleratorInfo { export type DiskType = "hdd" | "ssd"; /** - *

    Describes the disk.

    + *

    Describes a disk.

    */ export interface DiskInfo { /** @@ -3242,6 +3431,11 @@ export namespace DiskInfo { }); } +export enum InstanceStorageEncryptionSupport { + required = "required", + unsupported = "unsupported", +} + export enum EphemeralNvmeSupport { REQUIRED = "required", SUPPORTED = "supported", @@ -3249,7 +3443,7 @@ export enum EphemeralNvmeSupport { } /** - *

    Describes the disks that are available for the instance type.

    + *

    Describes the instance store features that are supported by the instance type.

    */ export interface InstanceStorageInfo { /** @@ -3263,9 +3457,14 @@ export interface InstanceStorageInfo { Disks?: DiskInfo[]; /** - *

    Indicates whether non-volatile memory express (NVMe) is supported for instance store.

    + *

    Indicates whether non-volatile memory express (NVMe) is supported.

    */ NvmeSupport?: EphemeralNvmeSupport | string; + + /** + *

    Indicates whether data is encrypted at rest.

    + */ + EncryptionSupport?: InstanceStorageEncryptionSupport | string; } export namespace InstanceStorageInfo { @@ -3441,7 +3640,7 @@ export namespace PlacementGroupInfo { }); } -export type ArchitectureType = "arm64" | "i386" | "x86_64"; +export type ArchitectureType = "arm64" | "i386" | "x86_64" | "x86_64_mac"; /** *

    Describes the processor used by the instance type.

    @@ -4315,7 +4514,7 @@ export interface LocalGatewayRouteTable { OutpostArn?: string; /** - *

    The AWS account ID that owns the local gateway route table.

    + *

    The ID of the Amazon Web Services account that owns the local gateway route table.

    */ OwnerId?: string; @@ -4453,7 +4652,7 @@ export interface LocalGatewayRouteTableVirtualInterfaceGroupAssociation { LocalGatewayRouteTableArn?: string; /** - *

    The AWS account ID that owns the local gateway virtual interface group association.

    + *

    The ID of the Amazon Web Services account that owns the local gateway virtual interface group association.

    */ OwnerId?: string; @@ -4662,7 +4861,7 @@ export interface LocalGateway { OutpostArn?: string; /** - *

    The AWS account ID that owns the local gateway.

    + *

    The ID of the Amazon Web Services account that owns the local gateway.

    */ OwnerId?: string; @@ -4780,7 +4979,7 @@ export interface LocalGatewayVirtualInterfaceGroup { LocalGatewayId?: string; /** - *

    The AWS account ID that owns the local gateway virtual interface group.

    + *

    The ID of the Amazon Web Services account that owns the local gateway virtual interface group.

    */ OwnerId?: string; @@ -4899,7 +5098,7 @@ export interface LocalGatewayVirtualInterface { PeerBgpAsn?: number; /** - *

    The AWS account ID that owns the local gateway virtual interface.

    + *

    The ID of the Amazon Web Services account that owns the local gateway virtual interface.

    */ OwnerId?: string; @@ -12859,80 +13058,3 @@ export namespace DescribeTrunkInterfaceAssociationsRequest { ...obj, }); } - -export interface DescribeTrunkInterfaceAssociationsResult { - /** - *

    Information about the trunk associations.

    - */ - InterfaceAssociations?: TrunkInterfaceAssociation[]; - - /** - *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    - */ - NextToken?: string; -} - -export namespace DescribeTrunkInterfaceAssociationsResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeTrunkInterfaceAssociationsResult): any => ({ - ...obj, - }); -} - -export type VolumeAttributeName = "autoEnableIO" | "productCodes"; - -export interface DescribeVolumeAttributeRequest { - /** - *

    The attribute of the volume. This parameter is required.

    - */ - Attribute: VolumeAttributeName | string | undefined; - - /** - *

    The ID of the volume.

    - */ - VolumeId: string | undefined; - - /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; -} - -export namespace DescribeVolumeAttributeRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeVolumeAttributeRequest): any => ({ - ...obj, - }); -} - -export interface DescribeVolumeAttributeResult { - /** - *

    The state of autoEnableIO attribute.

    - */ - AutoEnableIO?: AttributeBooleanValue; - - /** - *

    A list of product codes.

    - */ - ProductCodes?: ProductCode[]; - - /** - *

    The ID of the volume.

    - */ - VolumeId?: string; -} - -export namespace DescribeVolumeAttributeResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeVolumeAttributeResult): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_4.ts b/clients/client-ec2/src/models/models_4.ts index 25b43362bc42..6805fc113cc6 100644 --- a/clients/client-ec2/src/models/models_4.ts +++ b/clients/client-ec2/src/models/models_4.ts @@ -19,7 +19,6 @@ import { HostRecovery, IamInstanceProfileAssociation, InstanceEventWindow, - InstanceEventWindowTimeRangeRequest, Placement, PlatformValues, SelfServicePortal, @@ -33,6 +32,7 @@ import { TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, + TrunkInterfaceAssociation, UnsuccessfulItem, VolumeType, Vpc, @@ -47,6 +47,7 @@ import { DiskImageFormat, DnsEntry, DnsNameState, + InstanceEventWindowTimeRangeRequest, LaunchTemplate, ManagedPrefixList, ResponseLaunchTemplateData, @@ -55,12 +56,8 @@ import { ShutdownBehavior, State, SubnetCidrReservation, - TrafficDirection, TrafficMirrorFilter, - TrafficMirrorFilterRule, TrafficMirrorNetworkService, - TrafficMirrorPortRangeRequest, - TrafficMirrorRuleAction, TransitGatewayPrefixListReference, Volume, VpcEndpoint, @@ -78,7 +75,7 @@ import { LaunchPermission, PaymentOption, PermissionGroup, - SnapshotDetail, + ProductCode, VpnConnection, VpnGateway, } from "./models_2"; @@ -95,9 +92,87 @@ import { LaunchTemplateConfig, ReservedInstancesConfiguration, SnapshotAttributeName, + SnapshotDetail, SnapshotTaskDetail, } from "./models_3"; +export interface DescribeTrunkInterfaceAssociationsResult { + /** + *

    Information about the trunk associations.

    + */ + InterfaceAssociations?: TrunkInterfaceAssociation[]; + + /** + *

    The token to use to retrieve the next page of results. This value is null when there are no more results to return.

    + */ + NextToken?: string; +} + +export namespace DescribeTrunkInterfaceAssociationsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeTrunkInterfaceAssociationsResult): any => ({ + ...obj, + }); +} + +export type VolumeAttributeName = "autoEnableIO" | "productCodes"; + +export interface DescribeVolumeAttributeRequest { + /** + *

    The attribute of the volume. This parameter is required.

    + */ + Attribute: VolumeAttributeName | string | undefined; + + /** + *

    The ID of the volume.

    + */ + VolumeId: string | undefined; + + /** + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    + */ + DryRun?: boolean; +} + +export namespace DescribeVolumeAttributeRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeVolumeAttributeRequest): any => ({ + ...obj, + }); +} + +export interface DescribeVolumeAttributeResult { + /** + *

    The state of autoEnableIO attribute.

    + */ + AutoEnableIO?: AttributeBooleanValue; + + /** + *

    A list of product codes.

    + */ + ProductCodes?: ProductCode[]; + + /** + *

    The ID of the volume.

    + */ + VolumeId?: string; +} + +export namespace DescribeVolumeAttributeResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeVolumeAttributeResult): any => ({ + ...obj, + }); +} + export interface DescribeVolumesRequest { /** *

    The filters.

    @@ -1128,8 +1203,8 @@ export interface DescribeVpcEndpointConnectionsRequest { *
  • *
  • *

    - * vpc-endpoint-owner - The AWS account number of the owner of the - * endpoint.

    + * vpc-endpoint-owner - The ID of the Amazon Web Services account ID + * that owns the endpoint.

    *
  • *
  • *

    @@ -1185,7 +1260,7 @@ export interface VpcEndpointConnection { VpcEndpointId?: string; /** - *

    The AWS account ID of the owner of the VPC endpoint.

    + *

    The ID of the Amazon Web Services account that owns the VPC endpoint.

    */ VpcEndpointOwner?: string; @@ -1611,7 +1686,7 @@ export interface ServiceDetail { AvailabilityZones?: string[]; /** - *

    The AWS account ID of the service owner.

    + *

    The Amazon Web Services account ID of the service owner.

    */ Owner?: string; @@ -4514,12 +4589,12 @@ export interface CoipAddressUsage { AllocationId?: string; /** - *

    The AWS account ID.

    + *

    The Amazon Web Services account ID.

    */ AwsAccountId?: string; /** - *

    The AWS service.

    + *

    The Amazon Web Services service.

    */ AwsService?: string; @@ -6627,7 +6702,7 @@ export interface ImportImageRequest { TagSpecifications?: TagSpecification[]; /** - *

    The usage operation value. For more information, see AMI billing information fields in the Amazon Elastic Compute Cloud User Guide.

    + *

    The usage operation value. For more information, see Licensing options in the VM Import/Export User Guide.

    */ UsageOperation?: string; @@ -7290,7 +7365,7 @@ export interface ModifyAvailabilityZoneGroupRequest { /** *

    Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The - * only valid value is opted-in. You must contact AWS Support to opt out of a Local Zone group, or Wavelength Zone group.

    + * only valid value is opted-in. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.

    */ OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined; @@ -7787,7 +7862,7 @@ export interface LoadPermissionRequest { Group?: PermissionGroup | string; /** - *

    The AWS account ID.

    + *

    The Amazon Web Services account ID.

    */ UserId?: string; } @@ -7851,7 +7926,7 @@ export interface ModifyFpgaImageAttributeRequest { OperationType?: OperationType | string; /** - *

    The AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.

    + *

    The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.

    */ UserIds?: string[]; @@ -9524,156 +9599,3 @@ export namespace ModifyTrafficMirrorFilterNetworkServicesResult { } export type TrafficMirrorFilterRuleField = "description" | "destination-port-range" | "protocol" | "source-port-range"; - -export interface ModifyTrafficMirrorFilterRuleRequest { - /** - *

    The ID of the Traffic Mirror rule.

    - */ - TrafficMirrorFilterRuleId: string | undefined; - - /** - *

    The type of traffic (ingress | egress) to assign to the rule.

    - */ - TrafficDirection?: TrafficDirection | string; - - /** - *

    The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given - * direction. The rules are processed in ascending order by rule number.

    - */ - RuleNumber?: number; - - /** - *

    The action to assign to the rule.

    - */ - RuleAction?: TrafficMirrorRuleAction | string; - - /** - *

    The destination ports that are associated with the Traffic Mirror rule.

    - */ - DestinationPortRange?: TrafficMirrorPortRangeRequest; - - /** - *

    The port range to assign to the Traffic Mirror rule.

    - */ - SourcePortRange?: TrafficMirrorPortRangeRequest; - - /** - *

    The protocol, for example TCP, to assign to the Traffic Mirror rule.

    - */ - Protocol?: number; - - /** - *

    The destination CIDR block to assign to the Traffic Mirror rule.

    - */ - DestinationCidrBlock?: string; - - /** - *

    The source CIDR block to assign to the Traffic Mirror rule.

    - */ - SourceCidrBlock?: string; - - /** - *

    The description to assign to the Traffic Mirror rule.

    - */ - Description?: string; - - /** - *

    The properties that you want to remove from the Traffic Mirror filter rule.

    - *

    When you remove a property from a Traffic Mirror filter rule, the property is set to the default.

    - */ - RemoveFields?: (TrafficMirrorFilterRuleField | string)[]; - - /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; -} - -export namespace ModifyTrafficMirrorFilterRuleRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleRequest): any => ({ - ...obj, - }); -} - -export interface ModifyTrafficMirrorFilterRuleResult { - /** - *

    Modifies a Traffic Mirror rule.

    - */ - TrafficMirrorFilterRule?: TrafficMirrorFilterRule; -} - -export namespace ModifyTrafficMirrorFilterRuleResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleResult): any => ({ - ...obj, - }); -} - -export type TrafficMirrorSessionField = "description" | "packet-length" | "virtual-network-id"; - -export interface ModifyTrafficMirrorSessionRequest { - /** - *

    The ID of the Traffic Mirror session.

    - */ - TrafficMirrorSessionId: string | undefined; - - /** - *

    The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.

    - */ - TrafficMirrorTargetId?: string; - - /** - *

    The ID of the Traffic Mirror filter.

    - */ - TrafficMirrorFilterId?: string; - - /** - *

    The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.

    - */ - PacketLength?: number; - - /** - *

    The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

    - *

    Valid values are 1-32766.

    - */ - SessionNumber?: number; - - /** - *

    The virtual network ID of the Traffic Mirror session.

    - */ - VirtualNetworkId?: number; - - /** - *

    The description to assign to the Traffic Mirror session.

    - */ - Description?: string; - - /** - *

    The properties that you want to remove from the Traffic Mirror session.

    - *

    When you remove a property from a Traffic Mirror session, the property is set to the default.

    - */ - RemoveFields?: (TrafficMirrorSessionField | string)[]; - - /** - *

    Checks whether you have the required permissions for the action, without actually making the request, - * and provides an error response. If you have the required permissions, the error response is DryRunOperation. - * Otherwise, it is UnauthorizedOperation.

    - */ - DryRun?: boolean; -} - -export namespace ModifyTrafficMirrorSessionRequest { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ModifyTrafficMirrorSessionRequest): any => ({ - ...obj, - }); -} diff --git a/clients/client-ec2/src/models/models_5.ts b/clients/client-ec2/src/models/models_5.ts index dd36a9019e5a..991b37796b69 100644 --- a/clients/client-ec2/src/models/models_5.ts +++ b/clients/client-ec2/src/models/models_5.ts @@ -45,6 +45,10 @@ import { RuleAction, ShutdownBehavior, SpotInstanceType, + TrafficDirection, + TrafficMirrorFilterRule, + TrafficMirrorPortRangeRequest, + TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, @@ -76,7 +80,165 @@ import { SpotInstanceRequest, SpotPlacement, } from "./models_3"; -import { CapacityReservationSpecification, Purchase, VolumeModification } from "./models_4"; +import { + CapacityReservationSpecification, + Purchase, + TrafficMirrorFilterRuleField, + VolumeModification, +} from "./models_4"; + +export interface ModifyTrafficMirrorFilterRuleRequest { + /** + *

    The ID of the Traffic Mirror rule.

    + */ + TrafficMirrorFilterRuleId: string | undefined; + + /** + *

    The type of traffic to assign to the rule.

    + */ + TrafficDirection?: TrafficDirection | string; + + /** + *

    The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given + * direction. The rules are processed in ascending order by rule number.

    + */ + RuleNumber?: number; + + /** + *

    The action to assign to the rule.

    + */ + RuleAction?: TrafficMirrorRuleAction | string; + + /** + *

    The destination ports that are associated with the Traffic Mirror rule.

    + */ + DestinationPortRange?: TrafficMirrorPortRangeRequest; + + /** + *

    The port range to assign to the Traffic Mirror rule.

    + */ + SourcePortRange?: TrafficMirrorPortRangeRequest; + + /** + *

    The protocol, for example TCP, to assign to the Traffic Mirror rule.

    + */ + Protocol?: number; + + /** + *

    The destination CIDR block to assign to the Traffic Mirror rule.

    + */ + DestinationCidrBlock?: string; + + /** + *

    The source CIDR block to assign to the Traffic Mirror rule.

    + */ + SourceCidrBlock?: string; + + /** + *

    The description to assign to the Traffic Mirror rule.

    + */ + Description?: string; + + /** + *

    The properties that you want to remove from the Traffic Mirror filter rule.

    + *

    When you remove a property from a Traffic Mirror filter rule, the property is set to the default.

    + */ + RemoveFields?: (TrafficMirrorFilterRuleField | string)[]; + + /** + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    + */ + DryRun?: boolean; +} + +export namespace ModifyTrafficMirrorFilterRuleRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleRequest): any => ({ + ...obj, + }); +} + +export interface ModifyTrafficMirrorFilterRuleResult { + /** + *

    Modifies a Traffic Mirror rule.

    + */ + TrafficMirrorFilterRule?: TrafficMirrorFilterRule; +} + +export namespace ModifyTrafficMirrorFilterRuleResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorFilterRuleResult): any => ({ + ...obj, + }); +} + +export type TrafficMirrorSessionField = "description" | "packet-length" | "virtual-network-id"; + +export interface ModifyTrafficMirrorSessionRequest { + /** + *

    The ID of the Traffic Mirror session.

    + */ + TrafficMirrorSessionId: string | undefined; + + /** + *

    The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.

    + */ + TrafficMirrorTargetId?: string; + + /** + *

    The ID of the Traffic Mirror filter.

    + */ + TrafficMirrorFilterId?: string; + + /** + *

    The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.

    + */ + PacketLength?: number; + + /** + *

    The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.

    + *

    Valid values are 1-32766.

    + */ + SessionNumber?: number; + + /** + *

    The virtual network ID of the Traffic Mirror session.

    + */ + VirtualNetworkId?: number; + + /** + *

    The description to assign to the Traffic Mirror session.

    + */ + Description?: string; + + /** + *

    The properties that you want to remove from the Traffic Mirror session.

    + *

    When you remove a property from a Traffic Mirror session, the property is set to the default.

    + */ + RemoveFields?: (TrafficMirrorSessionField | string)[]; + + /** + *

    Checks whether you have the required permissions for the action, without actually making the request, + * and provides an error response. If you have the required permissions, the error response is DryRunOperation. + * Otherwise, it is UnauthorizedOperation.

    + */ + DryRun?: boolean; +} + +export namespace ModifyTrafficMirrorSessionRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ModifyTrafficMirrorSessionRequest): any => ({ + ...obj, + }); +} export interface ModifyTrafficMirrorSessionResult { /** @@ -2420,12 +2582,11 @@ export interface ReleaseAddressRequest { PublicIp?: string; /** - *

    The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises + *

    The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises * IP addresses.

    - *

    If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound error. For more information, see Error Codes.

    - * - *

    You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

    - *
    + *

    If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

    + *

    You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you + * receive an InvalidParameterCombination error.

    */ NetworkBorderGroup?: string; @@ -4077,12 +4238,10 @@ export interface InstanceMetadataOptionsRequest { HttpPutResponseHopLimit?: number; /** - *

    This parameter enables or disables the HTTP metadata endpoint on your instances. If - * the parameter is not specified, the default state is enabled.

    - * - *

    If you specify a value of disabled, you will not be able to access your - * instance metadata.

    - *
    + *

    Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not + * specified, the default state is enabled.

    + *

    If you specify a value of disabled, you will not be able to access your + * instance metadata.

    */ HttpEndpoint?: InstanceMetadataEndpointState | string; @@ -4858,6 +5017,11 @@ export interface SearchLocalGatewayRoutesRequest { */ LocalGatewayRouteTableId: string | undefined; + /** + *

    One or more filters.

    + */ + Filters?: Filter[]; + /** *

    The maximum number of results to return with a single call. * To retrieve the remaining results, make another call with the returned nextToken value.

    @@ -4875,11 +5039,6 @@ export interface SearchLocalGatewayRoutesRequest { * Otherwise, it is UnauthorizedOperation.

    */ DryRun?: boolean; - - /** - *

    One or more filters.

    - */ - Filters: Filter[] | undefined; } export namespace SearchLocalGatewayRoutesRequest { diff --git a/clients/client-ec2/src/protocols/Aws_ec2.ts b/clients/client-ec2/src/protocols/Aws_ec2.ts index 97e0f0c5e13c..15e74a2e5ddf 100644 --- a/clients/client-ec2/src/protocols/Aws_ec2.ts +++ b/clients/client-ec2/src/protocols/Aws_ec2.ts @@ -1757,8 +1757,8 @@ import { CreateFpgaImageResult, CreateImageRequest, CreateImageResult, - CreateInstanceEventWindowRequest, CustomerGateway, + DestinationOptionsRequest, DhcpConfiguration, DhcpOptions, DirectoryServiceAuthenticationRequest, @@ -1782,7 +1782,6 @@ import { InstanceEventWindowAssociationRequest, InstanceEventWindowAssociationTarget, InstanceEventWindowTimeRange, - InstanceEventWindowTimeRangeRequest, InternetGatewayAttachment, IpPermission, IpRange, @@ -1840,6 +1839,7 @@ import { CapacityReservationTarget, CapacityReservationTargetResponse, ConnectionNotification, + CreateInstanceEventWindowRequest, CreateInstanceEventWindowResult, CreateInstanceExportTaskRequest, CreateInstanceExportTaskResult, @@ -1946,6 +1946,7 @@ import { IcmpTypeCode, IKEVersionsListValue, IKEVersionsRequestListValue, + InstanceEventWindowTimeRangeRequest, InstanceExportDetails, InstanceIpv6Address, InstanceIpv6AddressRequest, @@ -2065,12 +2066,10 @@ import { TransitGatewayRoute, TransitGatewayRouteAttachment, TransitGatewayRouteTable, - TunnelOption, ValidationError, ValidationWarning, Volume, VpcEndpoint, - VpnConnectionOptions, VpnConnectionOptionsSpecification, VpnTunnelOptionsSpecification, } from "../models/models_1"; @@ -2287,6 +2286,7 @@ import { DescribeImagesRequest, DescribeImagesResult, DescribeImportImageTasksRequest, + DestinationOptionsResponse, DirectoryServiceAuthentication, DiskImageDescription, DiskImageVolumeDescription, @@ -2316,7 +2316,6 @@ import { Image, ImageAttribute, ImportImageLicenseConfigurationResponse, - ImportImageTask, ImportInstanceTaskDetails, ImportInstanceVolumeDetailItem, ImportVolumeTaskDetails, @@ -2329,7 +2328,6 @@ import { PciId, ProductCode, ResponseError, - SnapshotDetail, SpotOptions, StateReason, SuccessfulQueuedPurchaseDeletion, @@ -2337,10 +2335,11 @@ import { TargetNetwork, TransitGatewayMulticastDeregisteredGroupMembers, TransitGatewayMulticastDeregisteredGroupSources, - UserBucketDetails, + TunnelOption, VgwTelemetry, VirtualizationType, VpnConnection, + VpnConnectionOptions, VpnGateway, VpnStaticRoute, } from "../models/models_2"; @@ -2497,9 +2496,6 @@ import { DescribeTransitGatewayVpcAttachmentsRequest, DescribeTransitGatewayVpcAttachmentsResult, DescribeTrunkInterfaceAssociationsRequest, - DescribeTrunkInterfaceAssociationsResult, - DescribeVolumeAttributeRequest, - DescribeVolumeAttributeResult, DiskInfo, EbsInfo, EbsInstanceBlockDevice, @@ -2517,6 +2513,7 @@ import { GpuInfo, HibernationOptions, HistoryRecord, + ImportImageTask, ImportSnapshotTask, InferenceAcceleratorInfo, InferenceDeviceInfo, @@ -2587,6 +2584,7 @@ import { SecurityGroupReference, SlotDateTimeRangeRequest, SlotStartTimeRangeRequest, + SnapshotDetail, SnapshotTaskDetail, SpotCapacityRebalance, SpotFleetLaunchSpecification, @@ -2608,6 +2606,7 @@ import { TransitGatewayAttachment, TransitGatewayAttachmentAssociation, UsageClassType, + UserBucketDetails, VCpuInfo, } from "../models/models_3"; import { @@ -2621,6 +2620,9 @@ import { ClientData, CoipAddressUsage, CreateVolumePermissionModifications, + DescribeTrunkInterfaceAssociationsResult, + DescribeVolumeAttributeRequest, + DescribeVolumeAttributeResult, DescribeVolumesModificationsRequest, DescribeVolumesModificationsResult, DescribeVolumesRequest, @@ -2859,9 +2861,6 @@ import { ModifySubnetAttributeRequest, ModifyTrafficMirrorFilterNetworkServicesRequest, ModifyTrafficMirrorFilterNetworkServicesResult, - ModifyTrafficMirrorFilterRuleRequest, - ModifyTrafficMirrorFilterRuleResult, - ModifyTrafficMirrorSessionRequest, NetworkInterfaceAttachmentChanges, PrefixListAssociation, PrefixListEntry, @@ -2878,7 +2877,6 @@ import { TargetConfiguration, TargetReservationValue, TrafficMirrorFilterRuleField, - TrafficMirrorSessionField, TransitGatewayAttachmentPropagation, TransitGatewayMulticastDomainAssociation, TransitGatewayPropagation, @@ -2912,6 +2910,9 @@ import { InstanceStateChange, LaunchTemplateSpecification, LicenseConfigurationRequest, + ModifyTrafficMirrorFilterRuleRequest, + ModifyTrafficMirrorFilterRuleResult, + ModifyTrafficMirrorSessionRequest, ModifyTrafficMirrorSessionResult, ModifyTransitGatewayOptions, ModifyTransitGatewayPrefixListReferenceRequest, @@ -3056,6 +3057,7 @@ import { TerminateConnectionStatus, TerminateInstancesRequest, TerminateInstancesResult, + TrafficMirrorSessionField, TransitGatewayMulticastGroup, TransitGatewayMulticastRegisteredGroupMembers, TransitGatewayMulticastRegisteredGroupSources, @@ -34131,6 +34133,13 @@ const serializeAws_ec2CreateFlowLogsRequest = (input: CreateFlowLogsRequest, con if (input.MaxAggregationInterval !== undefined && input.MaxAggregationInterval !== null) { entries["MaxAggregationInterval"] = input.MaxAggregationInterval; } + if (input.DestinationOptions !== undefined && input.DestinationOptions !== null) { + const memberEntries = serializeAws_ec2DestinationOptionsRequest(input.DestinationOptions, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationOptions.${key}`; + entries[loc] = value; + }); + } return entries; }; @@ -34385,12 +34394,12 @@ const serializeAws_ec2CreateLocalGatewayRouteRequest = ( if (input.LocalGatewayRouteTableId !== undefined && input.LocalGatewayRouteTableId !== null) { entries["LocalGatewayRouteTableId"] = input.LocalGatewayRouteTableId; } - if (input.DryRun !== undefined && input.DryRun !== null) { - entries["DryRun"] = input.DryRun; - } if (input.LocalGatewayVirtualInterfaceGroupId !== undefined && input.LocalGatewayVirtualInterfaceGroupId !== null) { entries["LocalGatewayVirtualInterfaceGroupId"] = input.LocalGatewayVirtualInterfaceGroupId; } + if (input.DryRun !== undefined && input.DryRun !== null) { + entries["DryRun"] = input.DryRun; + } return entries; }; @@ -35044,6 +35053,9 @@ const serializeAws_ec2CreateSubnetRequest = (input: CreateSubnetRequest, context if (input.AvailabilityZoneId !== undefined && input.AvailabilityZoneId !== null) { entries["AvailabilityZoneId"] = input.AvailabilityZoneId; } + if (input.CidrBlock !== undefined && input.CidrBlock !== null) { + entries["CidrBlock"] = input.CidrBlock; + } if (input.Ipv6CidrBlock !== undefined && input.Ipv6CidrBlock !== null) { entries["Ipv6CidrBlock"] = input.Ipv6CidrBlock; } @@ -35056,9 +35068,6 @@ const serializeAws_ec2CreateSubnetRequest = (input: CreateSubnetRequest, context if (input.DryRun !== undefined && input.DryRun !== null) { entries["DryRun"] = input.DryRun; } - if (input.CidrBlock !== undefined && input.CidrBlock !== null) { - entries["CidrBlock"] = input.CidrBlock; - } return entries; }; @@ -40515,6 +40524,20 @@ const serializeAws_ec2DescribeVpnGatewaysRequest = ( return entries; }; +const serializeAws_ec2DestinationOptionsRequest = (input: DestinationOptionsRequest, context: __SerdeContext): any => { + const entries: any = {}; + if (input.FileFormat !== undefined && input.FileFormat !== null) { + entries["FileFormat"] = input.FileFormat; + } + if (input.HiveCompatiblePartitions !== undefined && input.HiveCompatiblePartitions !== null) { + entries["HiveCompatiblePartitions"] = input.HiveCompatiblePartitions; + } + if (input.PerHourPartition !== undefined && input.PerHourPartition !== null) { + entries["PerHourPartition"] = input.PerHourPartition; + } + return entries; +}; + const serializeAws_ec2DetachClassicLinkVpcRequest = ( input: DetachClassicLinkVpcRequest, context: __SerdeContext @@ -48786,6 +48809,13 @@ const serializeAws_ec2SearchLocalGatewayRoutesRequest = ( if (input.LocalGatewayRouteTableId !== undefined && input.LocalGatewayRouteTableId !== null) { entries["LocalGatewayRouteTableId"] = input.LocalGatewayRouteTableId; } + if (input.Filters !== undefined && input.Filters !== null) { + const memberEntries = serializeAws_ec2FilterList(input.Filters, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } if (input.MaxResults !== undefined && input.MaxResults !== null) { entries["MaxResults"] = input.MaxResults; } @@ -48795,13 +48825,6 @@ const serializeAws_ec2SearchLocalGatewayRoutesRequest = ( if (input.DryRun !== undefined && input.DryRun !== null) { entries["DryRun"] = input.DryRun; } - if (input.Filters !== undefined && input.Filters !== null) { - const memberEntries = serializeAws_ec2FilterList(input.Filters, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; - entries[loc] = value; - }); - } return entries; }; @@ -58303,6 +58326,27 @@ const deserializeAws_ec2DescribeVpnGatewaysResult = ( return contents; }; +const deserializeAws_ec2DestinationOptionsResponse = ( + output: any, + context: __SerdeContext +): DestinationOptionsResponse => { + const contents: any = { + FileFormat: undefined, + HiveCompatiblePartitions: undefined, + PerHourPartition: undefined, + }; + if (output["fileFormat"] !== undefined) { + contents.FileFormat = __expectString(output["fileFormat"]); + } + if (output["hiveCompatiblePartitions"] !== undefined) { + contents.HiveCompatiblePartitions = __parseBoolean(output["hiveCompatiblePartitions"]); + } + if (output["perHourPartition"] !== undefined) { + contents.PerHourPartition = __parseBoolean(output["perHourPartition"]); + } + return contents; +}; + const deserializeAws_ec2DetachClassicLinkVpcResult = ( output: any, context: __SerdeContext @@ -60451,6 +60495,7 @@ const deserializeAws_ec2FlowLog = (output: any, context: __SerdeContext): FlowLo LogFormat: undefined, Tags: undefined, MaxAggregationInterval: undefined, + DestinationOptions: undefined, }; if (output["creationTime"] !== undefined) { contents.CreationTime = __expectNonNull(__parseRfc3339DateTime(output["creationTime"])); @@ -60497,6 +60542,9 @@ const deserializeAws_ec2FlowLog = (output: any, context: __SerdeContext): FlowLo if (output["maxAggregationInterval"] !== undefined) { contents.MaxAggregationInterval = __strictParseInt32(output["maxAggregationInterval"]) as number; } + if (output["destinationOptions"] !== undefined) { + contents.DestinationOptions = deserializeAws_ec2DestinationOptionsResponse(output["destinationOptions"], context); + } return contents; }; @@ -63946,6 +63994,7 @@ const deserializeAws_ec2InstanceStorageInfo = (output: any, context: __SerdeCont TotalSizeInGB: undefined, Disks: undefined, NvmeSupport: undefined, + EncryptionSupport: undefined, }; if (output["totalSizeInGB"] !== undefined) { contents.TotalSizeInGB = __strictParseLong(output["totalSizeInGB"]) as number; @@ -63959,6 +64008,9 @@ const deserializeAws_ec2InstanceStorageInfo = (output: any, context: __SerdeCont if (output["nvmeSupport"] !== undefined) { contents.NvmeSupport = __expectString(output["nvmeSupport"]); } + if (output["encryptionSupport"] !== undefined) { + contents.EncryptionSupport = __expectString(output["encryptionSupport"]); + } return contents; }; diff --git a/clients/client-ecr-public/src/endpoints.ts b/clients/client-ecr-public/src/endpoints.ts index 367126946d8f..9bcdf388c4f9 100644 --- a/clients/client-ecr-public/src/endpoints.ts +++ b/clients/client-ecr-public/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "api.ecr-public.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.ecr-public.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ecr/src/endpoints.ts b/clients/client-ecr/src/endpoints.ts index e5f4497dc503..0aa7bcefb692 100644 --- a/clients/client-ecr/src/endpoints.ts +++ b/clients/client-ecr/src/endpoints.ts @@ -146,6 +146,10 @@ const regionHash: RegionHash = { hostname: "api.ecr.us-iso-east-1.c2s.ic.gov", signingRegion: "us-iso-east-1", }, + "us-iso-west-1": { + hostname: "api.ecr.us-iso-west-1.c2s.ic.gov", + signingRegion: "us-iso-west-1", + }, "us-isob-east-1": { hostname: "api.ecr.us-isob-east-1.sc2s.sgov.gov", signingRegion: "us-isob-east-1", @@ -200,7 +204,7 @@ const partitionHash: PartitionHash = { hostname: "api.ecr.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.ecr.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ecs/src/endpoints.ts b/clients/client-ecs/src/endpoints.ts index fec12f5a8db6..9eee83184841 100644 --- a/clients/client-ecs/src/endpoints.ts +++ b/clients/client-ecs/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "ecs.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ecs.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ecs/src/models/models_0.ts b/clients/client-ecs/src/models/models_0.ts index cdf4bc1c3b8d..acdcd5200c9d 100644 --- a/clients/client-ecs/src/models/models_0.ts +++ b/clients/client-ecs/src/models/models_0.ts @@ -1824,7 +1824,7 @@ export interface CreateServiceRequest { *

    Specifies whether to propagate the tags from the task definition or the service to the * tasks in the service. If no value is specified, the tags are not propagated. Tags can * only be propagated to the tasks within the service during service creation. To add tags - * to a task after service creation, use the TagResource API + * to a task after service creation or task creation, use the TagResource API * action.

    */ propagateTags?: PropagateTags | string; @@ -4399,7 +4399,7 @@ export enum ResourceType { /** *

    The type and amount of a resource to assign to a container. The supported resource * types are GPUs and Elastic Inference accelerators. For more information, see Working with - * GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the + * GPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the * Amazon Elastic Container Service Developer Guide *

    */ @@ -5248,7 +5248,7 @@ export namespace EphemeralStorage { } /** - *

    Details on a Elastic Inference accelerator. For more information, see Working with + *

    Details on a Elastic Inference accelerator. For more information, see Working with * Amazon Elastic Inference on Amazon ECS in the * Amazon Elastic Container Service Developer Guide.

    */ @@ -6754,7 +6754,7 @@ export namespace ContainerOverride { /** *

    Details on an Elastic Inference accelerator task override. This parameter is used to * override the Elastic Inference accelerator specified in the task definition. For more - * information, see Working with Amazon Elastic Inference on Amazon ECS in the + * information, see Working with Amazon Elastic Inference on Amazon ECS in the * Amazon Elastic Container Service Developer Guide.

    */ export interface InferenceAcceleratorOverride { @@ -6799,7 +6799,9 @@ export interface TaskOverride { inferenceAcceleratorOverrides?: InferenceAcceleratorOverride[]; /** - *

    The Amazon Resource Name (ARN) of the task execution IAM role override for the task.

    + *

    The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information, + * see Amazon ECS task + * execution IAM role in the Amazon Elastic Container Service Developer Guide.

    */ executionRoleArn?: string; @@ -6809,8 +6811,10 @@ export interface TaskOverride { memory?: string; /** - *

    The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers - * in this task are granted the permissions that are specified in this role.

    + *

    The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in + * this task are granted the permissions that are specified in this role. For more + * information, see IAM Role for Tasks + * in the Amazon Elastic Container Service Developer Guide.

    */ taskRoleArn?: string; @@ -9046,6 +9050,11 @@ export interface RunTaskRequest { *

    The family and revision (family:revision) or * full ARN of the task definition to run. If a revision is not specified, * the latest ACTIVE revision is used.

    + *

    The full ARN value must match the value that you specified ias the Resource + * of the IAM principal's permissions policy. For example, if the Resource is + * arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, the + * taskDefinition ARN value must be + * arn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName.

    */ taskDefinition: string | undefined; } diff --git a/clients/client-efs/src/EFS.ts b/clients/client-efs/src/EFS.ts index aa0ddd6f8d7a..b63c5e6da010 100644 --- a/clients/client-efs/src/EFS.ts +++ b/clients/client-efs/src/EFS.ts @@ -1122,10 +1122,14 @@ export class EFS extends EFSClient { } /** - *

    Use this operation to set the account preference in the current Amazon Web Services Region to use either long 17 character (63 bit) or short 8 character (32 bit) IDs for - * new EFS file systems and mount targets created. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the + *

    Use this operation to set the account preference in the current Amazon Web Services Region to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for + * new EFS file system and mount target resources. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the * opt-in period as EFS transitions to long resource IDs. For more information, - * see Managing Amazon EFS resource IDs.

    + * see Managing Amazon EFS resource IDs.

    + * + *

    Starting in October, 2021, you will receive an error if you try to set the account preference to use the short 8 character format resource ID. + * Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.

    + *
    */ public putAccountPreferences( args: PutAccountPreferencesCommandInput, @@ -1197,7 +1201,9 @@ export class EFS extends EFSClient { * When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see * Default EFS File System Policy. *

    - *

    EFS file system policies have a 20,000 character limit.

    + * + *

    EFS file system policies have a 20,000 character limit.

    + *
    *

    This operation requires permissions for the elasticfilesystem:PutFileSystemPolicy action.

    */ public putFileSystemPolicy( @@ -1235,13 +1241,13 @@ export class EFS extends EFSClient { * system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class. * To enable EFS Intelligent Tiering, set the value of TransitionToPrimaryStorageClass to AFTER_1_ACCESS. * For more information, see EFS Lifecycle Management.

    - *

    A LifecycleConfiguration applies to all files in a file system.

    + * *

    Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a * LifecycleConfiguration object already exists for the specified file system, a * PutLifecycleConfiguration call modifies the existing configuration. A * PutLifecycleConfiguration call with an empty LifecyclePolicies * array in the request body deletes any existing LifecycleConfiguration and - * disables lifecycle management.

    + * turns off lifecycle management for the file system.

    * * *

    In the request, specify the following:

    @@ -1251,8 +1257,9 @@ export class EFS extends EFSClient { *
  • *
  • *

    A LifecyclePolicies array of LifecyclePolicy objects that - * define when files are moved to the IA storage class. The array can contain only one - * LifecyclePolicy item.

    + * define when files are moved to the IA storage class. Amazon EFS requires that each LifecyclePolicy + * object have only have a single transition, so the LifecyclePolicies array needs to be structured with separate + * LifecyclePolicy objects. See the example requests in the following section for more information.

    *
  • * * diff --git a/clients/client-efs/src/commands/PutAccountPreferencesCommand.ts b/clients/client-efs/src/commands/PutAccountPreferencesCommand.ts index 348b4d458679..3322174210a0 100644 --- a/clients/client-efs/src/commands/PutAccountPreferencesCommand.ts +++ b/clients/client-efs/src/commands/PutAccountPreferencesCommand.ts @@ -22,10 +22,14 @@ export interface PutAccountPreferencesCommandInput extends PutAccountPreferences export interface PutAccountPreferencesCommandOutput extends PutAccountPreferencesResponse, __MetadataBearer {} /** - *

    Use this operation to set the account preference in the current Amazon Web Services Region to use either long 17 character (63 bit) or short 8 character (32 bit) IDs for - * new EFS file systems and mount targets created. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the + *

    Use this operation to set the account preference in the current Amazon Web Services Region to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for + * new EFS file system and mount target resources. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the * opt-in period as EFS transitions to long resource IDs. For more information, - * see Managing Amazon EFS resource IDs.

    + * see Managing Amazon EFS resource IDs.

    + * + *

    Starting in October, 2021, you will receive an error if you try to set the account preference to use the short 8 character format resource ID. + * Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.

    + *
    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-efs/src/commands/PutFileSystemPolicyCommand.ts b/clients/client-efs/src/commands/PutFileSystemPolicyCommand.ts index 369fd8f0cdb5..9d4e0ece7778 100644 --- a/clients/client-efs/src/commands/PutFileSystemPolicyCommand.ts +++ b/clients/client-efs/src/commands/PutFileSystemPolicyCommand.ts @@ -30,7 +30,9 @@ export interface PutFileSystemPolicyCommandOutput extends FileSystemPolicyDescri * When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see * Default EFS File System Policy. *

    - *

    EFS file system policies have a 20,000 character limit.

    + * + *

    EFS file system policies have a 20,000 character limit.

    + *
    *

    This operation requires permissions for the elasticfilesystem:PutFileSystemPolicy action.

    * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-efs/src/commands/PutLifecycleConfigurationCommand.ts b/clients/client-efs/src/commands/PutLifecycleConfigurationCommand.ts index 5944eacfa9ed..263c1e27caf1 100644 --- a/clients/client-efs/src/commands/PutLifecycleConfigurationCommand.ts +++ b/clients/client-efs/src/commands/PutLifecycleConfigurationCommand.ts @@ -27,13 +27,13 @@ export interface PutLifecycleConfigurationCommandOutput extends LifecycleConfigu * system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class. * To enable EFS Intelligent Tiering, set the value of TransitionToPrimaryStorageClass to AFTER_1_ACCESS. * For more information, see EFS Lifecycle Management.

    - *

    A LifecycleConfiguration applies to all files in a file system.

    + * *

    Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a * LifecycleConfiguration object already exists for the specified file system, a * PutLifecycleConfiguration call modifies the existing configuration. A * PutLifecycleConfiguration call with an empty LifecyclePolicies * array in the request body deletes any existing LifecycleConfiguration and - * disables lifecycle management.

    + * turns off lifecycle management for the file system.

    * * *

    In the request, specify the following:

    @@ -43,8 +43,9 @@ export interface PutLifecycleConfigurationCommandOutput extends LifecycleConfigu * *
  • *

    A LifecyclePolicies array of LifecyclePolicy objects that - * define when files are moved to the IA storage class. The array can contain only one - * LifecyclePolicy item.

    + * define when files are moved to the IA storage class. Amazon EFS requires that each LifecyclePolicy + * object have only have a single transition, so the LifecyclePolicies array needs to be structured with separate + * LifecyclePolicy objects. See the example requests in the following section for more information.

    *
  • * * diff --git a/clients/client-efs/src/endpoints.ts b/clients/client-efs/src/endpoints.ts index edb81e297d0b..48368223fec9 100644 --- a/clients/client-efs/src/endpoints.ts +++ b/clients/client-efs/src/endpoints.ts @@ -161,7 +161,7 @@ const partitionHash: PartitionHash = { hostname: "elasticfilesystem.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["fips-us-iso-east-1", "us-iso-east-1"], + regions: ["fips-us-iso-east-1", "us-iso-east-1", "us-iso-west-1"], hostname: "elasticfilesystem.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-efs/src/models/models_0.ts b/clients/client-efs/src/models/models_0.ts index 0f39b5e6c18d..a0c881b1bffb 100644 --- a/clients/client-efs/src/models/models_0.ts +++ b/clients/client-efs/src/models/models_0.ts @@ -1638,20 +1638,30 @@ export enum TransitionToPrimaryStorageClassRules { } /** - *

    Describes a policy used by EFS lifecycle management to transition files to the Infrequent - * Access (IA) storage class.

    + *

    Describes a policy used by EFS lifecycle management and EFS intelligent tiering that specifies when to transition + * files into and out of the file system's Infrequent Access (IA) storage class. For more information, see + * EFS Intelligent‐Tiering and EFS Lifecycle Management.

    + * + *

    When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, + * Amazon EFS requires that each LifecyclePolicy + * object have only a single transition. This means that in a request body, LifecyclePolicies needs to be structured as + * an array of LifecyclePolicy objects, one object for each transition, TransitionToIA, + * TransitionToPrimaryStorageClass. For more information, see the request examples in PutLifecycleConfiguration.

    + *
    */ export interface LifecyclePolicy { /** *

    - * Describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata + * Describes the period of time that a file is not accessed, after which it transitions to IA storage. Metadata * operations such as listing the contents of a directory don't count as file access * events.

    */ TransitionToIA?: TransitionToIARules | string; /** - *

    Describes the policy used to transition a file from infequent access storage to primary storage.

    + *

    Describes when to transition a file from IA storage to primary storage. Metadata + * operations such as listing the contents of a directory don't count as file access + * events.

    */ TransitionToPrimaryStorageClass?: TransitionToPrimaryStorageClassRules | string; } @@ -1978,6 +1988,10 @@ export interface PutAccountPreferencesRequest { /** *

    Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, * either LONG_ID (17 characters), or SHORT_ID (8 characters).

    + * + *

    Starting in October, 2021, you will receive an error when setting the account preference to SHORT_ID. + * Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.

    + *
    */ ResourceIdType: ResourceIdType | string | undefined; } @@ -2073,8 +2087,22 @@ export interface PutLifecycleConfigurationRequest { /** *

    An array of LifecyclePolicy objects that define the file system's * LifecycleConfiguration object. A LifecycleConfiguration object - * tells lifecycle management when to transition files from the Standard storage class to the - * Infrequent Access storage class.

    + * informs EFS lifecycle management and intelligent tiering of the following:

    + * + * + *

    When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, + * Amazon EFS requires that each LifecyclePolicy + * object have only a single transition. This means that in a request body, LifecyclePolicies needs to be structured as + * an array of LifecyclePolicy objects, one object for each transition, TransitionToIA, TransitionToPrimaryStorageClass. + * See the example requests in the following section for more information.

    + *
    */ LifecyclePolicies: LifecyclePolicy[] | undefined; } diff --git a/clients/client-eks/src/endpoints.ts b/clients/client-eks/src/endpoints.ts index 4d87a39e8ab0..2ff6e36dc4aa 100644 --- a/clients/client-eks/src/endpoints.ts +++ b/clients/client-eks/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "eks.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "eks.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-elastic-beanstalk/src/endpoints.ts b/clients/client-elastic-beanstalk/src/endpoints.ts index 5e59eaec6343..0bf6a42f53b0 100644 --- a/clients/client-elastic-beanstalk/src/endpoints.ts +++ b/clients/client-elastic-beanstalk/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "elasticbeanstalk.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "elasticbeanstalk.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-elastic-inference/src/endpoints.ts b/clients/client-elastic-inference/src/endpoints.ts index a74337aa51a5..d76c3c585f90 100644 --- a/clients/client-elastic-inference/src/endpoints.ts +++ b/clients/client-elastic-inference/src/endpoints.ts @@ -54,7 +54,7 @@ const partitionHash: PartitionHash = { hostname: "api.elastic-inference.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.elastic-inference.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-elastic-load-balancing-v2/src/endpoints.ts b/clients/client-elastic-load-balancing-v2/src/endpoints.ts index 46128874a42b..d26a4fcfe87d 100644 --- a/clients/client-elastic-load-balancing-v2/src/endpoints.ts +++ b/clients/client-elastic-load-balancing-v2/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "elasticloadbalancing.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "elasticloadbalancing.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-elastic-load-balancing-v2/src/models/models_0.ts b/clients/client-elastic-load-balancing-v2/src/models/models_0.ts index 849ed3225965..d713e46ecf46 100644 --- a/clients/client-elastic-load-balancing-v2/src/models/models_0.ts +++ b/clients/client-elastic-load-balancing-v2/src/models/models_0.ts @@ -2153,9 +2153,14 @@ export namespace TooManyTargetGroupsException { }); } +export enum TargetGroupIpAddressTypeEnum { + IPV4 = "ipv4", + IPV6 = "ipv6", +} + /** *

    The codes to use when checking for a successful response from a target. If the protocol - * version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

    + * version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

    */ export interface Matcher { /** @@ -2163,6 +2168,8 @@ export interface Matcher { * default value is 200. You can specify multiple values (for example, "200,202") or a range of * values (for example, "200-299").

    *

    For Network Load Balancers and Gateway Load Balancers, this must be "200–399".

    + *

    Note that when using shorthand syntax, some values such as commas need to be + * escaped.

    */ HttpCode?: string; @@ -2333,6 +2340,13 @@ export interface CreateTargetGroupInput { *

    The tags to assign to the target group.

    */ Tags?: Tag[]; + + /** + *

    The type of IP address used for this target group. The possible values are + * ipv4 and ipv6. This is an optional parameter. If not specified, + * the IP address type defaults to ipv4.

    + */ + IpAddressType?: TargetGroupIpAddressTypeEnum | string; } export namespace CreateTargetGroupInput { @@ -2445,6 +2459,13 @@ export interface TargetGroup { * HTTP1, and HTTP2.

    */ ProtocolVersion?: string; + + /** + *

    The type of IP address used for this target group. The possible values are + * ipv4 and ipv6. This is an optional parameter. If not specified, + * the IP address type defaults to ipv4.

    + */ + IpAddressType?: TargetGroupIpAddressTypeEnum | string; } export namespace TargetGroup { @@ -3003,22 +3024,22 @@ export interface LoadBalancerAttribute { * *
  • *

    - * routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates whether the two headers (x-amzn-tls-version and - * x-amzn-tls-cipher-suite), which contain information about - * the negotiated TLS version and cipher suite, are added to the client request - * before sending it to the target. The x-amzn-tls-version header - * has information about the TLS protocol version negotiated with the client, - * and the x-amzn-tls-cipher-suite header has information about - * the cipher suite negotiated with the client. Both headers are in OpenSSL - * format. The possible values for the attribute are true and - * false. The default is false.

    + * routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates + * whether the two headers (x-amzn-tls-version and + * x-amzn-tls-cipher-suite), which contain information about the negotiated + * TLS version and cipher suite, are added to the client request before sending it to the + * target. The x-amzn-tls-version header has information about the TLS protocol + * version negotiated with the client, and the x-amzn-tls-cipher-suite header + * has information about the cipher suite negotiated with the client. Both headers are in + * OpenSSL format. The possible values for the attribute are true and + * false. The default is false.

    *
  • *
  • *

    * routing.http.xff_client_port.enabled - Indicates whether the - * X-Forwarded-For header should preserve the source port that the client used + * X-Forwarded-For header should preserve the source port that the client used * to connect to the load balancer. The possible values are true and - * false. The default is false.

    + * false. The default is false.

    *
  • *
  • *

    @@ -3204,6 +3225,12 @@ export interface DescribeSSLPoliciesInput { *

    The maximum number of results to return with this call.

    */ PageSize?: number; + + /** + *

    The type of load balancer. The default lists the SSL policies for all load + * balancers.

    + */ + LoadBalancerType?: LoadBalancerTypeEnum | string; } export namespace DescribeSSLPoliciesInput { @@ -3233,6 +3260,13 @@ export interface SslPolicy { *

    The name of the policy.

    */ Name?: string; + + /** + *

    + * The supported load balancers. + *

    + */ + SupportedLoadBalancerTypes?: string[]; } export namespace SslPolicy { diff --git a/clients/client-elastic-load-balancing-v2/src/protocols/Aws_query.ts b/clients/client-elastic-load-balancing-v2/src/protocols/Aws_query.ts index 6516a1858f66..7c8ebcb2aa73 100644 --- a/clients/client-elastic-load-balancing-v2/src/protocols/Aws_query.ts +++ b/clients/client-elastic-load-balancing-v2/src/protocols/Aws_query.ts @@ -4541,6 +4541,9 @@ const serializeAws_queryCreateTargetGroupInput = (input: CreateTargetGroupInput, entries[loc] = value; }); } + if (input.IpAddressType !== undefined && input.IpAddressType !== null) { + entries["IpAddressType"] = input.IpAddressType; + } return entries; }; @@ -4718,6 +4721,9 @@ const serializeAws_queryDescribeSSLPoliciesInput = (input: DescribeSSLPoliciesIn if (input.PageSize !== undefined && input.PageSize !== null) { entries["PageSize"] = input.PageSize; } + if (input.LoadBalancerType !== undefined && input.LoadBalancerType !== null) { + entries["LoadBalancerType"] = input.LoadBalancerType; + } return entries; }; @@ -7348,6 +7354,7 @@ const deserializeAws_querySslPolicy = (output: any, context: __SerdeContext): Ss SslProtocols: undefined, Ciphers: undefined, Name: undefined, + SupportedLoadBalancerTypes: undefined, }; if (output.SslProtocols === "") { contents.SslProtocols = []; @@ -7367,6 +7374,18 @@ const deserializeAws_querySslPolicy = (output: any, context: __SerdeContext): Ss if (output["Name"] !== undefined) { contents.Name = __expectString(output["Name"]); } + if (output.SupportedLoadBalancerTypes === "") { + contents.SupportedLoadBalancerTypes = []; + } + if ( + output["SupportedLoadBalancerTypes"] !== undefined && + output["SupportedLoadBalancerTypes"]["member"] !== undefined + ) { + contents.SupportedLoadBalancerTypes = deserializeAws_queryListOfString( + __getArrayIfSingleItem(output["SupportedLoadBalancerTypes"]["member"]), + context + ); + } return contents; }; @@ -7494,6 +7513,7 @@ const deserializeAws_queryTargetGroup = (output: any, context: __SerdeContext): LoadBalancerArns: undefined, TargetType: undefined, ProtocolVersion: undefined, + IpAddressType: undefined, }; if (output["TargetGroupArn"] !== undefined) { contents.TargetGroupArn = __expectString(output["TargetGroupArn"]); @@ -7552,6 +7572,9 @@ const deserializeAws_queryTargetGroup = (output: any, context: __SerdeContext): if (output["ProtocolVersion"] !== undefined) { contents.ProtocolVersion = __expectString(output["ProtocolVersion"]); } + if (output["IpAddressType"] !== undefined) { + contents.IpAddressType = __expectString(output["IpAddressType"]); + } return contents; }; diff --git a/clients/client-elastic-load-balancing/src/endpoints.ts b/clients/client-elastic-load-balancing/src/endpoints.ts index 46128874a42b..d26a4fcfe87d 100644 --- a/clients/client-elastic-load-balancing/src/endpoints.ts +++ b/clients/client-elastic-load-balancing/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "elasticloadbalancing.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "elasticloadbalancing.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-elastic-transcoder/src/endpoints.ts b/clients/client-elastic-transcoder/src/endpoints.ts index 6ffff1e3ea92..bc7702d7b43a 100644 --- a/clients/client-elastic-transcoder/src/endpoints.ts +++ b/clients/client-elastic-transcoder/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "elastictranscoder.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "elastictranscoder.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-elasticache/src/endpoints.ts b/clients/client-elasticache/src/endpoints.ts index 894e2195e894..67e0b5b8d353 100644 --- a/clients/client-elasticache/src/endpoints.ts +++ b/clients/client-elasticache/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "elasticache.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "elasticache.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-elasticsearch-service/src/endpoints.ts b/clients/client-elasticsearch-service/src/endpoints.ts index 046241394153..2d9eac29fa19 100644 --- a/clients/client-elasticsearch-service/src/endpoints.ts +++ b/clients/client-elasticsearch-service/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "es.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "es.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-emr-containers/src/endpoints.ts b/clients/client-emr-containers/src/endpoints.ts index 5ca057c782bb..369b287bd2fc 100644 --- a/clients/client-emr-containers/src/endpoints.ts +++ b/clients/client-emr-containers/src/endpoints.ts @@ -61,7 +61,7 @@ const partitionHash: PartitionHash = { hostname: "emr-containers.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "emr-containers.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-emr/src/endpoints.ts b/clients/client-emr/src/endpoints.ts index ffe03576dbac..f0f3b6beaa31 100644 --- a/clients/client-emr/src/endpoints.ts +++ b/clients/client-emr/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "elasticmapreduce.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "elasticmapreduce.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-eventbridge/src/endpoints.ts b/clients/client-eventbridge/src/endpoints.ts index 34d10f89ad6b..73060c2e9937 100644 --- a/clients/client-eventbridge/src/endpoints.ts +++ b/clients/client-eventbridge/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "events.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "events.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-finspace-data/src/endpoints.ts b/clients/client-finspace-data/src/endpoints.ts index 572d7a8d2a21..2c6d1b48b412 100644 --- a/clients/client-finspace-data/src/endpoints.ts +++ b/clients/client-finspace-data/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "finspace-api.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "finspace-api.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-finspace/src/endpoints.ts b/clients/client-finspace/src/endpoints.ts index 31110fec727f..58c34a42ac65 100644 --- a/clients/client-finspace/src/endpoints.ts +++ b/clients/client-finspace/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "finspace.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "finspace.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-firehose/src/endpoints.ts b/clients/client-firehose/src/endpoints.ts index 2761228a864e..e1c6783de7b4 100644 --- a/clients/client-firehose/src/endpoints.ts +++ b/clients/client-firehose/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "firehose.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "firehose.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-fis/src/endpoints.ts b/clients/client-fis/src/endpoints.ts index daf10f190fb3..f2f942b51dc8 100644 --- a/clients/client-fis/src/endpoints.ts +++ b/clients/client-fis/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "fis.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "fis.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-fms/src/endpoints.ts b/clients/client-fms/src/endpoints.ts index 7bd1787464de..e919c3b802cb 100644 --- a/clients/client-fms/src/endpoints.ts +++ b/clients/client-fms/src/endpoints.ts @@ -139,7 +139,7 @@ const partitionHash: PartitionHash = { hostname: "fms.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "fms.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-forecast/src/endpoints.ts b/clients/client-forecast/src/endpoints.ts index cd971cfd36af..091f86a0c812 100644 --- a/clients/client-forecast/src/endpoints.ts +++ b/clients/client-forecast/src/endpoints.ts @@ -51,7 +51,7 @@ const partitionHash: PartitionHash = { hostname: "forecast.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "forecast.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-forecastquery/src/endpoints.ts b/clients/client-forecastquery/src/endpoints.ts index cd812399c5a2..7f480fa2b70b 100644 --- a/clients/client-forecastquery/src/endpoints.ts +++ b/clients/client-forecastquery/src/endpoints.ts @@ -51,7 +51,7 @@ const partitionHash: PartitionHash = { hostname: "forecastquery.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "forecastquery.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-frauddetector/src/FraudDetector.ts b/clients/client-frauddetector/src/FraudDetector.ts index 22726ec81d21..c8186e00ea4a 100644 --- a/clients/client-frauddetector/src/FraudDetector.ts +++ b/clients/client-frauddetector/src/FraudDetector.ts @@ -10,11 +10,21 @@ import { BatchGetVariableCommandInput, BatchGetVariableCommandOutput, } from "./commands/BatchGetVariableCommand"; +import { + CancelBatchImportJobCommand, + CancelBatchImportJobCommandInput, + CancelBatchImportJobCommandOutput, +} from "./commands/CancelBatchImportJobCommand"; import { CancelBatchPredictionJobCommand, CancelBatchPredictionJobCommandInput, CancelBatchPredictionJobCommandOutput, } from "./commands/CancelBatchPredictionJobCommand"; +import { + CreateBatchImportJobCommand, + CreateBatchImportJobCommandInput, + CreateBatchImportJobCommandOutput, +} from "./commands/CreateBatchImportJobCommand"; import { CreateBatchPredictionJobCommand, CreateBatchPredictionJobCommandInput, @@ -37,6 +47,11 @@ import { CreateVariableCommandInput, CreateVariableCommandOutput, } from "./commands/CreateVariableCommand"; +import { + DeleteBatchImportJobCommand, + DeleteBatchImportJobCommandInput, + DeleteBatchImportJobCommandOutput, +} from "./commands/DeleteBatchImportJobCommand"; import { DeleteBatchPredictionJobCommand, DeleteBatchPredictionJobCommandInput, @@ -58,6 +73,11 @@ import { DeleteEntityTypeCommandOutput, } from "./commands/DeleteEntityTypeCommand"; import { DeleteEventCommand, DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand"; +import { + DeleteEventsByEventTypeCommand, + DeleteEventsByEventTypeCommandInput, + DeleteEventsByEventTypeCommandOutput, +} from "./commands/DeleteEventsByEventTypeCommand"; import { DeleteEventTypeCommand, DeleteEventTypeCommandInput, @@ -96,11 +116,21 @@ import { DescribeModelVersionsCommandInput, DescribeModelVersionsCommandOutput, } from "./commands/DescribeModelVersionsCommand"; +import { + GetBatchImportJobsCommand, + GetBatchImportJobsCommandInput, + GetBatchImportJobsCommandOutput, +} from "./commands/GetBatchImportJobsCommand"; import { GetBatchPredictionJobsCommand, GetBatchPredictionJobsCommandInput, GetBatchPredictionJobsCommandOutput, } from "./commands/GetBatchPredictionJobsCommand"; +import { + GetDeleteEventsByEventTypeStatusCommand, + GetDeleteEventsByEventTypeStatusCommandInput, + GetDeleteEventsByEventTypeStatusCommandOutput, +} from "./commands/GetDeleteEventsByEventTypeStatusCommand"; import { GetDetectorsCommand, GetDetectorsCommandInput, @@ -116,6 +146,7 @@ import { GetEntityTypesCommandInput, GetEntityTypesCommandOutput, } from "./commands/GetEntityTypesCommand"; +import { GetEventCommand, GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand"; import { GetEventPredictionCommand, GetEventPredictionCommandInput, @@ -178,6 +209,7 @@ import { } from "./commands/PutKMSEncryptionKeyCommand"; import { PutLabelCommand, PutLabelCommandInput, PutLabelCommandOutput } from "./commands/PutLabelCommand"; import { PutOutcomeCommand, PutOutcomeCommandInput, PutOutcomeCommandOutput } from "./commands/PutOutcomeCommand"; +import { SendEventCommand, SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand"; import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommand, @@ -199,6 +231,11 @@ import { UpdateDetectorVersionStatusCommandInput, UpdateDetectorVersionStatusCommandOutput, } from "./commands/UpdateDetectorVersionStatusCommand"; +import { + UpdateEventLabelCommand, + UpdateEventLabelCommandInput, + UpdateEventLabelCommandOutput, +} from "./commands/UpdateEventLabelCommand"; import { UpdateModelCommand, UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand"; import { UpdateModelVersionCommand, @@ -297,6 +334,38 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Cancels an in-progress batch import job.

    + */ + public cancelBatchImportJob( + args: CancelBatchImportJobCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public cancelBatchImportJob( + args: CancelBatchImportJobCommandInput, + cb: (err: any, data?: CancelBatchImportJobCommandOutput) => void + ): void; + public cancelBatchImportJob( + args: CancelBatchImportJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CancelBatchImportJobCommandOutput) => void + ): void; + public cancelBatchImportJob( + args: CancelBatchImportJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CancelBatchImportJobCommandOutput) => void), + cb?: (err: any, data?: CancelBatchImportJobCommandOutput) => void + ): Promise | void { + const command = new CancelBatchImportJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Cancels the specified batch prediction job.

    */ @@ -329,6 +398,38 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Creates a batch import job.

    + */ + public createBatchImportJob( + args: CreateBatchImportJobCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createBatchImportJob( + args: CreateBatchImportJobCommandInput, + cb: (err: any, data?: CreateBatchImportJobCommandOutput) => void + ): void; + public createBatchImportJob( + args: CreateBatchImportJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateBatchImportJobCommandOutput) => void + ): void; + public createBatchImportJob( + args: CreateBatchImportJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateBatchImportJobCommandOutput) => void), + cb?: (err: any, data?: CreateBatchImportJobCommandOutput) => void + ): Promise | void { + const command = new CreateBatchImportJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Creates a batch prediction job.

    */ @@ -510,6 +611,38 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Deletes data that was batch imported to Amazon Fraud Detector.

    + */ + public deleteBatchImportJob( + args: DeleteBatchImportJobCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteBatchImportJob( + args: DeleteBatchImportJobCommandInput, + cb: (err: any, data?: DeleteBatchImportJobCommandOutput) => void + ): void; + public deleteBatchImportJob( + args: DeleteBatchImportJobCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteBatchImportJobCommandOutput) => void + ): void; + public deleteBatchImportJob( + args: DeleteBatchImportJobCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteBatchImportJobCommandOutput) => void), + cb?: (err: any, data?: DeleteBatchImportJobCommandOutput) => void + ): Promise | void { + const command = new DeleteBatchImportJobCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Deletes a batch prediction job.

    */ @@ -669,10 +802,42 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Deletes all events of a particular event type.

    + */ + public deleteEventsByEventType( + args: DeleteEventsByEventTypeCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deleteEventsByEventType( + args: DeleteEventsByEventTypeCommandInput, + cb: (err: any, data?: DeleteEventsByEventTypeCommandOutput) => void + ): void; + public deleteEventsByEventType( + args: DeleteEventsByEventTypeCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteEventsByEventTypeCommandOutput) => void + ): void; + public deleteEventsByEventType( + args: DeleteEventsByEventTypeCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEventsByEventTypeCommandOutput) => void), + cb?: (err: any, data?: DeleteEventsByEventTypeCommandOutput) => void + ): Promise | void { + const command = new DeleteEventsByEventTypeCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Deletes an event type.

    *

    You cannot delete an event type that is used in a detector or a model.

    - *

    When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.

    + *

    When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.

    */ public deleteEventType( args: DeleteEventTypeCommandInput, @@ -988,6 +1153,41 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults, + * this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. + * To get the next page results, provide the pagination token from the GetBatchImportJobsResponse as part of your request. + * A null pagination token fetches the records from the beginning.

    + */ + public getBatchImportJobs( + args: GetBatchImportJobsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getBatchImportJobs( + args: GetBatchImportJobsCommandInput, + cb: (err: any, data?: GetBatchImportJobsCommandOutput) => void + ): void; + public getBatchImportJobs( + args: GetBatchImportJobsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetBatchImportJobsCommandOutput) => void + ): void; + public getBatchImportJobs( + args: GetBatchImportJobsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetBatchImportJobsCommandOutput) => void), + cb?: (err: any, data?: GetBatchImportJobsCommandOutput) => void + ): Promise | void { + const command = new GetBatchImportJobsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

    */ @@ -1020,6 +1220,38 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Retrieves the status of a DeleteEventsByEventType action.

    + */ + public getDeleteEventsByEventTypeStatus( + args: GetDeleteEventsByEventTypeStatusCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getDeleteEventsByEventTypeStatus( + args: GetDeleteEventsByEventTypeStatusCommandInput, + cb: (err: any, data?: GetDeleteEventsByEventTypeStatusCommandOutput) => void + ): void; + public getDeleteEventsByEventTypeStatus( + args: GetDeleteEventsByEventTypeStatusCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetDeleteEventsByEventTypeStatusCommandOutput) => void + ): void; + public getDeleteEventsByEventTypeStatus( + args: GetDeleteEventsByEventTypeStatusCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeleteEventsByEventTypeStatusCommandOutput) => void), + cb?: (err: any, data?: GetDeleteEventsByEventTypeStatusCommandOutput) => void + ): Promise | void { + const command = new GetDeleteEventsByEventTypeStatusCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you * provide a null maxResults, this action retrieves a maximum of 10 records @@ -1123,6 +1355,32 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.

    + */ + public getEvent(args: GetEventCommandInput, options?: __HttpHandlerOptions): Promise; + public getEvent(args: GetEventCommandInput, cb: (err: any, data?: GetEventCommandOutput) => void): void; + public getEvent( + args: GetEventCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetEventCommandOutput) => void + ): void; + public getEvent( + args: GetEventCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEventCommandOutput) => void), + cb?: (err: any, data?: GetEventCommandOutput) => void + ): Promise | void { + const command = new GetEventCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used.

    */ @@ -1230,7 +1488,7 @@ export class FraudDetector extends FraudDetectorClient { } /** - *

    Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.

    + *

    Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

    */ public getKMSEncryptionKey( args: GetKMSEncryptionKeyCommandInput, @@ -1602,7 +1860,7 @@ export class FraudDetector extends FraudDetectorClient { } /** - *

    Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.

    + *

    Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

    */ public putKMSEncryptionKey( args: PutKMSEncryptionKeyCommandInput, @@ -1685,6 +1943,32 @@ export class FraudDetector extends FraudDetectorClient { } } + /** + *

    Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.

    + */ + public sendEvent(args: SendEventCommandInput, options?: __HttpHandlerOptions): Promise; + public sendEvent(args: SendEventCommandInput, cb: (err: any, data?: SendEventCommandOutput) => void): void; + public sendEvent( + args: SendEventCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: SendEventCommandOutput) => void + ): void; + public sendEvent( + args: SendEventCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SendEventCommandOutput) => void), + cb?: (err: any, data?: SendEventCommandOutput) => void + ): Promise | void { + const command = new SendEventCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

    Assigns tags to a resource.

    */ @@ -1842,7 +2126,39 @@ export class FraudDetector extends FraudDetectorClient { } /** - *

    Updates a model. You can update the description attribute using this action.

    + *

    Updates the specified event with a new label.

    + */ + public updateEventLabel( + args: UpdateEventLabelCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateEventLabel( + args: UpdateEventLabelCommandInput, + cb: (err: any, data?: UpdateEventLabelCommandOutput) => void + ): void; + public updateEventLabel( + args: UpdateEventLabelCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateEventLabelCommandOutput) => void + ): void; + public updateEventLabel( + args: UpdateEventLabelCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEventLabelCommandOutput) => void), + cb?: (err: any, data?: UpdateEventLabelCommandOutput) => void + ): Promise | void { + const command = new UpdateEventLabelCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + + /** + *

    Updates model description.

    */ public updateModel(args: UpdateModelCommandInput, options?: __HttpHandlerOptions): Promise; public updateModel(args: UpdateModelCommandInput, cb: (err: any, data?: UpdateModelCommandOutput) => void): void; @@ -1907,7 +2223,7 @@ export class FraudDetector extends FraudDetectorClient { *

    Change the TRAINING_COMPLETE status to ACTIVE.

    *
  • *
  • - *

    Change ACTIVEto INACTIVE.

    + *

    Change ACTIVE to INACTIVE.

    *
  • * */ diff --git a/clients/client-frauddetector/src/FraudDetectorClient.ts b/clients/client-frauddetector/src/FraudDetectorClient.ts index 4d6dd477cc74..66317f0b49f1 100644 --- a/clients/client-frauddetector/src/FraudDetectorClient.ts +++ b/clients/client-frauddetector/src/FraudDetectorClient.ts @@ -54,10 +54,18 @@ import { BatchCreateVariableCommandOutput, } from "./commands/BatchCreateVariableCommand"; import { BatchGetVariableCommandInput, BatchGetVariableCommandOutput } from "./commands/BatchGetVariableCommand"; +import { + CancelBatchImportJobCommandInput, + CancelBatchImportJobCommandOutput, +} from "./commands/CancelBatchImportJobCommand"; import { CancelBatchPredictionJobCommandInput, CancelBatchPredictionJobCommandOutput, } from "./commands/CancelBatchPredictionJobCommand"; +import { + CreateBatchImportJobCommandInput, + CreateBatchImportJobCommandOutput, +} from "./commands/CreateBatchImportJobCommand"; import { CreateBatchPredictionJobCommandInput, CreateBatchPredictionJobCommandOutput, @@ -70,6 +78,10 @@ import { CreateModelCommandInput, CreateModelCommandOutput } from "./commands/Cr import { CreateModelVersionCommandInput, CreateModelVersionCommandOutput } from "./commands/CreateModelVersionCommand"; import { CreateRuleCommandInput, CreateRuleCommandOutput } from "./commands/CreateRuleCommand"; import { CreateVariableCommandInput, CreateVariableCommandOutput } from "./commands/CreateVariableCommand"; +import { + DeleteBatchImportJobCommandInput, + DeleteBatchImportJobCommandOutput, +} from "./commands/DeleteBatchImportJobCommand"; import { DeleteBatchPredictionJobCommandInput, DeleteBatchPredictionJobCommandOutput, @@ -81,6 +93,10 @@ import { } from "./commands/DeleteDetectorVersionCommand"; import { DeleteEntityTypeCommandInput, DeleteEntityTypeCommandOutput } from "./commands/DeleteEntityTypeCommand"; import { DeleteEventCommandInput, DeleteEventCommandOutput } from "./commands/DeleteEventCommand"; +import { + DeleteEventsByEventTypeCommandInput, + DeleteEventsByEventTypeCommandOutput, +} from "./commands/DeleteEventsByEventTypeCommand"; import { DeleteEventTypeCommandInput, DeleteEventTypeCommandOutput } from "./commands/DeleteEventTypeCommand"; import { DeleteExternalModelCommandInput, @@ -97,13 +113,19 @@ import { DescribeModelVersionsCommandInput, DescribeModelVersionsCommandOutput, } from "./commands/DescribeModelVersionsCommand"; +import { GetBatchImportJobsCommandInput, GetBatchImportJobsCommandOutput } from "./commands/GetBatchImportJobsCommand"; import { GetBatchPredictionJobsCommandInput, GetBatchPredictionJobsCommandOutput, } from "./commands/GetBatchPredictionJobsCommand"; +import { + GetDeleteEventsByEventTypeStatusCommandInput, + GetDeleteEventsByEventTypeStatusCommandOutput, +} from "./commands/GetDeleteEventsByEventTypeStatusCommand"; import { GetDetectorsCommandInput, GetDetectorsCommandOutput } from "./commands/GetDetectorsCommand"; import { GetDetectorVersionCommandInput, GetDetectorVersionCommandOutput } from "./commands/GetDetectorVersionCommand"; import { GetEntityTypesCommandInput, GetEntityTypesCommandOutput } from "./commands/GetEntityTypesCommand"; +import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand"; import { GetEventPredictionCommandInput, GetEventPredictionCommandOutput } from "./commands/GetEventPredictionCommand"; import { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "./commands/GetEventTypesCommand"; import { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "./commands/GetExternalModelsCommand"; @@ -131,6 +153,7 @@ import { } from "./commands/PutKMSEncryptionKeyCommand"; import { PutLabelCommandInput, PutLabelCommandOutput } from "./commands/PutLabelCommand"; import { PutOutcomeCommandInput, PutOutcomeCommandOutput } from "./commands/PutOutcomeCommand"; +import { SendEventCommandInput, SendEventCommandOutput } from "./commands/SendEventCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { @@ -145,6 +168,7 @@ import { UpdateDetectorVersionStatusCommandInput, UpdateDetectorVersionStatusCommandOutput, } from "./commands/UpdateDetectorVersionStatusCommand"; +import { UpdateEventLabelCommandInput, UpdateEventLabelCommandOutput } from "./commands/UpdateEventLabelCommand"; import { UpdateModelCommandInput, UpdateModelCommandOutput } from "./commands/UpdateModelCommand"; import { UpdateModelVersionCommandInput, UpdateModelVersionCommandOutput } from "./commands/UpdateModelVersionCommand"; import { @@ -159,19 +183,23 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; export type ServiceInputTypes = | BatchCreateVariableCommandInput | BatchGetVariableCommandInput + | CancelBatchImportJobCommandInput | CancelBatchPredictionJobCommandInput + | CreateBatchImportJobCommandInput | CreateBatchPredictionJobCommandInput | CreateDetectorVersionCommandInput | CreateModelCommandInput | CreateModelVersionCommandInput | CreateRuleCommandInput | CreateVariableCommandInput + | DeleteBatchImportJobCommandInput | DeleteBatchPredictionJobCommandInput | DeleteDetectorCommandInput | DeleteDetectorVersionCommandInput | DeleteEntityTypeCommandInput | DeleteEventCommandInput | DeleteEventTypeCommandInput + | DeleteEventsByEventTypeCommandInput | DeleteExternalModelCommandInput | DeleteLabelCommandInput | DeleteModelCommandInput @@ -181,10 +209,13 @@ export type ServiceInputTypes = | DeleteVariableCommandInput | DescribeDetectorCommandInput | DescribeModelVersionsCommandInput + | GetBatchImportJobsCommandInput | GetBatchPredictionJobsCommandInput + | GetDeleteEventsByEventTypeStatusCommandInput | GetDetectorVersionCommandInput | GetDetectorsCommandInput | GetEntityTypesCommandInput + | GetEventCommandInput | GetEventPredictionCommandInput | GetEventTypesCommandInput | GetExternalModelsCommandInput @@ -203,11 +234,13 @@ export type ServiceInputTypes = | PutKMSEncryptionKeyCommandInput | PutLabelCommandInput | PutOutcomeCommandInput + | SendEventCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDetectorVersionCommandInput | UpdateDetectorVersionMetadataCommandInput | UpdateDetectorVersionStatusCommandInput + | UpdateEventLabelCommandInput | UpdateModelCommandInput | UpdateModelVersionCommandInput | UpdateModelVersionStatusCommandInput @@ -218,19 +251,23 @@ export type ServiceInputTypes = export type ServiceOutputTypes = | BatchCreateVariableCommandOutput | BatchGetVariableCommandOutput + | CancelBatchImportJobCommandOutput | CancelBatchPredictionJobCommandOutput + | CreateBatchImportJobCommandOutput | CreateBatchPredictionJobCommandOutput | CreateDetectorVersionCommandOutput | CreateModelCommandOutput | CreateModelVersionCommandOutput | CreateRuleCommandOutput | CreateVariableCommandOutput + | DeleteBatchImportJobCommandOutput | DeleteBatchPredictionJobCommandOutput | DeleteDetectorCommandOutput | DeleteDetectorVersionCommandOutput | DeleteEntityTypeCommandOutput | DeleteEventCommandOutput | DeleteEventTypeCommandOutput + | DeleteEventsByEventTypeCommandOutput | DeleteExternalModelCommandOutput | DeleteLabelCommandOutput | DeleteModelCommandOutput @@ -240,10 +277,13 @@ export type ServiceOutputTypes = | DeleteVariableCommandOutput | DescribeDetectorCommandOutput | DescribeModelVersionsCommandOutput + | GetBatchImportJobsCommandOutput | GetBatchPredictionJobsCommandOutput + | GetDeleteEventsByEventTypeStatusCommandOutput | GetDetectorVersionCommandOutput | GetDetectorsCommandOutput | GetEntityTypesCommandOutput + | GetEventCommandOutput | GetEventPredictionCommandOutput | GetEventTypesCommandOutput | GetExternalModelsCommandOutput @@ -262,11 +302,13 @@ export type ServiceOutputTypes = | PutKMSEncryptionKeyCommandOutput | PutLabelCommandOutput | PutOutcomeCommandOutput + | SendEventCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDetectorVersionCommandOutput | UpdateDetectorVersionMetadataCommandOutput | UpdateDetectorVersionStatusCommandOutput + | UpdateEventLabelCommandOutput | UpdateModelCommandOutput | UpdateModelVersionCommandOutput | UpdateModelVersionStatusCommandOutput diff --git a/clients/client-frauddetector/src/commands/CancelBatchImportJobCommand.ts b/clients/client-frauddetector/src/commands/CancelBatchImportJobCommand.ts new file mode 100644 index 000000000000..f5914db3bca5 --- /dev/null +++ b/clients/client-frauddetector/src/commands/CancelBatchImportJobCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { CancelBatchImportJobRequest, CancelBatchImportJobResult } from "../models/models_0"; +import { + deserializeAws_json1_1CancelBatchImportJobCommand, + serializeAws_json1_1CancelBatchImportJobCommand, +} from "../protocols/Aws_json1_1"; + +export interface CancelBatchImportJobCommandInput extends CancelBatchImportJobRequest {} +export interface CancelBatchImportJobCommandOutput extends CancelBatchImportJobResult, __MetadataBearer {} + +/** + *

    Cancels an in-progress batch import job.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, CancelBatchImportJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, CancelBatchImportJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new CancelBatchImportJobCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CancelBatchImportJobCommandInput} for command's `input` shape. + * @see {@link CancelBatchImportJobCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class CancelBatchImportJobCommand extends $Command< + CancelBatchImportJobCommandInput, + CancelBatchImportJobCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CancelBatchImportJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "CancelBatchImportJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CancelBatchImportJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: CancelBatchImportJobResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CancelBatchImportJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1CancelBatchImportJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1CancelBatchImportJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/CreateBatchImportJobCommand.ts b/clients/client-frauddetector/src/commands/CreateBatchImportJobCommand.ts new file mode 100644 index 000000000000..5d91f53b546f --- /dev/null +++ b/clients/client-frauddetector/src/commands/CreateBatchImportJobCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { CreateBatchImportJobRequest, CreateBatchImportJobResult } from "../models/models_0"; +import { + deserializeAws_json1_1CreateBatchImportJobCommand, + serializeAws_json1_1CreateBatchImportJobCommand, +} from "../protocols/Aws_json1_1"; + +export interface CreateBatchImportJobCommandInput extends CreateBatchImportJobRequest {} +export interface CreateBatchImportJobCommandOutput extends CreateBatchImportJobResult, __MetadataBearer {} + +/** + *

    Creates a batch import job.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, CreateBatchImportJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, CreateBatchImportJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new CreateBatchImportJobCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreateBatchImportJobCommandInput} for command's `input` shape. + * @see {@link CreateBatchImportJobCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class CreateBatchImportJobCommand extends $Command< + CreateBatchImportJobCommandInput, + CreateBatchImportJobCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreateBatchImportJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "CreateBatchImportJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateBatchImportJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreateBatchImportJobResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreateBatchImportJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1CreateBatchImportJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1CreateBatchImportJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/DeleteBatchImportJobCommand.ts b/clients/client-frauddetector/src/commands/DeleteBatchImportJobCommand.ts new file mode 100644 index 000000000000..0cced590e791 --- /dev/null +++ b/clients/client-frauddetector/src/commands/DeleteBatchImportJobCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { DeleteBatchImportJobRequest, DeleteBatchImportJobResult } from "../models/models_0"; +import { + deserializeAws_json1_1DeleteBatchImportJobCommand, + serializeAws_json1_1DeleteBatchImportJobCommand, +} from "../protocols/Aws_json1_1"; + +export interface DeleteBatchImportJobCommandInput extends DeleteBatchImportJobRequest {} +export interface DeleteBatchImportJobCommandOutput extends DeleteBatchImportJobResult, __MetadataBearer {} + +/** + *

    Deletes data that was batch imported to Amazon Fraud Detector.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, DeleteBatchImportJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, DeleteBatchImportJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new DeleteBatchImportJobCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteBatchImportJobCommandInput} for command's `input` shape. + * @see {@link DeleteBatchImportJobCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeleteBatchImportJobCommand extends $Command< + DeleteBatchImportJobCommandInput, + DeleteBatchImportJobCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteBatchImportJobCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "DeleteBatchImportJobCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteBatchImportJobRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteBatchImportJobResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteBatchImportJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeleteBatchImportJobCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeleteBatchImportJobCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/DeleteEventTypeCommand.ts b/clients/client-frauddetector/src/commands/DeleteEventTypeCommand.ts index 57c16b1e5614..14a90d086615 100644 --- a/clients/client-frauddetector/src/commands/DeleteEventTypeCommand.ts +++ b/clients/client-frauddetector/src/commands/DeleteEventTypeCommand.ts @@ -24,7 +24,7 @@ export interface DeleteEventTypeCommandOutput extends DeleteEventTypeResult, __M /** *

    Deletes an event type.

    *

    You cannot delete an event type that is used in a detector or a model.

    - *

    When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.

    + *

    When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.

    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-frauddetector/src/commands/DeleteEventsByEventTypeCommand.ts b/clients/client-frauddetector/src/commands/DeleteEventsByEventTypeCommand.ts new file mode 100644 index 000000000000..b0968b379024 --- /dev/null +++ b/clients/client-frauddetector/src/commands/DeleteEventsByEventTypeCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { DeleteEventsByEventTypeRequest, DeleteEventsByEventTypeResult } from "../models/models_0"; +import { + deserializeAws_json1_1DeleteEventsByEventTypeCommand, + serializeAws_json1_1DeleteEventsByEventTypeCommand, +} from "../protocols/Aws_json1_1"; + +export interface DeleteEventsByEventTypeCommandInput extends DeleteEventsByEventTypeRequest {} +export interface DeleteEventsByEventTypeCommandOutput extends DeleteEventsByEventTypeResult, __MetadataBearer {} + +/** + *

    Deletes all events of a particular event type.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, DeleteEventsByEventTypeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, DeleteEventsByEventTypeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new DeleteEventsByEventTypeCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeleteEventsByEventTypeCommandInput} for command's `input` shape. + * @see {@link DeleteEventsByEventTypeCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeleteEventsByEventTypeCommand extends $Command< + DeleteEventsByEventTypeCommandInput, + DeleteEventsByEventTypeCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeleteEventsByEventTypeCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "DeleteEventsByEventTypeCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeleteEventsByEventTypeRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeleteEventsByEventTypeResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeleteEventsByEventTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeleteEventsByEventTypeCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeleteEventsByEventTypeCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/GetBatchImportJobsCommand.ts b/clients/client-frauddetector/src/commands/GetBatchImportJobsCommand.ts new file mode 100644 index 000000000000..a24d70841d23 --- /dev/null +++ b/clients/client-frauddetector/src/commands/GetBatchImportJobsCommand.ts @@ -0,0 +1,98 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { GetBatchImportJobsRequest, GetBatchImportJobsResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetBatchImportJobsCommand, + serializeAws_json1_1GetBatchImportJobsCommand, +} from "../protocols/Aws_json1_1"; + +export interface GetBatchImportJobsCommandInput extends GetBatchImportJobsRequest {} +export interface GetBatchImportJobsCommandOutput extends GetBatchImportJobsResult, __MetadataBearer {} + +/** + *

    Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults, + * this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. + * To get the next page results, provide the pagination token from the GetBatchImportJobsResponse as part of your request. + * A null pagination token fetches the records from the beginning.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, GetBatchImportJobsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, GetBatchImportJobsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new GetBatchImportJobsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetBatchImportJobsCommandInput} for command's `input` shape. + * @see {@link GetBatchImportJobsCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetBatchImportJobsCommand extends $Command< + GetBatchImportJobsCommandInput, + GetBatchImportJobsCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetBatchImportJobsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "GetBatchImportJobsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetBatchImportJobsRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetBatchImportJobsResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetBatchImportJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetBatchImportJobsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetBatchImportJobsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/GetDeleteEventsByEventTypeStatusCommand.ts b/clients/client-frauddetector/src/commands/GetDeleteEventsByEventTypeStatusCommand.ts new file mode 100644 index 000000000000..ca944984479f --- /dev/null +++ b/clients/client-frauddetector/src/commands/GetDeleteEventsByEventTypeStatusCommand.ts @@ -0,0 +1,103 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { GetDeleteEventsByEventTypeStatusRequest, GetDeleteEventsByEventTypeStatusResult } from "../models/models_0"; +import { + deserializeAws_json1_1GetDeleteEventsByEventTypeStatusCommand, + serializeAws_json1_1GetDeleteEventsByEventTypeStatusCommand, +} from "../protocols/Aws_json1_1"; + +export interface GetDeleteEventsByEventTypeStatusCommandInput extends GetDeleteEventsByEventTypeStatusRequest {} +export interface GetDeleteEventsByEventTypeStatusCommandOutput + extends GetDeleteEventsByEventTypeStatusResult, + __MetadataBearer {} + +/** + *

    Retrieves the status of a DeleteEventsByEventType action.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, GetDeleteEventsByEventTypeStatusCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, GetDeleteEventsByEventTypeStatusCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new GetDeleteEventsByEventTypeStatusCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetDeleteEventsByEventTypeStatusCommandInput} for command's `input` shape. + * @see {@link GetDeleteEventsByEventTypeStatusCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetDeleteEventsByEventTypeStatusCommand extends $Command< + GetDeleteEventsByEventTypeStatusCommandInput, + GetDeleteEventsByEventTypeStatusCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetDeleteEventsByEventTypeStatusCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "GetDeleteEventsByEventTypeStatusCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetDeleteEventsByEventTypeStatusRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetDeleteEventsByEventTypeStatusResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize( + input: GetDeleteEventsByEventTypeStatusCommandInput, + context: __SerdeContext + ): Promise<__HttpRequest> { + return serializeAws_json1_1GetDeleteEventsByEventTypeStatusCommand(input, context); + } + + private deserialize( + output: __HttpResponse, + context: __SerdeContext + ): Promise { + return deserializeAws_json1_1GetDeleteEventsByEventTypeStatusCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/GetEventCommand.ts b/clients/client-frauddetector/src/commands/GetEventCommand.ts new file mode 100644 index 000000000000..06101cd58ccc --- /dev/null +++ b/clients/client-frauddetector/src/commands/GetEventCommand.ts @@ -0,0 +1,92 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { GetEventRequest, GetEventResult } from "../models/models_0"; +import { deserializeAws_json1_1GetEventCommand, serializeAws_json1_1GetEventCommand } from "../protocols/Aws_json1_1"; + +export interface GetEventCommandInput extends GetEventRequest {} +export interface GetEventCommandOutput extends GetEventResult, __MetadataBearer {} + +/** + *

    Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, GetEventCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, GetEventCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new GetEventCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetEventCommandInput} for command's `input` shape. + * @see {@link GetEventCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetEventCommand extends $Command< + GetEventCommandInput, + GetEventCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetEventCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "GetEventCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetEventRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetEventResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetEventCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetEventCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetEventCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/GetKMSEncryptionKeyCommand.ts b/clients/client-frauddetector/src/commands/GetKMSEncryptionKeyCommand.ts index 4bbaf7c962f1..841f35fcc41a 100644 --- a/clients/client-frauddetector/src/commands/GetKMSEncryptionKeyCommand.ts +++ b/clients/client-frauddetector/src/commands/GetKMSEncryptionKeyCommand.ts @@ -22,7 +22,7 @@ export interface GetKMSEncryptionKeyCommandInput {} export interface GetKMSEncryptionKeyCommandOutput extends GetKMSEncryptionKeyResult, __MetadataBearer {} /** - *

    Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.

    + *

    Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-frauddetector/src/commands/PutKMSEncryptionKeyCommand.ts b/clients/client-frauddetector/src/commands/PutKMSEncryptionKeyCommand.ts index 7792f8418109..fd242897245b 100644 --- a/clients/client-frauddetector/src/commands/PutKMSEncryptionKeyCommand.ts +++ b/clients/client-frauddetector/src/commands/PutKMSEncryptionKeyCommand.ts @@ -22,7 +22,7 @@ export interface PutKMSEncryptionKeyCommandInput extends PutKMSEncryptionKeyRequ export interface PutKMSEncryptionKeyCommandOutput extends PutKMSEncryptionKeyResult, __MetadataBearer {} /** - *

    Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.

    + *

    Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-frauddetector/src/commands/SendEventCommand.ts b/clients/client-frauddetector/src/commands/SendEventCommand.ts new file mode 100644 index 000000000000..6276adf894e2 --- /dev/null +++ b/clients/client-frauddetector/src/commands/SendEventCommand.ts @@ -0,0 +1,92 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { SendEventRequest, SendEventResult } from "../models/models_0"; +import { deserializeAws_json1_1SendEventCommand, serializeAws_json1_1SendEventCommand } from "../protocols/Aws_json1_1"; + +export interface SendEventCommandInput extends SendEventRequest {} +export interface SendEventCommandOutput extends SendEventResult, __MetadataBearer {} + +/** + *

    Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, SendEventCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, SendEventCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new SendEventCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link SendEventCommandInput} for command's `input` shape. + * @see {@link SendEventCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class SendEventCommand extends $Command< + SendEventCommandInput, + SendEventCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: SendEventCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "SendEventCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: SendEventRequest.filterSensitiveLog, + outputFilterSensitiveLog: SendEventResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: SendEventCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1SendEventCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1SendEventCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/UpdateEventLabelCommand.ts b/clients/client-frauddetector/src/commands/UpdateEventLabelCommand.ts new file mode 100644 index 000000000000..50296ff0c9d9 --- /dev/null +++ b/clients/client-frauddetector/src/commands/UpdateEventLabelCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient"; +import { UpdateEventLabelRequest, UpdateEventLabelResult } from "../models/models_0"; +import { + deserializeAws_json1_1UpdateEventLabelCommand, + serializeAws_json1_1UpdateEventLabelCommand, +} from "../protocols/Aws_json1_1"; + +export interface UpdateEventLabelCommandInput extends UpdateEventLabelRequest {} +export interface UpdateEventLabelCommandOutput extends UpdateEventLabelResult, __MetadataBearer {} + +/** + *

    Updates the specified event with a new label.

    + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { FraudDetectorClient, UpdateEventLabelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import + * // const { FraudDetectorClient, UpdateEventLabelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import + * const client = new FraudDetectorClient(config); + * const command = new UpdateEventLabelCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateEventLabelCommandInput} for command's `input` shape. + * @see {@link UpdateEventLabelCommandOutput} for command's `response` shape. + * @see {@link FraudDetectorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class UpdateEventLabelCommand extends $Command< + UpdateEventLabelCommandInput, + UpdateEventLabelCommandOutput, + FraudDetectorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateEventLabelCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: FraudDetectorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "FraudDetectorClient"; + const commandName = "UpdateEventLabelCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateEventLabelRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateEventLabelResult.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateEventLabelCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateEventLabelCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateEventLabelCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-frauddetector/src/commands/UpdateModelCommand.ts b/clients/client-frauddetector/src/commands/UpdateModelCommand.ts index 5de911a0ece6..55a83ddc78e0 100644 --- a/clients/client-frauddetector/src/commands/UpdateModelCommand.ts +++ b/clients/client-frauddetector/src/commands/UpdateModelCommand.ts @@ -22,7 +22,7 @@ export interface UpdateModelCommandInput extends UpdateModelRequest {} export interface UpdateModelCommandOutput extends UpdateModelResult, __MetadataBearer {} /** - *

    Updates a model. You can update the description attribute using this action.

    + *

    Updates model description.

    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-frauddetector/src/commands/UpdateModelVersionStatusCommand.ts b/clients/client-frauddetector/src/commands/UpdateModelVersionStatusCommand.ts index 668ccc297079..507a74951f4f 100644 --- a/clients/client-frauddetector/src/commands/UpdateModelVersionStatusCommand.ts +++ b/clients/client-frauddetector/src/commands/UpdateModelVersionStatusCommand.ts @@ -29,7 +29,7 @@ export interface UpdateModelVersionStatusCommandOutput extends UpdateModelVersio *

    Change the TRAINING_COMPLETE status to ACTIVE.

    * *
  • - *

    Change ACTIVEto INACTIVE.

    + *

    Change ACTIVE to INACTIVE.

    *
  • * * @example diff --git a/clients/client-frauddetector/src/endpoints.ts b/clients/client-frauddetector/src/endpoints.ts index f5a32cb72bb2..d9016c625cc9 100644 --- a/clients/client-frauddetector/src/endpoints.ts +++ b/clients/client-frauddetector/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "frauddetector.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "frauddetector.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-frauddetector/src/index.ts b/clients/client-frauddetector/src/index.ts index 4e127621e1a7..e00d27b2f980 100644 --- a/clients/client-frauddetector/src/index.ts +++ b/clients/client-frauddetector/src/index.ts @@ -2,18 +2,22 @@ export * from "./FraudDetectorClient"; export * from "./FraudDetector"; export * from "./commands/BatchCreateVariableCommand"; export * from "./commands/BatchGetVariableCommand"; +export * from "./commands/CancelBatchImportJobCommand"; export * from "./commands/CancelBatchPredictionJobCommand"; +export * from "./commands/CreateBatchImportJobCommand"; export * from "./commands/CreateBatchPredictionJobCommand"; export * from "./commands/CreateDetectorVersionCommand"; export * from "./commands/CreateModelCommand"; export * from "./commands/CreateModelVersionCommand"; export * from "./commands/CreateRuleCommand"; export * from "./commands/CreateVariableCommand"; +export * from "./commands/DeleteBatchImportJobCommand"; export * from "./commands/DeleteBatchPredictionJobCommand"; export * from "./commands/DeleteDetectorCommand"; export * from "./commands/DeleteDetectorVersionCommand"; export * from "./commands/DeleteEntityTypeCommand"; export * from "./commands/DeleteEventCommand"; +export * from "./commands/DeleteEventsByEventTypeCommand"; export * from "./commands/DeleteEventTypeCommand"; export * from "./commands/DeleteExternalModelCommand"; export * from "./commands/DeleteLabelCommand"; @@ -25,13 +29,17 @@ export * from "./commands/DeleteVariableCommand"; export * from "./commands/DescribeDetectorCommand"; export * from "./commands/DescribeModelVersionsCommand"; export * from "./pagination/DescribeModelVersionsPaginator"; +export * from "./commands/GetBatchImportJobsCommand"; +export * from "./pagination/GetBatchImportJobsPaginator"; export * from "./commands/GetBatchPredictionJobsCommand"; export * from "./pagination/GetBatchPredictionJobsPaginator"; +export * from "./commands/GetDeleteEventsByEventTypeStatusCommand"; export * from "./commands/GetDetectorsCommand"; export * from "./pagination/GetDetectorsPaginator"; export * from "./commands/GetDetectorVersionCommand"; export * from "./commands/GetEntityTypesCommand"; export * from "./pagination/GetEntityTypesPaginator"; +export * from "./commands/GetEventCommand"; export * from "./commands/GetEventPredictionCommand"; export * from "./commands/GetEventTypesCommand"; export * from "./pagination/GetEventTypesPaginator"; @@ -58,11 +66,13 @@ export * from "./commands/PutExternalModelCommand"; export * from "./commands/PutKMSEncryptionKeyCommand"; export * from "./commands/PutLabelCommand"; export * from "./commands/PutOutcomeCommand"; +export * from "./commands/SendEventCommand"; export * from "./commands/TagResourceCommand"; export * from "./commands/UntagResourceCommand"; export * from "./commands/UpdateDetectorVersionCommand"; export * from "./commands/UpdateDetectorVersionMetadataCommand"; export * from "./commands/UpdateDetectorVersionStatusCommand"; +export * from "./commands/UpdateEventLabelCommand"; export * from "./commands/UpdateModelCommand"; export * from "./commands/UpdateModelVersionCommand"; export * from "./commands/UpdateModelVersionStatusCommand"; diff --git a/clients/client-frauddetector/src/models/models_0.ts b/clients/client-frauddetector/src/models/models_0.ts index 265e33bee79b..ed3b66c97b61 100644 --- a/clients/client-frauddetector/src/models/models_0.ts +++ b/clients/client-frauddetector/src/models/models_0.ts @@ -358,35 +358,36 @@ export namespace BatchGetVariableResult { }); } -export interface CancelBatchPredictionJobRequest { +export interface CancelBatchImportJobRequest { /** - *

    The ID of the batch prediction job to cancel.

    + *

    The ID of an in-progress batch import job to cancel.

    + *

    Amazon Fraud Detector will throw an error if the batch import job is in FAILED, CANCELED, or COMPLETED state.

    */ jobId: string | undefined; } -export namespace CancelBatchPredictionJobRequest { +export namespace CancelBatchImportJobRequest { /** * @internal */ - export const filterSensitiveLog = (obj: CancelBatchPredictionJobRequest): any => ({ + export const filterSensitiveLog = (obj: CancelBatchImportJobRequest): any => ({ ...obj, }); } -export interface CancelBatchPredictionJobResult {} +export interface CancelBatchImportJobResult {} -export namespace CancelBatchPredictionJobResult { +export namespace CancelBatchImportJobResult { /** * @internal */ - export const filterSensitiveLog = (obj: CancelBatchPredictionJobResult): any => ({ + export const filterSensitiveLog = (obj: CancelBatchImportJobResult): any => ({ ...obj, }); } /** - *

    An exception indicating the specified resource was not found. This can occur if you submit a request, such as CreateBatchPredictionJob, but the detector name or version does not exist.

    + *

    An exception indicating the specified resource was not found.

    */ export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer { name: "ResourceNotFoundException"; @@ -403,6 +404,86 @@ export namespace ResourceNotFoundException { }); } +export interface CancelBatchPredictionJobRequest { + /** + *

    The ID of the batch prediction job to cancel.

    + */ + jobId: string | undefined; +} + +export namespace CancelBatchPredictionJobRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CancelBatchPredictionJobRequest): any => ({ + ...obj, + }); +} + +export interface CancelBatchPredictionJobResult {} + +export namespace CancelBatchPredictionJobResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CancelBatchPredictionJobResult): any => ({ + ...obj, + }); +} + +export interface CreateBatchImportJobRequest { + /** + *

    The ID of the batch import job. The ID cannot be of a past job, unless the job exists in CREATE_FAILED state.

    + */ + jobId: string | undefined; + + /** + *

    The URI that points to the Amazon S3 location of your data file.

    + */ + inputPath: string | undefined; + + /** + *

    The URI that points to the Amazon S3 location for storing your results.

    + */ + outputPath: string | undefined; + + /** + *

    The name of the event type.

    + */ + eventTypeName: string | undefined; + + /** + *

    The ARN of the IAM role created for Amazon S3 bucket that holds your data file. + * The IAM role must have read and write permissions to both input and output S3 buckets.

    + */ + iamRoleArn: string | undefined; + + /** + *

    A collection of key-value pairs associated with this request.

    + */ + tags?: Tag[]; +} + +export namespace CreateBatchImportJobRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateBatchImportJobRequest): any => ({ + ...obj, + }); +} + +export interface CreateBatchImportJobResult {} + +export namespace CreateBatchImportJobResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreateBatchImportJobResult): any => ({ + ...obj, + }); +} + export interface CreateBatchPredictionJobRequest { /** *

    The ID of the batch prediction job.

    @@ -467,6 +548,7 @@ export namespace CreateBatchPredictionJobResult { export enum ModelTypeEnum { ONLINE_FRAUD_INSIGHTS = "ONLINE_FRAUD_INSIGHTS", + TRANSACTION_FRAUD_INSIGHTS = "TRANSACTION_FRAUD_INSIGHTS", } /** @@ -690,6 +772,55 @@ export namespace ExternalEventsDetail { }); } +/** + *

    The start and stop time of the ingested events.

    + */ +export interface IngestedEventsTimeWindow { + /** + *

    Timestamp of the first ingensted event.

    + */ + startTime: string | undefined; + + /** + *

    Timestamp of the final ingested event.

    + */ + endTime: string | undefined; +} + +export namespace IngestedEventsTimeWindow { + /** + * @internal + */ + export const filterSensitiveLog = (obj: IngestedEventsTimeWindow): any => ({ + ...obj, + }); +} + +/** + *

    The details of the ingested event.

    + */ +export interface IngestedEventsDetail { + /** + *

    The start and stop time of the ingested events.

    + */ + ingestedEventsTimeWindow: IngestedEventsTimeWindow | undefined; +} + +export namespace IngestedEventsDetail { + /** + * @internal + */ + export const filterSensitiveLog = (obj: IngestedEventsDetail): any => ({ + ...obj, + }); +} + +export enum UnlabeledEventsTreatment { + FRAUD = "FRAUD", + IGNORE = "IGNORE", + LEGIT = "LEGIT", +} + /** *

    The label schema.

    */ @@ -699,6 +830,11 @@ export interface LabelSchema { *

    */ labelMapper: { [key: string]: string[] } | undefined; + + /** + *

    The action to take for unlabeled events.

    + */ + unlabeledEventsTreatment?: UnlabeledEventsTreatment | string; } export namespace LabelSchema { @@ -736,6 +872,7 @@ export namespace TrainingDataSchema { export enum TrainingDataSourceEnum { EXTERNAL_EVENTS = "EXTERNAL_EVENTS", + INGESTED_EVENTS = "INGESTED_EVENTS", } export interface CreateModelVersionRequest { @@ -760,10 +897,15 @@ export interface CreateModelVersionRequest { trainingDataSchema: TrainingDataSchema | undefined; /** - *

    Details for the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

    + *

    Details of the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

    */ externalEventsDetail?: ExternalEventsDetail; + /** + *

    Details of the ingested events data used for model version training. Required if trainingDataSource is INGESTED_EVENTS.

    + */ + ingestedEventsDetail?: IngestedEventsDetail; + /** *

    A collection of key and value pairs.

    */ @@ -937,6 +1079,33 @@ export namespace CreateVariableResult { }); } +export interface DeleteBatchImportJobRequest { + /** + *

    The ID of the batch import job to delete.

    + */ + jobId: string | undefined; +} + +export namespace DeleteBatchImportJobRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteBatchImportJobRequest): any => ({ + ...obj, + }); +} + +export interface DeleteBatchImportJobResult {} + +export namespace DeleteBatchImportJobResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteBatchImportJobResult): any => ({ + ...obj, + }); +} + export interface DeleteBatchPredictionJobRequest { /** *

    The ID of the batch prediction job to delete.

    @@ -965,18 +1134,7 @@ export namespace DeleteBatchPredictionJobResult { } /** - *

    An exception indicating there was a conflict during a delete operation. The following delete operations can cause a conflict exception:

    - *
      - *
    • - *

      DeleteDetector: A conflict exception will occur if the detector has associated Rules or DetectorVersions. You can only delete a detector if it has no Rules or DetectorVersions.

      - *
    • - *
    • - *

      DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion status is ACTIVE.

      - *
    • - *
    • - *

      DeleteRule: A conflict exception will occur if the RuleVersion is in use by an associated ACTIVE or INACTIVE DetectorVersion.

      - *
    • - *
    + *

    An exception indicating there was a conflict during a delete operation.

    */ export interface ConflictException extends __SmithyException, $MetadataBearer { name: "ConflictException"; @@ -1089,6 +1247,11 @@ export interface DeleteEventRequest { *

    The name of the event type.

    */ eventTypeName: string | undefined; + + /** + *

    Specifies whether or not to delete any predictions associated with the event.

    + */ + deleteAuditHistory?: boolean; } export namespace DeleteEventRequest { @@ -1111,6 +1274,43 @@ export namespace DeleteEventResult { }); } +export interface DeleteEventsByEventTypeRequest { + /** + *

    The name of the event type.

    + */ + eventTypeName: string | undefined; +} + +export namespace DeleteEventsByEventTypeRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteEventsByEventTypeRequest): any => ({ + ...obj, + }); +} + +export interface DeleteEventsByEventTypeResult { + /** + *

    Name of event type for which to delete the events.

    + */ + eventTypeName?: string; + + /** + *

    The status of the delete request.

    + */ + eventsDeletionStatus?: string; +} + +export namespace DeleteEventsByEventTypeResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeleteEventsByEventTypeResult): any => ({ + ...obj, + }); +} + export interface DeleteEventTypeRequest { /** *

    The name of the event type to delete.

    @@ -1731,10 +1931,15 @@ export interface ModelVersionDetail { trainingDataSchema?: TrainingDataSchema; /** - *

    The event details.

    + *

    The external events data details. This will be populated if the trainingDataSource for the model version is specified as EXTERNAL_EVENTS.

    */ externalEventsDetail?: ExternalEventsDetail; + /** + *

    The ingested events data details. This will be populated if the trainingDataSource for the model version is specified as INGESTED_EVENTS.

    + */ + ingestedEventsDetail?: IngestedEventsDetail; + /** *

    The training results.

    */ @@ -1786,6 +1991,132 @@ export namespace DescribeModelVersionsResult { }); } +export interface GetBatchImportJobsRequest { + /** + *

    The ID of the batch import job to get.

    + */ + jobId?: string; + + /** + *

    The maximum number of objects to return for request.

    + */ + maxResults?: number; + + /** + *

    The next token from the previous request.

    + */ + nextToken?: string; +} + +export namespace GetBatchImportJobsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetBatchImportJobsRequest): any => ({ + ...obj, + }); +} + +/** + *

    The batch import job details.

    + */ +export interface BatchImport { + /** + *

    The ID of the batch import job.

    + */ + jobId?: string; + + /** + *

    The status of the batch import job.

    + */ + status?: AsyncJobStatus | string; + + /** + *

    The reason batch import job failed.

    + */ + failureReason?: string; + + /** + *

    Timestamp of when the batch import job started.

    + */ + startTime?: string; + + /** + *

    Timestamp of when batch import job completed.

    + */ + completionTime?: string; + + /** + *

    The Amazon S3 location of your data file for batch import.

    + */ + inputPath?: string; + + /** + *

    The Amazon S3 location of your output file.

    + */ + outputPath?: string; + + /** + *

    The name of the event type.

    + */ + eventTypeName?: string; + + /** + *

    The ARN of the IAM role to use for this job request.

    + */ + iamRoleArn?: string; + + /** + *

    The ARN of the batch import job.

    + */ + arn?: string; + + /** + *

    The number of records processed by batch import job.

    + */ + processedRecordsCount?: number; + + /** + *

    The number of records that failed to import.

    + */ + failedRecordsCount?: number; + + /** + *

    The total number of records in the batch import job.

    + */ + totalRecordsCount?: number; +} + +export namespace BatchImport { + /** + * @internal + */ + export const filterSensitiveLog = (obj: BatchImport): any => ({ + ...obj, + }); +} + +export interface GetBatchImportJobsResult { + /** + *

    An array containing the details of each batch import job.

    + */ + batchImports?: BatchImport[]; + + /** + *

    The next token for the subsequent resquest.

    + */ + nextToken?: string; +} + +export namespace GetBatchImportJobsResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetBatchImportJobsResult): any => ({ + ...obj, + }); +} + export interface GetBatchPredictionJobsRequest { /** *

    The batch prediction job for which to get the details.

    @@ -1837,7 +2168,7 @@ export interface BatchPrediction { startTime?: string; /** - *

    Timestamp of when the batch prediction job comleted.

    + *

    Timestamp of when the batch prediction job completed.

    */ completionTime?: string; @@ -1922,6 +2253,43 @@ export namespace GetBatchPredictionJobsResult { }); } +export interface GetDeleteEventsByEventTypeStatusRequest { + /** + *

    Name of event type for which to get the deletion status.

    + */ + eventTypeName: string | undefined; +} + +export namespace GetDeleteEventsByEventTypeStatusRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetDeleteEventsByEventTypeStatusRequest): any => ({ + ...obj, + }); +} + +export interface GetDeleteEventsByEventTypeStatusResult { + /** + *

    The event type name.

    + */ + eventTypeName?: string; + + /** + *

    The deletion status.

    + */ + eventsDeletionStatus?: AsyncJobStatus | string; +} + +export namespace GetDeleteEventsByEventTypeStatusResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetDeleteEventsByEventTypeStatusResult): any => ({ + ...obj, + }); +} + export interface GetDetectorsRequest { /** *

    The detector ID.

    @@ -2191,6 +2559,27 @@ export namespace GetEntityTypesResult { }); } +export interface GetEventRequest { + /** + *

    The ID of the event to retrieve.

    + */ + eventId: string | undefined; + + /** + *

    The event type of the event to retrieve.

    + */ + eventTypeName: string | undefined; +} + +export namespace GetEventRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetEventRequest): any => ({ + ...obj, + }); +} + /** *

    The entity details.

    */ @@ -2215,6 +2604,74 @@ export namespace Entity { }); } +/** + *

    The event details.

    + */ +export interface Event { + /** + *

    The event ID.

    + */ + eventId?: string; + + /** + *

    The event type.

    + */ + eventTypeName?: string; + + /** + *

    The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

    + */ + eventTimestamp?: string; + + /** + *

    Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

    + */ + eventVariables?: { [key: string]: string }; + + /** + *

    The label associated with the event.

    + */ + currentLabel?: string; + + /** + *

    The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.

    + */ + labelTimestamp?: string; + + /** + *

    The event entities.

    + */ + entities?: Entity[]; +} + +export namespace Event { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Event): any => ({ + ...obj, + ...(obj.eventVariables && { eventVariables: SENSITIVE_STRING }), + ...(obj.entities && { entities: SENSITIVE_STRING }), + }); +} + +export interface GetEventResult { + /** + *

    The details of the event.

    + */ + event?: Event; +} + +export namespace GetEventResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetEventResult): any => ({ + ...obj, + ...(obj.event && { event: Event.filterSensitiveLog(obj.event) }), + }); +} + /** *

    A pre-formed Amazon SageMaker model input you can include if your detector version includes an imported Amazon SageMaker model endpoint with pass-through input configuration.

    */ @@ -2266,7 +2723,7 @@ export interface GetEventPredictionRequest { entities: Entity[] | undefined; /** - *

    Timestamp that defines when the event under evaluation occurred.

    + *

    Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

    */ eventTimestamp: string | undefined; @@ -2274,17 +2731,10 @@ export interface GetEventPredictionRequest { *

    Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and * their corresponding values for the event you are sending for evaluation.

    * - *
      - *
    • - *

      You must provide at least one eventVariable

      - *
    • - *
    • - *

      If detectorVersion is associated with a modelVersion, you must provide at least one associated eventVariable

      - *
    • - *
    + *

    You must provide at least one eventVariable

    *
    * - *

    To ensure highest possible fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

    + *

    To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

    * *

    * For Amazon Fraud Detector trained models: @@ -2293,7 +2743,7 @@ export interface GetEventPredictionRequest { * with calculated default mean/medians for numeric variables and with special values for categorical variables.

    * *

    - * For External models ( for example, imported SageMaker): + * For imported SageMaker models: *

    *

    If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules * will use the default value that is provided for the variable.

    @@ -2445,9 +2895,7 @@ export namespace GetEventPredictionResult { } /** - *

    - * An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model. - *

    + *

    An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.

    */ export interface ResourceUnavailableException extends __SmithyException, $MetadataBearer { name: "ResourceUnavailableException"; @@ -2490,6 +2938,51 @@ export namespace GetEventTypesRequest { }); } +export enum EventIngestion { + DISABLED = "DISABLED", + ENABLED = "ENABLED", +} + +/** + *

    Data about the stored events.

    + */ +export interface IngestedEventStatistics { + /** + *

    The number of stored events.

    + */ + numberOfEvents?: number; + + /** + *

    The total size of the stored events.

    + */ + eventDataSizeInBytes?: number; + + /** + *

    The oldest stored event.

    + */ + leastRecentEvent?: string; + + /** + *

    The newest stored event.

    + */ + mostRecentEvent?: string; + + /** + *

    Timestamp of when the stored event was last updated. + *

    + */ + lastUpdatedTime?: string; +} + +export namespace IngestedEventStatistics { + /** + * @internal + */ + export const filterSensitiveLog = (obj: IngestedEventStatistics): any => ({ + ...obj, + }); +} + /** *

    The event type details.

    */ @@ -2519,6 +3012,16 @@ export interface EventType { */ entityTypes?: string[]; + /** + *

    If Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known as INGESTED_EVENTS, to train your model and improve fraud predictions.

    + */ + eventIngestion?: EventIngestion | string; + + /** + *

    Data about the stored events.

    + */ + ingestedEventStatistics?: IngestedEventStatistics; + /** *

    Timestamp of when the event type was last updated.

    */ @@ -3035,10 +3538,18 @@ export interface GetModelVersionResult { trainingDataSchema?: TrainingDataSchema; /** - *

    The event details.

    + *

    The details of the external events data used for training the model version. + * This will be populated if the trainingDataSource is EXTERNAL_EVENTS + *

    */ externalEventsDetail?: ExternalEventsDetail; + /** + *

    The details of the ingested events data used for training the model version. + * This will be populated if the trainingDataSource is INGESTED_EVENTS.

    + */ + ingestedEventsDetail?: IngestedEventsDetail; + /** *

    The model version status.

    *

    Possible values are:

    @@ -3515,6 +4026,11 @@ export interface PutEventTypeRequest { */ entityTypes: string[] | undefined; + /** + *

    Specifies if ingenstion is enabled or disabled.

    + */ + eventIngestion?: EventIngestion | string; + /** *

    A collection of key and value pairs.

    */ @@ -3699,6 +4215,65 @@ export namespace PutOutcomeResult { }); } +export interface SendEventRequest { + /** + *

    The event ID to upload.

    + */ + eventId: string | undefined; + + /** + *

    The event type name of the event.

    + */ + eventTypeName: string | undefined; + + /** + *

    The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

    + */ + eventTimestamp: string | undefined; + + /** + *

    Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

    + */ + eventVariables: { [key: string]: string } | undefined; + + /** + *

    The label to associate with the event. Required if specifying labelTimestamp.

    + */ + assignedLabel?: string; + + /** + *

    The timestamp associated with the label. Required if specifying assignedLabel.

    + */ + labelTimestamp?: string; + + /** + *

    An array of entities.

    + */ + entities: Entity[] | undefined; +} + +export namespace SendEventRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SendEventRequest): any => ({ + ...obj, + ...(obj.eventVariables && { eventVariables: SENSITIVE_STRING }), + ...(obj.entities && { entities: SENSITIVE_STRING }), + }); +} + +export interface SendEventResult {} + +export namespace SendEventResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SendEventResult): any => ({ + ...obj, + }); +} + export interface TagResourceRequest { /** *

    The resource ARN.

    @@ -3897,6 +4472,48 @@ export namespace UpdateDetectorVersionStatusResult { }); } +export interface UpdateEventLabelRequest { + /** + *

    The ID of the event associated with the label to update.

    + */ + eventId: string | undefined; + + /** + *

    The event type of the event associated with the label to update.

    + */ + eventTypeName: string | undefined; + + /** + *

    The new label to assign to the event.

    + */ + assignedLabel: string | undefined; + + /** + *

    The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.

    + */ + labelTimestamp: string | undefined; +} + +export namespace UpdateEventLabelRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateEventLabelRequest): any => ({ + ...obj, + }); +} + +export interface UpdateEventLabelResult {} + +export namespace UpdateEventLabelResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateEventLabelResult): any => ({ + ...obj, + }); +} + export interface UpdateModelRequest { /** *

    The model ID.

    @@ -3951,10 +4568,15 @@ export interface UpdateModelVersionRequest { majorVersionNumber: string | undefined; /** - *

    The event details.

    + *

    The details of the external events data used for training the model version. Required if trainingDataSource is EXTERNAL_EVENTS.

    */ externalEventsDetail?: ExternalEventsDetail; + /** + *

    The details of the ingested event used for training the model version. Required if your trainingDataSource is INGESTED_EVENTS.

    + */ + ingestedEventsDetail?: IngestedEventsDetail; + /** *

    A collection of key and value pairs.

    */ diff --git a/clients/client-frauddetector/src/pagination/GetBatchImportJobsPaginator.ts b/clients/client-frauddetector/src/pagination/GetBatchImportJobsPaginator.ts new file mode 100644 index 000000000000..127dc72ef6e8 --- /dev/null +++ b/clients/client-frauddetector/src/pagination/GetBatchImportJobsPaginator.ts @@ -0,0 +1,59 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + GetBatchImportJobsCommand, + GetBatchImportJobsCommandInput, + GetBatchImportJobsCommandOutput, +} from "../commands/GetBatchImportJobsCommand"; +import { FraudDetector } from "../FraudDetector"; +import { FraudDetectorClient } from "../FraudDetectorClient"; +import { FraudDetectorPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: FraudDetectorClient, + input: GetBatchImportJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new GetBatchImportJobsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: FraudDetector, + input: GetBatchImportJobsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.getBatchImportJobs(input, ...args); +}; +export async function* paginateGetBatchImportJobs( + config: FraudDetectorPaginationConfiguration, + input: GetBatchImportJobsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.nextToken + let token: typeof input.nextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: GetBatchImportJobsCommandOutput; + while (hasNext) { + input.nextToken = token; + input["maxResults"] = config.pageSize; + if (config.client instanceof FraudDetector) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof FraudDetectorClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient"); + } + yield page; + token = page.nextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-frauddetector/src/protocols/Aws_json1_1.ts b/clients/client-frauddetector/src/protocols/Aws_json1_1.ts index b2cdc9643604..c3f62af9a632 100644 --- a/clients/client-frauddetector/src/protocols/Aws_json1_1.ts +++ b/clients/client-frauddetector/src/protocols/Aws_json1_1.ts @@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, + expectLong as __expectLong, expectString as __expectString, limitedParseFloat32 as __limitedParseFloat32, } from "@aws-sdk/smithy-client"; @@ -19,10 +20,18 @@ import { BatchCreateVariableCommandOutput, } from "../commands/BatchCreateVariableCommand"; import { BatchGetVariableCommandInput, BatchGetVariableCommandOutput } from "../commands/BatchGetVariableCommand"; +import { + CancelBatchImportJobCommandInput, + CancelBatchImportJobCommandOutput, +} from "../commands/CancelBatchImportJobCommand"; import { CancelBatchPredictionJobCommandInput, CancelBatchPredictionJobCommandOutput, } from "../commands/CancelBatchPredictionJobCommand"; +import { + CreateBatchImportJobCommandInput, + CreateBatchImportJobCommandOutput, +} from "../commands/CreateBatchImportJobCommand"; import { CreateBatchPredictionJobCommandInput, CreateBatchPredictionJobCommandOutput, @@ -35,6 +44,10 @@ import { CreateModelCommandInput, CreateModelCommandOutput } from "../commands/C import { CreateModelVersionCommandInput, CreateModelVersionCommandOutput } from "../commands/CreateModelVersionCommand"; import { CreateRuleCommandInput, CreateRuleCommandOutput } from "../commands/CreateRuleCommand"; import { CreateVariableCommandInput, CreateVariableCommandOutput } from "../commands/CreateVariableCommand"; +import { + DeleteBatchImportJobCommandInput, + DeleteBatchImportJobCommandOutput, +} from "../commands/DeleteBatchImportJobCommand"; import { DeleteBatchPredictionJobCommandInput, DeleteBatchPredictionJobCommandOutput, @@ -46,6 +59,10 @@ import { } from "../commands/DeleteDetectorVersionCommand"; import { DeleteEntityTypeCommandInput, DeleteEntityTypeCommandOutput } from "../commands/DeleteEntityTypeCommand"; import { DeleteEventCommandInput, DeleteEventCommandOutput } from "../commands/DeleteEventCommand"; +import { + DeleteEventsByEventTypeCommandInput, + DeleteEventsByEventTypeCommandOutput, +} from "../commands/DeleteEventsByEventTypeCommand"; import { DeleteEventTypeCommandInput, DeleteEventTypeCommandOutput } from "../commands/DeleteEventTypeCommand"; import { DeleteExternalModelCommandInput, @@ -62,13 +79,19 @@ import { DescribeModelVersionsCommandInput, DescribeModelVersionsCommandOutput, } from "../commands/DescribeModelVersionsCommand"; +import { GetBatchImportJobsCommandInput, GetBatchImportJobsCommandOutput } from "../commands/GetBatchImportJobsCommand"; import { GetBatchPredictionJobsCommandInput, GetBatchPredictionJobsCommandOutput, } from "../commands/GetBatchPredictionJobsCommand"; +import { + GetDeleteEventsByEventTypeStatusCommandInput, + GetDeleteEventsByEventTypeStatusCommandOutput, +} from "../commands/GetDeleteEventsByEventTypeStatusCommand"; import { GetDetectorsCommandInput, GetDetectorsCommandOutput } from "../commands/GetDetectorsCommand"; import { GetDetectorVersionCommandInput, GetDetectorVersionCommandOutput } from "../commands/GetDetectorVersionCommand"; import { GetEntityTypesCommandInput, GetEntityTypesCommandOutput } from "../commands/GetEntityTypesCommand"; +import { GetEventCommandInput, GetEventCommandOutput } from "../commands/GetEventCommand"; import { GetEventPredictionCommandInput, GetEventPredictionCommandOutput } from "../commands/GetEventPredictionCommand"; import { GetEventTypesCommandInput, GetEventTypesCommandOutput } from "../commands/GetEventTypesCommand"; import { GetExternalModelsCommandInput, GetExternalModelsCommandOutput } from "../commands/GetExternalModelsCommand"; @@ -96,6 +119,7 @@ import { } from "../commands/PutKMSEncryptionKeyCommand"; import { PutLabelCommandInput, PutLabelCommandOutput } from "../commands/PutLabelCommand"; import { PutOutcomeCommandInput, PutOutcomeCommandOutput } from "../commands/PutOutcomeCommand"; +import { SendEventCommandInput, SendEventCommandOutput } from "../commands/SendEventCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { @@ -110,6 +134,7 @@ import { UpdateDetectorVersionStatusCommandInput, UpdateDetectorVersionStatusCommandOutput, } from "../commands/UpdateDetectorVersionStatusCommand"; +import { UpdateEventLabelCommandInput, UpdateEventLabelCommandOutput } from "../commands/UpdateEventLabelCommand"; import { UpdateModelCommandInput, UpdateModelCommandOutput } from "../commands/UpdateModelCommand"; import { UpdateModelVersionCommandInput, UpdateModelVersionCommandOutput } from "../commands/UpdateModelVersionCommand"; import { @@ -127,10 +152,15 @@ import { BatchGetVariableError, BatchGetVariableRequest, BatchGetVariableResult, + BatchImport, BatchPrediction, + CancelBatchImportJobRequest, + CancelBatchImportJobResult, CancelBatchPredictionJobRequest, CancelBatchPredictionJobResult, ConflictException, + CreateBatchImportJobRequest, + CreateBatchImportJobResult, CreateBatchPredictionJobRequest, CreateBatchPredictionJobResult, CreateDetectorVersionRequest, @@ -144,6 +174,8 @@ import { CreateVariableRequest, CreateVariableResult, DataValidationMetrics, + DeleteBatchImportJobRequest, + DeleteBatchImportJobResult, DeleteBatchPredictionJobRequest, DeleteBatchPredictionJobResult, DeleteDetectorRequest, @@ -154,6 +186,8 @@ import { DeleteEntityTypeResult, DeleteEventRequest, DeleteEventResult, + DeleteEventsByEventTypeRequest, + DeleteEventsByEventTypeResult, DeleteEventTypeRequest, DeleteEventTypeResult, DeleteExternalModelRequest, @@ -178,6 +212,7 @@ import { DetectorVersionSummary, Entity, EntityType, + Event, EventType, ExternalEventsDetail, ExternalModel, @@ -185,8 +220,12 @@ import { ExternalModelSummary, FieldValidationMessage, FileValidationMessage, + GetBatchImportJobsRequest, + GetBatchImportJobsResult, GetBatchPredictionJobsRequest, GetBatchPredictionJobsResult, + GetDeleteEventsByEventTypeStatusRequest, + GetDeleteEventsByEventTypeStatusResult, GetDetectorsRequest, GetDetectorsResult, GetDetectorVersionRequest, @@ -195,6 +234,8 @@ import { GetEntityTypesResult, GetEventPredictionRequest, GetEventPredictionResult, + GetEventRequest, + GetEventResult, GetEventTypesRequest, GetEventTypesResult, GetExternalModelsRequest, @@ -212,6 +253,9 @@ import { GetRulesResult, GetVariablesRequest, GetVariablesResult, + IngestedEventsDetail, + IngestedEventStatistics, + IngestedEventsTimeWindow, InternalServerException, KMSKey, Label, @@ -247,6 +291,8 @@ import { Rule, RuleDetail, RuleResult, + SendEventRequest, + SendEventResult, Tag, TagResourceRequest, TagResourceResult, @@ -262,6 +308,8 @@ import { UpdateDetectorVersionResult, UpdateDetectorVersionStatusRequest, UpdateDetectorVersionStatusResult, + UpdateEventLabelRequest, + UpdateEventLabelResult, UpdateModelRequest, UpdateModelResult, UpdateModelVersionRequest, @@ -306,6 +354,19 @@ export const serializeAws_json1_1BatchGetVariableCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1CancelBatchImportJobCommand = async ( + input: CancelBatchImportJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.CancelBatchImportJob", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CancelBatchImportJobRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1CancelBatchPredictionJobCommand = async ( input: CancelBatchPredictionJobCommandInput, context: __SerdeContext @@ -319,6 +380,19 @@ export const serializeAws_json1_1CancelBatchPredictionJobCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1CreateBatchImportJobCommand = async ( + input: CreateBatchImportJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.CreateBatchImportJob", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1CreateBatchImportJobRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1CreateBatchPredictionJobCommand = async ( input: CreateBatchPredictionJobCommandInput, context: __SerdeContext @@ -397,6 +471,19 @@ export const serializeAws_json1_1CreateVariableCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DeleteBatchImportJobCommand = async ( + input: DeleteBatchImportJobCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.DeleteBatchImportJob", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeleteBatchImportJobRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DeleteBatchPredictionJobCommand = async ( input: DeleteBatchPredictionJobCommandInput, context: __SerdeContext @@ -462,6 +549,19 @@ export const serializeAws_json1_1DeleteEventCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DeleteEventsByEventTypeCommand = async ( + input: DeleteEventsByEventTypeCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.DeleteEventsByEventType", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeleteEventsByEventTypeRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DeleteEventTypeCommand = async ( input: DeleteEventTypeCommandInput, context: __SerdeContext @@ -592,6 +692,19 @@ export const serializeAws_json1_1DescribeModelVersionsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1GetBatchImportJobsCommand = async ( + input: GetBatchImportJobsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.GetBatchImportJobs", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetBatchImportJobsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1GetBatchPredictionJobsCommand = async ( input: GetBatchPredictionJobsCommandInput, context: __SerdeContext @@ -605,6 +718,19 @@ export const serializeAws_json1_1GetBatchPredictionJobsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1GetDeleteEventsByEventTypeStatusCommand = async ( + input: GetDeleteEventsByEventTypeStatusCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.GetDeleteEventsByEventTypeStatus", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetDeleteEventsByEventTypeStatusRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1GetDetectorsCommand = async ( input: GetDetectorsCommandInput, context: __SerdeContext @@ -644,6 +770,19 @@ export const serializeAws_json1_1GetEntityTypesCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1GetEventCommand = async ( + input: GetEventCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.GetEvent", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetEventRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1GetEventPredictionCommand = async ( input: GetEventPredictionCommandInput, context: __SerdeContext @@ -877,6 +1016,19 @@ export const serializeAws_json1_1PutOutcomeCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1SendEventCommand = async ( + input: SendEventCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.SendEvent", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1SendEventRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1TagResourceCommand = async ( input: TagResourceCommandInput, context: __SerdeContext @@ -942,6 +1094,19 @@ export const serializeAws_json1_1UpdateDetectorVersionStatusCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateEventLabelCommand = async ( + input: UpdateEventLabelCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "AWSHawksNestServiceFacade.UpdateEventLabel", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateEventLabelRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateModelCommand = async ( input: UpdateModelCommandInput, context: __SerdeContext @@ -1176,27 +1341,27 @@ const deserializeAws_json1_1BatchGetVariableCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CancelBatchPredictionJobCommand = async ( +export const deserializeAws_json1_1CancelBatchImportJobCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CancelBatchPredictionJobCommandError(output, context); + return deserializeAws_json1_1CancelBatchImportJobCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CancelBatchPredictionJobResult(data, context); - const response: CancelBatchPredictionJobCommandOutput = { + contents = deserializeAws_json1_1CancelBatchImportJobResult(data, context); + const response: CancelBatchImportJobCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CancelBatchPredictionJobCommandError = async ( +const deserializeAws_json1_1CancelBatchImportJobCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1262,27 +1427,27 @@ const deserializeAws_json1_1CancelBatchPredictionJobCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateBatchPredictionJobCommand = async ( +export const deserializeAws_json1_1CancelBatchPredictionJobCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateBatchPredictionJobCommandError(output, context); + return deserializeAws_json1_1CancelBatchPredictionJobCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateBatchPredictionJobResult(data, context); - const response: CreateBatchPredictionJobCommandOutput = { + contents = deserializeAws_json1_1CancelBatchPredictionJobResult(data, context); + const response: CancelBatchPredictionJobCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateBatchPredictionJobCommandError = async ( +const deserializeAws_json1_1CancelBatchPredictionJobCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1348,27 +1513,27 @@ const deserializeAws_json1_1CreateBatchPredictionJobCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateDetectorVersionCommand = async ( +export const deserializeAws_json1_1CreateBatchImportJobCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateDetectorVersionCommandError(output, context); + return deserializeAws_json1_1CreateBatchImportJobCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateDetectorVersionResult(data, context); - const response: CreateDetectorVersionCommandOutput = { + contents = deserializeAws_json1_1CreateBatchImportJobResult(data, context); + const response: CreateBatchImportJobCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateDetectorVersionCommandError = async ( +const deserializeAws_json1_1CreateBatchImportJobCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1434,27 +1599,27 @@ const deserializeAws_json1_1CreateDetectorVersionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateModelCommand = async ( +export const deserializeAws_json1_1CreateBatchPredictionJobCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateModelCommandError(output, context); + return deserializeAws_json1_1CreateBatchPredictionJobCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateModelResult(data, context); - const response: CreateModelCommandOutput = { + contents = deserializeAws_json1_1CreateBatchPredictionJobResult(data, context); + const response: CreateBatchPredictionJobCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateModelCommandError = async ( +const deserializeAws_json1_1CreateBatchPredictionJobCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1479,6 +1644,14 @@ const deserializeAws_json1_1CreateModelCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -1512,27 +1685,27 @@ const deserializeAws_json1_1CreateModelCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateModelVersionCommand = async ( +export const deserializeAws_json1_1CreateDetectorVersionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateModelVersionCommandError(output, context); + return deserializeAws_json1_1CreateDetectorVersionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateModelVersionResult(data, context); - const response: CreateModelVersionCommandOutput = { + contents = deserializeAws_json1_1CreateDetectorVersionResult(data, context); + const response: CreateDetectorVersionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateModelVersionCommandError = async ( +const deserializeAws_json1_1CreateDetectorVersionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1598,27 +1771,27 @@ const deserializeAws_json1_1CreateModelVersionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateRuleCommand = async ( +export const deserializeAws_json1_1CreateModelCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateRuleCommandError(output, context); + return deserializeAws_json1_1CreateModelCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateRuleResult(data, context); - const response: CreateRuleCommandOutput = { + contents = deserializeAws_json1_1CreateModelResult(data, context); + const response: CreateModelCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateRuleCommandError = async ( +const deserializeAws_json1_1CreateModelCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1676,27 +1849,27 @@ const deserializeAws_json1_1CreateRuleCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1CreateVariableCommand = async ( +export const deserializeAws_json1_1CreateModelVersionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1CreateVariableCommandError(output, context); + return deserializeAws_json1_1CreateModelVersionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1CreateVariableResult(data, context); - const response: CreateVariableCommandOutput = { + contents = deserializeAws_json1_1CreateModelVersionResult(data, context); + const response: CreateModelVersionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1CreateVariableCommandError = async ( +const deserializeAws_json1_1CreateModelVersionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1721,6 +1894,14 @@ const deserializeAws_json1_1CreateVariableCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -1754,27 +1935,27 @@ const deserializeAws_json1_1CreateVariableCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteBatchPredictionJobCommand = async ( +export const deserializeAws_json1_1CreateRuleCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteBatchPredictionJobCommandError(output, context); + return deserializeAws_json1_1CreateRuleCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteBatchPredictionJobResult(data, context); - const response: DeleteBatchPredictionJobCommandOutput = { + contents = deserializeAws_json1_1CreateRuleResult(data, context); + const response: CreateRuleCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteBatchPredictionJobCommandError = async ( +const deserializeAws_json1_1CreateRuleCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1799,14 +1980,6 @@ const deserializeAws_json1_1DeleteBatchPredictionJobCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "ResourceNotFoundException": - case "com.amazonaws.frauddetector#ResourceNotFoundException": - response = { - ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -1840,27 +2013,27 @@ const deserializeAws_json1_1DeleteBatchPredictionJobCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDetectorCommand = async ( +export const deserializeAws_json1_1CreateVariableCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDetectorCommandError(output, context); + return deserializeAws_json1_1CreateVariableCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDetectorResult(data, context); - const response: DeleteDetectorCommandOutput = { + contents = deserializeAws_json1_1CreateVariableResult(data, context); + const response: CreateVariableCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDetectorCommandError = async ( +const deserializeAws_json1_1CreateVariableCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1877,14 +2050,6 @@ const deserializeAws_json1_1DeleteDetectorCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "ConflictException": - case "com.amazonaws.frauddetector#ConflictException": - response = { - ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InternalServerException": case "com.amazonaws.frauddetector#InternalServerException": response = { @@ -1926,27 +2091,27 @@ const deserializeAws_json1_1DeleteDetectorCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteDetectorVersionCommand = async ( +export const deserializeAws_json1_1DeleteBatchImportJobCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteDetectorVersionCommandError(output, context); + return deserializeAws_json1_1DeleteBatchImportJobCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteDetectorVersionResult(data, context); - const response: DeleteDetectorVersionCommandOutput = { + contents = deserializeAws_json1_1DeleteBatchImportJobResult(data, context); + const response: DeleteBatchImportJobCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteDetectorVersionCommandError = async ( +const deserializeAws_json1_1DeleteBatchImportJobCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -1963,14 +2128,6 @@ const deserializeAws_json1_1DeleteDetectorVersionCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "ConflictException": - case "com.amazonaws.frauddetector#ConflictException": - response = { - ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InternalServerException": case "com.amazonaws.frauddetector#InternalServerException": response = { @@ -1979,14 +2136,6 @@ const deserializeAws_json1_1DeleteDetectorVersionCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "ResourceNotFoundException": - case "com.amazonaws.frauddetector#ResourceNotFoundException": - response = { - ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -2020,27 +2169,27 @@ const deserializeAws_json1_1DeleteDetectorVersionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteEntityTypeCommand = async ( +export const deserializeAws_json1_1DeleteBatchPredictionJobCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteEntityTypeCommandError(output, context); + return deserializeAws_json1_1DeleteBatchPredictionJobCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteEntityTypeResult(data, context); - const response: DeleteEntityTypeCommandOutput = { + contents = deserializeAws_json1_1DeleteBatchPredictionJobResult(data, context); + const response: DeleteBatchPredictionJobCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteEntityTypeCommandError = async ( +const deserializeAws_json1_1DeleteBatchPredictionJobCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2057,14 +2206,6 @@ const deserializeAws_json1_1DeleteEntityTypeCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "ConflictException": - case "com.amazonaws.frauddetector#ConflictException": - response = { - ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "InternalServerException": case "com.amazonaws.frauddetector#InternalServerException": response = { @@ -2106,27 +2247,27 @@ const deserializeAws_json1_1DeleteEntityTypeCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteEventCommand = async ( +export const deserializeAws_json1_1DeleteDetectorCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteEventCommandError(output, context); + return deserializeAws_json1_1DeleteDetectorCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteEventResult(data, context); - const response: DeleteEventCommandOutput = { + contents = deserializeAws_json1_1DeleteDetectorResult(data, context); + const response: DeleteDetectorCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteEventCommandError = async ( +const deserializeAws_json1_1DeleteDetectorCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2143,6 +2284,14 @@ const deserializeAws_json1_1DeleteEventCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ConflictException": + case "com.amazonaws.frauddetector#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "InternalServerException": case "com.amazonaws.frauddetector#InternalServerException": response = { @@ -2184,27 +2333,27 @@ const deserializeAws_json1_1DeleteEventCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteEventTypeCommand = async ( +export const deserializeAws_json1_1DeleteDetectorVersionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteEventTypeCommandError(output, context); + return deserializeAws_json1_1DeleteDetectorVersionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteEventTypeResult(data, context); - const response: DeleteEventTypeCommandOutput = { + contents = deserializeAws_json1_1DeleteDetectorVersionResult(data, context); + const response: DeleteDetectorVersionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteEventTypeCommandError = async ( +const deserializeAws_json1_1DeleteDetectorVersionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2237,6 +2386,14 @@ const deserializeAws_json1_1DeleteEventTypeCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -2270,27 +2427,27 @@ const deserializeAws_json1_1DeleteEventTypeCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteExternalModelCommand = async ( +export const deserializeAws_json1_1DeleteEntityTypeCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteExternalModelCommandError(output, context); + return deserializeAws_json1_1DeleteEntityTypeCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteExternalModelResult(data, context); - const response: DeleteExternalModelCommandOutput = { + contents = deserializeAws_json1_1DeleteEntityTypeResult(data, context); + const response: DeleteEntityTypeCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteExternalModelCommandError = async ( +const deserializeAws_json1_1DeleteEntityTypeCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2356,27 +2513,27 @@ const deserializeAws_json1_1DeleteExternalModelCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteLabelCommand = async ( +export const deserializeAws_json1_1DeleteEventCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteLabelCommandError(output, context); + return deserializeAws_json1_1DeleteEventCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteLabelResult(data, context); - const response: DeleteLabelCommandOutput = { + contents = deserializeAws_json1_1DeleteEventResult(data, context); + const response: DeleteEventCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteLabelCommandError = async ( +const deserializeAws_json1_1DeleteEventCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2385,10 +2542,10 @@ const deserializeAws_json1_1DeleteLabelCommandError = async ( let errorCode = "UnknownError"; errorCode = loadRestJsonErrorCode(output, parsedOutput.body); switch (errorCode) { - case "ConflictException": - case "com.amazonaws.frauddetector#ConflictException": + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": response = { - ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), name: errorCode, $metadata: deserializeMetadata(output), }; @@ -2434,27 +2591,27 @@ const deserializeAws_json1_1DeleteLabelCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteModelCommand = async ( +export const deserializeAws_json1_1DeleteEventsByEventTypeCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteModelCommandError(output, context); + return deserializeAws_json1_1DeleteEventsByEventTypeCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteModelResult(data, context); - const response: DeleteModelCommandOutput = { + contents = deserializeAws_json1_1DeleteEventsByEventTypeResult(data, context); + const response: DeleteEventsByEventTypeCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteModelCommandError = async ( +const deserializeAws_json1_1DeleteEventsByEventTypeCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2487,6 +2644,14 @@ const deserializeAws_json1_1DeleteModelCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -2520,27 +2685,27 @@ const deserializeAws_json1_1DeleteModelCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteModelVersionCommand = async ( +export const deserializeAws_json1_1DeleteEventTypeCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteModelVersionCommandError(output, context); + return deserializeAws_json1_1DeleteEventTypeCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteModelVersionResult(data, context); - const response: DeleteModelVersionCommandOutput = { + contents = deserializeAws_json1_1DeleteEventTypeResult(data, context); + const response: DeleteEventTypeCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteModelVersionCommandError = async ( +const deserializeAws_json1_1DeleteEventTypeCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2606,27 +2771,27 @@ const deserializeAws_json1_1DeleteModelVersionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteOutcomeCommand = async ( +export const deserializeAws_json1_1DeleteExternalModelCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteOutcomeCommandError(output, context); + return deserializeAws_json1_1DeleteExternalModelCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteOutcomeResult(data, context); - const response: DeleteOutcomeCommandOutput = { + contents = deserializeAws_json1_1DeleteExternalModelResult(data, context); + const response: DeleteExternalModelCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteOutcomeCommandError = async ( +const deserializeAws_json1_1DeleteExternalModelCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2692,27 +2857,105 @@ const deserializeAws_json1_1DeleteOutcomeCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteRuleCommand = async ( +export const deserializeAws_json1_1DeleteLabelCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteRuleCommandError(output, context); + return deserializeAws_json1_1DeleteLabelCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteRuleResult(data, context); - const response: DeleteRuleCommandOutput = { + contents = deserializeAws_json1_1DeleteLabelResult(data, context); + const response: DeleteLabelCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteRuleCommandError = async ( +const deserializeAws_json1_1DeleteLabelCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ConflictException": + case "com.amazonaws.frauddetector#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1DeleteModelCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeleteModelCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeleteModelResult(data, context); + const response: DeleteModelCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeleteModelCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2778,27 +3021,27 @@ const deserializeAws_json1_1DeleteRuleCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DeleteVariableCommand = async ( +export const deserializeAws_json1_1DeleteModelVersionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DeleteVariableCommandError(output, context); + return deserializeAws_json1_1DeleteModelVersionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DeleteVariableResult(data, context); - const response: DeleteVariableCommandOutput = { + contents = deserializeAws_json1_1DeleteModelVersionResult(data, context); + const response: DeleteModelVersionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DeleteVariableCommandError = async ( +const deserializeAws_json1_1DeleteModelVersionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2823,10 +3066,526 @@ const deserializeAws_json1_1DeleteVariableCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "InternalServerException": - case "com.amazonaws.frauddetector#InternalServerException": + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1DeleteOutcomeCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeleteOutcomeCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeleteOutcomeResult(data, context); + const response: DeleteOutcomeCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeleteOutcomeCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.frauddetector#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1DeleteRuleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeleteRuleCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeleteRuleResult(data, context); + const response: DeleteRuleCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeleteRuleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.frauddetector#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1DeleteVariableCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeleteVariableCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeleteVariableResult(data, context); + const response: DeleteVariableCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeleteVariableCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.frauddetector#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1DescribeDetectorCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DescribeDetectorCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DescribeDetectorResult(data, context); + const response: DescribeDetectorCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DescribeDetectorCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1DescribeModelVersionsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DescribeModelVersionsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DescribeModelVersionsResult(data, context); + const response: DescribeModelVersionsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DescribeModelVersionsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1GetBatchImportJobsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetBatchImportJobsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetBatchImportJobsResult(data, context); + const response: GetBatchImportJobsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetBatchImportJobsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": response = { - ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), name: errorCode, $metadata: deserializeMetadata(output), }; @@ -2864,27 +3623,27 @@ const deserializeAws_json1_1DeleteVariableCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DescribeDetectorCommand = async ( +export const deserializeAws_json1_1GetBatchPredictionJobsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DescribeDetectorCommandError(output, context); + return deserializeAws_json1_1GetBatchPredictionJobsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DescribeDetectorResult(data, context); - const response: DescribeDetectorCommandOutput = { + contents = deserializeAws_json1_1GetBatchPredictionJobsResult(data, context); + const response: GetBatchPredictionJobsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DescribeDetectorCommandError = async ( +const deserializeAws_json1_1GetBatchPredictionJobsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -2950,27 +3709,27 @@ const deserializeAws_json1_1DescribeDetectorCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1DescribeModelVersionsCommand = async ( +export const deserializeAws_json1_1GetDeleteEventsByEventTypeStatusCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1DescribeModelVersionsCommandError(output, context); + return deserializeAws_json1_1GetDeleteEventsByEventTypeStatusCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1DescribeModelVersionsResult(data, context); - const response: DescribeModelVersionsCommandOutput = { + contents = deserializeAws_json1_1GetDeleteEventsByEventTypeStatusResult(data, context); + const response: GetDeleteEventsByEventTypeStatusCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1DescribeModelVersionsCommandError = async ( +const deserializeAws_json1_1GetDeleteEventsByEventTypeStatusCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3036,27 +3795,27 @@ const deserializeAws_json1_1DescribeModelVersionsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetBatchPredictionJobsCommand = async ( +export const deserializeAws_json1_1GetDetectorsCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetBatchPredictionJobsCommandError(output, context); + return deserializeAws_json1_1GetDetectorsCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetBatchPredictionJobsResult(data, context); - const response: GetBatchPredictionJobsCommandOutput = { + contents = deserializeAws_json1_1GetDetectorsResult(data, context); + const response: GetDetectorsCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetBatchPredictionJobsCommandError = async ( +const deserializeAws_json1_1GetDetectorsCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3122,27 +3881,27 @@ const deserializeAws_json1_1GetBatchPredictionJobsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDetectorsCommand = async ( +export const deserializeAws_json1_1GetDetectorVersionCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDetectorsCommandError(output, context); + return deserializeAws_json1_1GetDetectorVersionCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDetectorsResult(data, context); - const response: GetDetectorsCommandOutput = { + contents = deserializeAws_json1_1GetDetectorVersionResult(data, context); + const response: GetDetectorVersionCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDetectorsCommandError = async ( +const deserializeAws_json1_1GetDetectorVersionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3208,27 +3967,27 @@ const deserializeAws_json1_1GetDetectorsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetDetectorVersionCommand = async ( +export const deserializeAws_json1_1GetEntityTypesCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetDetectorVersionCommandError(output, context); + return deserializeAws_json1_1GetEntityTypesCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetDetectorVersionResult(data, context); - const response: GetDetectorVersionCommandOutput = { + contents = deserializeAws_json1_1GetEntityTypesResult(data, context); + const response: GetEntityTypesCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetDetectorVersionCommandError = async ( +const deserializeAws_json1_1GetEntityTypesCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -3294,27 +4053,27 @@ const deserializeAws_json1_1GetDetectorVersionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1GetEntityTypesCommand = async ( +export const deserializeAws_json1_1GetEventCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1GetEntityTypesCommandError(output, context); + return deserializeAws_json1_1GetEventCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1GetEntityTypesResult(data, context); - const response: GetEntityTypesCommandOutput = { + contents = deserializeAws_json1_1GetEventResult(data, context); + const response: GetEventCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1GetEntityTypesCommandError = async ( +const deserializeAws_json1_1GetEventCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -4936,6 +5695,100 @@ const deserializeAws_json1_1PutOutcomeCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1SendEventCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1SendEventCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1SendEventResult(data, context); + const response: SendEventCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1SendEventCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.frauddetector#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1TagResourceCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5112,7 +5965,101 @@ export const deserializeAws_json1_1UpdateDetectorVersionCommand = async ( const deserializeAws_json1_1UpdateDetectorVersionCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.frauddetector#AccessDeniedException": + response = { + ...(await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.frauddetector#ConflictException": + response = { + ...(await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerException": + case "com.amazonaws.frauddetector#InternalServerException": + response = { + ...(await deserializeAws_json1_1InternalServerExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ThrottlingException": + case "com.amazonaws.frauddetector#ThrottlingException": + response = { + ...(await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ValidationException": + case "com.amazonaws.frauddetector#ValidationException": + response = { + ...(await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1UpdateDetectorVersionMetadataCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1UpdateDetectorVersionMetadataCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1UpdateDetectorVersionMetadataResult(data, context); + const response: UpdateDetectorVersionMetadataCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1UpdateDetectorVersionMetadataCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5145,14 +6092,6 @@ const deserializeAws_json1_1UpdateDetectorVersionCommandError = async ( $metadata: deserializeMetadata(output), }; break; - case "ResourceNotFoundException": - case "com.amazonaws.frauddetector#ResourceNotFoundException": - response = { - ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), - name: errorCode, - $metadata: deserializeMetadata(output), - }; - break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -5186,27 +6125,27 @@ const deserializeAws_json1_1UpdateDetectorVersionCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1UpdateDetectorVersionMetadataCommand = async ( +export const deserializeAws_json1_1UpdateDetectorVersionStatusCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1UpdateDetectorVersionMetadataCommandError(output, context); + return deserializeAws_json1_1UpdateDetectorVersionStatusCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1UpdateDetectorVersionMetadataResult(data, context); - const response: UpdateDetectorVersionMetadataCommandOutput = { + contents = deserializeAws_json1_1UpdateDetectorVersionStatusResult(data, context); + const response: UpdateDetectorVersionStatusCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1UpdateDetectorVersionMetadataCommandError = async ( +const deserializeAws_json1_1UpdateDetectorVersionStatusCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -5239,6 +6178,14 @@ const deserializeAws_json1_1UpdateDetectorVersionMetadataCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "ResourceNotFoundException": + case "com.amazonaws.frauddetector#ResourceNotFoundException": + response = { + ...(await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; case "ThrottlingException": case "com.amazonaws.frauddetector#ThrottlingException": response = { @@ -5272,27 +6219,27 @@ const deserializeAws_json1_1UpdateDetectorVersionMetadataCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1UpdateDetectorVersionStatusCommand = async ( +export const deserializeAws_json1_1UpdateEventLabelCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { if (output.statusCode >= 300) { - return deserializeAws_json1_1UpdateDetectorVersionStatusCommandError(output, context); + return deserializeAws_json1_1UpdateEventLabelCommandError(output, context); } const data: any = await parseBody(output.body, context); let contents: any = {}; - contents = deserializeAws_json1_1UpdateDetectorVersionStatusResult(data, context); - const response: UpdateDetectorVersionStatusCommandOutput = { + contents = deserializeAws_json1_1UpdateEventLabelResult(data, context); + const response: UpdateEventLabelCommandOutput = { $metadata: deserializeMetadata(output), ...contents, }; return Promise.resolve(response); }; -const deserializeAws_json1_1UpdateDetectorVersionStatusCommandError = async ( +const deserializeAws_json1_1UpdateEventLabelCommandError = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { const parsedOutput: any = { ...output, body: await parseBody(output.body, context), @@ -6055,6 +7002,15 @@ const serializeAws_json1_1BatchGetVariableRequest = (input: BatchGetVariableRequ }; }; +const serializeAws_json1_1CancelBatchImportJobRequest = ( + input: CancelBatchImportJobRequest, + context: __SerdeContext +): any => { + return { + ...(input.jobId !== undefined && input.jobId !== null && { jobId: input.jobId }), + }; +}; + const serializeAws_json1_1CancelBatchPredictionJobRequest = ( input: CancelBatchPredictionJobRequest, context: __SerdeContext @@ -6064,6 +7020,20 @@ const serializeAws_json1_1CancelBatchPredictionJobRequest = ( }; }; +const serializeAws_json1_1CreateBatchImportJobRequest = ( + input: CreateBatchImportJobRequest, + context: __SerdeContext +): any => { + return { + ...(input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName }), + ...(input.iamRoleArn !== undefined && input.iamRoleArn !== null && { iamRoleArn: input.iamRoleArn }), + ...(input.inputPath !== undefined && input.inputPath !== null && { inputPath: input.inputPath }), + ...(input.jobId !== undefined && input.jobId !== null && { jobId: input.jobId }), + ...(input.outputPath !== undefined && input.outputPath !== null && { outputPath: input.outputPath }), + ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1tagList(input.tags, context) }), + }; +}; + const serializeAws_json1_1CreateBatchPredictionJobRequest = ( input: CreateBatchPredictionJobRequest, context: __SerdeContext @@ -6123,6 +7093,10 @@ const serializeAws_json1_1CreateModelVersionRequest = ( input.externalEventsDetail !== null && { externalEventsDetail: serializeAws_json1_1ExternalEventsDetail(input.externalEventsDetail, context), }), + ...(input.ingestedEventsDetail !== undefined && + input.ingestedEventsDetail !== null && { + ingestedEventsDetail: serializeAws_json1_1IngestedEventsDetail(input.ingestedEventsDetail, context), + }), ...(input.modelId !== undefined && input.modelId !== null && { modelId: input.modelId }), ...(input.modelType !== undefined && input.modelType !== null && { modelType: input.modelType }), ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_1tagList(input.tags, context) }), @@ -6172,6 +7146,15 @@ const serializeAws_json1_1CsvIndexToVariableMap = (input: { [key: string]: strin }, {}); }; +const serializeAws_json1_1DeleteBatchImportJobRequest = ( + input: DeleteBatchImportJobRequest, + context: __SerdeContext +): any => { + return { + ...(input.jobId !== undefined && input.jobId !== null && { jobId: input.jobId }), + }; +}; + const serializeAws_json1_1DeleteBatchPredictionJobRequest = ( input: DeleteBatchPredictionJobRequest, context: __SerdeContext @@ -6206,11 +7189,22 @@ const serializeAws_json1_1DeleteEntityTypeRequest = (input: DeleteEntityTypeRequ const serializeAws_json1_1DeleteEventRequest = (input: DeleteEventRequest, context: __SerdeContext): any => { return { + ...(input.deleteAuditHistory !== undefined && + input.deleteAuditHistory !== null && { deleteAuditHistory: input.deleteAuditHistory }), ...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }), ...(input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName }), }; }; +const serializeAws_json1_1DeleteEventsByEventTypeRequest = ( + input: DeleteEventsByEventTypeRequest, + context: __SerdeContext +): any => { + return { + ...(input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName }), + }; +}; + const serializeAws_json1_1DeleteEventTypeRequest = (input: DeleteEventTypeRequest, context: __SerdeContext): any => { return { ...(input.name !== undefined && input.name !== null && { name: input.name }), @@ -6333,6 +7327,17 @@ const serializeAws_json1_1ExternalModelEndpointDataBlobMap = ( }, {}); }; +const serializeAws_json1_1GetBatchImportJobsRequest = ( + input: GetBatchImportJobsRequest, + context: __SerdeContext +): any => { + return { + ...(input.jobId !== undefined && input.jobId !== null && { jobId: input.jobId }), + ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), + ...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }), + }; +}; + const serializeAws_json1_1GetBatchPredictionJobsRequest = ( input: GetBatchPredictionJobsRequest, context: __SerdeContext @@ -6344,6 +7349,15 @@ const serializeAws_json1_1GetBatchPredictionJobsRequest = ( }; }; +const serializeAws_json1_1GetDeleteEventsByEventTypeStatusRequest = ( + input: GetDeleteEventsByEventTypeStatusRequest, + context: __SerdeContext +): any => { + return { + ...(input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName }), + }; +}; + const serializeAws_json1_1GetDetectorsRequest = (input: GetDetectorsRequest, context: __SerdeContext): any => { return { ...(input.detectorId !== undefined && input.detectorId !== null && { detectorId: input.detectorId }), @@ -6399,6 +7413,13 @@ const serializeAws_json1_1GetEventPredictionRequest = ( }; }; +const serializeAws_json1_1GetEventRequest = (input: GetEventRequest, context: __SerdeContext): any => { + return { + ...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }), + ...(input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName }), + }; +}; + const serializeAws_json1_1GetEventTypesRequest = (input: GetEventTypesRequest, context: __SerdeContext): any => { return { ...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }), @@ -6470,6 +7491,25 @@ const serializeAws_json1_1GetVariablesRequest = (input: GetVariablesRequest, con }; }; +const serializeAws_json1_1IngestedEventsDetail = (input: IngestedEventsDetail, context: __SerdeContext): any => { + return { + ...(input.ingestedEventsTimeWindow !== undefined && + input.ingestedEventsTimeWindow !== null && { + ingestedEventsTimeWindow: serializeAws_json1_1IngestedEventsTimeWindow(input.ingestedEventsTimeWindow, context), + }), + }; +}; + +const serializeAws_json1_1IngestedEventsTimeWindow = ( + input: IngestedEventsTimeWindow, + context: __SerdeContext +): any => { + return { + ...(input.endTime !== undefined && input.endTime !== null && { endTime: input.endTime }), + ...(input.startTime !== undefined && input.startTime !== null && { startTime: input.startTime }), + }; +}; + const serializeAws_json1_1JsonKeyToVariableMap = (input: { [key: string]: string }, context: __SerdeContext): any => { return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => { if (value === null) { @@ -6498,6 +7538,8 @@ const serializeAws_json1_1LabelSchema = (input: LabelSchema, context: __SerdeCon return { ...(input.labelMapper !== undefined && input.labelMapper !== null && { labelMapper: serializeAws_json1_1labelMapper(input.labelMapper, context) }), + ...(input.unlabeledEventsTreatment !== undefined && + input.unlabeledEventsTreatment !== null && { unlabeledEventsTreatment: input.unlabeledEventsTreatment }), }; }; @@ -6639,6 +7681,8 @@ const serializeAws_json1_1PutEventTypeRequest = (input: PutEventTypeRequest, con input.entityTypes !== null && { entityTypes: serializeAws_json1_1NonEmptyListOfStrings(input.entityTypes, context), }), + ...(input.eventIngestion !== undefined && + input.eventIngestion !== null && { eventIngestion: input.eventIngestion }), ...(input.eventVariables !== undefined && input.eventVariables !== null && { eventVariables: serializeAws_json1_1NonEmptyListOfStrings(input.eventVariables, context), @@ -6715,6 +7759,24 @@ const serializeAws_json1_1RuleList = (input: Rule[], context: __SerdeContext): a }); }; +const serializeAws_json1_1SendEventRequest = (input: SendEventRequest, context: __SerdeContext): any => { + return { + ...(input.assignedLabel !== undefined && input.assignedLabel !== null && { assignedLabel: input.assignedLabel }), + ...(input.entities !== undefined && + input.entities !== null && { entities: serializeAws_json1_1listOfEntities(input.entities, context) }), + ...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }), + ...(input.eventTimestamp !== undefined && + input.eventTimestamp !== null && { eventTimestamp: input.eventTimestamp }), + ...(input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName }), + ...(input.eventVariables !== undefined && + input.eventVariables !== null && { + eventVariables: serializeAws_json1_1EventVariableMap(input.eventVariables, context), + }), + ...(input.labelTimestamp !== undefined && + input.labelTimestamp !== null && { labelTimestamp: input.labelTimestamp }), + }; +}; + const serializeAws_json1_1Tag = (input: Tag, context: __SerdeContext): any => { return { ...(input.key !== undefined && input.key !== null && { key: input.key }), @@ -6818,6 +7880,16 @@ const serializeAws_json1_1UpdateDetectorVersionStatusRequest = ( }; }; +const serializeAws_json1_1UpdateEventLabelRequest = (input: UpdateEventLabelRequest, context: __SerdeContext): any => { + return { + ...(input.assignedLabel !== undefined && input.assignedLabel !== null && { assignedLabel: input.assignedLabel }), + ...(input.eventId !== undefined && input.eventId !== null && { eventId: input.eventId }), + ...(input.eventTypeName !== undefined && input.eventTypeName !== null && { eventTypeName: input.eventTypeName }), + ...(input.labelTimestamp !== undefined && + input.labelTimestamp !== null && { labelTimestamp: input.labelTimestamp }), + }; +}; + const serializeAws_json1_1UpdateModelRequest = (input: UpdateModelRequest, context: __SerdeContext): any => { return { ...(input.description !== undefined && input.description !== null && { description: input.description }), @@ -6835,6 +7907,10 @@ const serializeAws_json1_1UpdateModelVersionRequest = ( input.externalEventsDetail !== null && { externalEventsDetail: serializeAws_json1_1ExternalEventsDetail(input.externalEventsDetail, context), }), + ...(input.ingestedEventsDetail !== undefined && + input.ingestedEventsDetail !== null && { + ingestedEventsDetail: serializeAws_json1_1IngestedEventsDetail(input.ingestedEventsDetail, context), + }), ...(input.majorVersionNumber !== undefined && input.majorVersionNumber !== null && { majorVersionNumber: input.majorVersionNumber }), ...(input.modelId !== undefined && input.modelId !== null && { modelId: input.modelId }), @@ -6990,6 +8066,35 @@ const deserializeAws_json1_1BatchGetVariableResult = (output: any, context: __Se } as any; }; +const deserializeAws_json1_1BatchImport = (output: any, context: __SerdeContext): BatchImport => { + return { + arn: __expectString(output.arn), + completionTime: __expectString(output.completionTime), + eventTypeName: __expectString(output.eventTypeName), + failedRecordsCount: __expectInt32(output.failedRecordsCount), + failureReason: __expectString(output.failureReason), + iamRoleArn: __expectString(output.iamRoleArn), + inputPath: __expectString(output.inputPath), + jobId: __expectString(output.jobId), + outputPath: __expectString(output.outputPath), + processedRecordsCount: __expectInt32(output.processedRecordsCount), + startTime: __expectString(output.startTime), + status: __expectString(output.status), + totalRecordsCount: __expectInt32(output.totalRecordsCount), + } as any; +}; + +const deserializeAws_json1_1BatchImportList = (output: any, context: __SerdeContext): BatchImport[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1BatchImport(entry, context); + }); +}; + const deserializeAws_json1_1BatchPrediction = (output: any, context: __SerdeContext): BatchPrediction => { return { arn: __expectString(output.arn), @@ -7021,6 +8126,13 @@ const deserializeAws_json1_1BatchPredictionList = (output: any, context: __Serde }); }; +const deserializeAws_json1_1CancelBatchImportJobResult = ( + output: any, + context: __SerdeContext +): CancelBatchImportJobResult => { + return {} as any; +}; + const deserializeAws_json1_1CancelBatchPredictionJobResult = ( output: any, context: __SerdeContext @@ -7034,6 +8146,13 @@ const deserializeAws_json1_1ConflictException = (output: any, context: __SerdeCo } as any; }; +const deserializeAws_json1_1CreateBatchImportJobResult = ( + output: any, + context: __SerdeContext +): CreateBatchImportJobResult => { + return {} as any; +}; + const deserializeAws_json1_1CreateBatchPredictionJobResult = ( output: any, context: __SerdeContext @@ -7107,6 +8226,13 @@ const deserializeAws_json1_1DataValidationMetrics = (output: any, context: __Ser } as any; }; +const deserializeAws_json1_1DeleteBatchImportJobResult = ( + output: any, + context: __SerdeContext +): DeleteBatchImportJobResult => { + return {} as any; +}; + const deserializeAws_json1_1DeleteBatchPredictionJobResult = ( output: any, context: __SerdeContext @@ -7133,6 +8259,16 @@ const deserializeAws_json1_1DeleteEventResult = (output: any, context: __SerdeCo return {} as any; }; +const deserializeAws_json1_1DeleteEventsByEventTypeResult = ( + output: any, + context: __SerdeContext +): DeleteEventsByEventTypeResult => { + return { + eventTypeName: __expectString(output.eventTypeName), + eventsDeletionStatus: __expectString(output.eventsDeletionStatus), + } as any; +}; + const deserializeAws_json1_1DeleteEventTypeResult = (output: any, context: __SerdeContext): DeleteEventTypeResult => { return {} as any; }; @@ -7241,6 +8377,13 @@ const deserializeAws_json1_1DetectorVersionSummaryList = ( }); }; +const deserializeAws_json1_1Entity = (output: any, context: __SerdeContext): Entity => { + return { + entityId: __expectString(output.entityId), + entityType: __expectString(output.entityType), + } as any; +}; + const deserializeAws_json1_1EntityType = (output: any, context: __SerdeContext): EntityType => { return { arn: __expectString(output.arn), @@ -7262,6 +8405,36 @@ const deserializeAws_json1_1entityTypeList = (output: any, context: __SerdeConte }); }; +const deserializeAws_json1_1Event = (output: any, context: __SerdeContext): Event => { + return { + currentLabel: __expectString(output.currentLabel), + entities: + output.entities !== undefined && output.entities !== null + ? deserializeAws_json1_1listOfEntities(output.entities, context) + : undefined, + eventId: __expectString(output.eventId), + eventTimestamp: __expectString(output.eventTimestamp), + eventTypeName: __expectString(output.eventTypeName), + eventVariables: + output.eventVariables !== undefined && output.eventVariables !== null + ? deserializeAws_json1_1EventAttributeMap(output.eventVariables, context) + : undefined, + labelTimestamp: __expectString(output.labelTimestamp), + } as any; +}; + +const deserializeAws_json1_1EventAttributeMap = (output: any, context: __SerdeContext): { [key: string]: string } => { + return Object.entries(output).reduce((acc: { [key: string]: string }, [key, value]: [string, any]) => { + if (value === null) { + return acc; + } + return { + ...acc, + [key]: __expectString(value) as any, + }; + }, {}); +}; + const deserializeAws_json1_1EventType = (output: any, context: __SerdeContext): EventType => { return { arn: __expectString(output.arn), @@ -7271,10 +8444,15 @@ const deserializeAws_json1_1EventType = (output: any, context: __SerdeContext): output.entityTypes !== undefined && output.entityTypes !== null ? deserializeAws_json1_1NonEmptyListOfStrings(output.entityTypes, context) : undefined, + eventIngestion: __expectString(output.eventIngestion), eventVariables: output.eventVariables !== undefined && output.eventVariables !== null ? deserializeAws_json1_1ListOfStrings(output.eventVariables, context) : undefined, + ingestedEventStatistics: + output.ingestedEventStatistics !== undefined && output.ingestedEventStatistics !== null + ? deserializeAws_json1_1IngestedEventStatistics(output.ingestedEventStatistics, context) + : undefined, labels: output.labels !== undefined && output.labels !== null ? deserializeAws_json1_1ListOfStrings(output.labels, context) @@ -7414,6 +8592,19 @@ const deserializeAws_json1_1fileValidationMessageList = ( }); }; +const deserializeAws_json1_1GetBatchImportJobsResult = ( + output: any, + context: __SerdeContext +): GetBatchImportJobsResult => { + return { + batchImports: + output.batchImports !== undefined && output.batchImports !== null + ? deserializeAws_json1_1BatchImportList(output.batchImports, context) + : undefined, + nextToken: __expectString(output.nextToken), + } as any; +}; + const deserializeAws_json1_1GetBatchPredictionJobsResult = ( output: any, context: __SerdeContext @@ -7427,6 +8618,16 @@ const deserializeAws_json1_1GetBatchPredictionJobsResult = ( } as any; }; +const deserializeAws_json1_1GetDeleteEventsByEventTypeStatusResult = ( + output: any, + context: __SerdeContext +): GetDeleteEventsByEventTypeStatusResult => { + return { + eventTypeName: __expectString(output.eventTypeName), + eventsDeletionStatus: __expectString(output.eventsDeletionStatus), + } as any; +}; + const deserializeAws_json1_1GetDetectorsResult = (output: any, context: __SerdeContext): GetDetectorsResult => { return { detectors: @@ -7495,6 +8696,15 @@ const deserializeAws_json1_1GetEventPredictionResult = ( } as any; }; +const deserializeAws_json1_1GetEventResult = (output: any, context: __SerdeContext): GetEventResult => { + return { + event: + output.event !== undefined && output.event !== null + ? deserializeAws_json1_1Event(output.event, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1GetEventTypesResult = (output: any, context: __SerdeContext): GetEventTypesResult => { return { eventTypes: @@ -7557,6 +8767,10 @@ const deserializeAws_json1_1GetModelVersionResult = (output: any, context: __Ser output.externalEventsDetail !== undefined && output.externalEventsDetail !== null ? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context) : undefined, + ingestedEventsDetail: + output.ingestedEventsDetail !== undefined && output.ingestedEventsDetail !== null + ? deserializeAws_json1_1IngestedEventsDetail(output.ingestedEventsDetail, context) + : undefined, modelId: __expectString(output.modelId), modelType: __expectString(output.modelType), modelVersionNumber: __expectString(output.modelVersionNumber), @@ -7599,6 +8813,38 @@ const deserializeAws_json1_1GetVariablesResult = (output: any, context: __SerdeC } as any; }; +const deserializeAws_json1_1IngestedEventsDetail = (output: any, context: __SerdeContext): IngestedEventsDetail => { + return { + ingestedEventsTimeWindow: + output.ingestedEventsTimeWindow !== undefined && output.ingestedEventsTimeWindow !== null + ? deserializeAws_json1_1IngestedEventsTimeWindow(output.ingestedEventsTimeWindow, context) + : undefined, + } as any; +}; + +const deserializeAws_json1_1IngestedEventStatistics = ( + output: any, + context: __SerdeContext +): IngestedEventStatistics => { + return { + eventDataSizeInBytes: __expectLong(output.eventDataSizeInBytes), + lastUpdatedTime: __expectString(output.lastUpdatedTime), + leastRecentEvent: __expectString(output.leastRecentEvent), + mostRecentEvent: __expectString(output.mostRecentEvent), + numberOfEvents: __expectLong(output.numberOfEvents), + } as any; +}; + +const deserializeAws_json1_1IngestedEventsTimeWindow = ( + output: any, + context: __SerdeContext +): IngestedEventsTimeWindow => { + return { + endTime: __expectString(output.endTime), + startTime: __expectString(output.startTime), + } as any; +}; + const deserializeAws_json1_1InternalServerException = ( output: any, context: __SerdeContext @@ -7668,9 +8914,21 @@ const deserializeAws_json1_1LabelSchema = (output: any, context: __SerdeContext) output.labelMapper !== undefined && output.labelMapper !== null ? deserializeAws_json1_1labelMapper(output.labelMapper, context) : undefined, + unlabeledEventsTreatment: __expectString(output.unlabeledEventsTreatment), } as any; }; +const deserializeAws_json1_1listOfEntities = (output: any, context: __SerdeContext): Entity[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1Entity(entry, context); + }); +}; + const deserializeAws_json1_1ListOfExternalModelOutputs = ( output: any, context: __SerdeContext @@ -7876,6 +9134,10 @@ const deserializeAws_json1_1ModelVersionDetail = (output: any, context: __SerdeC output.externalEventsDetail !== undefined && output.externalEventsDetail !== null ? deserializeAws_json1_1ExternalEventsDetail(output.externalEventsDetail, context) : undefined, + ingestedEventsDetail: + output.ingestedEventsDetail !== undefined && output.ingestedEventsDetail !== null + ? deserializeAws_json1_1IngestedEventsDetail(output.ingestedEventsDetail, context) + : undefined, lastUpdatedTime: __expectString(output.lastUpdatedTime), modelId: __expectString(output.modelId), modelType: __expectString(output.modelType), @@ -8043,6 +9305,10 @@ const deserializeAws_json1_1RuleResult = (output: any, context: __SerdeContext): } as any; }; +const deserializeAws_json1_1SendEventResult = (output: any, context: __SerdeContext): SendEventResult => { + return {} as any; +}; + const deserializeAws_json1_1Tag = (output: any, context: __SerdeContext): Tag => { return { key: __expectString(output.key), @@ -8136,6 +9402,10 @@ const deserializeAws_json1_1UpdateDetectorVersionStatusResult = ( return {} as any; }; +const deserializeAws_json1_1UpdateEventLabelResult = (output: any, context: __SerdeContext): UpdateEventLabelResult => { + return {} as any; +}; + const deserializeAws_json1_1UpdateModelResult = (output: any, context: __SerdeContext): UpdateModelResult => { return {} as any; }; diff --git a/clients/client-fsx/src/endpoints.ts b/clients/client-fsx/src/endpoints.ts index f21c4317442b..43d3722e5d31 100644 --- a/clients/client-fsx/src/endpoints.ts +++ b/clients/client-fsx/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "fsx.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "fsx.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-gamelift/src/endpoints.ts b/clients/client-gamelift/src/endpoints.ts index d0b8cb0518d9..4aa0b2fb0b4d 100644 --- a/clients/client-gamelift/src/endpoints.ts +++ b/clients/client-gamelift/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "gamelift.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "gamelift.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-glacier/src/endpoints.ts b/clients/client-glacier/src/endpoints.ts index fdf49597238a..57587c274a7a 100644 --- a/clients/client-glacier/src/endpoints.ts +++ b/clients/client-glacier/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "glacier.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "glacier.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-global-accelerator/src/endpoints.ts b/clients/client-global-accelerator/src/endpoints.ts index 12e8b1a908e1..8f6b19cb25a6 100644 --- a/clients/client-global-accelerator/src/endpoints.ts +++ b/clients/client-global-accelerator/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "globalaccelerator.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "globalaccelerator.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-glue/src/endpoints.ts b/clients/client-glue/src/endpoints.ts index 76d52a0fc78f..0e8cb0c03bc2 100644 --- a/clients/client-glue/src/endpoints.ts +++ b/clients/client-glue/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "glue.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "glue.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-glue/src/models/models_0.ts b/clients/client-glue/src/models/models_0.ts index 53035b5f1c33..e0577a87ec94 100644 --- a/clients/client-glue/src/models/models_0.ts +++ b/clients/client-glue/src/models/models_0.ts @@ -1183,6 +1183,7 @@ export namespace LineageConfiguration { } export enum RecrawlBehavior { + CRAWL_EVENT_MODE = "CRAWL_EVENT_MODE", CRAWL_EVERYTHING = "CRAWL_EVERYTHING", CRAWL_NEW_FOLDERS_ONLY = "CRAWL_NEW_FOLDERS_ONLY", } @@ -1197,6 +1198,8 @@ export interface RecrawlPolicy { *

    A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

    * *

    A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

    + * + *

    A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

    */ RecrawlBehavior?: RecrawlBehavior | string; } @@ -1425,6 +1428,16 @@ export interface S3Target { *

    Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.

    */ SampleSize?: number; + + /** + *

    A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.

    + */ + EventQueueArn?: string; + + /** + *

    A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.

    + */ + DlqEventQueueArn?: string; } export namespace S3Target { diff --git a/clients/client-glue/src/protocols/Aws_json1_1.ts b/clients/client-glue/src/protocols/Aws_json1_1.ts index 58722f676284..e49f961c02a2 100644 --- a/clients/client-glue/src/protocols/Aws_json1_1.ts +++ b/clients/client-glue/src/protocols/Aws_json1_1.ts @@ -19596,6 +19596,9 @@ const serializeAws_json1_1S3Target = (input: S3Target, context: __SerdeContext): return { ...(input.ConnectionName !== undefined && input.ConnectionName !== null && { ConnectionName: input.ConnectionName }), + ...(input.DlqEventQueueArn !== undefined && + input.DlqEventQueueArn !== null && { DlqEventQueueArn: input.DlqEventQueueArn }), + ...(input.EventQueueArn !== undefined && input.EventQueueArn !== null && { EventQueueArn: input.EventQueueArn }), ...(input.Exclusions !== undefined && input.Exclusions !== null && { Exclusions: serializeAws_json1_1PathList(input.Exclusions, context) }), ...(input.Path !== undefined && input.Path !== null && { Path: input.Path }), @@ -24278,6 +24281,8 @@ const deserializeAws_json1_1S3EncryptionList = (output: any, context: __SerdeCon const deserializeAws_json1_1S3Target = (output: any, context: __SerdeContext): S3Target => { return { ConnectionName: __expectString(output.ConnectionName), + DlqEventQueueArn: __expectString(output.DlqEventQueueArn), + EventQueueArn: __expectString(output.EventQueueArn), Exclusions: output.Exclusions !== undefined && output.Exclusions !== null ? deserializeAws_json1_1PathList(output.Exclusions, context) diff --git a/clients/client-grafana/src/endpoints.ts b/clients/client-grafana/src/endpoints.ts index 9066ffc86e87..e6aee5c2d09f 100644 --- a/clients/client-grafana/src/endpoints.ts +++ b/clients/client-grafana/src/endpoints.ts @@ -76,7 +76,7 @@ const partitionHash: PartitionHash = { hostname: "grafana.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "grafana.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-greengrass/src/endpoints.ts b/clients/client-greengrass/src/endpoints.ts index dcf53a5cb562..fd1998805ad6 100644 --- a/clients/client-greengrass/src/endpoints.ts +++ b/clients/client-greengrass/src/endpoints.ts @@ -56,7 +56,7 @@ const partitionHash: PartitionHash = { hostname: "greengrass.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "greengrass.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-greengrassv2/src/endpoints.ts b/clients/client-greengrassv2/src/endpoints.ts index dcf53a5cb562..fd1998805ad6 100644 --- a/clients/client-greengrassv2/src/endpoints.ts +++ b/clients/client-greengrassv2/src/endpoints.ts @@ -56,7 +56,7 @@ const partitionHash: PartitionHash = { hostname: "greengrass.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "greengrass.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-groundstation/src/endpoints.ts b/clients/client-groundstation/src/endpoints.ts index 44577add0639..01970b1567a0 100644 --- a/clients/client-groundstation/src/endpoints.ts +++ b/clients/client-groundstation/src/endpoints.ts @@ -51,7 +51,7 @@ const partitionHash: PartitionHash = { hostname: "groundstation.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "groundstation.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-guardduty/src/endpoints.ts b/clients/client-guardduty/src/endpoints.ts index 780646a33a41..2715c5e940a8 100644 --- a/clients/client-guardduty/src/endpoints.ts +++ b/clients/client-guardduty/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "guardduty.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "guardduty.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-health/src/endpoints.ts b/clients/client-health/src/endpoints.ts index 7ffc2b27f096..d74491b023aa 100644 --- a/clients/client-health/src/endpoints.ts +++ b/clients/client-health/src/endpoints.ts @@ -45,7 +45,7 @@ const partitionHash: PartitionHash = { hostname: "health.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "health.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-healthlake/src/endpoints.ts b/clients/client-healthlake/src/endpoints.ts index 6825c284eeb4..06664663cefa 100644 --- a/clients/client-healthlake/src/endpoints.ts +++ b/clients/client-healthlake/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "healthlake.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "healthlake.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-honeycode/src/endpoints.ts b/clients/client-honeycode/src/endpoints.ts index a4d179258a11..527e7a0f3ab2 100644 --- a/clients/client-honeycode/src/endpoints.ts +++ b/clients/client-honeycode/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "honeycode.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "honeycode.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iam/src/endpoints.ts b/clients/client-iam/src/endpoints.ts index c6abdab63084..f4ce1344d0c0 100644 --- a/clients/client-iam/src/endpoints.ts +++ b/clients/client-iam/src/endpoints.ts @@ -66,7 +66,7 @@ const partitionHash: PartitionHash = { endpoint: "aws-cn-global", }, "aws-iso": { - regions: ["aws-iso-global", "us-iso-east-1"], + regions: ["aws-iso-global", "us-iso-east-1", "us-iso-west-1"], endpoint: "aws-iso-global", }, "aws-iso-b": { diff --git a/clients/client-identitystore/src/endpoints.ts b/clients/client-identitystore/src/endpoints.ts index adafeccc8695..20b56bbee549 100644 --- a/clients/client-identitystore/src/endpoints.ts +++ b/clients/client-identitystore/src/endpoints.ts @@ -40,7 +40,7 @@ const partitionHash: PartitionHash = { hostname: "identitystore.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "identitystore.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-imagebuilder/src/endpoints.ts b/clients/client-imagebuilder/src/endpoints.ts index b1efce1d39d0..72101fb44133 100644 --- a/clients/client-imagebuilder/src/endpoints.ts +++ b/clients/client-imagebuilder/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "imagebuilder.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "imagebuilder.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-inspector/src/endpoints.ts b/clients/client-inspector/src/endpoints.ts index 15adf64b55bc..aaef1f4b2732 100644 --- a/clients/client-inspector/src/endpoints.ts +++ b/clients/client-inspector/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "inspector.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "inspector.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot-1click-devices-service/src/endpoints.ts b/clients/client-iot-1click-devices-service/src/endpoints.ts index 0e44447c146e..70b782de103c 100644 --- a/clients/client-iot-1click-devices-service/src/endpoints.ts +++ b/clients/client-iot-1click-devices-service/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "devices.iot1click.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "devices.iot1click.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot-1click-projects/src/endpoints.ts b/clients/client-iot-1click-projects/src/endpoints.ts index 9b4c82c5cf10..d38138d88206 100644 --- a/clients/client-iot-1click-projects/src/endpoints.ts +++ b/clients/client-iot-1click-projects/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "projects.iot1click.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "projects.iot1click.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot-data-plane/src/endpoints.ts b/clients/client-iot-data-plane/src/endpoints.ts index d340ee62552f..2715174df615 100644 --- a/clients/client-iot-data-plane/src/endpoints.ts +++ b/clients/client-iot-data-plane/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "data.iot.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "data.iot.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot-events-data/src/endpoints.ts b/clients/client-iot-events-data/src/endpoints.ts index 572e4f59c92d..1c890626a8bc 100644 --- a/clients/client-iot-events-data/src/endpoints.ts +++ b/clients/client-iot-events-data/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "data.iotevents.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "data.iotevents.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot-events/src/endpoints.ts b/clients/client-iot-events/src/endpoints.ts index cd00a1f8c378..66f37b15177f 100644 --- a/clients/client-iot-events/src/endpoints.ts +++ b/clients/client-iot-events/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "iotevents.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "iotevents.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot-jobs-data-plane/src/endpoints.ts b/clients/client-iot-jobs-data-plane/src/endpoints.ts index d921c6bb723c..1f1b943da4cb 100644 --- a/clients/client-iot-jobs-data-plane/src/endpoints.ts +++ b/clients/client-iot-jobs-data-plane/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "data.jobs.iot.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "data.jobs.iot.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot-wireless/src/endpoints.ts b/clients/client-iot-wireless/src/endpoints.ts index 59a545cc9951..02a427f2e2ad 100644 --- a/clients/client-iot-wireless/src/endpoints.ts +++ b/clients/client-iot-wireless/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "api.iotwireless.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.iotwireless.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iot/src/endpoints.ts b/clients/client-iot/src/endpoints.ts index 5a37dd541b9d..e0928be9d4b4 100644 --- a/clients/client-iot/src/endpoints.ts +++ b/clients/client-iot/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "iot.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "iot.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iotanalytics/src/endpoints.ts b/clients/client-iotanalytics/src/endpoints.ts index d94db84b7d63..e856c259308b 100644 --- a/clients/client-iotanalytics/src/endpoints.ts +++ b/clients/client-iotanalytics/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "iotanalytics.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "iotanalytics.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iotdeviceadvisor/src/endpoints.ts b/clients/client-iotdeviceadvisor/src/endpoints.ts index 6542c4e4042c..3622d3aa8fae 100644 --- a/clients/client-iotdeviceadvisor/src/endpoints.ts +++ b/clients/client-iotdeviceadvisor/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "api.iotdeviceadvisor.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.iotdeviceadvisor.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iotfleethub/src/endpoints.ts b/clients/client-iotfleethub/src/endpoints.ts index ae8ab5b96ba3..3112f78082a4 100644 --- a/clients/client-iotfleethub/src/endpoints.ts +++ b/clients/client-iotfleethub/src/endpoints.ts @@ -56,7 +56,7 @@ const partitionHash: PartitionHash = { hostname: "api.fleethub.iot.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.fleethub.iot.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iotsecuretunneling/src/endpoints.ts b/clients/client-iotsecuretunneling/src/endpoints.ts index eabc213b3356..c4150c3eadfb 100644 --- a/clients/client-iotsecuretunneling/src/endpoints.ts +++ b/clients/client-iotsecuretunneling/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "api.tunneling.iot.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.tunneling.iot.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iotsitewise/src/endpoints.ts b/clients/client-iotsitewise/src/endpoints.ts index 36aa237fa641..38900597071b 100644 --- a/clients/client-iotsitewise/src/endpoints.ts +++ b/clients/client-iotsitewise/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "iotsitewise.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "iotsitewise.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-iotthingsgraph/src/endpoints.ts b/clients/client-iotthingsgraph/src/endpoints.ts index 06019a7f3aca..372f4826ba00 100644 --- a/clients/client-iotthingsgraph/src/endpoints.ts +++ b/clients/client-iotthingsgraph/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "iotthingsgraph.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "iotthingsgraph.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ivs/src/endpoints.ts b/clients/client-ivs/src/endpoints.ts index f0814c468e84..2bf8677752d6 100644 --- a/clients/client-ivs/src/endpoints.ts +++ b/clients/client-ivs/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "ivs.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ivs.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kafka/src/endpoints.ts b/clients/client-kafka/src/endpoints.ts index ac2b0775ef04..a4a71ca6a1f3 100644 --- a/clients/client-kafka/src/endpoints.ts +++ b/clients/client-kafka/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kafka.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kafka.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kafkaconnect/src/endpoints.ts b/clients/client-kafkaconnect/src/endpoints.ts index 08be7dcdf8a1..462da76d1966 100644 --- a/clients/client-kafkaconnect/src/endpoints.ts +++ b/clients/client-kafkaconnect/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kafkaconnect.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kafkaconnect.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kendra/src/endpoints.ts b/clients/client-kendra/src/endpoints.ts index 2897ee2a4c52..cb294a256a65 100644 --- a/clients/client-kendra/src/endpoints.ts +++ b/clients/client-kendra/src/endpoints.ts @@ -51,7 +51,7 @@ const partitionHash: PartitionHash = { hostname: "kendra.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kendra.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2.ts b/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2.ts index 93e46a972546..e987cb8856b5 100644 --- a/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2.ts +++ b/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2.ts @@ -237,7 +237,7 @@ export class KinesisAnalyticsV2 extends KinesisAnalyticsV2Client { /** *

    Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application. An input processor pre-processes records * on the input stream before the - * application's SQL code executes. Currently, the only input processor available is AWS Lambda.

    + * application's SQL code executes. Currently, the only input processor available is Amazon Lambda.

    */ public addApplicationInputProcessingConfiguration( args: AddApplicationInputProcessingConfigurationCommandInput, @@ -274,7 +274,7 @@ export class KinesisAnalyticsV2 extends KinesisAnalyticsV2Client { *

    Adds an external destination to your SQL-based Kinesis Data Analytics application.

    *

    If you want Kinesis Data Analytics to deliver data from an in-application stream within * your application to an external destination (such as an Kinesis data stream, a Kinesis Data - * Firehose delivery stream, or an AWS Lambda function), you add the relevant configuration to + * Firehose delivery stream, or an Amazon Lambda function), you add the relevant configuration to * your application using this operation. You can configure one or more outputs for your * application. Each output configuration maps an in-application stream and an external * destination.

    diff --git a/clients/client-kinesis-analytics-v2/src/commands/AddApplicationInputProcessingConfigurationCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/AddApplicationInputProcessingConfigurationCommand.ts index efa1185f2af2..8e7c4be9ccfd 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/AddApplicationInputProcessingConfigurationCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/AddApplicationInputProcessingConfigurationCommand.ts @@ -34,7 +34,7 @@ export interface AddApplicationInputProcessingConfigurationCommandOutput /** *

    Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application. An input processor pre-processes records * on the input stream before the - * application's SQL code executes. Currently, the only input processor available is AWS Lambda.

    + * application's SQL code executes. Currently, the only input processor available is Amazon Lambda.

    * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-kinesis-analytics-v2/src/commands/AddApplicationOutputCommand.ts b/clients/client-kinesis-analytics-v2/src/commands/AddApplicationOutputCommand.ts index 490e0d6ead48..190a7fb4abe2 100644 --- a/clients/client-kinesis-analytics-v2/src/commands/AddApplicationOutputCommand.ts +++ b/clients/client-kinesis-analytics-v2/src/commands/AddApplicationOutputCommand.ts @@ -29,7 +29,7 @@ export interface AddApplicationOutputCommandOutput extends AddApplicationOutputR *

    Adds an external destination to your SQL-based Kinesis Data Analytics application.

    *

    If you want Kinesis Data Analytics to deliver data from an in-application stream within * your application to an external destination (such as an Kinesis data stream, a Kinesis Data - * Firehose delivery stream, or an AWS Lambda function), you add the relevant configuration to + * Firehose delivery stream, or an Amazon Lambda function), you add the relevant configuration to * your application using this operation. You can configure one or more outputs for your * application. Each output configuration maps an in-application stream and an external * destination.

    diff --git a/clients/client-kinesis-analytics-v2/src/endpoints.ts b/clients/client-kinesis-analytics-v2/src/endpoints.ts index bddb85e77ade..d69c5b7ea681 100644 --- a/clients/client-kinesis-analytics-v2/src/endpoints.ts +++ b/clients/client-kinesis-analytics-v2/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kinesisanalytics.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kinesisanalytics.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kinesis-analytics-v2/src/models/models_0.ts b/clients/client-kinesis-analytics-v2/src/models/models_0.ts index 6cb9513580bd..45c2c133095f 100644 --- a/clients/client-kinesis-analytics-v2/src/models/models_0.ts +++ b/clients/client-kinesis-analytics-v2/src/models/models_0.ts @@ -252,14 +252,14 @@ export namespace InputParallelism { } /** - *

    An object that contains the Amazon Resource Name (ARN) of the AWS Lambda function that is + *

    An object that contains the Amazon Resource Name (ARN) of the Amazon Lambda function that is * used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application.

    */ export interface InputLambdaProcessor { /** - *

    The ARN of the AWS Lambda function that operates on records in the stream.

    + *

    The ARN of the Amazon Lambda function that operates on records in the stream.

    * - *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda + *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda *

    *
    */ @@ -278,7 +278,7 @@ export namespace InputLambdaProcessor { /** *

    For a SQL-based Kinesis Data Analytics application, describes a processor that is * used to preprocess the records in the stream before being processed by your application code. - * Currently, the only input processor available is AWS Lambda.

    + * Currently, the only input processor available is Amazon Lambda.

    */ export interface InputProcessingConfiguration { /** @@ -604,22 +604,22 @@ export namespace AddApplicationInputRequest { /** *

    For a SQL-based Kinesis Data Analytics application, an object that contains the - * Amazon Resource Name (ARN) of the AWS Lambda function that is used to preprocess records in + * Amazon Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records in * the stream.

    */ export interface InputLambdaProcessorDescription { /** - *

    The ARN of the AWS Lambda function that is used to preprocess the records in the + *

    The ARN of the Amazon Lambda function that is used to preprocess the records in the * stream.

    * - *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda + *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda *

    *
    */ ResourceARN: string | undefined; /** - *

    The ARN of the IAM role that is used to access the AWS Lambda function.

    + *

    The ARN of the IAM role that is used to access the Amazon Lambda function.

    * *

    Provided for backward compatibility. Applications that are created with the current API * version have an application-level service execution role rather than a resource-level @@ -640,7 +640,7 @@ export namespace InputLambdaProcessorDescription { /** *

    For a SQL-based Kinesis Data Analytics application, provides the configuration - * information about an input processor. Currently, the only input processor available is AWS Lambda.

    + * information about an input processor. Currently, the only input processor available is Amazon Lambda.

    */ export interface InputProcessingConfigurationDescription { /** @@ -1007,14 +1007,14 @@ export namespace KinesisStreamsOutput { /** *

    When you configure a SQL-based Kinesis Data Analytics application's output, - * identifies an AWS Lambda function as the destination. You provide the function Amazon Resource + * identifies an Amazon Lambda function as the destination. You provide the function Amazon Resource * Name (ARN) of the Lambda function.

    */ export interface LambdaOutput { /** *

    The Amazon Resource Name (ARN) of the destination Lambda function to write to.

    * - *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda + *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda *

    *
    */ @@ -1056,7 +1056,7 @@ export interface Output { KinesisFirehoseOutput?: KinesisFirehoseOutput; /** - *

    Identifies an AWS Lambda function as the destination.

    + *

    Identifies an Amazon Lambda function as the destination.

    */ LambdaOutput?: LambdaOutput; @@ -1093,7 +1093,7 @@ export interface AddApplicationOutputRequest { /** *

    An array of objects, each describing one output configuration. In the output * configuration, you specify the name of an in-application stream, a destination (that is, a - * Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), and + * Kinesis data stream, a Kinesis Data Firehose delivery stream, or an Amazon Lambda function), and * record the formation to use when writing to the destination.

    */ Output: Output | undefined; @@ -1171,7 +1171,7 @@ export namespace KinesisStreamsOutputDescription { } /** - *

    For a SQL-based Kinesis Data Analytics application's output, describes the AWS + *

    For a SQL-based Kinesis Data Analytics application's output, describes the Amazon * Lambda function that is configured as its destination.

    */ export interface LambdaOutputDescription { @@ -2195,11 +2195,11 @@ export namespace GlueDataCatalogConfiguration { } /** - *

    The configuration parameters for the default AWS Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

    + *

    The configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

    */ export interface CatalogConfiguration { /** - *

    The configuration parameters for the default AWS Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

    + *

    The configuration parameters for the default Amazon Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

    */ GlueDataCatalogConfiguration: GlueDataCatalogConfiguration | undefined; } @@ -2305,7 +2305,7 @@ export namespace S3ContentBaseLocation { } /** - *

    The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state..

    + *

    The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.

    */ export interface DeployAsApplicationConfiguration { /** @@ -2353,12 +2353,12 @@ export interface ZeppelinApplicationConfiguration { MonitoringConfiguration?: ZeppelinMonitoringConfiguration; /** - *

    The AWS Glue Data Catalog that you use in queries in a Kinesis Data Analytics Studio notebook.

    + *

    The Amazon Glue Data Catalog that you use in queries in a Kinesis Data Analytics Studio notebook.

    */ CatalogConfiguration?: CatalogConfiguration; /** - *

    The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state..

    + *

    The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.

    */ DeployAsApplicationConfiguration?: DeployAsApplicationConfiguration; @@ -2787,11 +2787,11 @@ export namespace GlueDataCatalogConfigurationDescription { } /** - *

    The configuration parameters for the default AWS Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

    + *

    The configuration parameters for the default Amazon Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

    */ export interface CatalogConfigurationDescription { /** - *

    The configuration parameters for the default AWS Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

    + *

    The configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

    */ GlueDataCatalogConfigurationDescription: GlueDataCatalogConfigurationDescription | undefined; } @@ -2910,12 +2910,12 @@ export interface ZeppelinApplicationConfigurationDescription { MonitoringConfigurationDescription: ZeppelinMonitoringConfigurationDescription | undefined; /** - *

    The AWS Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

    + *

    The Amazon Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

    */ CatalogConfigurationDescription?: CatalogConfigurationDescription; /** - *

    The parameters required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state..

    + *

    The parameters required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.

    */ DeployAsApplicationConfigurationDescription?: DeployAsApplicationConfigurationDescription; @@ -3228,10 +3228,10 @@ export namespace InputParallelismUpdate { */ export interface InputLambdaProcessorUpdate { /** - *

    The Amazon Resource Name (ARN) of the new AWS Lambda function that is used to preprocess + *

    The Amazon Resource Name (ARN) of the new Amazon Lambda function that is used to preprocess * the records in the stream.

    * - *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda + *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda *

    *
    */ @@ -3439,13 +3439,13 @@ export namespace KinesisStreamsOutputUpdate { /** *

    When you update an SQL-based Kinesis Data Analytics application's output * configuration using the UpdateApplication operation, provides information - * about an AWS Lambda function that is configured as the destination.

    + * about an Amazon Lambda function that is configured as the destination.

    */ export interface LambdaOutputUpdate { /** - *

    The Amazon Resource Name (ARN) of the destination AWS Lambda function.

    + *

    The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

    * - *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda + *

    To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda *

    *
    */ @@ -3490,7 +3490,7 @@ export interface OutputUpdate { KinesisFirehoseOutputUpdate?: KinesisFirehoseOutputUpdate; /** - *

    Describes an AWS Lambda function as the destination for the output.

    + *

    Describes an Amazon Lambda function as the destination for the output.

    */ LambdaOutputUpdate?: LambdaOutputUpdate; @@ -3647,7 +3647,7 @@ export interface GlueDataCatalogConfigurationUpdate { /** *

    The updated Amazon Resource Name (ARN) of the database.

    */ - DatabaseARNUpdate?: string; + DatabaseARNUpdate: string | undefined; } export namespace GlueDataCatalogConfigurationUpdate { @@ -3660,11 +3660,11 @@ export namespace GlueDataCatalogConfigurationUpdate { } /** - *

    Updates to

    + *

    Updates to the configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

    */ export interface CatalogConfigurationUpdate { /** - *

    Updates to the configuration parameters for the default AWS Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

    + *

    Updates to the configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

    */ GlueDataCatalogConfigurationUpdate: GlueDataCatalogConfigurationUpdate | undefined; } @@ -3685,7 +3685,7 @@ export interface S3ContentBaseLocationUpdate { /** *

    The updated Amazon Resource Name (ARN) of the S3 bucket.

    */ - BucketARNUpdate: string | undefined; + BucketARNUpdate?: string; /** *

    The updated S3 bucket path.

    @@ -3703,13 +3703,13 @@ export namespace S3ContentBaseLocationUpdate { } /** - *

    Updates to the configuration information required to deploy an Amazon Data Analytics Studio notebook as an application with durable state..

    + *

    Updates to the configuration information required to deploy an Amazon Data Analytics Studio notebook as an application with durable state.

    */ export interface DeployAsApplicationConfigurationUpdate { /** *

    Updates to the location that holds the data required to specify an Amazon Data Analytics application.

    */ - S3ContentLocationUpdate: S3ContentBaseLocationUpdate | undefined; + S3ContentLocationUpdate?: S3ContentBaseLocationUpdate; } export namespace DeployAsApplicationConfigurationUpdate { @@ -3750,12 +3750,12 @@ export interface ZeppelinApplicationConfigurationUpdate { MonitoringConfigurationUpdate?: ZeppelinMonitoringConfigurationUpdate; /** - *

    Updates to the configuration of the AWS Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

    + *

    Updates to the configuration of the Amazon Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

    */ CatalogConfigurationUpdate?: CatalogConfigurationUpdate; /** - *

    Updates to the configuration information required to deploy an Amazon Data Analytics Studio notebook as an application with durable state..

    + *

    Updates to the configuration information required to deploy an Amazon Data Analytics Studio notebook as an application with durable state.

    */ DeployAsApplicationConfigurationUpdate?: DeployAsApplicationConfigurationUpdate; @@ -3870,10 +3870,12 @@ export enum ApplicationStatus { export enum RuntimeEnvironment { FLINK_1_11 = "FLINK-1_11", + FLINK_1_13 = "FLINK-1_13", FLINK_1_6 = "FLINK-1_6", FLINK_1_8 = "FLINK-1_8", SQL_1_0 = "SQL-1_0", ZEPPELIN_FLINK_1_0 = "ZEPPELIN-FLINK-1_0", + ZEPPELIN_FLINK_2_0 = "ZEPPELIN-FLINK-2_0", } /** @@ -4092,7 +4094,7 @@ export namespace CloudWatchLoggingOptionUpdate { } /** - *

    A key-value pair (the value is optional) that you can define and assign to AWS resources. + *

    A key-value pair (the value is optional) that you can define and assign to Amazon resources. * If you specify a tag that already exists, the tag value is replaced with the value that you * specify in the request. Note that * the maximum number of application tags includes system tags. The maximum number of user-defined @@ -4234,6 +4236,25 @@ export namespace TooManyTagsException { }); } +/** + *

    The request was rejected because a specified parameter is not supported or a specified resource is not valid for this + * operation.

    + */ +export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer { + name: "UnsupportedOperationException"; + $fault: "client"; + Message?: string; +} + +export namespace UnsupportedOperationException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UnsupportedOperationException): any => ({ + ...obj, + }); +} + export enum UrlType { FLINK_DASHBOARD_URL = "FLINK_DASHBOARD_URL", ZEPPELIN_UI_URL = "ZEPPELIN_UI_URL", @@ -4314,25 +4335,6 @@ export namespace CreateApplicationSnapshotResponse { }); } -/** - *

    The request was rejected because a specified parameter is not supported or a specified resource is not valid for this - * operation.

    - */ -export interface UnsupportedOperationException extends __SmithyException, $MetadataBearer { - name: "UnsupportedOperationException"; - $fault: "client"; - Message?: string; -} - -export namespace UnsupportedOperationException { - /** - * @internal - */ - export const filterSensitiveLog = (obj: UnsupportedOperationException): any => ({ - ...obj, - }); -} - export interface DeleteApplicationRequest { /** *

    The name of the application to delete.

    @@ -5020,7 +5022,7 @@ export interface ListApplicationsRequest { *

    If a previous command returned a pagination token, * pass it into this value to retrieve the next set of results. * For more information about pagination, see - * Using the AWS Command Line Interface's Pagination Options.

    + * Using the Amazon Command Line Interface's Pagination Options.

    */ NextToken?: string; } @@ -5044,7 +5046,7 @@ export interface ListApplicationsResponse { *

    The pagination token for the next set of results, or null if there are no additional results. * Pass this token into a subsequent command to retrieve the next set of items * For more information about pagination, see - * Using the AWS Command Line Interface's Pagination Options.

    + * Using the Amazon Command Line Interface's Pagination Options.

    */ NextToken?: string; } @@ -5120,7 +5122,7 @@ export interface ListApplicationVersionsRequest { /** *

    If a previous invocation of this operation returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see - * Using the AWS Command Line Interface's Pagination Options.

    + * Using the Amazon Command Line Interface's Pagination Options.

    */ NextToken?: string; } @@ -5144,7 +5146,7 @@ export interface ListApplicationVersionsResponse { /** *

    The pagination token for the next set of results, or null if there are no additional results. * To retrieve the next set of items, pass this token into a subsequent invocation of this operation. For more information about pagination, see - * Using the AWS Command Line Interface's Pagination Options.

    + * Using the Amazon Command Line Interface's Pagination Options.

    */ NextToken?: string; } diff --git a/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts b/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts index f108c415510e..66eee46c2db4 100644 --- a/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts +++ b/clients/client-kinesis-analytics-v2/src/protocols/Aws_json1_1.ts @@ -1334,6 +1334,14 @@ const deserializeAws_json1_1CreateApplicationCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "UnsupportedOperationException": + case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException": + response = { + ...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.code || parsedBody.Code || errorCode; @@ -2420,6 +2428,14 @@ const deserializeAws_json1_1DiscoverInputSchemaCommandError = async ( $metadata: deserializeMetadata(output), }; break; + case "UnsupportedOperationException": + case "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException": + response = { + ...(await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; default: const parsedBody = parsedOutput.body; errorCode = parsedBody.code || parsedBody.Code || errorCode; diff --git a/clients/client-kinesis-analytics/src/endpoints.ts b/clients/client-kinesis-analytics/src/endpoints.ts index bddb85e77ade..d69c5b7ea681 100644 --- a/clients/client-kinesis-analytics/src/endpoints.ts +++ b/clients/client-kinesis-analytics/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kinesisanalytics.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kinesisanalytics.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kinesis-video-archived-media/src/endpoints.ts b/clients/client-kinesis-video-archived-media/src/endpoints.ts index d5f4ed98fe9d..84437b816b19 100644 --- a/clients/client-kinesis-video-archived-media/src/endpoints.ts +++ b/clients/client-kinesis-video-archived-media/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kinesisvideo.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kinesis-video-media/src/endpoints.ts b/clients/client-kinesis-video-media/src/endpoints.ts index d5f4ed98fe9d..84437b816b19 100644 --- a/clients/client-kinesis-video-media/src/endpoints.ts +++ b/clients/client-kinesis-video-media/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kinesisvideo.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kinesis-video-signaling/src/endpoints.ts b/clients/client-kinesis-video-signaling/src/endpoints.ts index d5f4ed98fe9d..84437b816b19 100644 --- a/clients/client-kinesis-video-signaling/src/endpoints.ts +++ b/clients/client-kinesis-video-signaling/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kinesisvideo.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kinesis-video/src/endpoints.ts b/clients/client-kinesis-video/src/endpoints.ts index d5f4ed98fe9d..84437b816b19 100644 --- a/clients/client-kinesis-video/src/endpoints.ts +++ b/clients/client-kinesis-video/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "kinesisvideo.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kinesisvideo.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kinesis/src/endpoints.ts b/clients/client-kinesis/src/endpoints.ts index 3dfd834cabbc..e20909611ad7 100644 --- a/clients/client-kinesis/src/endpoints.ts +++ b/clients/client-kinesis/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "kinesis.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "kinesis.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-kms/src/endpoints.ts b/clients/client-kms/src/endpoints.ts index 97213c32d6b3..d579f493c9e3 100644 --- a/clients/client-kms/src/endpoints.ts +++ b/clients/client-kms/src/endpoints.ts @@ -40,7 +40,7 @@ const partitionHash: PartitionHash = { hostname: "kms.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["ProdFips", "us-iso-east-1"], + regions: ["ProdFips", "us-iso-east-1", "us-iso-west-1"], hostname: "kms.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lakeformation/src/endpoints.ts b/clients/client-lakeformation/src/endpoints.ts index e7921c17c279..f247df287e30 100644 --- a/clients/client-lakeformation/src/endpoints.ts +++ b/clients/client-lakeformation/src/endpoints.ts @@ -60,7 +60,7 @@ const partitionHash: PartitionHash = { hostname: "lakeformation.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "lakeformation.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lambda/src/endpoints.ts b/clients/client-lambda/src/endpoints.ts index 2f46a2781ae6..4819278ee67c 100644 --- a/clients/client-lambda/src/endpoints.ts +++ b/clients/client-lambda/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "lambda.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "lambda.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lex-model-building-service/src/endpoints.ts b/clients/client-lex-model-building-service/src/endpoints.ts index cb02bd385a93..ff11d4b7ac06 100644 --- a/clients/client-lex-model-building-service/src/endpoints.ts +++ b/clients/client-lex-model-building-service/src/endpoints.ts @@ -50,7 +50,7 @@ const partitionHash: PartitionHash = { hostname: "models.lex.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "models.lex.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lex-models-v2/src/endpoints.ts b/clients/client-lex-models-v2/src/endpoints.ts index 90415fdf6388..3e83ecf3935f 100644 --- a/clients/client-lex-models-v2/src/endpoints.ts +++ b/clients/client-lex-models-v2/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "models-v2-lex.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "models-v2-lex.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lex-models-v2/src/models/models_0.ts b/clients/client-lex-models-v2/src/models/models_0.ts index 64ee98a7ec53..db81e667b7a3 100644 --- a/clients/client-lex-models-v2/src/models/models_0.ts +++ b/clients/client-lex-models-v2/src/models/models_0.ts @@ -250,7 +250,7 @@ export namespace BotAliasHistoryEvent { /** *

    Specifies a Lambda function that verifies requests to a bot or - * fulfilles the user's request to a bot.

    + * fulfills the user's request to a bot.

    */ export interface LambdaCodeHook { /** @@ -281,7 +281,7 @@ export namespace LambdaCodeHook { export interface CodeHookSpecification { /** *

    Specifies a Lambda function that verifies requests to a bot or - * fulfilles the user's request to a bot.

    + * fulfills the user's request to a bot.

    */ lambdaCodeHook: LambdaCodeHook | undefined; } @@ -1763,7 +1763,7 @@ export interface CreateBotLocaleRequest { * threshold of 0.80 and the AMAZON.FallbackIntent. Amazon Lex * returns three alternative intents with the following confidence scores: * IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the - * PostText operation would be:

    + * RecognizeText operation would be:

    *
      *
    • *

      AMAZON.FallbackIntent

      @@ -2090,47 +2090,6 @@ export namespace DialogCodeHookSettings { }); } -/** - *

      Determines if a Lambda function should be invoked for a specific - * intent.

      - */ -export interface FulfillmentCodeHookSettings { - /** - *

      Indicates whether a Lambda function should be invoked to fulfill a - * specific intent.

      - */ - enabled: boolean | undefined; -} - -export namespace FulfillmentCodeHookSettings { - /** - * @internal - */ - export const filterSensitiveLog = (obj: FulfillmentCodeHookSettings): any => ({ - ...obj, - }); -} - -/** - *

      The name of a context that must be active for an intent to be - * selected by Amazon Lex.

      - */ -export interface InputContext { - /** - *

      The name of the context.

      - */ - name: string | undefined; -} - -export namespace InputContext { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InputContext): any => ({ - ...obj, - }); -} - /** *

      A custom response string that Amazon Lex sends to your application. You * define the content and structure the string.

      @@ -2296,6 +2255,117 @@ export namespace MessageGroup { }); } +/** + *

      Provides settings for a message that is sent to the user when a + * fulfillment Lambda function starts running.

      + */ +export interface FulfillmentStartResponseSpecification { + /** + *

      The delay between when the Lambda fulfillment function starts running + * and the start message is played. If the Lambda function returns before + * the delay is over, the start message isn't played.

      + */ + delayInSeconds: number | undefined; + + /** + *

      One to 5 message groups that contain start messages. Amazon Lex chooses + * one of the messages to play to the user.

      + */ + messageGroups: MessageGroup[] | undefined; + + /** + *

      Determines whether the user can interrupt the start message while it + * is playing.

      + */ + allowInterrupt?: boolean; +} + +export namespace FulfillmentStartResponseSpecification { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FulfillmentStartResponseSpecification): any => ({ + ...obj, + }); +} + +/** + *

      Provides settings for a message that is sent periodically to the + * user while a fulfillment Lambda function is running.

      + */ +export interface FulfillmentUpdateResponseSpecification { + /** + *

      The frequency that a message is sent to the user. When the period + * ends, Amazon Lex chooses a message from the message groups and plays it to + * the user. If the fulfillment Lambda returns before the first period + * ends, an update message is not played to the user.

      + */ + frequencyInSeconds: number | undefined; + + /** + *

      One to 5 message groups that contain update messages. Amazon Lex chooses + * one of the messages to play to the user.

      + */ + messageGroups: MessageGroup[] | undefined; + + /** + *

      Determines whether the user can interrupt an update message while it + * is playing.

      + */ + allowInterrupt?: boolean; +} + +export namespace FulfillmentUpdateResponseSpecification { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FulfillmentUpdateResponseSpecification): any => ({ + ...obj, + }); +} + +/** + *

      Provides information for updating the user on the progress of + * fulfilling an intent.

      + */ +export interface FulfillmentUpdatesSpecification { + /** + *

      Determines whether fulfillment updates are sent to the user. When + * this field is true, updates are sent.

      + *

      If the active field is set to true, the + * startResponse, updateResponse, and + * timeoutInSeconds fields are required.

      + */ + active: boolean | undefined; + + /** + *

      Provides configuration information for the message sent to users + * when the fulfillment Lambda functions starts running.

      + */ + startResponse?: FulfillmentStartResponseSpecification; + + /** + *

      Provides configuration information for messages sent periodically to + * the user while the fulfillment Lambda function is running.

      + */ + updateResponse?: FulfillmentUpdateResponseSpecification; + + /** + *

      The length of time that the fulfillment Lambda function should run + * before it times out.

      + */ + timeoutInSeconds?: number; +} + +export namespace FulfillmentUpdatesSpecification { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FulfillmentUpdatesSpecification): any => ({ + ...obj, + }); +} + /** *

      Specifies a list of message groups that Amazon Lex uses to respond the * user input.

      @@ -2323,6 +2393,95 @@ export namespace ResponseSpecification { }); } +/** + *

      Provides a setting that determines whether the post-fulfillment + * response is sent to the user. For more information, see https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete + *

      + */ +export interface PostFulfillmentStatusSpecification { + /** + *

      Specifies a list of message groups that Amazon Lex uses to respond the + * user input.

      + */ + successResponse?: ResponseSpecification; + + /** + *

      Specifies a list of message groups that Amazon Lex uses to respond the + * user input.

      + */ + failureResponse?: ResponseSpecification; + + /** + *

      Specifies a list of message groups that Amazon Lex uses to respond the + * user input.

      + */ + timeoutResponse?: ResponseSpecification; +} + +export namespace PostFulfillmentStatusSpecification { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PostFulfillmentStatusSpecification): any => ({ + ...obj, + }); +} + +/** + *

      Determines if a Lambda function should be invoked for a specific + * intent.

      + */ +export interface FulfillmentCodeHookSettings { + /** + *

      Indicates whether a Lambda function should be invoked to fulfill a + * specific intent.

      + */ + enabled: boolean | undefined; + + /** + *

      Provides settings for messages sent to the user for after the Lambda + * fulfillment function completes. Post-fulfillment messages can be sent + * for both streaming and non-streaming conversations.

      + */ + postFulfillmentStatusSpecification?: PostFulfillmentStatusSpecification; + + /** + *

      Provides settings for update messages sent to the user for + * long-running Lambda fulfillment functions. Fulfillment updates can be + * used only with streaming conversations.

      + */ + fulfillmentUpdatesSpecification?: FulfillmentUpdatesSpecification; +} + +export namespace FulfillmentCodeHookSettings { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FulfillmentCodeHookSettings): any => ({ + ...obj, + }); +} + +/** + *

      The name of a context that must be active for an intent to be + * selected by Amazon Lex.

      + */ +export interface InputContext { + /** + *

      The name of the context.

      + */ + name: string | undefined; +} + +export namespace InputContext { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InputContext): any => ({ + ...obj, + }); +} + /** *

      Provides a statement the Amazon Lex conveys to the user when the intent * is successfully fulfilled.

      @@ -2336,9 +2495,9 @@ export interface IntentClosingSetting { /** *

      Specifies whether an intent's closing response is used. When this - * field is false, the closing response isn't sent to the user and no - * closing input from the user is used. If the active field - * isn't specified, the default is true.

      + * field is false, the closing response isn't sent to the user. If the + * active field isn't specified, the default is + * true.

      */ active?: boolean; } @@ -2364,7 +2523,7 @@ export interface PromptSpecification { messageGroups: MessageGroup[] | undefined; /** - *

      The maximum number of times the bot tries to elicit a resonse from + *

      The maximum number of times the bot tries to elicit a response from * the user using this prompt.

      */ maxRetries: number | undefined; @@ -2412,8 +2571,7 @@ export interface IntentConfirmationSetting { /** *

      Specifies whether the intent's confirmation is sent to the user. * When this field is false, confirmation and declination responses aren't - * sent and processing continues as if the responses aren't present. If - * the active field isn't specified, the default is + * sent. If the active field isn't specified, the default is * true.

      */ active?: boolean; @@ -3086,9 +3244,8 @@ export interface WaitAndContinueSpecification { /** *

      Specifies whether the bot will wait for a user to respond. When this - * field is false, wait and continue responses for a slot aren't used and - * the bot expects an appropriate response within the configured timeout. - * If the active field isn't specified, the default is + * field is false, wait and continue responses for a slot aren't used. If + * the active field isn't specified, the default is * true.

      */ active?: boolean; @@ -3110,7 +3267,7 @@ export interface SlotValueElicitationSetting { /** *

      A list of default values for a slot. Default values are used when * Amazon Lex hasn't determined a value for a slot. You can specify default - * values from context variables, sesion attributes, and defined + * values from context variables, session attributes, and defined * values.

      */ defaultValueSpecification?: SlotDefaultValueSpecification; @@ -3335,7 +3492,7 @@ export interface SlotTypeValue { sampleValue?: SampleValue; /** - *

      Additional values releated to the slot type entry.

      + *

      Additional values related to the slot type entry.

      */ synonyms?: SampleValue[]; } @@ -3356,8 +3513,8 @@ export namespace SlotTypeValue { export interface SlotValueRegexFilter { /** *

      A regular expression used to validate the value of a slot.

      - *

      Use a standard regular expression. Amazon Lex supports the - * following characters in the regular expression:

      + *

      Use a standard regular expression. Amazon Lex supports the following + * characters in the regular expression:

      *
        *
      • *

        A-Z, a-z

        @@ -4671,7 +4828,7 @@ export enum MergeStrategy { /** *

        Provides information about the bot or bot locale that you want to - * import. You can sepcifiy the botImportSpecification or the + * import. You can specify the botImportSpecification or the * botLocaleImportSpecification, but not both.

        */ export interface ImportResourceSpecification { @@ -4734,7 +4891,7 @@ export interface DescribeImportResponse { /** *

        If the importStatus field is Failed, this - * provides one or more reasons for the failture.

        + * provides one or more reasons for the failure.

        */ failureReasons?: string[]; @@ -5210,7 +5367,7 @@ export enum ExportFilterOperator { } /** - *

        Filtes the response form the + *

        Filters the response form the * operation

        */ export interface ExportFilter { @@ -5220,7 +5377,7 @@ export interface ExportFilter { name: ExportFilterName | string | undefined; /** - *

        The values to use to fileter the response.

        + *

        The values to use to filter the response.

        */ values: string[] | undefined; @@ -6315,7 +6472,7 @@ export interface ListExportsRequest { maxResults?: number; /** - *

        If the response from the ListExports operation contans + *

        If the response from the ListExports operation contains * more results that specified in the maxResults parameter, a * token is returned in the response. Use that token in the * nextToken parameter to return the next page of diff --git a/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts b/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts index 53f6cc312364..64c25507b691 100644 --- a/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts +++ b/clients/client-lex-models-v2/src/protocols/Aws_restJson1.ts @@ -145,6 +145,9 @@ import { ExportSortBy, ExportSummary, FulfillmentCodeHookSettings, + FulfillmentStartResponseSpecification, + FulfillmentUpdateResponseSpecification, + FulfillmentUpdatesSpecification, ImageResponseCard, ImportFilter, ImportResourceSpecification, @@ -165,6 +168,7 @@ import { ObfuscationSetting, OutputContext, PlainTextMessage, + PostFulfillmentStatusSpecification, PreconditionFailedException, Principal, PromptSpecification, @@ -9763,6 +9767,71 @@ const serializeAws_restJson1FulfillmentCodeHookSettings = ( ): any => { return { ...(input.enabled !== undefined && input.enabled !== null && { enabled: input.enabled }), + ...(input.fulfillmentUpdatesSpecification !== undefined && + input.fulfillmentUpdatesSpecification !== null && { + fulfillmentUpdatesSpecification: serializeAws_restJson1FulfillmentUpdatesSpecification( + input.fulfillmentUpdatesSpecification, + context + ), + }), + ...(input.postFulfillmentStatusSpecification !== undefined && + input.postFulfillmentStatusSpecification !== null && { + postFulfillmentStatusSpecification: serializeAws_restJson1PostFulfillmentStatusSpecification( + input.postFulfillmentStatusSpecification, + context + ), + }), + }; +}; + +const serializeAws_restJson1FulfillmentStartResponseSpecification = ( + input: FulfillmentStartResponseSpecification, + context: __SerdeContext +): any => { + return { + ...(input.allowInterrupt !== undefined && + input.allowInterrupt !== null && { allowInterrupt: input.allowInterrupt }), + ...(input.delayInSeconds !== undefined && + input.delayInSeconds !== null && { delayInSeconds: input.delayInSeconds }), + ...(input.messageGroups !== undefined && + input.messageGroups !== null && { + messageGroups: serializeAws_restJson1MessageGroupsList(input.messageGroups, context), + }), + }; +}; + +const serializeAws_restJson1FulfillmentUpdateResponseSpecification = ( + input: FulfillmentUpdateResponseSpecification, + context: __SerdeContext +): any => { + return { + ...(input.allowInterrupt !== undefined && + input.allowInterrupt !== null && { allowInterrupt: input.allowInterrupt }), + ...(input.frequencyInSeconds !== undefined && + input.frequencyInSeconds !== null && { frequencyInSeconds: input.frequencyInSeconds }), + ...(input.messageGroups !== undefined && + input.messageGroups !== null && { + messageGroups: serializeAws_restJson1MessageGroupsList(input.messageGroups, context), + }), + }; +}; + +const serializeAws_restJson1FulfillmentUpdatesSpecification = ( + input: FulfillmentUpdatesSpecification, + context: __SerdeContext +): any => { + return { + ...(input.active !== undefined && input.active !== null && { active: input.active }), + ...(input.startResponse !== undefined && + input.startResponse !== null && { + startResponse: serializeAws_restJson1FulfillmentStartResponseSpecification(input.startResponse, context), + }), + ...(input.timeoutInSeconds !== undefined && + input.timeoutInSeconds !== null && { timeoutInSeconds: input.timeoutInSeconds }), + ...(input.updateResponse !== undefined && + input.updateResponse !== null && { + updateResponse: serializeAws_restJson1FulfillmentUpdateResponseSpecification(input.updateResponse, context), + }), }; }; @@ -10014,6 +10083,26 @@ const serializeAws_restJson1PlainTextMessage = (input: PlainTextMessage, context }; }; +const serializeAws_restJson1PostFulfillmentStatusSpecification = ( + input: PostFulfillmentStatusSpecification, + context: __SerdeContext +): any => { + return { + ...(input.failureResponse !== undefined && + input.failureResponse !== null && { + failureResponse: serializeAws_restJson1ResponseSpecification(input.failureResponse, context), + }), + ...(input.successResponse !== undefined && + input.successResponse !== null && { + successResponse: serializeAws_restJson1ResponseSpecification(input.successResponse, context), + }), + ...(input.timeoutResponse !== undefined && + input.timeoutResponse !== null && { + timeoutResponse: serializeAws_restJson1ResponseSpecification(input.timeoutResponse, context), + }), + }; +}; + const serializeAws_restJson1Principal = (input: Principal, context: __SerdeContext): any => { return { ...(input.arn !== undefined && input.arn !== null && { arn: input.arn }), @@ -10926,6 +11015,60 @@ const deserializeAws_restJson1FulfillmentCodeHookSettings = ( ): FulfillmentCodeHookSettings => { return { enabled: __expectBoolean(output.enabled), + fulfillmentUpdatesSpecification: + output.fulfillmentUpdatesSpecification !== undefined && output.fulfillmentUpdatesSpecification !== null + ? deserializeAws_restJson1FulfillmentUpdatesSpecification(output.fulfillmentUpdatesSpecification, context) + : undefined, + postFulfillmentStatusSpecification: + output.postFulfillmentStatusSpecification !== undefined && output.postFulfillmentStatusSpecification !== null + ? deserializeAws_restJson1PostFulfillmentStatusSpecification(output.postFulfillmentStatusSpecification, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1FulfillmentStartResponseSpecification = ( + output: any, + context: __SerdeContext +): FulfillmentStartResponseSpecification => { + return { + allowInterrupt: __expectBoolean(output.allowInterrupt), + delayInSeconds: __expectInt32(output.delayInSeconds), + messageGroups: + output.messageGroups !== undefined && output.messageGroups !== null + ? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1FulfillmentUpdateResponseSpecification = ( + output: any, + context: __SerdeContext +): FulfillmentUpdateResponseSpecification => { + return { + allowInterrupt: __expectBoolean(output.allowInterrupt), + frequencyInSeconds: __expectInt32(output.frequencyInSeconds), + messageGroups: + output.messageGroups !== undefined && output.messageGroups !== null + ? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1FulfillmentUpdatesSpecification = ( + output: any, + context: __SerdeContext +): FulfillmentUpdatesSpecification => { + return { + active: __expectBoolean(output.active), + startResponse: + output.startResponse !== undefined && output.startResponse !== null + ? deserializeAws_restJson1FulfillmentStartResponseSpecification(output.startResponse, context) + : undefined, + timeoutInSeconds: __expectInt32(output.timeoutInSeconds), + updateResponse: + output.updateResponse !== undefined && output.updateResponse !== null + ? deserializeAws_restJson1FulfillmentUpdateResponseSpecification(output.updateResponse, context) + : undefined, } as any; }; @@ -11170,6 +11313,26 @@ const deserializeAws_restJson1PlainTextMessage = (output: any, context: __SerdeC } as any; }; +const deserializeAws_restJson1PostFulfillmentStatusSpecification = ( + output: any, + context: __SerdeContext +): PostFulfillmentStatusSpecification => { + return { + failureResponse: + output.failureResponse !== undefined && output.failureResponse !== null + ? deserializeAws_restJson1ResponseSpecification(output.failureResponse, context) + : undefined, + successResponse: + output.successResponse !== undefined && output.successResponse !== null + ? deserializeAws_restJson1ResponseSpecification(output.successResponse, context) + : undefined, + timeoutResponse: + output.timeoutResponse !== undefined && output.timeoutResponse !== null + ? deserializeAws_restJson1ResponseSpecification(output.timeoutResponse, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1PromptSpecification = (output: any, context: __SerdeContext): PromptSpecification => { return { allowInterrupt: __expectBoolean(output.allowInterrupt), diff --git a/clients/client-lex-runtime-service/src/endpoints.ts b/clients/client-lex-runtime-service/src/endpoints.ts index a1b208dda093..1f255615bbb1 100644 --- a/clients/client-lex-runtime-service/src/endpoints.ts +++ b/clients/client-lex-runtime-service/src/endpoints.ts @@ -50,7 +50,7 @@ const partitionHash: PartitionHash = { hostname: "runtime.lex.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "runtime.lex.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lex-runtime-v2/src/LexRuntimeV2.ts b/clients/client-lex-runtime-v2/src/LexRuntimeV2.ts index 0e52acb00de7..e47b8076ae1c 100644 --- a/clients/client-lex-runtime-v2/src/LexRuntimeV2.ts +++ b/clients/client-lex-runtime-v2/src/LexRuntimeV2.ts @@ -141,6 +141,32 @@ export class LexRuntimeV2 extends LexRuntimeV2Client { * using the machine learning model that it build for the bot.

        *

        In response, Amazon Lex V2 returns the next message to convey to the user * and an optional response card to display.

        + *

        If the optional post-fulfillment response is specified, the messages + * are returned as follows. For more information, see PostFulfillmentStatusSpecification.

        + *
          + *
        • + *

          + * Success message - Returned if + * the Lambda function completes successfully and the intent state is + * fulfilled or ready fulfillment if the message is present.

          + *
        • + *
        • + *

          + * Failed message - The failed + * message is returned if the Lambda function throws an exception or + * if the Lambda function returns a failed intent state without a + * message.

          + *
        • + *
        • + *

          + * Timeout message - If you + * don't configure a timeout message and a timeout, and the Lambda + * function doesn't return within 30 seconds, the timeout message is + * returned. If you configure a timeout, the timeout message is + * returned when the period times out.

          + *
        • + *
        + *

        For more information, see Completion message.

        */ public recognizeText( args: RecognizeTextCommandInput, @@ -209,6 +235,32 @@ export class LexRuntimeV2 extends LexRuntimeV2Client { *

        The example contains a Java application that compresses and encodes * a Java object to send to Amazon Lex V2, and a second that decodes and * decompresses a response from Amazon Lex V2.

        + *

        If the optional post-fulfillment response is specified, the messages + * are returned as follows. For more information, see PostFulfillmentStatusSpecification.

        + *
          + *
        • + *

          + * Success message - Returned if + * the Lambda function completes successfully and the intent state is + * fulfilled or ready fulfillment if the message is present.

          + *
        • + *
        • + *

          + * Failed message - The failed + * message is returned if the Lambda function throws an exception or + * if the Lambda function returns a failed intent state without a + * message.

          + *
        • + *
        • + *

          + * Timeout message - If you + * don't configure a timeout message and a timeout, and the Lambda + * function doesn't return within 30 seconds, the timeout message is + * returned. If you configure a timeout, the timeout message is + * returned when the period times out.

          + *
        • + *
        + *

        For more information, see Completion message.

        */ public recognizeUtterance( args: RecognizeUtteranceCommandInput, @@ -249,6 +301,38 @@ export class LexRuntimeV2 extends LexRuntimeV2Client { *

        Audio input must be in the following format: audio/lpcm * sample-rate=8000 sample-size-bits=16 channel-count=1; * is-big-endian=false.

        + *

        If the optional post-fulfillment response is specified, the messages + * are returned as follows. For more information, see PostFulfillmentStatusSpecification.

        + *
          + *
        • + *

          + * Success message - Returned if + * the Lambda function completes successfully and the intent state is + * fulfilled or ready fulfillment if the message is present.

          + *
        • + *
        • + *

          + * Failed message - The failed + * message is returned if the Lambda function throws an exception or + * if the Lambda function returns a failed intent state without a + * message.

          + *
        • + *
        • + *

          + * Timeout message - If you + * don't configure a timeout message and a timeout, and the Lambda + * function doesn't return within 30 seconds, the timeout message is + * returned. If you configure a timeout, the timeout message is + * returned when the period times out.

          + *
        • + *
        + *

        For more information, see Completion message.

        + *

        If the optional update message is configured, it is played at the + * specified frequency while the Lambda function is running and the update + * message state is active. If the fulfillment update message is not + * active, the Lambda function runs with a 30 second timeout.

        + *

        For more information, see Update message + *

        *

        The StartConversation operation is supported only in * the following SDKs:

        *
          diff --git a/clients/client-lex-runtime-v2/src/commands/RecognizeTextCommand.ts b/clients/client-lex-runtime-v2/src/commands/RecognizeTextCommand.ts index 17b9da765887..355f8779ddd2 100644 --- a/clients/client-lex-runtime-v2/src/commands/RecognizeTextCommand.ts +++ b/clients/client-lex-runtime-v2/src/commands/RecognizeTextCommand.ts @@ -27,6 +27,32 @@ export interface RecognizeTextCommandOutput extends RecognizeTextResponse, __Met * using the machine learning model that it build for the bot.

          *

          In response, Amazon Lex V2 returns the next message to convey to the user * and an optional response card to display.

          + *

          If the optional post-fulfillment response is specified, the messages + * are returned as follows. For more information, see PostFulfillmentStatusSpecification.

          + *
            + *
          • + *

            + * Success message - Returned if + * the Lambda function completes successfully and the intent state is + * fulfilled or ready fulfillment if the message is present.

            + *
          • + *
          • + *

            + * Failed message - The failed + * message is returned if the Lambda function throws an exception or + * if the Lambda function returns a failed intent state without a + * message.

            + *
          • + *
          • + *

            + * Timeout message - If you + * don't configure a timeout message and a timeout, and the Lambda + * function doesn't return within 30 seconds, the timeout message is + * returned. If you configure a timeout, the timeout message is + * returned when the period times out.

            + *
          • + *
          + *

          For more information, see Completion message.

          * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lex-runtime-v2/src/commands/RecognizeUtteranceCommand.ts b/clients/client-lex-runtime-v2/src/commands/RecognizeUtteranceCommand.ts index 63605937e22b..80a8fe0caf3a 100644 --- a/clients/client-lex-runtime-v2/src/commands/RecognizeUtteranceCommand.ts +++ b/clients/client-lex-runtime-v2/src/commands/RecognizeUtteranceCommand.ts @@ -68,6 +68,32 @@ export interface RecognizeUtteranceCommandOutput extends RecognizeUtteranceRespo *

          The example contains a Java application that compresses and encodes * a Java object to send to Amazon Lex V2, and a second that decodes and * decompresses a response from Amazon Lex V2.

          + *

          If the optional post-fulfillment response is specified, the messages + * are returned as follows. For more information, see PostFulfillmentStatusSpecification.

          + *
            + *
          • + *

            + * Success message - Returned if + * the Lambda function completes successfully and the intent state is + * fulfilled or ready fulfillment if the message is present.

            + *
          • + *
          • + *

            + * Failed message - The failed + * message is returned if the Lambda function throws an exception or + * if the Lambda function returns a failed intent state without a + * message.

            + *
          • + *
          • + *

            + * Timeout message - If you + * don't configure a timeout message and a timeout, and the Lambda + * function doesn't return within 30 seconds, the timeout message is + * returned. If you configure a timeout, the timeout message is + * returned when the period times out.

            + *
          • + *
          + *

          For more information, see Completion message.

          * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-lex-runtime-v2/src/commands/StartConversationCommand.ts b/clients/client-lex-runtime-v2/src/commands/StartConversationCommand.ts index 35cd26d8aed8..826df5a3a396 100644 --- a/clients/client-lex-runtime-v2/src/commands/StartConversationCommand.ts +++ b/clients/client-lex-runtime-v2/src/commands/StartConversationCommand.ts @@ -33,6 +33,38 @@ export interface StartConversationCommandOutput extends StartConversationRespons *

          Audio input must be in the following format: audio/lpcm * sample-rate=8000 sample-size-bits=16 channel-count=1; * is-big-endian=false.

          + *

          If the optional post-fulfillment response is specified, the messages + * are returned as follows. For more information, see PostFulfillmentStatusSpecification.

          + *
            + *
          • + *

            + * Success message - Returned if + * the Lambda function completes successfully and the intent state is + * fulfilled or ready fulfillment if the message is present.

            + *
          • + *
          • + *

            + * Failed message - The failed + * message is returned if the Lambda function throws an exception or + * if the Lambda function returns a failed intent state without a + * message.

            + *
          • + *
          • + *

            + * Timeout message - If you + * don't configure a timeout message and a timeout, and the Lambda + * function doesn't return within 30 seconds, the timeout message is + * returned. If you configure a timeout, the timeout message is + * returned when the period times out.

            + *
          • + *
          + *

          For more information, see Completion message.

          + *

          If the optional update message is configured, it is played at the + * specified frequency while the Lambda function is running and the update + * message state is active. If the fulfillment update message is not + * active, the Lambda function runs with a 30 second timeout.

          + *

          For more information, see Update message + *

          *

          The StartConversation operation is supported only in * the following SDKs:

          *
            diff --git a/clients/client-lex-runtime-v2/src/endpoints.ts b/clients/client-lex-runtime-v2/src/endpoints.ts index 2b78907410e0..9639932e7392 100644 --- a/clients/client-lex-runtime-v2/src/endpoints.ts +++ b/clients/client-lex-runtime-v2/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "runtime-v2-lex.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "runtime-v2-lex.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lex-runtime-v2/src/models/models_0.ts b/clients/client-lex-runtime-v2/src/models/models_0.ts index cfd30523be38..afe0fe09e5dd 100644 --- a/clients/client-lex-runtime-v2/src/models/models_0.ts +++ b/clients/client-lex-runtime-v2/src/models/models_0.ts @@ -71,12 +71,12 @@ export interface ActiveContext { timeToLive: ActiveContextTimeToLive | undefined; /** - *

            A lis tof contexts active for the request. A context can be + *

            A list of contexts active for the request. A context can be * activated when a previous intent is fulfilled, or by including the * context in the request.

            - *

            If you don't specify a list of contexts, Amazon Lex will use the - * current list of contexts for the session. If you specify an empty list, - * all contexts for the session are cleared.

            + *

            If you don't specify a list of contexts, Amazon Lex V2 will use the current + * list of contexts for the session. If you specify an empty list, all + * contexts for the session are cleared.

            */ contextAttributes: { [key: string]: string } | undefined; } @@ -405,6 +405,7 @@ export namespace Value { export enum IntentState { FAILED = "Failed", FULFILLED = "Fulfilled", + FULFILLMENT_IN_PROGRESS = "FulfillmentInProgress", IN_PROGRESS = "InProgress", READY_FOR_FULFILLMENT = "ReadyForFulfillment", WAITING = "Waiting", @@ -623,6 +624,7 @@ export enum DialogActionType { DELEGATE = "Delegate", ELICIT_INTENT = "ElicitIntent", ELICIT_SLOT = "ElicitSlot", + NONE = "None", } /** @@ -1290,8 +1292,8 @@ export interface Slot { /** *

            A list of one or more values that the user provided for the slot. - * For example, if a for a slot that elicits pizza toppings, the values might - * be "pepperoni" and "pineapple."

            + * For example, if a for a slot that elicits pizza toppings, the values + * might be "pepperoni" and "pineapple."

            */ values?: Slot[]; } @@ -1499,9 +1501,13 @@ export interface ConfigurationEvent { /** *

            Determines whether Amazon Lex V2 should send audio responses to the client - * application. When this parameter if false, the client - * application needs to create responses for the user. + * application. *

            + *

            Set this field to false when the client is operating in a playback + * mode where audio responses are played to the user. If the client isn't + * operating in playback mode, such as a text chat application, set this + * to true so that Amazon Lex V2 doesn't wait for the prompt to finish playing on + * the client.

            */ disablePlayback?: boolean; diff --git a/clients/client-license-manager/src/endpoints.ts b/clients/client-license-manager/src/endpoints.ts index 7160bcacbf8d..edb0fee3e249 100644 --- a/clients/client-license-manager/src/endpoints.ts +++ b/clients/client-license-manager/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "license-manager.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "license-manager.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lightsail/src/endpoints.ts b/clients/client-lightsail/src/endpoints.ts index fabfebd99688..b338bc883190 100644 --- a/clients/client-lightsail/src/endpoints.ts +++ b/clients/client-lightsail/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "lightsail.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "lightsail.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-location/src/endpoints.ts b/clients/client-location/src/endpoints.ts index 89c1662295ba..f5a0518d6b93 100644 --- a/clients/client-location/src/endpoints.ts +++ b/clients/client-location/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "geo.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "geo.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lookoutequipment/src/endpoints.ts b/clients/client-lookoutequipment/src/endpoints.ts index 057b2c2d889d..8bfbbdfbafcb 100644 --- a/clients/client-lookoutequipment/src/endpoints.ts +++ b/clients/client-lookoutequipment/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "lookoutequipment.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "lookoutequipment.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lookoutmetrics/src/endpoints.ts b/clients/client-lookoutmetrics/src/endpoints.ts index 04fa56486a3d..7c0fadb563ab 100644 --- a/clients/client-lookoutmetrics/src/endpoints.ts +++ b/clients/client-lookoutmetrics/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "lookoutmetrics.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "lookoutmetrics.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-lookoutvision/src/endpoints.ts b/clients/client-lookoutvision/src/endpoints.ts index fddae4875d26..9d73be56294b 100644 --- a/clients/client-lookoutvision/src/endpoints.ts +++ b/clients/client-lookoutvision/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "lookoutvision.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "lookoutvision.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-machine-learning/src/endpoints.ts b/clients/client-machine-learning/src/endpoints.ts index c52aef083c1d..fec720a26da3 100644 --- a/clients/client-machine-learning/src/endpoints.ts +++ b/clients/client-machine-learning/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "machinelearning.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "machinelearning.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-macie/src/endpoints.ts b/clients/client-macie/src/endpoints.ts index 2dccee9c5d71..c36b947eac5a 100644 --- a/clients/client-macie/src/endpoints.ts +++ b/clients/client-macie/src/endpoints.ts @@ -46,7 +46,7 @@ const partitionHash: PartitionHash = { hostname: "macie.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "macie.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-macie2/src/endpoints.ts b/clients/client-macie2/src/endpoints.ts index cc5e266e5332..410c6961f668 100644 --- a/clients/client-macie2/src/endpoints.ts +++ b/clients/client-macie2/src/endpoints.ts @@ -56,7 +56,7 @@ const partitionHash: PartitionHash = { hostname: "macie2.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "macie2.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-managedblockchain/src/endpoints.ts b/clients/client-managedblockchain/src/endpoints.ts index d35bbe8d93c8..c9273591c991 100644 --- a/clients/client-managedblockchain/src/endpoints.ts +++ b/clients/client-managedblockchain/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "managedblockchain.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "managedblockchain.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-marketplace-catalog/src/endpoints.ts b/clients/client-marketplace-catalog/src/endpoints.ts index dd4c6582a4c3..790b8ed046ef 100644 --- a/clients/client-marketplace-catalog/src/endpoints.ts +++ b/clients/client-marketplace-catalog/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "catalog.marketplace.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "catalog.marketplace.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-marketplace-commerce-analytics/src/endpoints.ts b/clients/client-marketplace-commerce-analytics/src/endpoints.ts index 94cfee201dac..b14aa241c2af 100644 --- a/clients/client-marketplace-commerce-analytics/src/endpoints.ts +++ b/clients/client-marketplace-commerce-analytics/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "marketplacecommerceanalytics.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "marketplacecommerceanalytics.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-marketplace-entitlement-service/src/endpoints.ts b/clients/client-marketplace-entitlement-service/src/endpoints.ts index 708c193f805f..344a1d275cf2 100644 --- a/clients/client-marketplace-entitlement-service/src/endpoints.ts +++ b/clients/client-marketplace-entitlement-service/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "entitlement.marketplace.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "entitlement.marketplace.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-marketplace-metering/src/endpoints.ts b/clients/client-marketplace-metering/src/endpoints.ts index f697eece8be4..40cf66503b50 100644 --- a/clients/client-marketplace-metering/src/endpoints.ts +++ b/clients/client-marketplace-metering/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "metering.marketplace.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "metering.marketplace.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediaconnect/src/endpoints.ts b/clients/client-mediaconnect/src/endpoints.ts index 1acda3eff1c5..7b13978bc770 100644 --- a/clients/client-mediaconnect/src/endpoints.ts +++ b/clients/client-mediaconnect/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "mediaconnect.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mediaconnect.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediaconvert/src/MediaConvert.ts b/clients/client-mediaconvert/src/MediaConvert.ts index f6b71098b802..dfb89d0fcd24 100644 --- a/clients/client-mediaconvert/src/MediaConvert.ts +++ b/clients/client-mediaconvert/src/MediaConvert.ts @@ -23,6 +23,11 @@ import { DeleteJobTemplateCommandInput, DeleteJobTemplateCommandOutput, } from "./commands/DeleteJobTemplateCommand"; +import { + DeletePolicyCommand, + DeletePolicyCommandInput, + DeletePolicyCommandOutput, +} from "./commands/DeletePolicyCommand"; import { DeletePresetCommand, DeletePresetCommandInput, @@ -45,6 +50,7 @@ import { GetJobTemplateCommandInput, GetJobTemplateCommandOutput, } from "./commands/GetJobTemplateCommand"; +import { GetPolicyCommand, GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand"; import { GetPresetCommand, GetPresetCommandInput, GetPresetCommandOutput } from "./commands/GetPresetCommand"; import { GetQueueCommand, GetQueueCommandInput, GetQueueCommandOutput } from "./commands/GetQueueCommand"; import { ListJobsCommand, ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand"; @@ -60,6 +66,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; +import { PutPolicyCommand, PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand"; import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommand, @@ -286,6 +293,35 @@ export class MediaConvert extends MediaConvertClient { } } + /** + * Permanently delete a policy that you created. + */ + public deletePolicy( + args: DeletePolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deletePolicy(args: DeletePolicyCommandInput, cb: (err: any, data?: DeletePolicyCommandOutput) => void): void; + public deletePolicy( + args: DeletePolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeletePolicyCommandOutput) => void + ): void; + public deletePolicy( + args: DeletePolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePolicyCommandOutput) => void), + cb?: (err: any, data?: DeletePolicyCommandOutput) => void + ): Promise | void { + const command = new DeletePolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** * Permanently delete a preset you have created. */ @@ -463,6 +499,32 @@ export class MediaConvert extends MediaConvertClient { } } + /** + * Retrieve the JSON for your policy. + */ + public getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise; + public getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void; + public getPolicy( + args: GetPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetPolicyCommandOutput) => void + ): void; + public getPolicy( + args: GetPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPolicyCommandOutput) => void), + cb?: (err: any, data?: GetPolicyCommandOutput) => void + ): Promise | void { + const command = new GetPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** * Retrieve the JSON for a specific preset. */ @@ -657,6 +719,32 @@ export class MediaConvert extends MediaConvertClient { } } + /** + * Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + */ + public putPolicy(args: PutPolicyCommandInput, options?: __HttpHandlerOptions): Promise; + public putPolicy(args: PutPolicyCommandInput, cb: (err: any, data?: PutPolicyCommandOutput) => void): void; + public putPolicy( + args: PutPolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutPolicyCommandOutput) => void + ): void; + public putPolicy( + args: PutPolicyCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutPolicyCommandOutput) => void), + cb?: (err: any, data?: PutPolicyCommandOutput) => void + ): Promise | void { + const command = new PutPolicyCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** * Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html */ diff --git a/clients/client-mediaconvert/src/MediaConvertClient.ts b/clients/client-mediaconvert/src/MediaConvertClient.ts index aff4c56a5d99..48d78a75ec0a 100644 --- a/clients/client-mediaconvert/src/MediaConvertClient.ts +++ b/clients/client-mediaconvert/src/MediaConvertClient.ts @@ -59,6 +59,7 @@ import { CreateJobTemplateCommandInput, CreateJobTemplateCommandOutput } from ". import { CreatePresetCommandInput, CreatePresetCommandOutput } from "./commands/CreatePresetCommand"; import { CreateQueueCommandInput, CreateQueueCommandOutput } from "./commands/CreateQueueCommand"; import { DeleteJobTemplateCommandInput, DeleteJobTemplateCommandOutput } from "./commands/DeleteJobTemplateCommand"; +import { DeletePolicyCommandInput, DeletePolicyCommandOutput } from "./commands/DeletePolicyCommand"; import { DeletePresetCommandInput, DeletePresetCommandOutput } from "./commands/DeletePresetCommand"; import { DeleteQueueCommandInput, DeleteQueueCommandOutput } from "./commands/DeleteQueueCommand"; import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand"; @@ -68,6 +69,7 @@ import { } from "./commands/DisassociateCertificateCommand"; import { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand"; import { GetJobTemplateCommandInput, GetJobTemplateCommandOutput } from "./commands/GetJobTemplateCommand"; +import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand"; import { GetPresetCommandInput, GetPresetCommandOutput } from "./commands/GetPresetCommand"; import { GetQueueCommandInput, GetQueueCommandOutput } from "./commands/GetQueueCommand"; import { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand"; @@ -78,6 +80,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "./commands/ListTagsForResourceCommand"; +import { PutPolicyCommandInput, PutPolicyCommandOutput } from "./commands/PutPolicyCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { UpdateJobTemplateCommandInput, UpdateJobTemplateCommandOutput } from "./commands/UpdateJobTemplateCommand"; @@ -93,12 +96,14 @@ export type ServiceInputTypes = | CreatePresetCommandInput | CreateQueueCommandInput | DeleteJobTemplateCommandInput + | DeletePolicyCommandInput | DeletePresetCommandInput | DeleteQueueCommandInput | DescribeEndpointsCommandInput | DisassociateCertificateCommandInput | GetJobCommandInput | GetJobTemplateCommandInput + | GetPolicyCommandInput | GetPresetCommandInput | GetQueueCommandInput | ListJobTemplatesCommandInput @@ -106,6 +111,7 @@ export type ServiceInputTypes = | ListPresetsCommandInput | ListQueuesCommandInput | ListTagsForResourceCommandInput + | PutPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateJobTemplateCommandInput @@ -120,12 +126,14 @@ export type ServiceOutputTypes = | CreatePresetCommandOutput | CreateQueueCommandOutput | DeleteJobTemplateCommandOutput + | DeletePolicyCommandOutput | DeletePresetCommandOutput | DeleteQueueCommandOutput | DescribeEndpointsCommandOutput | DisassociateCertificateCommandOutput | GetJobCommandOutput | GetJobTemplateCommandOutput + | GetPolicyCommandOutput | GetPresetCommandOutput | GetQueueCommandOutput | ListJobTemplatesCommandOutput @@ -133,6 +141,7 @@ export type ServiceOutputTypes = | ListPresetsCommandOutput | ListQueuesCommandOutput | ListTagsForResourceCommandOutput + | PutPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateJobTemplateCommandOutput diff --git a/clients/client-mediaconvert/src/commands/DeletePolicyCommand.ts b/clients/client-mediaconvert/src/commands/DeletePolicyCommand.ts new file mode 100644 index 000000000000..3936dc8ba145 --- /dev/null +++ b/clients/client-mediaconvert/src/commands/DeletePolicyCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient"; +import { DeletePolicyRequest, DeletePolicyResponse } from "../models/models_1"; +import { + deserializeAws_restJson1DeletePolicyCommand, + serializeAws_restJson1DeletePolicyCommand, +} from "../protocols/Aws_restJson1"; + +export interface DeletePolicyCommandInput extends DeletePolicyRequest {} +export interface DeletePolicyCommandOutput extends DeletePolicyResponse, __MetadataBearer {} + +/** + * Permanently delete a policy that you created. + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaConvertClient, DeletePolicyCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import + * // const { MediaConvertClient, DeletePolicyCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import + * const client = new MediaConvertClient(config); + * const command = new DeletePolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeletePolicyCommandInput} for command's `input` shape. + * @see {@link DeletePolicyCommandOutput} for command's `response` shape. + * @see {@link MediaConvertClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeletePolicyCommand extends $Command< + DeletePolicyCommandInput, + DeletePolicyCommandOutput, + MediaConvertClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeletePolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaConvertClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaConvertClient"; + const commandName = "DeletePolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeletePolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeletePolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeletePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeletePolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeletePolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-mediaconvert/src/commands/GetPolicyCommand.ts b/clients/client-mediaconvert/src/commands/GetPolicyCommand.ts new file mode 100644 index 000000000000..0e094bbb64f7 --- /dev/null +++ b/clients/client-mediaconvert/src/commands/GetPolicyCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient"; +import { GetPolicyRequest, GetPolicyResponse } from "../models/models_1"; +import { + deserializeAws_restJson1GetPolicyCommand, + serializeAws_restJson1GetPolicyCommand, +} from "../protocols/Aws_restJson1"; + +export interface GetPolicyCommandInput extends GetPolicyRequest {} +export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBearer {} + +/** + * Retrieve the JSON for your policy. + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaConvertClient, GetPolicyCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import + * // const { MediaConvertClient, GetPolicyCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import + * const client = new MediaConvertClient(config); + * const command = new GetPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetPolicyCommandInput} for command's `input` shape. + * @see {@link GetPolicyCommandOutput} for command's `response` shape. + * @see {@link MediaConvertClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetPolicyCommand extends $Command< + GetPolicyCommandInput, + GetPolicyCommandOutput, + MediaConvertClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaConvertClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaConvertClient"; + const commandName = "GetPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1GetPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1GetPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-mediaconvert/src/commands/PutPolicyCommand.ts b/clients/client-mediaconvert/src/commands/PutPolicyCommand.ts new file mode 100644 index 000000000000..fed1daf91976 --- /dev/null +++ b/clients/client-mediaconvert/src/commands/PutPolicyCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient"; +import { PutPolicyRequest, PutPolicyResponse } from "../models/models_1"; +import { + deserializeAws_restJson1PutPolicyCommand, + serializeAws_restJson1PutPolicyCommand, +} from "../protocols/Aws_restJson1"; + +export interface PutPolicyCommandInput extends PutPolicyRequest {} +export interface PutPolicyCommandOutput extends PutPolicyResponse, __MetadataBearer {} + +/** + * Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaConvertClient, PutPolicyCommand } from "@aws-sdk/client-mediaconvert"; // ES Modules import + * // const { MediaConvertClient, PutPolicyCommand } = require("@aws-sdk/client-mediaconvert"); // CommonJS import + * const client = new MediaConvertClient(config); + * const command = new PutPolicyCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link PutPolicyCommandInput} for command's `input` shape. + * @see {@link PutPolicyCommandOutput} for command's `response` shape. + * @see {@link MediaConvertClientResolvedConfig | config} for command's `input` shape. + * + */ +export class PutPolicyCommand extends $Command< + PutPolicyCommandInput, + PutPolicyCommandOutput, + MediaConvertClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: PutPolicyCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaConvertClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaConvertClient"; + const commandName = "PutPolicyCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: PutPolicyRequest.filterSensitiveLog, + outputFilterSensitiveLog: PutPolicyResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: PutPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1PutPolicyCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1PutPolicyCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-mediaconvert/src/commands/UpdateQueueCommand.ts b/clients/client-mediaconvert/src/commands/UpdateQueueCommand.ts index 967892592bdb..86954286ad9a 100644 --- a/clients/client-mediaconvert/src/commands/UpdateQueueCommand.ts +++ b/clients/client-mediaconvert/src/commands/UpdateQueueCommand.ts @@ -12,7 +12,8 @@ import { } from "@aws-sdk/types"; import { MediaConvertClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaConvertClient"; -import { UpdateQueueRequest, UpdateQueueResponse } from "../models/models_1"; +import { UpdateQueueRequest } from "../models/models_1"; +import { UpdateQueueResponse } from "../models/models_2"; import { deserializeAws_restJson1UpdateQueueCommand, serializeAws_restJson1UpdateQueueCommand, diff --git a/clients/client-mediaconvert/src/endpoints.ts b/clients/client-mediaconvert/src/endpoints.ts index 52088ae5114b..806b70085808 100644 --- a/clients/client-mediaconvert/src/endpoints.ts +++ b/clients/client-mediaconvert/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "mediaconvert.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mediaconvert.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediaconvert/src/index.ts b/clients/client-mediaconvert/src/index.ts index 04c9b76d121b..494b9cc6bbf5 100644 --- a/clients/client-mediaconvert/src/index.ts +++ b/clients/client-mediaconvert/src/index.ts @@ -7,6 +7,7 @@ export * from "./commands/CreateJobTemplateCommand"; export * from "./commands/CreatePresetCommand"; export * from "./commands/CreateQueueCommand"; export * from "./commands/DeleteJobTemplateCommand"; +export * from "./commands/DeletePolicyCommand"; export * from "./commands/DeletePresetCommand"; export * from "./commands/DeleteQueueCommand"; export * from "./commands/DescribeEndpointsCommand"; @@ -14,6 +15,7 @@ export * from "./pagination/DescribeEndpointsPaginator"; export * from "./commands/DisassociateCertificateCommand"; export * from "./commands/GetJobCommand"; export * from "./commands/GetJobTemplateCommand"; +export * from "./commands/GetPolicyCommand"; export * from "./commands/GetPresetCommand"; export * from "./commands/GetQueueCommand"; export * from "./commands/ListJobsCommand"; @@ -25,6 +27,7 @@ export * from "./pagination/ListPresetsPaginator"; export * from "./commands/ListQueuesCommand"; export * from "./pagination/ListQueuesPaginator"; export * from "./commands/ListTagsForResourceCommand"; +export * from "./commands/PutPolicyCommand"; export * from "./commands/TagResourceCommand"; export * from "./commands/UntagResourceCommand"; export * from "./commands/UpdateJobTemplateCommand"; diff --git a/clients/client-mediaconvert/src/models/index.ts b/clients/client-mediaconvert/src/models/index.ts index ae1cfffa2ca6..fd6a6aaed002 100644 --- a/clients/client-mediaconvert/src/models/index.ts +++ b/clients/client-mediaconvert/src/models/index.ts @@ -1,2 +1,3 @@ export * from "./models_0"; export * from "./models_1"; +export * from "./models_2"; diff --git a/clients/client-mediaconvert/src/models/models_1.ts b/clients/client-mediaconvert/src/models/models_1.ts index 9eb4c8ddfb08..dd105d62025a 100644 --- a/clients/client-mediaconvert/src/models/models_1.ts +++ b/clients/client-mediaconvert/src/models/models_1.ts @@ -4624,6 +4624,28 @@ export namespace DeleteJobTemplateResponse { }); } +export interface DeletePolicyRequest {} + +export namespace DeletePolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeletePolicyRequest): any => ({ + ...obj, + }); +} + +export interface DeletePolicyResponse {} + +export namespace DeletePolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeletePolicyResponse): any => ({ + ...obj, + }); +} + export interface DeletePresetRequest { /** * The name of the preset to be deleted. @@ -4824,6 +4846,67 @@ export namespace GetJobTemplateResponse { }); } +export interface GetPolicyRequest {} + +export namespace GetPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetPolicyRequest): any => ({ + ...obj, + }); +} + +export enum InputPolicy { + ALLOWED = "ALLOWED", + DISALLOWED = "DISALLOWED", +} + +/** + * A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + */ +export interface Policy { + /** + * Allow or disallow jobs that specify HTTP inputs. + */ + HttpInputs?: InputPolicy | string; + + /** + * Allow or disallow jobs that specify HTTPS inputs. + */ + HttpsInputs?: InputPolicy | string; + + /** + * Allow or disallow jobs that specify Amazon S3 inputs. + */ + S3Inputs?: InputPolicy | string; +} + +export namespace Policy { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Policy): any => ({ + ...obj, + }); +} + +export interface GetPolicyResponse { + /** + * A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + */ + Policy?: Policy; +} + +export namespace GetPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetPolicyResponse): any => ({ + ...obj, + }); +} + export interface GetPresetRequest { /** * The name of the preset. @@ -5189,6 +5272,38 @@ export namespace ListTagsForResourceResponse { }); } +export interface PutPolicyRequest { + /** + * A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + */ + Policy: Policy | undefined; +} + +export namespace PutPolicyRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PutPolicyRequest): any => ({ + ...obj, + }); +} + +export interface PutPolicyResponse { + /** + * A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html + */ + Policy?: Policy; +} + +export namespace PutPolicyResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PutPolicyResponse): any => ({ + ...obj, + }); +} + export interface TagResourceRequest { /** * The Amazon Resource Name (ARN) of the resource that you want to tag. To get the ARN, send a GET request with the resource name. @@ -5402,19 +5517,3 @@ export namespace UpdateQueueRequest { ...obj, }); } - -export interface UpdateQueueResponse { - /** - * You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html. - */ - Queue?: Queue; -} - -export namespace UpdateQueueResponse { - /** - * @internal - */ - export const filterSensitiveLog = (obj: UpdateQueueResponse): any => ({ - ...obj, - }); -} diff --git a/clients/client-mediaconvert/src/models/models_2.ts b/clients/client-mediaconvert/src/models/models_2.ts new file mode 100644 index 000000000000..7bfd51cbe68d --- /dev/null +++ b/clients/client-mediaconvert/src/models/models_2.ts @@ -0,0 +1,17 @@ +import { Queue } from "./models_1"; + +export interface UpdateQueueResponse { + /** + * You can use queues to manage the resources that are available to your AWS account for running multiple transcoding jobs at the same time. If you don't specify a queue, the service sends all jobs through the default queue. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html. + */ + Queue?: Queue; +} + +export namespace UpdateQueueResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateQueueResponse): any => ({ + ...obj, + }); +} diff --git a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts index 18b4b617ea76..5e0f772f4460 100644 --- a/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediaconvert/src/protocols/Aws_restJson1.ts @@ -29,6 +29,7 @@ import { CreateJobTemplateCommandInput, CreateJobTemplateCommandOutput } from ". import { CreatePresetCommandInput, CreatePresetCommandOutput } from "../commands/CreatePresetCommand"; import { CreateQueueCommandInput, CreateQueueCommandOutput } from "../commands/CreateQueueCommand"; import { DeleteJobTemplateCommandInput, DeleteJobTemplateCommandOutput } from "../commands/DeleteJobTemplateCommand"; +import { DeletePolicyCommandInput, DeletePolicyCommandOutput } from "../commands/DeletePolicyCommand"; import { DeletePresetCommandInput, DeletePresetCommandOutput } from "../commands/DeletePresetCommand"; import { DeleteQueueCommandInput, DeleteQueueCommandOutput } from "../commands/DeleteQueueCommand"; import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "../commands/DescribeEndpointsCommand"; @@ -38,6 +39,7 @@ import { } from "../commands/DisassociateCertificateCommand"; import { GetJobCommandInput, GetJobCommandOutput } from "../commands/GetJobCommand"; import { GetJobTemplateCommandInput, GetJobTemplateCommandOutput } from "../commands/GetJobTemplateCommand"; +import { GetPolicyCommandInput, GetPolicyCommandOutput } from "../commands/GetPolicyCommand"; import { GetPresetCommandInput, GetPresetCommandOutput } from "../commands/GetPresetCommand"; import { GetQueueCommandInput, GetQueueCommandOutput } from "../commands/GetQueueCommand"; import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand"; @@ -48,6 +50,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, } from "../commands/ListTagsForResourceCommand"; +import { PutPolicyCommandInput, PutPolicyCommandOutput } from "../commands/PutPolicyCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; import { UpdateJobTemplateCommandInput, UpdateJobTemplateCommandOutput } from "../commands/UpdateJobTemplateCommand"; @@ -204,6 +207,7 @@ import { OutputGroup, OutputSettings, PartnerWatermarking, + Policy, Preset, PresetSettings, ProresSettings, @@ -468,6 +472,28 @@ export const serializeAws_restJson1DeleteJobTemplateCommand = async ( }); }; +export const serializeAws_restJson1DeletePolicyCommand = async ( + input: DeletePolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-08-29/policy"; + let body: any; + body = ""; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1DeletePresetCommand = async ( input: DeletePresetCommandInput, context: __SerdeContext @@ -638,6 +664,28 @@ export const serializeAws_restJson1GetJobTemplateCommand = async ( }); }; +export const serializeAws_restJson1GetPolicyCommand = async ( + input: GetPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-08-29/policy"; + let body: any; + body = ""; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1GetPresetCommand = async ( input: GetPresetCommandInput, context: __SerdeContext @@ -832,6 +880,31 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async ( }); }; +export const serializeAws_restJson1PutPolicyCommand = async ( + input: PutPolicyCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-08-29/policy"; + let body: any; + body = JSON.stringify({ + ...(input.Policy !== undefined && + input.Policy !== null && { policy: serializeAws_restJson1Policy(input.Policy, context) }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "PUT", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1TagResourceCommand = async ( input: TagResourceCommandInput, context: __SerdeContext @@ -1670,6 +1743,97 @@ const deserializeAws_restJson1DeleteJobTemplateCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1DeletePolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1DeletePolicyCommandError(output, context); + } + const contents: DeletePolicyCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeletePolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "BadRequestException": + case "com.amazonaws.mediaconvert#BadRequestException": + response = { + ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.mediaconvert#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ForbiddenException": + case "com.amazonaws.mediaconvert#ForbiddenException": + response = { + ...(await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerErrorException": + case "com.amazonaws.mediaconvert#InternalServerErrorException": + response = { + ...(await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.mediaconvert#NotFoundException": + response = { + ...(await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "TooManyRequestsException": + case "com.amazonaws.mediaconvert#TooManyRequestsException": + response = { + ...(await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1DeletePresetCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2232,6 +2396,101 @@ const deserializeAws_restJson1GetJobTemplateCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1GetPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1GetPolicyCommandError(output, context); + } + const contents: GetPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + Policy: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.policy !== undefined && data.policy !== null) { + contents.Policy = deserializeAws_restJson1Policy(data.policy, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1GetPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "BadRequestException": + case "com.amazonaws.mediaconvert#BadRequestException": + response = { + ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.mediaconvert#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ForbiddenException": + case "com.amazonaws.mediaconvert#ForbiddenException": + response = { + ...(await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerErrorException": + case "com.amazonaws.mediaconvert#InternalServerErrorException": + response = { + ...(await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.mediaconvert#NotFoundException": + response = { + ...(await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "TooManyRequestsException": + case "com.amazonaws.mediaconvert#TooManyRequestsException": + response = { + ...(await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1GetPresetCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2913,6 +3172,101 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1PutPolicyCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1PutPolicyCommandError(output, context); + } + const contents: PutPolicyCommandOutput = { + $metadata: deserializeMetadata(output), + Policy: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.policy !== undefined && data.policy !== null) { + contents.Policy = deserializeAws_restJson1Policy(data.policy, context); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1PutPolicyCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "BadRequestException": + case "com.amazonaws.mediaconvert#BadRequestException": + response = { + ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ConflictException": + case "com.amazonaws.mediaconvert#ConflictException": + response = { + ...(await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ForbiddenException": + case "com.amazonaws.mediaconvert#ForbiddenException": + response = { + ...(await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerErrorException": + case "com.amazonaws.mediaconvert#InternalServerErrorException": + response = { + ...(await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.mediaconvert#NotFoundException": + response = { + ...(await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "TooManyRequestsException": + case "com.amazonaws.mediaconvert#TooManyRequestsException": + response = { + ...(await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1TagResourceCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -6183,6 +6537,14 @@ const serializeAws_restJson1PartnerWatermarking = (input: PartnerWatermarking, c }; }; +const serializeAws_restJson1Policy = (input: Policy, context: __SerdeContext): any => { + return { + ...(input.HttpInputs !== undefined && input.HttpInputs !== null && { httpInputs: input.HttpInputs }), + ...(input.HttpsInputs !== undefined && input.HttpsInputs !== null && { httpsInputs: input.HttpsInputs }), + ...(input.S3Inputs !== undefined && input.S3Inputs !== null && { s3Inputs: input.S3Inputs }), + }; +}; + const serializeAws_restJson1PresetSettings = (input: PresetSettings, context: __SerdeContext): any => { return { ...(input.AudioDescriptions !== undefined && @@ -9341,6 +9703,14 @@ const deserializeAws_restJson1PartnerWatermarking = (output: any, context: __Ser } as any; }; +const deserializeAws_restJson1Policy = (output: any, context: __SerdeContext): Policy => { + return { + HttpInputs: __expectString(output.httpInputs), + HttpsInputs: __expectString(output.httpsInputs), + S3Inputs: __expectString(output.s3Inputs), + } as any; +}; + const deserializeAws_restJson1Preset = (output: any, context: __SerdeContext): Preset => { return { Arn: __expectString(output.arn), diff --git a/clients/client-medialive/src/MediaLive.ts b/clients/client-medialive/src/MediaLive.ts index 8d80b27759cf..3ce6b86b7242 100644 --- a/clients/client-medialive/src/MediaLive.ts +++ b/clients/client-medialive/src/MediaLive.ts @@ -18,6 +18,7 @@ import { CancelInputDeviceTransferCommandInput, CancelInputDeviceTransferCommandOutput, } from "./commands/CancelInputDeviceTransferCommand"; +import { ClaimDeviceCommand, ClaimDeviceCommandInput, ClaimDeviceCommandOutput } from "./commands/ClaimDeviceCommand"; import { CreateChannelCommand, CreateChannelCommandInput, @@ -420,6 +421,32 @@ export class MediaLive extends MediaLiveClient { } } + /** + * Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device. + */ + public claimDevice(args: ClaimDeviceCommandInput, options?: __HttpHandlerOptions): Promise; + public claimDevice(args: ClaimDeviceCommandInput, cb: (err: any, data?: ClaimDeviceCommandOutput) => void): void; + public claimDevice( + args: ClaimDeviceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ClaimDeviceCommandOutput) => void + ): void; + public claimDevice( + args: ClaimDeviceCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ClaimDeviceCommandOutput) => void), + cb?: (err: any, data?: ClaimDeviceCommandOutput) => void + ): Promise | void { + const command = new ClaimDeviceCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** * Creates a new channel */ diff --git a/clients/client-medialive/src/MediaLiveClient.ts b/clients/client-medialive/src/MediaLiveClient.ts index ccc3dcb0548b..107c7400338e 100644 --- a/clients/client-medialive/src/MediaLiveClient.ts +++ b/clients/client-medialive/src/MediaLiveClient.ts @@ -64,6 +64,7 @@ import { CancelInputDeviceTransferCommandInput, CancelInputDeviceTransferCommandOutput, } from "./commands/CancelInputDeviceTransferCommand"; +import { ClaimDeviceCommandInput, ClaimDeviceCommandOutput } from "./commands/ClaimDeviceCommand"; import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand"; import { CreateInputCommandInput, CreateInputCommandOutput } from "./commands/CreateInputCommand"; import { @@ -174,6 +175,7 @@ export type ServiceInputTypes = | BatchStopCommandInput | BatchUpdateScheduleCommandInput | CancelInputDeviceTransferCommandInput + | ClaimDeviceCommandInput | CreateChannelCommandInput | CreateInputCommandInput | CreateInputSecurityGroupCommandInput @@ -232,6 +234,7 @@ export type ServiceOutputTypes = | BatchStopCommandOutput | BatchUpdateScheduleCommandOutput | CancelInputDeviceTransferCommandOutput + | ClaimDeviceCommandOutput | CreateChannelCommandOutput | CreateInputCommandOutput | CreateInputSecurityGroupCommandOutput diff --git a/clients/client-medialive/src/commands/ClaimDeviceCommand.ts b/clients/client-medialive/src/commands/ClaimDeviceCommand.ts new file mode 100644 index 000000000000..9ce9b3c36ddb --- /dev/null +++ b/clients/client-medialive/src/commands/ClaimDeviceCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaLiveClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaLiveClient"; +import { ClaimDeviceRequest, ClaimDeviceResponse } from "../models/models_1"; +import { + deserializeAws_restJson1ClaimDeviceCommand, + serializeAws_restJson1ClaimDeviceCommand, +} from "../protocols/Aws_restJson1"; + +export interface ClaimDeviceCommandInput extends ClaimDeviceRequest {} +export interface ClaimDeviceCommandOutput extends ClaimDeviceResponse, __MetadataBearer {} + +/** + * Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device. + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaLiveClient, ClaimDeviceCommand } from "@aws-sdk/client-medialive"; // ES Modules import + * // const { MediaLiveClient, ClaimDeviceCommand } = require("@aws-sdk/client-medialive"); // CommonJS import + * const client = new MediaLiveClient(config); + * const command = new ClaimDeviceCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ClaimDeviceCommandInput} for command's `input` shape. + * @see {@link ClaimDeviceCommandOutput} for command's `response` shape. + * @see {@link MediaLiveClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ClaimDeviceCommand extends $Command< + ClaimDeviceCommandInput, + ClaimDeviceCommandOutput, + MediaLiveClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ClaimDeviceCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaLiveClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaLiveClient"; + const commandName = "ClaimDeviceCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ClaimDeviceRequest.filterSensitiveLog, + outputFilterSensitiveLog: ClaimDeviceResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ClaimDeviceCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ClaimDeviceCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ClaimDeviceCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-medialive/src/endpoints.ts b/clients/client-medialive/src/endpoints.ts index 1be511d48fec..bd7192fa8a6c 100644 --- a/clients/client-medialive/src/endpoints.ts +++ b/clients/client-medialive/src/endpoints.ts @@ -51,7 +51,7 @@ const partitionHash: PartitionHash = { hostname: "medialive.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "medialive.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-medialive/src/index.ts b/clients/client-medialive/src/index.ts index 901363bbc656..368b6bfbf5fd 100644 --- a/clients/client-medialive/src/index.ts +++ b/clients/client-medialive/src/index.ts @@ -6,6 +6,7 @@ export * from "./commands/BatchStartCommand"; export * from "./commands/BatchStopCommand"; export * from "./commands/BatchUpdateScheduleCommand"; export * from "./commands/CancelInputDeviceTransferCommand"; +export * from "./commands/ClaimDeviceCommand"; export * from "./commands/CreateChannelCommand"; export * from "./commands/CreateInputCommand"; export * from "./commands/CreateInputSecurityGroupCommand"; diff --git a/clients/client-medialive/src/models/models_0.ts b/clients/client-medialive/src/models/models_0.ts index 5fd84f8ae10a..bcae710365e4 100644 --- a/clients/client-medialive/src/models/models_0.ts +++ b/clients/client-medialive/src/models/models_0.ts @@ -96,6 +96,119 @@ export enum AudioDescriptionAudioTypeControl { USE_CONFIGURED = "USE_CONFIGURED", } +export enum NielsenWatermarksCbetStepaside { + DISABLED = "DISABLED", + ENABLED = "ENABLED", +} + +/** + * Nielsen CBET + */ +export interface NielsenCBET { + /** + * Enter the CBET check digits to use in the watermark. + */ + CbetCheckDigitString: string | undefined; + + /** + * Determines the method of CBET insertion mode when prior encoding is detected on the same layer. + */ + CbetStepaside: NielsenWatermarksCbetStepaside | string | undefined; + + /** + * Enter the CBET Source ID (CSID) to use in the watermark + */ + Csid: string | undefined; +} + +export namespace NielsenCBET { + /** + * @internal + */ + export const filterSensitiveLog = (obj: NielsenCBET): any => ({ + ...obj, + }); +} + +export enum NielsenWatermarksDistributionTypes { + FINAL_DISTRIBUTOR = "FINAL_DISTRIBUTOR", + PROGRAM_CONTENT = "PROGRAM_CONTENT", +} + +/** + * Nielsen Naes Ii Nw + */ +export interface NielsenNaesIiNw { + /** + * Enter the check digit string for the watermark + */ + CheckDigitString: string | undefined; + + /** + * Enter the Nielsen Source ID (SID) to include in the watermark + */ + Sid: number | undefined; +} + +export namespace NielsenNaesIiNw { + /** + * @internal + */ + export const filterSensitiveLog = (obj: NielsenNaesIiNw): any => ({ + ...obj, + }); +} + +/** + * Nielsen Watermarks Settings + */ +export interface NielsenWatermarksSettings { + /** + * Complete these fields only if you want to insert watermarks of type Nielsen CBET + */ + NielsenCbetSettings?: NielsenCBET; + + /** + * Choose the distribution types that you want to assign to the watermarks: + * - PROGRAM_CONTENT + * - FINAL_DISTRIBUTOR + */ + NielsenDistributionType?: NielsenWatermarksDistributionTypes | string; + + /** + * Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW). + */ + NielsenNaesIiNwSettings?: NielsenNaesIiNw; +} + +export namespace NielsenWatermarksSettings { + /** + * @internal + */ + export const filterSensitiveLog = (obj: NielsenWatermarksSettings): any => ({ + ...obj, + }); +} + +/** + * Audio Watermark Settings + */ +export interface AudioWatermarkSettings { + /** + * Settings to configure Nielsen Watermarks in the audio encode + */ + NielsenWatermarksSettings?: NielsenWatermarksSettings; +} + +export namespace AudioWatermarkSettings { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AudioWatermarkSettings): any => ({ + ...obj, + }); +} + export enum AacCodingMode { AD_RECEIVER_MIX = "AD_RECEIVER_MIX", CODING_MODE_1_0 = "CODING_MODE_1_0", @@ -670,6 +783,11 @@ export interface AudioDescription { */ AudioTypeControl?: AudioDescriptionAudioTypeControl | string; + /** + * Settings to configure one or more solutions that insert audio watermarks in the audio encode + */ + AudioWatermarkingSettings?: AudioWatermarkSettings; + /** * Audio codec settings. */ @@ -2792,7 +2910,7 @@ export interface ChannelSummary { Tags?: { [key: string]: string }; /** - * Settings for VPC output + * Settings for any VPC outputs. */ Vpc?: VpcOutputSettingsDescription; } @@ -2966,6 +3084,7 @@ export enum InputType { RTMP_PULL = "RTMP_PULL", RTMP_PUSH = "RTMP_PUSH", RTP_PUSH = "RTP_PUSH", + TS_FILE = "TS_FILE", UDP_PUSH = "UDP_PUSH", URL_PULL = "URL_PULL", } @@ -3012,7 +3131,7 @@ export interface Input { /** * Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes - * during input switch actions. Presently, this functionality only works with MP4_FILE inputs. + * during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs. */ InputSourceType?: InputSourceType | string; @@ -3052,7 +3171,7 @@ export interface Input { Tags?: { [key: string]: string }; /** - * Placeholder documentation for InputType + * The different types of inputs that AWS Elemental MediaLive supports. */ Type?: InputType | string; } @@ -5818,34 +5937,3 @@ export namespace MediaPackageGroupSettings { ...obj, }); } - -export enum SmoothGroupAudioOnlyTimecodeControl { - PASSTHROUGH = "PASSTHROUGH", - USE_CONFIGURED_CLOCK = "USE_CONFIGURED_CLOCK", -} - -export enum SmoothGroupCertificateMode { - SELF_SIGNED = "SELF_SIGNED", - VERIFY_AUTHENTICITY = "VERIFY_AUTHENTICITY", -} - -export enum SmoothGroupEventIdMode { - NO_EVENT_ID = "NO_EVENT_ID", - USE_CONFIGURED = "USE_CONFIGURED", - USE_TIMESTAMP = "USE_TIMESTAMP", -} - -export enum SmoothGroupEventStopBehavior { - NONE = "NONE", - SEND_EOS = "SEND_EOS", -} - -export enum InputLossActionForMsSmoothOut { - EMIT_OUTPUT = "EMIT_OUTPUT", - PAUSE_OUTPUT = "PAUSE_OUTPUT", -} - -export enum SmoothGroupSegmentationMode { - USE_INPUT_SEGMENTATION = "USE_INPUT_SEGMENTATION", - USE_SEGMENT_DURATION = "USE_SEGMENT_DURATION", -} diff --git a/clients/client-medialive/src/models/models_1.ts b/clients/client-medialive/src/models/models_1.ts index 762e560cec60..cedfe2af4613 100644 --- a/clients/client-medialive/src/models/models_1.ts +++ b/clients/client-medialive/src/models/models_1.ts @@ -32,7 +32,6 @@ import { InputDeviceType, InputDeviceUhdSettings, InputLocation, - InputLossActionForMsSmoothOut, InputSecurityGroup, InputSecurityGroupState, InputSource, @@ -59,14 +58,40 @@ import { OutputDestination, OutputLocationRef, ReservationResourceSpecification, - SmoothGroupAudioOnlyTimecodeControl, - SmoothGroupCertificateMode, - SmoothGroupEventIdMode, - SmoothGroupEventStopBehavior, - SmoothGroupSegmentationMode, VpcOutputSettingsDescription, } from "./models_0"; +export enum SmoothGroupAudioOnlyTimecodeControl { + PASSTHROUGH = "PASSTHROUGH", + USE_CONFIGURED_CLOCK = "USE_CONFIGURED_CLOCK", +} + +export enum SmoothGroupCertificateMode { + SELF_SIGNED = "SELF_SIGNED", + VERIFY_AUTHENTICITY = "VERIFY_AUTHENTICITY", +} + +export enum SmoothGroupEventIdMode { + NO_EVENT_ID = "NO_EVENT_ID", + USE_CONFIGURED = "USE_CONFIGURED", + USE_TIMESTAMP = "USE_TIMESTAMP", +} + +export enum SmoothGroupEventStopBehavior { + NONE = "NONE", + SEND_EOS = "SEND_EOS", +} + +export enum InputLossActionForMsSmoothOut { + EMIT_OUTPUT = "EMIT_OUTPUT", + PAUSE_OUTPUT = "PAUSE_OUTPUT", +} + +export enum SmoothGroupSegmentationMode { + USE_INPUT_SEGMENTATION = "USE_INPUT_SEGMENTATION", + USE_SEGMENT_DURATION = "USE_SEGMENT_DURATION", +} + export enum SmoothGroupSparseTrackType { NONE = "NONE", SCTE_35 = "SCTE_35", @@ -3747,6 +3772,39 @@ export namespace Channel { }); } +/** + * A request to claim an AWS Elemental device that you have purchased from a third-party vendor. + */ +export interface ClaimDeviceRequest { + /** + * The id of the device you want to claim. + */ + Id?: string; +} + +export namespace ClaimDeviceRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ClaimDeviceRequest): any => ({ + ...obj, + }); +} + +/** + * Placeholder documentation for ClaimDeviceResponse + */ +export interface ClaimDeviceResponse {} + +export namespace ClaimDeviceResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ClaimDeviceResponse): any => ({ + ...obj, + }); +} + export enum ContentType { image_jpeg = "image/jpeg", } @@ -3852,7 +3910,7 @@ export interface CreateChannelRequest { Tags?: { [key: string]: string }; /** - * Settings for VPC output + * Settings for the VPC outputs */ Vpc?: VpcOutputSettings; } @@ -3969,7 +4027,7 @@ export interface CreateInputRequest { Tags?: { [key: string]: string }; /** - * Placeholder documentation for InputType + * The different types of inputs that AWS Elemental MediaLive supports. */ Type?: InputType | string; @@ -5267,7 +5325,7 @@ export interface DescribeInputResponse { /** * Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes - * during input switch actions. Presently, this functionality only works with MP4_FILE inputs. + * during input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs. */ InputSourceType?: InputSourceType | string; @@ -5307,7 +5365,7 @@ export interface DescribeInputResponse { Tags?: { [key: string]: string }; /** - * Placeholder documentation for InputType + * The different types of inputs that AWS Elemental MediaLive supports. */ Type?: InputType | string; } diff --git a/clients/client-medialive/src/protocols/Aws_restJson1.ts b/clients/client-medialive/src/protocols/Aws_restJson1.ts index 125be661319b..c2a44b77e818 100644 --- a/clients/client-medialive/src/protocols/Aws_restJson1.ts +++ b/clients/client-medialive/src/protocols/Aws_restJson1.ts @@ -35,6 +35,7 @@ import { CancelInputDeviceTransferCommandInput, CancelInputDeviceTransferCommandOutput, } from "../commands/CancelInputDeviceTransferCommand"; +import { ClaimDeviceCommandInput, ClaimDeviceCommandOutput } from "../commands/ClaimDeviceCommand"; import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand"; import { CreateInputCommandInput, CreateInputCommandOutput } from "../commands/CreateInputCommand"; import { @@ -160,6 +161,7 @@ import { AudioSilenceFailoverSettings, AudioTrack, AudioTrackSelection, + AudioWatermarkSettings, AutomaticInputFailoverSettings, BatchFailedResultModel, BatchSuccessfulResultModel, @@ -244,6 +246,9 @@ import { MultiplexSettingsSummary, MultiplexSummary, NetworkInputSettings, + NielsenCBET, + NielsenNaesIiNw, + NielsenWatermarksSettings, Offering, Output, OutputDestination, @@ -565,6 +570,30 @@ export const serializeAws_restJson1CancelInputDeviceTransferCommand = async ( }); }; +export const serializeAws_restJson1ClaimDeviceCommand = async ( + input: ClaimDeviceCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/prod/claimDevice"; + let body: any; + body = JSON.stringify({ + ...(input.Id !== undefined && input.Id !== null && { id: input.Id }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1CreateChannelCommand = async ( input: CreateChannelCommandInput, context: __SerdeContext @@ -2927,6 +2956,113 @@ const deserializeAws_restJson1CancelInputDeviceTransferCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1ClaimDeviceCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ClaimDeviceCommandError(output, context); + } + const contents: ClaimDeviceCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ClaimDeviceCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "BadGatewayException": + case "com.amazonaws.medialive#BadGatewayException": + response = { + ...(await deserializeAws_restJson1BadGatewayExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "BadRequestException": + case "com.amazonaws.medialive#BadRequestException": + response = { + ...(await deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "ForbiddenException": + case "com.amazonaws.medialive#ForbiddenException": + response = { + ...(await deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "GatewayTimeoutException": + case "com.amazonaws.medialive#GatewayTimeoutException": + response = { + ...(await deserializeAws_restJson1GatewayTimeoutExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InternalServerErrorException": + case "com.amazonaws.medialive#InternalServerErrorException": + response = { + ...(await deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "NotFoundException": + case "com.amazonaws.medialive#NotFoundException": + response = { + ...(await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "TooManyRequestsException": + case "com.amazonaws.medialive#TooManyRequestsException": + response = { + ...(await deserializeAws_restJson1TooManyRequestsExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "UnprocessableEntityException": + case "com.amazonaws.medialive#UnprocessableEntityException": + response = { + ...(await deserializeAws_restJson1UnprocessableEntityExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1CreateChannelCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -9599,6 +9735,13 @@ const serializeAws_restJson1AudioDescription = (input: AudioDescription, context ...(input.AudioType !== undefined && input.AudioType !== null && { audioType: input.AudioType }), ...(input.AudioTypeControl !== undefined && input.AudioTypeControl !== null && { audioTypeControl: input.AudioTypeControl }), + ...(input.AudioWatermarkingSettings !== undefined && + input.AudioWatermarkingSettings !== null && { + audioWatermarkingSettings: serializeAws_restJson1AudioWatermarkSettings( + input.AudioWatermarkingSettings, + context + ), + }), ...(input.CodecSettings !== undefined && input.CodecSettings !== null && { codecSettings: serializeAws_restJson1AudioCodecSettings(input.CodecSettings, context), @@ -9724,6 +9867,18 @@ const serializeAws_restJson1AudioTrackSelection = (input: AudioTrackSelection, c }; }; +const serializeAws_restJson1AudioWatermarkSettings = (input: AudioWatermarkSettings, context: __SerdeContext): any => { + return { + ...(input.NielsenWatermarksSettings !== undefined && + input.NielsenWatermarksSettings !== null && { + nielsenWatermarksSettings: serializeAws_restJson1NielsenWatermarksSettings( + input.NielsenWatermarksSettings, + context + ), + }), + }; +}; + const serializeAws_restJson1AutomaticInputFailoverSettings = ( input: AutomaticInputFailoverSettings, context: __SerdeContext @@ -11422,6 +11577,15 @@ const serializeAws_restJson1NetworkInputSettings = (input: NetworkInputSettings, }; }; +const serializeAws_restJson1NielsenCBET = (input: NielsenCBET, context: __SerdeContext): any => { + return { + ...(input.CbetCheckDigitString !== undefined && + input.CbetCheckDigitString !== null && { cbetCheckDigitString: input.CbetCheckDigitString }), + ...(input.CbetStepaside !== undefined && input.CbetStepaside !== null && { cbetStepaside: input.CbetStepaside }), + ...(input.Csid !== undefined && input.Csid !== null && { csid: input.Csid }), + }; +}; + const serializeAws_restJson1NielsenConfiguration = (input: NielsenConfiguration, context: __SerdeContext): any => { return { ...(input.DistributorId !== undefined && input.DistributorId !== null && { distributorId: input.DistributorId }), @@ -11430,6 +11594,32 @@ const serializeAws_restJson1NielsenConfiguration = (input: NielsenConfiguration, }; }; +const serializeAws_restJson1NielsenNaesIiNw = (input: NielsenNaesIiNw, context: __SerdeContext): any => { + return { + ...(input.CheckDigitString !== undefined && + input.CheckDigitString !== null && { checkDigitString: input.CheckDigitString }), + ...(input.Sid !== undefined && input.Sid !== null && { sid: __serializeFloat(input.Sid) }), + }; +}; + +const serializeAws_restJson1NielsenWatermarksSettings = ( + input: NielsenWatermarksSettings, + context: __SerdeContext +): any => { + return { + ...(input.NielsenCbetSettings !== undefined && + input.NielsenCbetSettings !== null && { + nielsenCbetSettings: serializeAws_restJson1NielsenCBET(input.NielsenCbetSettings, context), + }), + ...(input.NielsenDistributionType !== undefined && + input.NielsenDistributionType !== null && { nielsenDistributionType: input.NielsenDistributionType }), + ...(input.NielsenNaesIiNwSettings !== undefined && + input.NielsenNaesIiNwSettings !== null && { + nielsenNaesIiNwSettings: serializeAws_restJson1NielsenNaesIiNw(input.NielsenNaesIiNwSettings, context), + }), + }; +}; + const serializeAws_restJson1Output = (input: Output, context: __SerdeContext): any => { return { ...(input.AudioDescriptionNames !== undefined && @@ -12952,6 +13142,10 @@ const deserializeAws_restJson1AudioDescription = (output: any, context: __SerdeC AudioSelectorName: __expectString(output.audioSelectorName), AudioType: __expectString(output.audioType), AudioTypeControl: __expectString(output.audioTypeControl), + AudioWatermarkingSettings: + output.audioWatermarkingSettings !== undefined && output.audioWatermarkingSettings !== null + ? deserializeAws_restJson1AudioWatermarkSettings(output.audioWatermarkingSettings, context) + : undefined, CodecSettings: output.codecSettings !== undefined && output.codecSettings !== null ? deserializeAws_restJson1AudioCodecSettings(output.codecSettings, context) @@ -13072,6 +13266,18 @@ const deserializeAws_restJson1AudioTrackSelection = (output: any, context: __Ser } as any; }; +const deserializeAws_restJson1AudioWatermarkSettings = ( + output: any, + context: __SerdeContext +): AudioWatermarkSettings => { + return { + NielsenWatermarksSettings: + output.nielsenWatermarksSettings !== undefined && output.nielsenWatermarksSettings !== null + ? deserializeAws_restJson1NielsenWatermarksSettings(output.nielsenWatermarksSettings, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1AutomaticInputFailoverSettings = ( output: any, context: __SerdeContext @@ -14965,6 +15171,14 @@ const deserializeAws_restJson1NetworkInputSettings = (output: any, context: __Se } as any; }; +const deserializeAws_restJson1NielsenCBET = (output: any, context: __SerdeContext): NielsenCBET => { + return { + CbetCheckDigitString: __expectString(output.cbetCheckDigitString), + CbetStepaside: __expectString(output.cbetStepaside), + Csid: __expectString(output.csid), + } as any; +}; + const deserializeAws_restJson1NielsenConfiguration = (output: any, context: __SerdeContext): NielsenConfiguration => { return { DistributorId: __expectString(output.distributorId), @@ -14972,6 +15186,30 @@ const deserializeAws_restJson1NielsenConfiguration = (output: any, context: __Se } as any; }; +const deserializeAws_restJson1NielsenNaesIiNw = (output: any, context: __SerdeContext): NielsenNaesIiNw => { + return { + CheckDigitString: __expectString(output.checkDigitString), + Sid: __limitedParseDouble(output.sid), + } as any; +}; + +const deserializeAws_restJson1NielsenWatermarksSettings = ( + output: any, + context: __SerdeContext +): NielsenWatermarksSettings => { + return { + NielsenCbetSettings: + output.nielsenCbetSettings !== undefined && output.nielsenCbetSettings !== null + ? deserializeAws_restJson1NielsenCBET(output.nielsenCbetSettings, context) + : undefined, + NielsenDistributionType: __expectString(output.nielsenDistributionType), + NielsenNaesIiNwSettings: + output.nielsenNaesIiNwSettings !== undefined && output.nielsenNaesIiNwSettings !== null + ? deserializeAws_restJson1NielsenNaesIiNw(output.nielsenNaesIiNwSettings, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1Offering = (output: any, context: __SerdeContext): Offering => { return { Arn: __expectString(output.arn), diff --git a/clients/client-mediapackage-vod/src/endpoints.ts b/clients/client-mediapackage-vod/src/endpoints.ts index 32f57a4d346b..1c3acc916059 100644 --- a/clients/client-mediapackage-vod/src/endpoints.ts +++ b/clients/client-mediapackage-vod/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "mediapackage-vod.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mediapackage-vod.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediapackage/src/endpoints.ts b/clients/client-mediapackage/src/endpoints.ts index 349856b263a7..9c82e1f159b1 100644 --- a/clients/client-mediapackage/src/endpoints.ts +++ b/clients/client-mediapackage/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "mediapackage.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mediapackage.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediastore-data/src/endpoints.ts b/clients/client-mediastore-data/src/endpoints.ts index ee72b48e9236..278c92c237ee 100644 --- a/clients/client-mediastore-data/src/endpoints.ts +++ b/clients/client-mediastore-data/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "data.mediastore.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "data.mediastore.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediastore/src/endpoints.ts b/clients/client-mediastore/src/endpoints.ts index 40df827d2544..3ffffbb0dd8b 100644 --- a/clients/client-mediastore/src/endpoints.ts +++ b/clients/client-mediastore/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "mediastore.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mediastore.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediatailor/src/MediaTailor.ts b/clients/client-mediatailor/src/MediaTailor.ts index f028e3895e90..128f0bb3d8ff 100644 --- a/clients/client-mediatailor/src/MediaTailor.ts +++ b/clients/client-mediatailor/src/MediaTailor.ts @@ -10,6 +10,11 @@ import { CreateChannelCommandInput, CreateChannelCommandOutput, } from "./commands/CreateChannelCommand"; +import { + CreatePrefetchScheduleCommand, + CreatePrefetchScheduleCommandInput, + CreatePrefetchScheduleCommandOutput, +} from "./commands/CreatePrefetchScheduleCommand"; import { CreateProgramCommand, CreateProgramCommandInput, @@ -40,6 +45,11 @@ import { DeletePlaybackConfigurationCommandInput, DeletePlaybackConfigurationCommandOutput, } from "./commands/DeletePlaybackConfigurationCommand"; +import { + DeletePrefetchScheduleCommand, + DeletePrefetchScheduleCommandInput, + DeletePrefetchScheduleCommandOutput, +} from "./commands/DeletePrefetchScheduleCommand"; import { DeleteProgramCommand, DeleteProgramCommandInput, @@ -90,6 +100,11 @@ import { GetPlaybackConfigurationCommandInput, GetPlaybackConfigurationCommandOutput, } from "./commands/GetPlaybackConfigurationCommand"; +import { + GetPrefetchScheduleCommand, + GetPrefetchScheduleCommandInput, + GetPrefetchScheduleCommandOutput, +} from "./commands/GetPrefetchScheduleCommand"; import { ListAlertsCommand, ListAlertsCommandInput, ListAlertsCommandOutput } from "./commands/ListAlertsCommand"; import { ListChannelsCommand, @@ -101,6 +116,11 @@ import { ListPlaybackConfigurationsCommandInput, ListPlaybackConfigurationsCommandOutput, } from "./commands/ListPlaybackConfigurationsCommand"; +import { + ListPrefetchSchedulesCommand, + ListPrefetchSchedulesCommandInput, + ListPrefetchSchedulesCommandOutput, +} from "./commands/ListPrefetchSchedulesCommand"; import { ListSourceLocationsCommand, ListSourceLocationsCommandInput, @@ -225,6 +245,38 @@ export class MediaTailor extends MediaTailorClient { } } + /** + *

            Creates a new prefetch schedule for the specified playback configuration.

            + */ + public createPrefetchSchedule( + args: CreatePrefetchScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public createPrefetchSchedule( + args: CreatePrefetchScheduleCommandInput, + cb: (err: any, data?: CreatePrefetchScheduleCommandOutput) => void + ): void; + public createPrefetchSchedule( + args: CreatePrefetchScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreatePrefetchScheduleCommandOutput) => void + ): void; + public createPrefetchSchedule( + args: CreatePrefetchScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreatePrefetchScheduleCommandOutput) => void), + cb?: (err: any, data?: CreatePrefetchScheduleCommandOutput) => void + ): Promise | void { + const command = new CreatePrefetchScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

            Creates a program.

            */ @@ -417,6 +469,38 @@ export class MediaTailor extends MediaTailorClient { } } + /** + *

            Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

            + */ + public deletePrefetchSchedule( + args: DeletePrefetchScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deletePrefetchSchedule( + args: DeletePrefetchScheduleCommandInput, + cb: (err: any, data?: DeletePrefetchScheduleCommandOutput) => void + ): void; + public deletePrefetchSchedule( + args: DeletePrefetchScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeletePrefetchScheduleCommandOutput) => void + ): void; + public deletePrefetchSchedule( + args: DeletePrefetchScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeletePrefetchScheduleCommandOutput) => void), + cb?: (err: any, data?: DeletePrefetchScheduleCommandOutput) => void + ): Promise | void { + const command = new DeletePrefetchScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

            Deletes a specific program on a specific channel.

            */ @@ -737,6 +821,38 @@ export class MediaTailor extends MediaTailorClient { } } + /** + *

            Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

            + */ + public getPrefetchSchedule( + args: GetPrefetchScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getPrefetchSchedule( + args: GetPrefetchScheduleCommandInput, + cb: (err: any, data?: GetPrefetchScheduleCommandOutput) => void + ): void; + public getPrefetchSchedule( + args: GetPrefetchScheduleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetPrefetchScheduleCommandOutput) => void + ): void; + public getPrefetchSchedule( + args: GetPrefetchScheduleCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetPrefetchScheduleCommandOutput) => void), + cb?: (err: any, data?: GetPrefetchScheduleCommandOutput) => void + ): Promise | void { + const command = new GetPrefetchScheduleCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

            Returns a list of alerts for the given resource.

            */ @@ -824,6 +940,38 @@ export class MediaTailor extends MediaTailorClient { } } + /** + *

            Creates a new prefetch schedule.

            + */ + public listPrefetchSchedules( + args: ListPrefetchSchedulesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listPrefetchSchedules( + args: ListPrefetchSchedulesCommandInput, + cb: (err: any, data?: ListPrefetchSchedulesCommandOutput) => void + ): void; + public listPrefetchSchedules( + args: ListPrefetchSchedulesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListPrefetchSchedulesCommandOutput) => void + ): void; + public listPrefetchSchedules( + args: ListPrefetchSchedulesCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListPrefetchSchedulesCommandOutput) => void), + cb?: (err: any, data?: ListPrefetchSchedulesCommandOutput) => void + ): Promise | void { + const command = new ListPrefetchSchedulesCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

            Retrieves a list of source locations.

            */ diff --git a/clients/client-mediatailor/src/MediaTailorClient.ts b/clients/client-mediatailor/src/MediaTailorClient.ts index 92f6cac1787e..ac17f2b5362a 100644 --- a/clients/client-mediatailor/src/MediaTailorClient.ts +++ b/clients/client-mediatailor/src/MediaTailorClient.ts @@ -54,6 +54,10 @@ import { ConfigureLogsForPlaybackConfigurationCommandOutput, } from "./commands/ConfigureLogsForPlaybackConfigurationCommand"; import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand"; +import { + CreatePrefetchScheduleCommandInput, + CreatePrefetchScheduleCommandOutput, +} from "./commands/CreatePrefetchScheduleCommand"; import { CreateProgramCommandInput, CreateProgramCommandOutput } from "./commands/CreateProgramCommand"; import { CreateSourceLocationCommandInput, @@ -69,6 +73,10 @@ import { DeletePlaybackConfigurationCommandInput, DeletePlaybackConfigurationCommandOutput, } from "./commands/DeletePlaybackConfigurationCommand"; +import { + DeletePrefetchScheduleCommandInput, + DeletePrefetchScheduleCommandOutput, +} from "./commands/DeletePrefetchScheduleCommand"; import { DeleteProgramCommandInput, DeleteProgramCommandOutput } from "./commands/DeleteProgramCommand"; import { DeleteSourceLocationCommandInput, @@ -88,12 +96,20 @@ import { GetPlaybackConfigurationCommandInput, GetPlaybackConfigurationCommandOutput, } from "./commands/GetPlaybackConfigurationCommand"; +import { + GetPrefetchScheduleCommandInput, + GetPrefetchScheduleCommandOutput, +} from "./commands/GetPrefetchScheduleCommand"; import { ListAlertsCommandInput, ListAlertsCommandOutput } from "./commands/ListAlertsCommand"; import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand"; import { ListPlaybackConfigurationsCommandInput, ListPlaybackConfigurationsCommandOutput, } from "./commands/ListPlaybackConfigurationsCommand"; +import { + ListPrefetchSchedulesCommandInput, + ListPrefetchSchedulesCommandOutput, +} from "./commands/ListPrefetchSchedulesCommand"; import { ListSourceLocationsCommandInput, ListSourceLocationsCommandOutput, @@ -123,12 +139,14 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; export type ServiceInputTypes = | ConfigureLogsForPlaybackConfigurationCommandInput | CreateChannelCommandInput + | CreatePrefetchScheduleCommandInput | CreateProgramCommandInput | CreateSourceLocationCommandInput | CreateVodSourceCommandInput | DeleteChannelCommandInput | DeleteChannelPolicyCommandInput | DeletePlaybackConfigurationCommandInput + | DeletePrefetchScheduleCommandInput | DeleteProgramCommandInput | DeleteSourceLocationCommandInput | DeleteVodSourceCommandInput @@ -139,9 +157,11 @@ export type ServiceInputTypes = | GetChannelPolicyCommandInput | GetChannelScheduleCommandInput | GetPlaybackConfigurationCommandInput + | GetPrefetchScheduleCommandInput | ListAlertsCommandInput | ListChannelsCommandInput | ListPlaybackConfigurationsCommandInput + | ListPrefetchSchedulesCommandInput | ListSourceLocationsCommandInput | ListTagsForResourceCommandInput | ListVodSourcesCommandInput @@ -158,12 +178,14 @@ export type ServiceInputTypes = export type ServiceOutputTypes = | ConfigureLogsForPlaybackConfigurationCommandOutput | CreateChannelCommandOutput + | CreatePrefetchScheduleCommandOutput | CreateProgramCommandOutput | CreateSourceLocationCommandOutput | CreateVodSourceCommandOutput | DeleteChannelCommandOutput | DeleteChannelPolicyCommandOutput | DeletePlaybackConfigurationCommandOutput + | DeletePrefetchScheduleCommandOutput | DeleteProgramCommandOutput | DeleteSourceLocationCommandOutput | DeleteVodSourceCommandOutput @@ -174,9 +196,11 @@ export type ServiceOutputTypes = | GetChannelPolicyCommandOutput | GetChannelScheduleCommandOutput | GetPlaybackConfigurationCommandOutput + | GetPrefetchScheduleCommandOutput | ListAlertsCommandOutput | ListChannelsCommandOutput | ListPlaybackConfigurationsCommandOutput + | ListPrefetchSchedulesCommandOutput | ListSourceLocationsCommandOutput | ListTagsForResourceCommandOutput | ListVodSourcesCommandOutput diff --git a/clients/client-mediatailor/src/commands/CreatePrefetchScheduleCommand.ts b/clients/client-mediatailor/src/commands/CreatePrefetchScheduleCommand.ts new file mode 100644 index 000000000000..45f06d634d1c --- /dev/null +++ b/clients/client-mediatailor/src/commands/CreatePrefetchScheduleCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient"; +import { CreatePrefetchScheduleRequest, CreatePrefetchScheduleResponse } from "../models/models_0"; +import { + deserializeAws_restJson1CreatePrefetchScheduleCommand, + serializeAws_restJson1CreatePrefetchScheduleCommand, +} from "../protocols/Aws_restJson1"; + +export interface CreatePrefetchScheduleCommandInput extends CreatePrefetchScheduleRequest {} +export interface CreatePrefetchScheduleCommandOutput extends CreatePrefetchScheduleResponse, __MetadataBearer {} + +/** + *

            Creates a new prefetch schedule for the specified playback configuration.

            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaTailorClient, CreatePrefetchScheduleCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import + * // const { MediaTailorClient, CreatePrefetchScheduleCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import + * const client = new MediaTailorClient(config); + * const command = new CreatePrefetchScheduleCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link CreatePrefetchScheduleCommandInput} for command's `input` shape. + * @see {@link CreatePrefetchScheduleCommandOutput} for command's `response` shape. + * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class CreatePrefetchScheduleCommand extends $Command< + CreatePrefetchScheduleCommandInput, + CreatePrefetchScheduleCommandOutput, + MediaTailorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: CreatePrefetchScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaTailorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaTailorClient"; + const commandName = "CreatePrefetchScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreatePrefetchScheduleRequest.filterSensitiveLog, + outputFilterSensitiveLog: CreatePrefetchScheduleResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: CreatePrefetchScheduleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1CreatePrefetchScheduleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1CreatePrefetchScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-mediatailor/src/commands/DeletePrefetchScheduleCommand.ts b/clients/client-mediatailor/src/commands/DeletePrefetchScheduleCommand.ts new file mode 100644 index 000000000000..1b5393e27321 --- /dev/null +++ b/clients/client-mediatailor/src/commands/DeletePrefetchScheduleCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient"; +import { DeletePrefetchScheduleRequest, DeletePrefetchScheduleResponse } from "../models/models_0"; +import { + deserializeAws_restJson1DeletePrefetchScheduleCommand, + serializeAws_restJson1DeletePrefetchScheduleCommand, +} from "../protocols/Aws_restJson1"; + +export interface DeletePrefetchScheduleCommandInput extends DeletePrefetchScheduleRequest {} +export interface DeletePrefetchScheduleCommandOutput extends DeletePrefetchScheduleResponse, __MetadataBearer {} + +/** + *

            Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaTailorClient, DeletePrefetchScheduleCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import + * // const { MediaTailorClient, DeletePrefetchScheduleCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import + * const client = new MediaTailorClient(config); + * const command = new DeletePrefetchScheduleCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeletePrefetchScheduleCommandInput} for command's `input` shape. + * @see {@link DeletePrefetchScheduleCommandOutput} for command's `response` shape. + * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeletePrefetchScheduleCommand extends $Command< + DeletePrefetchScheduleCommandInput, + DeletePrefetchScheduleCommandOutput, + MediaTailorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeletePrefetchScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaTailorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaTailorClient"; + const commandName = "DeletePrefetchScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeletePrefetchScheduleRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeletePrefetchScheduleResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeletePrefetchScheduleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1DeletePrefetchScheduleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1DeletePrefetchScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-mediatailor/src/commands/GetPrefetchScheduleCommand.ts b/clients/client-mediatailor/src/commands/GetPrefetchScheduleCommand.ts new file mode 100644 index 000000000000..1a4e03b61d86 --- /dev/null +++ b/clients/client-mediatailor/src/commands/GetPrefetchScheduleCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient"; +import { GetPrefetchScheduleRequest, GetPrefetchScheduleResponse } from "../models/models_0"; +import { + deserializeAws_restJson1GetPrefetchScheduleCommand, + serializeAws_restJson1GetPrefetchScheduleCommand, +} from "../protocols/Aws_restJson1"; + +export interface GetPrefetchScheduleCommandInput extends GetPrefetchScheduleRequest {} +export interface GetPrefetchScheduleCommandOutput extends GetPrefetchScheduleResponse, __MetadataBearer {} + +/** + *

            Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaTailorClient, GetPrefetchScheduleCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import + * // const { MediaTailorClient, GetPrefetchScheduleCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import + * const client = new MediaTailorClient(config); + * const command = new GetPrefetchScheduleCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetPrefetchScheduleCommandInput} for command's `input` shape. + * @see {@link GetPrefetchScheduleCommandOutput} for command's `response` shape. + * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetPrefetchScheduleCommand extends $Command< + GetPrefetchScheduleCommandInput, + GetPrefetchScheduleCommandOutput, + MediaTailorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetPrefetchScheduleCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaTailorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaTailorClient"; + const commandName = "GetPrefetchScheduleCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetPrefetchScheduleRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetPrefetchScheduleResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetPrefetchScheduleCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1GetPrefetchScheduleCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1GetPrefetchScheduleCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-mediatailor/src/commands/ListPrefetchSchedulesCommand.ts b/clients/client-mediatailor/src/commands/ListPrefetchSchedulesCommand.ts new file mode 100644 index 000000000000..64aef23d60d8 --- /dev/null +++ b/clients/client-mediatailor/src/commands/ListPrefetchSchedulesCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { MediaTailorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaTailorClient"; +import { ListPrefetchSchedulesRequest, ListPrefetchSchedulesResponse } from "../models/models_0"; +import { + deserializeAws_restJson1ListPrefetchSchedulesCommand, + serializeAws_restJson1ListPrefetchSchedulesCommand, +} from "../protocols/Aws_restJson1"; + +export interface ListPrefetchSchedulesCommandInput extends ListPrefetchSchedulesRequest {} +export interface ListPrefetchSchedulesCommandOutput extends ListPrefetchSchedulesResponse, __MetadataBearer {} + +/** + *

            Creates a new prefetch schedule.

            + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { MediaTailorClient, ListPrefetchSchedulesCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import + * // const { MediaTailorClient, ListPrefetchSchedulesCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import + * const client = new MediaTailorClient(config); + * const command = new ListPrefetchSchedulesCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListPrefetchSchedulesCommandInput} for command's `input` shape. + * @see {@link ListPrefetchSchedulesCommandOutput} for command's `response` shape. + * @see {@link MediaTailorClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ListPrefetchSchedulesCommand extends $Command< + ListPrefetchSchedulesCommandInput, + ListPrefetchSchedulesCommandOutput, + MediaTailorClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListPrefetchSchedulesCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: MediaTailorClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "MediaTailorClient"; + const commandName = "ListPrefetchSchedulesCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListPrefetchSchedulesRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListPrefetchSchedulesResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListPrefetchSchedulesCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_restJson1ListPrefetchSchedulesCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_restJson1ListPrefetchSchedulesCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-mediatailor/src/endpoints.ts b/clients/client-mediatailor/src/endpoints.ts index 12ebcc79321b..64577b5905d3 100644 --- a/clients/client-mediatailor/src/endpoints.ts +++ b/clients/client-mediatailor/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "api.mediatailor.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.mediatailor.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mediatailor/src/index.ts b/clients/client-mediatailor/src/index.ts index 19b715713d64..7e5b6944bbea 100644 --- a/clients/client-mediatailor/src/index.ts +++ b/clients/client-mediatailor/src/index.ts @@ -2,12 +2,14 @@ export * from "./MediaTailorClient"; export * from "./MediaTailor"; export * from "./commands/ConfigureLogsForPlaybackConfigurationCommand"; export * from "./commands/CreateChannelCommand"; +export * from "./commands/CreatePrefetchScheduleCommand"; export * from "./commands/CreateProgramCommand"; export * from "./commands/CreateSourceLocationCommand"; export * from "./commands/CreateVodSourceCommand"; export * from "./commands/DeleteChannelCommand"; export * from "./commands/DeleteChannelPolicyCommand"; export * from "./commands/DeletePlaybackConfigurationCommand"; +export * from "./commands/DeletePrefetchScheduleCommand"; export * from "./commands/DeleteProgramCommand"; export * from "./commands/DeleteSourceLocationCommand"; export * from "./commands/DeleteVodSourceCommand"; @@ -19,12 +21,15 @@ export * from "./commands/GetChannelPolicyCommand"; export * from "./commands/GetChannelScheduleCommand"; export * from "./pagination/GetChannelSchedulePaginator"; export * from "./commands/GetPlaybackConfigurationCommand"; +export * from "./commands/GetPrefetchScheduleCommand"; export * from "./commands/ListAlertsCommand"; export * from "./pagination/ListAlertsPaginator"; export * from "./commands/ListChannelsCommand"; export * from "./pagination/ListChannelsPaginator"; export * from "./commands/ListPlaybackConfigurationsCommand"; export * from "./pagination/ListPlaybackConfigurationsPaginator"; +export * from "./commands/ListPrefetchSchedulesCommand"; +export * from "./pagination/ListPrefetchSchedulesPaginator"; export * from "./commands/ListSourceLocationsCommand"; export * from "./pagination/ListSourceLocationsPaginator"; export * from "./commands/ListTagsForResourceCommand"; diff --git a/clients/client-mediatailor/src/models/models_0.ts b/clients/client-mediatailor/src/models/models_0.ts index b2032e65e501..ceaa0339653a 100644 --- a/clients/client-mediatailor/src/models/models_0.ts +++ b/clients/client-mediatailor/src/models/models_0.ts @@ -135,6 +135,34 @@ export namespace Alert { }); } +export enum Operator { + EQUALS = "EQUALS", +} + +/** + *

            MediaTailor only places (consumes) prefetched ads if the ad break meets the criteria defined by the dynamic variables. This gives you granular control over which ad break to place the prefetched ads into.

            As an example, let's say that you set DynamicVariable to scte.event_id and Operator to EQUALS, and your playback configuration has an ADS URL of https://my.ads.server.com/path?&podId=[scte.avail_num]&event=[scte.event_id]&duration=[session.avail_duration_secs]. And the prefetch request to the ADS contains these values https://my.ads.server.com/path?&podId=3&event=my-awesome-event&duration=30. MediaTailor will only insert the prefetched ads into the ad break if has a SCTE marker with an event id of my-awesome-event, since it must match the event id that MediaTailor uses to query the ADS.

            You can specify up to five AvailMatchingCriteria. If you specify multiple AvailMatchingCriteria, MediaTailor combines them to match using a logical AND. You can model logical OR combinations by creating multiple prefetch schedules.

            + */ +export interface AvailMatchingCriteria { + /** + *

            The dynamic variable(s) that MediaTailor should use as avail matching criteria. MediaTailor only places the prefetched ads into the avail if the avail matches the criteria defined by the dynamic variable. For information about dynamic variables, see Using dynamic ad variables in the MediaTailor User Guide.

            You can include up to 100 dynamic variables.

            + */ + DynamicVariable: string | undefined; + + /** + *

            For the DynamicVariable specified in AvailMatchingCriteria, the Operator that is used for the comparison.

            + */ + Operator: Operator | string | undefined; +} + +export namespace AvailMatchingCriteria { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AvailMatchingCriteria): any => ({ + ...obj, + }); +} + /** *

            Dash manifest configuration parameters.

            */ @@ -606,6 +634,108 @@ export namespace PlaybackConfiguration { }); } +/** + *

            A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.

            + */ +export interface PrefetchConsumption { + /** + *

            If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.

            + */ + AvailMatchingCriteria?: AvailMatchingCriteria[]; + + /** + *

            The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.

            + */ + EndTime: Date | undefined; + + /** + *

            The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.

            + */ + StartTime?: Date; +} + +export namespace PrefetchConsumption { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PrefetchConsumption): any => ({ + ...obj, + }); +} + +/** + *

            A complex type that contains settings governing when MediaTailor prefetches ads, and which dynamic variables that MediaTailor includes in the request to the ad decision server.

            + */ +export interface PrefetchRetrieval { + /** + *

            The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).

            You intially configure dynamic variables for the ADS URL when you set up your playback configuration. When you specify DynamicVariables for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.

            + */ + DynamicVariables?: { [key: string]: string }; + + /** + *

            The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.

            + */ + EndTime: Date | undefined; + + /** + *

            The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.

            + */ + StartTime?: Date; +} + +export namespace PrefetchRetrieval { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PrefetchRetrieval): any => ({ + ...obj, + }); +} + +/** + *

            A complex type that contains prefetch schedule information.

            + */ +export interface PrefetchSchedule { + /** + *

            The Amazon Resource Name (ARN) of the prefetch schedule.

            + */ + Arn: string | undefined; + + /** + *

            Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

            + */ + Consumption: PrefetchConsumption | undefined; + + /** + *

            The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

            + */ + Name: string | undefined; + + /** + *

            The name of the playback configuration to create the prefetch schedule for.

            + */ + PlaybackConfigurationName: string | undefined; + + /** + *

            A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

            + */ + Retrieval: PrefetchRetrieval | undefined; + + /** + *

            An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

            + */ + StreamId?: string; +} + +export namespace PrefetchSchedule { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PrefetchSchedule): any => ({ + ...obj, + }); +} + /** *

            The schedule's ad break properties.

            */ @@ -1136,6 +1266,83 @@ export namespace CreateChannelResponse { }); } +export interface CreatePrefetchScheduleRequest { + /** + *

            The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.

            + */ + Consumption: PrefetchConsumption | undefined; + + /** + *

            The identifier for the playback configuration.

            + */ + Name: string | undefined; + + /** + *

            The name of the playback configuration.

            + */ + PlaybackConfigurationName: string | undefined; + + /** + *

            The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.

            + */ + Retrieval: PrefetchRetrieval | undefined; + + /** + *

            An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.

            + */ + StreamId?: string; +} + +export namespace CreatePrefetchScheduleRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreatePrefetchScheduleRequest): any => ({ + ...obj, + }); +} + +export interface CreatePrefetchScheduleResponse { + /** + *

            The Amazon Resource Name (ARN) of the prefetch schedule.

            + */ + Arn?: string; + + /** + *

            Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

            + */ + Consumption?: PrefetchConsumption; + + /** + *

            The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

            + */ + Name?: string; + + /** + *

            The name of the playback configuration to create the prefetch schedule for.

            + */ + PlaybackConfigurationName?: string; + + /** + *

            A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

            + */ + Retrieval?: PrefetchRetrieval; + + /** + *

            An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

            + */ + StreamId?: string; +} + +export namespace CreatePrefetchScheduleResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: CreatePrefetchScheduleResponse): any => ({ + ...obj, + }); +} + export enum RelativePosition { AFTER_PROGRAM = "AFTER_PROGRAM", BEFORE_PROGRAM = "BEFORE_PROGRAM", @@ -1555,6 +1762,38 @@ export namespace DeletePlaybackConfigurationResponse { }); } +export interface DeletePrefetchScheduleRequest { + /** + *

            The identifier for the playback configuration.

            + */ + Name: string | undefined; + + /** + *

            The name of the playback configuration.

            + */ + PlaybackConfigurationName: string | undefined; +} + +export namespace DeletePrefetchScheduleRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeletePrefetchScheduleRequest): any => ({ + ...obj, + }); +} + +export interface DeletePrefetchScheduleResponse {} + +export namespace DeletePrefetchScheduleResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeletePrefetchScheduleResponse): any => ({ + ...obj, + }); +} + export interface DeleteProgramRequest { /** *

            The identifier for the channel you are working on.

            @@ -2130,6 +2369,68 @@ export namespace GetPlaybackConfigurationResponse { }); } +export interface GetPrefetchScheduleRequest { + /** + *

            The identifier for the playback configuration.

            + */ + Name: string | undefined; + + /** + *

            The name of the playback configuration.

            + */ + PlaybackConfigurationName: string | undefined; +} + +export namespace GetPrefetchScheduleRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetPrefetchScheduleRequest): any => ({ + ...obj, + }); +} + +export interface GetPrefetchScheduleResponse { + /** + *

            The Amazon Resource Name (ARN) of the prefetch schedule.

            + */ + Arn?: string; + + /** + *

            Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

            + */ + Consumption?: PrefetchConsumption; + + /** + *

            The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

            + */ + Name?: string; + + /** + *

            The name of the playback configuration to create the prefetch schedule for.

            + */ + PlaybackConfigurationName?: string; + + /** + *

            A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

            + */ + Retrieval?: PrefetchRetrieval; + + /** + *

            An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

            + */ + StreamId?: string; +} + +export namespace GetPrefetchScheduleResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetPrefetchScheduleResponse): any => ({ + ...obj, + }); +} + export interface ListAlertsRequest { /** *

            Upper bound on number of records to return. The maximum number of results is 100.

            @@ -2261,6 +2562,58 @@ export namespace ListPlaybackConfigurationsResponse { }); } +export interface ListPrefetchSchedulesRequest { + /** + *

            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.

            + */ + MaxResults?: number; + + /** + *

            (Optional) If the playback configuration has more than MaxResults prefetch schedules, use NextToken to get the second and subsequent pages of results.

            For the first ListPrefetchSchedulesRequest request, omit this value.

            For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

            If the previous response didn't include a NextToken element, there are no more prefetch schedules to get.

            + */ + NextToken?: string; + + /** + *

            The name of the playback configuration.

            + */ + PlaybackConfigurationName: string | undefined; + + /** + *

            An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.

            + */ + StreamId?: string; +} + +export namespace ListPrefetchSchedulesRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListPrefetchSchedulesRequest): any => ({ + ...obj, + }); +} + +export interface ListPrefetchSchedulesResponse { + /** + *

            Lists the prefetch schedules. An empty Items list doesn't mean there aren't more items to fetch, just that that page was empty.

            + */ + Items?: PrefetchSchedule[]; + + /** + *

            The value that you will use forNextToken in the next ListPrefetchSchedulesRequest request.

            + */ + NextToken?: string; +} + +export namespace ListPrefetchSchedulesResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListPrefetchSchedulesResponse): any => ({ + ...obj, + }); +} + export interface ListSourceLocationsRequest { /** *

            Upper bound on number of records to return. The maximum number of results is 100.

            diff --git a/clients/client-mediatailor/src/pagination/ListPrefetchSchedulesPaginator.ts b/clients/client-mediatailor/src/pagination/ListPrefetchSchedulesPaginator.ts new file mode 100644 index 000000000000..a9407536ae9b --- /dev/null +++ b/clients/client-mediatailor/src/pagination/ListPrefetchSchedulesPaginator.ts @@ -0,0 +1,59 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListPrefetchSchedulesCommand, + ListPrefetchSchedulesCommandInput, + ListPrefetchSchedulesCommandOutput, +} from "../commands/ListPrefetchSchedulesCommand"; +import { MediaTailor } from "../MediaTailor"; +import { MediaTailorClient } from "../MediaTailorClient"; +import { MediaTailorPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: MediaTailorClient, + input: ListPrefetchSchedulesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListPrefetchSchedulesCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: MediaTailor, + input: ListPrefetchSchedulesCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listPrefetchSchedules(input, ...args); +}; +export async function* paginateListPrefetchSchedules( + config: MediaTailorPaginationConfiguration, + input: ListPrefetchSchedulesCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.NextToken + let token: typeof input.NextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListPrefetchSchedulesCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof MediaTailor) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof MediaTailorClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected MediaTailor | MediaTailorClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-mediatailor/src/protocols/Aws_restJson1.ts b/clients/client-mediatailor/src/protocols/Aws_restJson1.ts index 8c2ffb8bedf5..41fa0bb27770 100644 --- a/clients/client-mediatailor/src/protocols/Aws_restJson1.ts +++ b/clients/client-mediatailor/src/protocols/Aws_restJson1.ts @@ -23,6 +23,10 @@ import { ConfigureLogsForPlaybackConfigurationCommandOutput, } from "../commands/ConfigureLogsForPlaybackConfigurationCommand"; import { CreateChannelCommandInput, CreateChannelCommandOutput } from "../commands/CreateChannelCommand"; +import { + CreatePrefetchScheduleCommandInput, + CreatePrefetchScheduleCommandOutput, +} from "../commands/CreatePrefetchScheduleCommand"; import { CreateProgramCommandInput, CreateProgramCommandOutput } from "../commands/CreateProgramCommand"; import { CreateSourceLocationCommandInput, @@ -38,6 +42,10 @@ import { DeletePlaybackConfigurationCommandInput, DeletePlaybackConfigurationCommandOutput, } from "../commands/DeletePlaybackConfigurationCommand"; +import { + DeletePrefetchScheduleCommandInput, + DeletePrefetchScheduleCommandOutput, +} from "../commands/DeletePrefetchScheduleCommand"; import { DeleteProgramCommandInput, DeleteProgramCommandOutput } from "../commands/DeleteProgramCommand"; import { DeleteSourceLocationCommandInput, @@ -57,12 +65,20 @@ import { GetPlaybackConfigurationCommandInput, GetPlaybackConfigurationCommandOutput, } from "../commands/GetPlaybackConfigurationCommand"; +import { + GetPrefetchScheduleCommandInput, + GetPrefetchScheduleCommandOutput, +} from "../commands/GetPrefetchScheduleCommand"; import { ListAlertsCommandInput, ListAlertsCommandOutput } from "../commands/ListAlertsCommand"; import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand"; import { ListPlaybackConfigurationsCommandInput, ListPlaybackConfigurationsCommandOutput, } from "../commands/ListPlaybackConfigurationsCommand"; +import { + ListPrefetchSchedulesCommandInput, + ListPrefetchSchedulesCommandOutput, +} from "../commands/ListPrefetchSchedulesCommand"; import { ListSourceLocationsCommandInput, ListSourceLocationsCommandOutput, @@ -92,6 +108,7 @@ import { AdBreak, AdMarkerPassthrough, Alert, + AvailMatchingCriteria, AvailSuppression, BadRequestException, Bumper, @@ -109,6 +126,9 @@ import { LogConfiguration, ManifestProcessingRules, PlaybackConfiguration, + PrefetchConsumption, + PrefetchRetrieval, + PrefetchSchedule, RequestOutputItem, ResponseOutputItem, ScheduleAdBreak, @@ -189,6 +209,56 @@ export const serializeAws_restJson1CreateChannelCommand = async ( }); }; +export const serializeAws_restJson1CreatePrefetchScheduleCommand = async ( + input: CreatePrefetchScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/prefetchSchedule/{PlaybackConfigurationName}/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + if (input.PlaybackConfigurationName !== undefined) { + const labelValue: string = input.PlaybackConfigurationName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName."); + } + resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: PlaybackConfigurationName."); + } + let body: any; + body = JSON.stringify({ + ...(input.Consumption !== undefined && + input.Consumption !== null && { + Consumption: serializeAws_restJson1PrefetchConsumption(input.Consumption, context), + }), + ...(input.Retrieval !== undefined && + input.Retrieval !== null && { Retrieval: serializeAws_restJson1PrefetchRetrieval(input.Retrieval, context) }), + ...(input.StreamId !== undefined && input.StreamId !== null && { StreamId: input.StreamId }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1CreateProgramCommand = async ( input: CreateProgramCommandInput, context: __SerdeContext @@ -429,6 +499,45 @@ export const serializeAws_restJson1DeletePlaybackConfigurationCommand = async ( }); }; +export const serializeAws_restJson1DeletePrefetchScheduleCommand = async ( + input: DeletePrefetchScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/prefetchSchedule/{PlaybackConfigurationName}/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + if (input.PlaybackConfigurationName !== undefined) { + const labelValue: string = input.PlaybackConfigurationName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName."); + } + resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: PlaybackConfigurationName."); + } + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "DELETE", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1DeleteProgramCommand = async ( input: DeleteProgramCommandInput, context: __SerdeContext @@ -764,6 +873,45 @@ export const serializeAws_restJson1GetPlaybackConfigurationCommand = async ( }); }; +export const serializeAws_restJson1GetPrefetchScheduleCommand = async ( + input: GetPrefetchScheduleCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = {}; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/prefetchSchedule/{PlaybackConfigurationName}/{Name}"; + if (input.Name !== undefined) { + const labelValue: string = input.Name; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: Name."); + } + resolvedPath = resolvedPath.replace("{Name}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: Name."); + } + if (input.PlaybackConfigurationName !== undefined) { + const labelValue: string = input.PlaybackConfigurationName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName."); + } + resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: PlaybackConfigurationName."); + } + let body: any; + return new __HttpRequest({ + protocol, + hostname, + port, + method: "GET", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1ListAlertsCommand = async ( input: ListAlertsCommandInput, context: __SerdeContext @@ -838,6 +986,43 @@ export const serializeAws_restJson1ListPlaybackConfigurationsCommand = async ( }); }; +export const serializeAws_restJson1ListPrefetchSchedulesCommand = async ( + input: ListPrefetchSchedulesCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const headers: any = { + "content-type": "application/json", + }; + let resolvedPath = + `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + + "/prefetchSchedule/{PlaybackConfigurationName}"; + if (input.PlaybackConfigurationName !== undefined) { + const labelValue: string = input.PlaybackConfigurationName; + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: PlaybackConfigurationName."); + } + resolvedPath = resolvedPath.replace("{PlaybackConfigurationName}", __extendedEncodeURIComponent(labelValue)); + } else { + throw new Error("No value provided for input HTTP label: PlaybackConfigurationName."); + } + let body: any; + body = JSON.stringify({ + ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }), + ...(input.StreamId !== undefined && input.StreamId !== null && { StreamId: input.StreamId }), + }); + return new __HttpRequest({ + protocol, + hostname, + port, + method: "POST", + headers, + path: resolvedPath, + body, + }); +}; + export const serializeAws_restJson1ListSourceLocationsCommand = async ( input: ListSourceLocationsCommandInput, context: __SerdeContext @@ -1411,6 +1596,73 @@ const deserializeAws_restJson1CreateChannelCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1CreatePrefetchScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1CreatePrefetchScheduleCommandError(output, context); + } + const contents: CreatePrefetchScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + Arn: undefined, + Consumption: undefined, + Name: undefined, + PlaybackConfigurationName: undefined, + Retrieval: undefined, + StreamId: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.Arn !== undefined && data.Arn !== null) { + contents.Arn = __expectString(data.Arn); + } + if (data.Consumption !== undefined && data.Consumption !== null) { + contents.Consumption = deserializeAws_restJson1PrefetchConsumption(data.Consumption, context); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = __expectString(data.Name); + } + if (data.PlaybackConfigurationName !== undefined && data.PlaybackConfigurationName !== null) { + contents.PlaybackConfigurationName = __expectString(data.PlaybackConfigurationName); + } + if (data.Retrieval !== undefined && data.Retrieval !== null) { + contents.Retrieval = deserializeAws_restJson1PrefetchRetrieval(data.Retrieval, context); + } + if (data.StreamId !== undefined && data.StreamId !== null) { + contents.StreamId = __expectString(data.StreamId); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1CreatePrefetchScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1CreateProgramCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -1767,6 +2019,49 @@ const deserializeAws_restJson1DeletePlaybackConfigurationCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1DeletePrefetchScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 204 && output.statusCode >= 300) { + return deserializeAws_restJson1DeletePrefetchScheduleCommandError(output, context); + } + const contents: DeletePrefetchScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + }; + await collectBody(output.body, context); + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1DeletePrefetchScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1DeleteProgramCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2428,6 +2723,73 @@ const deserializeAws_restJson1GetPlaybackConfigurationCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1GetPrefetchScheduleCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1GetPrefetchScheduleCommandError(output, context); + } + const contents: GetPrefetchScheduleCommandOutput = { + $metadata: deserializeMetadata(output), + Arn: undefined, + Consumption: undefined, + Name: undefined, + PlaybackConfigurationName: undefined, + Retrieval: undefined, + StreamId: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.Arn !== undefined && data.Arn !== null) { + contents.Arn = __expectString(data.Arn); + } + if (data.Consumption !== undefined && data.Consumption !== null) { + contents.Consumption = deserializeAws_restJson1PrefetchConsumption(data.Consumption, context); + } + if (data.Name !== undefined && data.Name !== null) { + contents.Name = __expectString(data.Name); + } + if (data.PlaybackConfigurationName !== undefined && data.PlaybackConfigurationName !== null) { + contents.PlaybackConfigurationName = __expectString(data.PlaybackConfigurationName); + } + if (data.Retrieval !== undefined && data.Retrieval !== null) { + contents.Retrieval = deserializeAws_restJson1PrefetchRetrieval(data.Retrieval, context); + } + if (data.StreamId !== undefined && data.StreamId !== null) { + contents.StreamId = __expectString(data.StreamId); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1GetPrefetchScheduleCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1ListAlertsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -2581,6 +2943,57 @@ const deserializeAws_restJson1ListPlaybackConfigurationsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_restJson1ListPrefetchSchedulesCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return deserializeAws_restJson1ListPrefetchSchedulesCommandError(output, context); + } + const contents: ListPrefetchSchedulesCommandOutput = { + $metadata: deserializeMetadata(output), + Items: undefined, + NextToken: undefined, + }; + const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); + if (data.Items !== undefined && data.Items !== null) { + contents.Items = deserializeAws_restJson1__listOfPrefetchSchedule(data.Items, context); + } + if (data.NextToken !== undefined && data.NextToken !== null) { + contents.NextToken = __expectString(data.NextToken); + } + return Promise.resolve(contents); +}; + +const deserializeAws_restJson1ListPrefetchSchedulesCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_restJson1ListSourceLocationsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -3356,6 +3769,20 @@ const serializeAws_restJson1__listOfAdBreak = (input: AdBreak[], context: __Serd }); }; +const serializeAws_restJson1__listOfAvailMatchingCriteria = ( + input: AvailMatchingCriteria[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AvailMatchingCriteria(entry, context); + }); +}; + const serializeAws_restJson1__mapOf__string = (input: { [key: string]: string }, context: __SerdeContext): any => { return Object.entries(input).reduce((acc: { [key: string]: any }, [key, value]: [string, any]) => { if (value === null) { @@ -3400,6 +3827,14 @@ const serializeAws_restJson1AdMarkerPassthrough = (input: AdMarkerPassthrough, c }; }; +const serializeAws_restJson1AvailMatchingCriteria = (input: AvailMatchingCriteria, context: __SerdeContext): any => { + return { + ...(input.DynamicVariable !== undefined && + input.DynamicVariable !== null && { DynamicVariable: input.DynamicVariable }), + ...(input.Operator !== undefined && input.Operator !== null && { Operator: input.Operator }), + }; +}; + const serializeAws_restJson1AvailSuppression = (input: AvailSuppression, context: __SerdeContext): any => { return { ...(input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode }), @@ -3535,6 +3970,35 @@ const serializeAws_restJson1ManifestProcessingRules = ( }; }; +const serializeAws_restJson1PrefetchConsumption = (input: PrefetchConsumption, context: __SerdeContext): any => { + return { + ...(input.AvailMatchingCriteria !== undefined && + input.AvailMatchingCriteria !== null && { + AvailMatchingCriteria: serializeAws_restJson1__listOfAvailMatchingCriteria( + input.AvailMatchingCriteria, + context + ), + }), + ...(input.EndTime !== undefined && + input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }), + ...(input.StartTime !== undefined && + input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }), + }; +}; + +const serializeAws_restJson1PrefetchRetrieval = (input: PrefetchRetrieval, context: __SerdeContext): any => { + return { + ...(input.DynamicVariables !== undefined && + input.DynamicVariables !== null && { + DynamicVariables: serializeAws_restJson1__mapOf__string(input.DynamicVariables, context), + }), + ...(input.EndTime !== undefined && + input.EndTime !== null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }), + ...(input.StartTime !== undefined && + input.StartTime !== null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }), + }; +}; + const serializeAws_restJson1RequestOutputItem = (input: RequestOutputItem, context: __SerdeContext): any => { return { ...(input.DashPlaylistSettings !== undefined && @@ -3644,6 +4108,20 @@ const deserializeAws_restJson1__listOfAlert = (output: any, context: __SerdeCont }); }; +const deserializeAws_restJson1__listOfAvailMatchingCriteria = ( + output: any, + context: __SerdeContext +): AvailMatchingCriteria[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AvailMatchingCriteria(entry, context); + }); +}; + const deserializeAws_restJson1__listOfChannel = (output: any, context: __SerdeContext): Channel[] => { return (output || []) .filter((e: any) => e != null) @@ -3669,6 +4147,17 @@ const deserializeAws_restJson1__listOfPlaybackConfiguration = ( }); }; +const deserializeAws_restJson1__listOfPrefetchSchedule = (output: any, context: __SerdeContext): PrefetchSchedule[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1PrefetchSchedule(entry, context); + }); +}; + const deserializeAws_restJson1__listOfScheduleAdBreak = (output: any, context: __SerdeContext): ScheduleAdBreak[] => { return (output || []) .filter((e: any) => e != null) @@ -3776,6 +4265,13 @@ const deserializeAws_restJson1Alert = (output: any, context: __SerdeContext): Al } as any; }; +const deserializeAws_restJson1AvailMatchingCriteria = (output: any, context: __SerdeContext): AvailMatchingCriteria => { + return { + DynamicVariable: __expectString(output.DynamicVariable), + Operator: __expectString(output.Operator), + } as any; +}; + const deserializeAws_restJson1AvailSuppression = (output: any, context: __SerdeContext): AvailSuppression => { return { Mode: __expectString(output.Mode), @@ -3995,6 +4491,57 @@ const deserializeAws_restJson1PlaybackConfiguration = (output: any, context: __S } as any; }; +const deserializeAws_restJson1PrefetchConsumption = (output: any, context: __SerdeContext): PrefetchConsumption => { + return { + AvailMatchingCriteria: + output.AvailMatchingCriteria !== undefined && output.AvailMatchingCriteria !== null + ? deserializeAws_restJson1__listOfAvailMatchingCriteria(output.AvailMatchingCriteria, context) + : undefined, + EndTime: + output.EndTime !== undefined && output.EndTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) + : undefined, + StartTime: + output.StartTime !== undefined && output.StartTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) + : undefined, + } as any; +}; + +const deserializeAws_restJson1PrefetchRetrieval = (output: any, context: __SerdeContext): PrefetchRetrieval => { + return { + DynamicVariables: + output.DynamicVariables !== undefined && output.DynamicVariables !== null + ? deserializeAws_restJson1__mapOf__string(output.DynamicVariables, context) + : undefined, + EndTime: + output.EndTime !== undefined && output.EndTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) + : undefined, + StartTime: + output.StartTime !== undefined && output.StartTime !== null + ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) + : undefined, + } as any; +}; + +const deserializeAws_restJson1PrefetchSchedule = (output: any, context: __SerdeContext): PrefetchSchedule => { + return { + Arn: __expectString(output.Arn), + Consumption: + output.Consumption !== undefined && output.Consumption !== null + ? deserializeAws_restJson1PrefetchConsumption(output.Consumption, context) + : undefined, + Name: __expectString(output.Name), + PlaybackConfigurationName: __expectString(output.PlaybackConfigurationName), + Retrieval: + output.Retrieval !== undefined && output.Retrieval !== null + ? deserializeAws_restJson1PrefetchRetrieval(output.Retrieval, context) + : undefined, + StreamId: __expectString(output.StreamId), + } as any; +}; + const deserializeAws_restJson1ResponseOutputItem = (output: any, context: __SerdeContext): ResponseOutputItem => { return { DashPlaylistSettings: diff --git a/clients/client-memorydb/src/endpoints.ts b/clients/client-memorydb/src/endpoints.ts index e7de3baf4981..202c5321f444 100644 --- a/clients/client-memorydb/src/endpoints.ts +++ b/clients/client-memorydb/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "memory-db.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "memory-db.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mgn/src/endpoints.ts b/clients/client-mgn/src/endpoints.ts index 496d7f523afb..822ab7292cce 100644 --- a/clients/client-mgn/src/endpoints.ts +++ b/clients/client-mgn/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "mgn.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mgn.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-migration-hub/src/endpoints.ts b/clients/client-migration-hub/src/endpoints.ts index 2916ca55b62e..3871fb032c93 100644 --- a/clients/client-migration-hub/src/endpoints.ts +++ b/clients/client-migration-hub/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "mgh.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mgh.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-migrationhub-config/src/endpoints.ts b/clients/client-migrationhub-config/src/endpoints.ts index 6b60ea68356e..c2657b785461 100644 --- a/clients/client-migrationhub-config/src/endpoints.ts +++ b/clients/client-migrationhub-config/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "migrationhub-config.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "migrationhub-config.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mobile/src/endpoints.ts b/clients/client-mobile/src/endpoints.ts index f698bbe5ab05..df334a5cee0f 100644 --- a/clients/client-mobile/src/endpoints.ts +++ b/clients/client-mobile/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "mobile.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mobile.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mq/src/endpoints.ts b/clients/client-mq/src/endpoints.ts index b001d86a0aab..15e67c1dc7d2 100644 --- a/clients/client-mq/src/endpoints.ts +++ b/clients/client-mq/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "mq.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mq.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mturk/src/endpoints.ts b/clients/client-mturk/src/endpoints.ts index 197e0adaa8f0..793c251e3981 100644 --- a/clients/client-mturk/src/endpoints.ts +++ b/clients/client-mturk/src/endpoints.ts @@ -40,7 +40,7 @@ const partitionHash: PartitionHash = { hostname: "mturk-requester.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "mturk-requester.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-mwaa/src/endpoints.ts b/clients/client-mwaa/src/endpoints.ts index deee02c4b95e..c090275c0af9 100644 --- a/clients/client-mwaa/src/endpoints.ts +++ b/clients/client-mwaa/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "airflow.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "airflow.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-neptune/src/endpoints.ts b/clients/client-neptune/src/endpoints.ts index 42173114c678..125bf04793ce 100644 --- a/clients/client-neptune/src/endpoints.ts +++ b/clients/client-neptune/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "rds.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-network-firewall/src/endpoints.ts b/clients/client-network-firewall/src/endpoints.ts index 2daab370d3f7..414009cf2255 100644 --- a/clients/client-network-firewall/src/endpoints.ts +++ b/clients/client-network-firewall/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "network-firewall.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "network-firewall.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-networkmanager/src/endpoints.ts b/clients/client-networkmanager/src/endpoints.ts index 53c5f6c4d4b9..189130ab8d6e 100644 --- a/clients/client-networkmanager/src/endpoints.ts +++ b/clients/client-networkmanager/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "networkmanager.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "networkmanager.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-nimble/src/endpoints.ts b/clients/client-nimble/src/endpoints.ts index 7013bdf1e59f..3811aa2743d8 100644 --- a/clients/client-nimble/src/endpoints.ts +++ b/clients/client-nimble/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "nimble.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "nimble.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-opensearch/src/endpoints.ts b/clients/client-opensearch/src/endpoints.ts index 046241394153..2d9eac29fa19 100644 --- a/clients/client-opensearch/src/endpoints.ts +++ b/clients/client-opensearch/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "es.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "es.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-opsworks/src/endpoints.ts b/clients/client-opsworks/src/endpoints.ts index 248a4fb7cd0a..a5dd73d7a72c 100644 --- a/clients/client-opsworks/src/endpoints.ts +++ b/clients/client-opsworks/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "opsworks.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "opsworks.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-opsworkscm/src/endpoints.ts b/clients/client-opsworkscm/src/endpoints.ts index f526aa3c9b44..71b0fb51f359 100644 --- a/clients/client-opsworkscm/src/endpoints.ts +++ b/clients/client-opsworkscm/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "opsworks-cm.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "opsworks-cm.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-organizations/src/endpoints.ts b/clients/client-organizations/src/endpoints.ts index 93550d670348..b293f46d276f 100644 --- a/clients/client-organizations/src/endpoints.ts +++ b/clients/client-organizations/src/endpoints.ts @@ -58,7 +58,7 @@ const partitionHash: PartitionHash = { endpoint: "aws-cn-global", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "organizations.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-outposts/src/endpoints.ts b/clients/client-outposts/src/endpoints.ts index 1d1db8cb7534..18e1be061762 100644 --- a/clients/client-outposts/src/endpoints.ts +++ b/clients/client-outposts/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "outposts.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "outposts.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-personalize-events/src/endpoints.ts b/clients/client-personalize-events/src/endpoints.ts index 1f284117115f..2e77b1bc6a54 100644 --- a/clients/client-personalize-events/src/endpoints.ts +++ b/clients/client-personalize-events/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "personalize-events.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "personalize-events.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-personalize-runtime/src/endpoints.ts b/clients/client-personalize-runtime/src/endpoints.ts index 5258188730a6..13ec1b56786f 100644 --- a/clients/client-personalize-runtime/src/endpoints.ts +++ b/clients/client-personalize-runtime/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "personalize-runtime.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "personalize-runtime.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-personalize/src/endpoints.ts b/clients/client-personalize/src/endpoints.ts index 9f2cc6fa4a2f..7a42829fa17d 100644 --- a/clients/client-personalize/src/endpoints.ts +++ b/clients/client-personalize/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "personalize.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "personalize.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-pi/src/endpoints.ts b/clients/client-pi/src/endpoints.ts index dc12b2bb988d..25fb8d8469bd 100644 --- a/clients/client-pi/src/endpoints.ts +++ b/clients/client-pi/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "pi.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "pi.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-pinpoint-email/src/endpoints.ts b/clients/client-pinpoint-email/src/endpoints.ts index 53f0459c9852..c90ae1f9b1ad 100644 --- a/clients/client-pinpoint-email/src/endpoints.ts +++ b/clients/client-pinpoint-email/src/endpoints.ts @@ -40,7 +40,7 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "email.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-pinpoint-sms-voice/src/endpoints.ts b/clients/client-pinpoint-sms-voice/src/endpoints.ts index 9d9b79ea140c..cb1f81cefb12 100644 --- a/clients/client-pinpoint-sms-voice/src/endpoints.ts +++ b/clients/client-pinpoint-sms-voice/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "sms-voice.pinpoint.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "sms-voice.pinpoint.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-pinpoint/src/endpoints.ts b/clients/client-pinpoint/src/endpoints.ts index 18d9654a0610..8e82b05d2472 100644 --- a/clients/client-pinpoint/src/endpoints.ts +++ b/clients/client-pinpoint/src/endpoints.ts @@ -62,7 +62,7 @@ const partitionHash: PartitionHash = { hostname: "pinpoint.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "pinpoint.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-polly/src/endpoints.ts b/clients/client-polly/src/endpoints.ts index ae7a976ef670..74b417dc3f88 100644 --- a/clients/client-polly/src/endpoints.ts +++ b/clients/client-polly/src/endpoints.ts @@ -60,7 +60,7 @@ const partitionHash: PartitionHash = { hostname: "polly.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "polly.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-pricing/src/endpoints.ts b/clients/client-pricing/src/endpoints.ts index 3b82c46ceabc..c5b1d323d33c 100644 --- a/clients/client-pricing/src/endpoints.ts +++ b/clients/client-pricing/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "api.pricing.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.pricing.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-proton/src/endpoints.ts b/clients/client-proton/src/endpoints.ts index ce87cb2c50cc..fc0535664cd9 100644 --- a/clients/client-proton/src/endpoints.ts +++ b/clients/client-proton/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "proton.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "proton.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-qldb-session/src/endpoints.ts b/clients/client-qldb-session/src/endpoints.ts index 5f0889d39408..2b87dfe3c3ae 100644 --- a/clients/client-qldb-session/src/endpoints.ts +++ b/clients/client-qldb-session/src/endpoints.ts @@ -51,7 +51,7 @@ const partitionHash: PartitionHash = { hostname: "session.qldb.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "session.qldb.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-qldb/src/endpoints.ts b/clients/client-qldb/src/endpoints.ts index c33b344ae369..6b4f9d4261a3 100644 --- a/clients/client-qldb/src/endpoints.ts +++ b/clients/client-qldb/src/endpoints.ts @@ -51,7 +51,7 @@ const partitionHash: PartitionHash = { hostname: "qldb.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "qldb.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-quicksight/src/endpoints.ts b/clients/client-quicksight/src/endpoints.ts index 5c40b1f6976c..c3791167ca59 100644 --- a/clients/client-quicksight/src/endpoints.ts +++ b/clients/client-quicksight/src/endpoints.ts @@ -36,7 +36,7 @@ const partitionHash: PartitionHash = { hostname: "quicksight.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "quicksight.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ram/src/endpoints.ts b/clients/client-ram/src/endpoints.ts index 1e5caf6cd09f..b76a8f544a2c 100644 --- a/clients/client-ram/src/endpoints.ts +++ b/clients/client-ram/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "ram.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ram.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-rds-data/src/endpoints.ts b/clients/client-rds-data/src/endpoints.ts index 3f285de574cd..d575b365eb5d 100644 --- a/clients/client-rds-data/src/endpoints.ts +++ b/clients/client-rds-data/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "rds-data.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "rds-data.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-rds/src/endpoints.ts b/clients/client-rds/src/endpoints.ts index 42173114c678..125bf04793ce 100644 --- a/clients/client-rds/src/endpoints.ts +++ b/clients/client-rds/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "rds.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "rds.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-redshift-data/src/endpoints.ts b/clients/client-redshift-data/src/endpoints.ts index 9a049ab05f3b..5f614fa064c4 100644 --- a/clients/client-redshift-data/src/endpoints.ts +++ b/clients/client-redshift-data/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "redshift-data.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "redshift-data.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-redshift/src/endpoints.ts b/clients/client-redshift/src/endpoints.ts index aa1c906c143f..fa2801fcd6c1 100644 --- a/clients/client-redshift/src/endpoints.ts +++ b/clients/client-redshift/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "redshift.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "redshift.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-rekognition/src/endpoints.ts b/clients/client-rekognition/src/endpoints.ts index c6597abbfe76..becab7a74226 100644 --- a/clients/client-rekognition/src/endpoints.ts +++ b/clients/client-rekognition/src/endpoints.ts @@ -65,7 +65,7 @@ const partitionHash: PartitionHash = { hostname: "rekognition.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "rekognition.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-resource-groups-tagging-api/src/endpoints.ts b/clients/client-resource-groups-tagging-api/src/endpoints.ts index 68cdfeb168bc..ccff05628224 100644 --- a/clients/client-resource-groups-tagging-api/src/endpoints.ts +++ b/clients/client-resource-groups-tagging-api/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "tagging.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "tagging.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-resource-groups/src/endpoints.ts b/clients/client-resource-groups/src/endpoints.ts index a1195f257739..0792bce2f088 100644 --- a/clients/client-resource-groups/src/endpoints.ts +++ b/clients/client-resource-groups/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "resource-groups.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "resource-groups.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-robomaker/src/endpoints.ts b/clients/client-robomaker/src/endpoints.ts index 703314aa93cd..8afac48ae797 100644 --- a/clients/client-robomaker/src/endpoints.ts +++ b/clients/client-robomaker/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "robomaker.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "robomaker.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-robomaker/src/models/models_0.ts b/clients/client-robomaker/src/models/models_0.ts index 72c742bb5537..3b0a75c02978 100644 --- a/clients/client-robomaker/src/models/models_0.ts +++ b/clients/client-robomaker/src/models/models_0.ts @@ -110,6 +110,11 @@ export namespace BatchDescribeSimulationJobRequest { }); } +export enum ComputeType { + CPU = "CPU", + GPU_AND_CPU = "GPU_AND_CPU", +} + /** *

            Compute information for the simulation job

            */ @@ -117,10 +122,21 @@ export interface ComputeResponse { /** *

            The simulation unit limit. Your simulation is allocated CPU and memory proportional to * the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are - * only billed for the SU utilization you consume up to the maximim value provided. The + * only billed for the SU utilization you consume up to the maximum value provided. The * default is 15.

            */ simulationUnitLimit?: number; + + /** + *

            Compute type response information for the simulation job.

            + */ + computeType?: ComputeType | string; + + /** + *

            Compute GPU unit limit for the simulation job. It is the same as the number of GPUs + * allocated to the SimulationJob.

            + */ + gpuUnitLimit?: number; } export namespace ComputeResponse { @@ -156,6 +172,12 @@ export namespace S3KeyOutput { }); } +export enum DataSourceType { + Archive = "Archive", + File = "File", + Prefix = "Prefix", +} + /** *

            Information about a data source.

            */ @@ -174,6 +196,27 @@ export interface DataSource { *

            The list of S3 keys identifying the data source files.

            */ s3Keys?: S3KeyOutput[]; + + /** + *

            The data type for the data source that you're using for your container image or + * simulation job. You can use this field to specify whether your data source is an Archive, + * an Amazon S3 prefix, or a file.

            + *

            If you don't specify a field, the default value is File.

            + */ + type?: DataSourceType | string; + + /** + *

            The location where your files are mounted in the container image.

            + *

            If you've specified the type of the data source as an Archive, + * you must provide an Amazon S3 object key to your archive. The object key must point to + * either a .zip or .tar.gz file.

            + *

            If you've specified the type of the data source as a Prefix, + * you provide the Amazon S3 prefix that points to the files that you are using for your data + * source.

            + *

            If you've specified the type of the data source as a File, you + * provide the Amazon S3 path to the file that you're using as your data source.

            + */ + destination?: string; } export namespace DataSource { @@ -352,12 +395,12 @@ export interface LaunchConfig { /** *

            The package name.

            */ - packageName: string | undefined; + packageName?: string; /** *

            The launch file name.

            */ - launchFile: string | undefined; + launchFile?: string; /** *

            The environment variables for the application launch.

            @@ -376,6 +419,12 @@ export interface LaunchConfig { * component. It must have a graphical user interface.

            */ streamUI?: boolean; + + /** + *

            If you've specified General as the value for your RobotSoftwareSuite, you can use this field to specify a list of commands for your container image.

            + *

            If you've specified SimulationRuntime as the value for your SimulationSoftwareSuite, you can use this field to specify a list of commands for your container image.

            + */ + command?: string[]; } export namespace LaunchConfig { @@ -397,11 +446,10 @@ export enum ExitBehavior { */ export interface Tool { /** - *

            Boolean indicating whether a streaming session will be configured for the tool. - * If True, AWS RoboMaker will configure a connection so you can interact with - * the tool as it is running in the simulation. It must have a graphical user interface. - * The default is False. - *

            + *

            Boolean indicating whether a streaming session will be configured for the tool. If + * True, AWS RoboMaker will configure a connection so you can interact with + * the tool as it is running in the simulation. It must have a graphical user interface. The + * default is False.

            */ streamUI?: boolean; @@ -416,17 +464,15 @@ export interface Tool { command: string | undefined; /** - *

            Boolean indicating whether logs will be recorded in CloudWatch for the tool. - * The default is False. - *

            + *

            Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default + * is False.

            */ streamOutputToCloudWatch?: boolean; /** - *

            Exit behavior determines what happens when your tool quits running. - * RESTART will cause your tool to be restarted. FAIL - * will cause your job to exit. The default is RESTART. - *

            + *

            Exit behavior determines what happens when your tool quits running. RESTART + * will cause your tool to be restarted. FAIL will cause your job to exit. The + * default is RESTART.

            */ exitBehavior?: ExitBehavior | string; } @@ -451,14 +497,11 @@ export enum UploadBehavior { */ export interface UploadConfiguration { /** - *

            A prefix that specifies where files will be uploaded in Amazon S3. - * It is appended to the simulation output location to determine the final path. - *

            - *

            - * For example, if your simulation output location is s3://my-bucket and your upload - * configuration name is robot-test, your files will be uploaded to - * s3://my-bucket///robot-test. - *

            + *

            A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the + * simulation output location to determine the final path.

            + *

            For example, if your simulation output location is s3://my-bucket and your + * upload configuration name is robot-test, your files will be uploaded to + * s3://my-bucket///robot-test.

            */ name: string | undefined; @@ -539,10 +582,8 @@ export interface RobotApplicationConfig { tools?: Tool[]; /** - *

            A Boolean indicating whether to use default robot application tools. - * The default tools are rviz, rqt, terminal and rosbag record. - * The default is False. - *

            + *

            A Boolean indicating whether to use default robot application tools. The default tools + * are rviz, rqt, terminal and rosbag record. The default is False.

            */ useDefaultTools?: boolean; } @@ -618,10 +659,8 @@ export interface SimulationApplicationConfig { tools?: Tool[]; /** - *

            A Boolean indicating whether to use default simulation application tools. - * The default tools are rviz, rqt, terminal and rosbag record. - * The default is False. - *

            + *

            A Boolean indicating whether to use default simulation application tools. The default + * tools are rviz, rqt, terminal and rosbag record. The default is False.

            */ useDefaultTools?: boolean; } @@ -718,7 +757,8 @@ export interface SimulationJob { *
            *
            Continue
            *
            - *

            Leaves the host running for its maximum timeout duration after a 4XX error code.

            + *

            Leaves the host running for its maximum timeout duration after a + * 4XX error code.

            *
            *
            Fail
            *
            @@ -1033,10 +1073,21 @@ export interface Compute { /** *

            The simulation unit limit. Your simulation is allocated CPU and memory proportional to * the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are - * only billed for the SU utilization you consume up to the maximim value provided. The + * only billed for the SU utilization you consume up to the maximum value provided. The * default is 15.

            */ simulationUnitLimit?: number; + + /** + *

            Compute type information for the simulation job.

            + */ + computeType?: ComputeType | string; + + /** + *

            Compute GPU unit limit for the simulation job. It is the same as the number of GPUs + * allocated to the SimulationJob.

            + */ + gpuUnitLimit?: number; } export namespace Compute { @@ -1572,7 +1623,8 @@ export namespace ResourceAlreadyExistsException { } /** - *

            The object that contains the Docker image URI for either your robot or simulation applications.

            + *

            The object that contains the Docker image URI for either your robot or simulation + * applications.

            */ export interface Environment { /** @@ -1591,6 +1643,7 @@ export namespace Environment { } export enum RobotSoftwareSuiteType { + General = "General", ROS = "ROS", ROS2 = "ROS2", } @@ -1678,7 +1731,8 @@ export interface CreateRobotApplicationRequest { tags?: { [key: string]: string }; /** - *

            The object that contains that URI of the Docker image that you use for your robot application.

            + *

            The object that contains that URI of the Docker image that you use for your robot + * application.

            */ environment?: Environment; } @@ -1769,7 +1823,8 @@ export interface CreateRobotApplicationResponse { tags?: { [key: string]: string }; /** - *

            An object that contains the Docker image URI used to a create your robot application.

            + *

            An object that contains the Docker image URI used to a create your robot + * application.

            */ environment?: Environment; } @@ -1796,7 +1851,8 @@ export interface CreateRobotApplicationVersionRequest { currentRevisionId?: string; /** - *

            The Amazon S3 identifier for the zip file bundle that you use for your robot application.

            + *

            The Amazon S3 identifier for the zip file bundle that you use for your robot + * application.

            */ s3Etags?: string[]; @@ -1853,7 +1909,8 @@ export interface CreateRobotApplicationVersionResponse { revisionId?: string; /** - *

            The object that contains the Docker image URI used to create your robot application.

            + *

            The object that contains the Docker image URI used to create your robot + * application.

            */ environment?: Environment; } @@ -1898,6 +1955,7 @@ export namespace RenderingEngine { export enum SimulationSoftwareSuiteType { Gazebo = "Gazebo", RosbagPlay = "RosbagPlay", + SimulationRuntime = "SimulationRuntime", } /** @@ -1957,7 +2015,8 @@ export interface CreateSimulationApplicationRequest { tags?: { [key: string]: string }; /** - *

            The object that contains the Docker image URI used to create your simulation application.

            + *

            The object that contains the Docker image URI used to create your simulation + * application.

            */ environment?: Environment; } @@ -2024,7 +2083,8 @@ export interface CreateSimulationApplicationResponse { tags?: { [key: string]: string }; /** - *

            The object that contains the Docker image URI that you used to create your simulation application.

            + *

            The object that contains the Docker image URI that you used to create your simulation + * application.

            */ environment?: Environment; } @@ -2051,12 +2111,14 @@ export interface CreateSimulationApplicationVersionRequest { currentRevisionId?: string; /** - *

            The Amazon S3 eTag identifier for the zip file bundle that you use to create the simulation application.

            + *

            The Amazon S3 eTag identifier for the zip file bundle that you use to create the + * simulation application.

            */ s3Etags?: string[]; /** - *

            The SHA256 digest used to identify the Docker image URI used to created the simulation application.

            + *

            The SHA256 digest used to identify the Docker image URI used to created the simulation + * application.

            */ imageDigest?: string; } @@ -2118,7 +2180,8 @@ export interface CreateSimulationApplicationVersionResponse { revisionId?: string; /** - *

            The object that contains the Docker image URI used to create the simulation application.

            + *

            The object that contains the Docker image URI used to create the simulation + * application.

            */ environment?: Environment; } @@ -2150,6 +2213,27 @@ export interface DataSourceConfig { *

            The list of S3 keys identifying the data source files.

            */ s3Keys: string[] | undefined; + + /** + *

            The data type for the data source that you're using for your container image or + * simulation job. You can use this field to specify whether your data source is an Archive, + * an Amazon S3 prefix, or a file.

            + *

            If you don't specify a field, the default value is File.

            + */ + type?: DataSourceType | string; + + /** + *

            The location where your files are mounted in the container image.

            + *

            If you've specified the type of the data source as an Archive, + * you must provide an Amazon S3 object key to your archive. The object key must point to + * either a .zip or .tar.gz file.

            + *

            If you've specified the type of the data source as a Prefix, + * you provide the Amazon S3 prefix that points to the files that you are using for your data + * source.

            + *

            If you've specified the type of the data source as a File, you + * provide the Amazon S3 path to the file that you're using as your data source.

            + */ + destination?: string; } export namespace DataSourceConfig { @@ -2228,7 +2312,8 @@ export interface CreateSimulationJobRequest { *
            *
            Continue
            *
            - *

            Leaves the instance running for its maximum timeout duration after a 4XX error code.

            + *

            Leaves the instance running for its maximum timeout duration after a + * 4XX error code.

            *
            *
            Fail
            *
            @@ -2502,7 +2587,8 @@ export interface SimulationJobRequest { *
            *
            Continue
            *
            - *

            Leaves the host running for its maximum timeout duration after a 4XX error code.

            + *

            Leaves the host running for its maximum timeout duration after a + * 4XX error code.

            *
            *
            Fail
            *
            @@ -3754,7 +3840,8 @@ export interface DescribeRobotApplicationResponse { tags?: { [key: string]: string }; /** - *

            The object that contains the Docker image URI used to create the robot application.

            + *

            The object that contains the Docker image URI used to create the robot + * application.

            */ environment?: Environment; @@ -3847,12 +3934,14 @@ export interface DescribeSimulationApplicationResponse { tags?: { [key: string]: string }; /** - *

            The object that contains the Docker image URI used to create the simulation application.

            + *

            The object that contains the Docker image URI used to create the simulation + * application.

            */ environment?: Environment; /** - *

            A SHA256 identifier for the Docker image that you use for your simulation application.

            + *

            A SHA256 identifier for the Docker image that you use for your simulation + * application.

            */ imageDigest?: string; } @@ -4120,6 +4209,11 @@ export interface SimulationJobSummary { *

            The names of the data sources.

            */ dataSourceNames?: string[]; + + /** + *

            The compute type for the simulation job summary.

            + */ + computeType?: ComputeType | string; } export namespace SimulationJobSummary { @@ -6646,7 +6740,8 @@ export interface UpdateSimulationApplicationResponse { revisionId?: string; /** - *

            The object that contains the Docker image URI used for your simulation application.

            + *

            The object that contains the Docker image URI used for your simulation + * application.

            */ environment?: Environment; } diff --git a/clients/client-robomaker/src/protocols/Aws_restJson1.ts b/clients/client-robomaker/src/protocols/Aws_restJson1.ts index 4c9392ea10da..2b6360d0a225 100644 --- a/clients/client-robomaker/src/protocols/Aws_restJson1.ts +++ b/clients/client-robomaker/src/protocols/Aws_restJson1.ts @@ -7609,8 +7609,21 @@ const serializeAws_restJson1BatchPolicy = (input: BatchPolicy, context: __SerdeC }; }; +const serializeAws_restJson1CommandList = (input: string[], context: __SerdeContext): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return entry; + }); +}; + const serializeAws_restJson1Compute = (input: Compute, context: __SerdeContext): any => { return { + ...(input.computeType !== undefined && input.computeType !== null && { computeType: input.computeType }), + ...(input.gpuUnitLimit !== undefined && input.gpuUnitLimit !== null && { gpuUnitLimit: input.gpuUnitLimit }), ...(input.simulationUnitLimit !== undefined && input.simulationUnitLimit !== null && { simulationUnitLimit: input.simulationUnitLimit }), }; @@ -7632,10 +7645,12 @@ const serializeAws_restJson1CreateSimulationJobRequests = ( const serializeAws_restJson1DataSourceConfig = (input: DataSourceConfig, context: __SerdeContext): any => { return { + ...(input.destination !== undefined && input.destination !== null && { destination: input.destination }), ...(input.name !== undefined && input.name !== null && { name: input.name }), ...(input.s3Bucket !== undefined && input.s3Bucket !== null && { s3Bucket: input.s3Bucket }), ...(input.s3Keys !== undefined && - input.s3Keys !== null && { s3Keys: serializeAws_restJson1S3Keys(input.s3Keys, context) }), + input.s3Keys !== null && { s3Keys: serializeAws_restJson1S3KeysOrPrefixes(input.s3Keys, context) }), + ...(input.type !== undefined && input.type !== null && { type: input.type }), }; }; @@ -7765,6 +7780,8 @@ const serializeAws_restJson1FilterValues = (input: string[], context: __SerdeCon const serializeAws_restJson1LaunchConfig = (input: LaunchConfig, context: __SerdeContext): any => { return { + ...(input.command !== undefined && + input.command !== null && { command: serializeAws_restJson1CommandList(input.command, context) }), ...(input.environmentVariables !== undefined && input.environmentVariables !== null && { environmentVariables: serializeAws_restJson1EnvironmentVariableMap(input.environmentVariables, context), @@ -7884,7 +7901,7 @@ const serializeAws_restJson1S3Etags = (input: string[], context: __SerdeContext) }); }; -const serializeAws_restJson1S3Keys = (input: string[], context: __SerdeContext): any => { +const serializeAws_restJson1S3KeysOrPrefixes = (input: string[], context: __SerdeContext): any => { return input .filter((e: any) => e != null) .map((entry) => { @@ -8153,14 +8170,29 @@ const deserializeAws_restJson1BatchPolicy = (output: any, context: __SerdeContex } as any; }; +const deserializeAws_restJson1CommandList = (output: any, context: __SerdeContext): string[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return __expectString(entry) as any; + }); +}; + const deserializeAws_restJson1Compute = (output: any, context: __SerdeContext): Compute => { return { + computeType: __expectString(output.computeType), + gpuUnitLimit: __expectInt32(output.gpuUnitLimit), simulationUnitLimit: __expectInt32(output.simulationUnitLimit), } as any; }; const deserializeAws_restJson1ComputeResponse = (output: any, context: __SerdeContext): ComputeResponse => { return { + computeType: __expectString(output.computeType), + gpuUnitLimit: __expectInt32(output.gpuUnitLimit), simulationUnitLimit: __expectInt32(output.simulationUnitLimit), } as any; }; @@ -8181,23 +8213,27 @@ const deserializeAws_restJson1CreateSimulationJobRequests = ( const deserializeAws_restJson1DataSource = (output: any, context: __SerdeContext): DataSource => { return { + destination: __expectString(output.destination), name: __expectString(output.name), s3Bucket: __expectString(output.s3Bucket), s3Keys: output.s3Keys !== undefined && output.s3Keys !== null ? deserializeAws_restJson1S3KeyOutputs(output.s3Keys, context) : undefined, + type: __expectString(output.type), } as any; }; const deserializeAws_restJson1DataSourceConfig = (output: any, context: __SerdeContext): DataSourceConfig => { return { + destination: __expectString(output.destination), name: __expectString(output.name), s3Bucket: __expectString(output.s3Bucket), s3Keys: output.s3Keys !== undefined && output.s3Keys !== null - ? deserializeAws_restJson1S3Keys(output.s3Keys, context) + ? deserializeAws_restJson1S3KeysOrPrefixes(output.s3Keys, context) : undefined, + type: __expectString(output.type), } as any; }; @@ -8430,6 +8466,10 @@ const deserializeAws_restJson1Fleets = (output: any, context: __SerdeContext): F const deserializeAws_restJson1LaunchConfig = (output: any, context: __SerdeContext): LaunchConfig => { return { + command: + output.command !== undefined && output.command !== null + ? deserializeAws_restJson1CommandList(output.command, context) + : undefined, environmentVariables: output.environmentVariables !== undefined && output.environmentVariables !== null ? deserializeAws_restJson1EnvironmentVariableMap(output.environmentVariables, context) @@ -8679,7 +8719,7 @@ const deserializeAws_restJson1S3KeyOutputs = (output: any, context: __SerdeConte }); }; -const deserializeAws_restJson1S3Keys = (output: any, context: __SerdeContext): string[] => { +const deserializeAws_restJson1S3KeysOrPrefixes = (output: any, context: __SerdeContext): string[] => { return (output || []) .filter((e: any) => e != null) .map((entry: any) => { @@ -8962,6 +9002,7 @@ const deserializeAws_restJson1SimulationJobSummaries = ( const deserializeAws_restJson1SimulationJobSummary = (output: any, context: __SerdeContext): SimulationJobSummary => { return { arn: __expectString(output.arn), + computeType: __expectString(output.computeType), dataSourceNames: output.dataSourceNames !== undefined && output.dataSourceNames !== null ? deserializeAws_restJson1DataSourceNames(output.dataSourceNames, context) diff --git a/clients/client-route-53-domains/src/endpoints.ts b/clients/client-route-53-domains/src/endpoints.ts index d0b21b8fff0b..3add207e95eb 100644 --- a/clients/client-route-53-domains/src/endpoints.ts +++ b/clients/client-route-53-domains/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "route53domains.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "route53domains.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-route-53/src/endpoints.ts b/clients/client-route-53/src/endpoints.ts index cb838175dbaf..ceb134297fd2 100644 --- a/clients/client-route-53/src/endpoints.ts +++ b/clients/client-route-53/src/endpoints.ts @@ -66,7 +66,7 @@ const partitionHash: PartitionHash = { endpoint: "aws-cn-global", }, "aws-iso": { - regions: ["aws-iso-global", "us-iso-east-1"], + regions: ["aws-iso-global", "us-iso-east-1", "us-iso-west-1"], endpoint: "aws-iso-global", }, "aws-iso-b": { diff --git a/clients/client-route53-recovery-cluster/src/endpoints.ts b/clients/client-route53-recovery-cluster/src/endpoints.ts index 0c6eac7804b2..cd41578ffc48 100644 --- a/clients/client-route53-recovery-cluster/src/endpoints.ts +++ b/clients/client-route53-recovery-cluster/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-cluster.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "route53-recovery-cluster.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-route53-recovery-control-config/src/endpoints.ts b/clients/client-route53-recovery-control-config/src/endpoints.ts index 61f6a5b82648..291bbdbc0b04 100644 --- a/clients/client-route53-recovery-control-config/src/endpoints.ts +++ b/clients/client-route53-recovery-control-config/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-control-config.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "route53-recovery-control-config.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-route53-recovery-readiness/src/endpoints.ts b/clients/client-route53-recovery-readiness/src/endpoints.ts index 28bd7061c073..18dafe0cd9dc 100644 --- a/clients/client-route53-recovery-readiness/src/endpoints.ts +++ b/clients/client-route53-recovery-readiness/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "route53-recovery-readiness.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "route53-recovery-readiness.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-route53resolver/src/endpoints.ts b/clients/client-route53resolver/src/endpoints.ts index dc8193d87df0..25d60b27848f 100644 --- a/clients/client-route53resolver/src/endpoints.ts +++ b/clients/client-route53resolver/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "route53resolver.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "route53resolver.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-s3-control/src/endpoints.ts b/clients/client-s3-control/src/endpoints.ts index bff8174bef40..971ba39088d4 100644 --- a/clients/client-s3-control/src/endpoints.ts +++ b/clients/client-s3-control/src/endpoints.ts @@ -153,7 +153,7 @@ const partitionHash: PartitionHash = { hostname: "s3-control.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "s3-control.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-s3/src/endpoints.ts b/clients/client-s3/src/endpoints.ts index 61614720cd38..062a7d3e9122 100644 --- a/clients/client-s3/src/endpoints.ts +++ b/clients/client-s3/src/endpoints.ts @@ -202,7 +202,7 @@ const partitionHash: PartitionHash = { hostname: "s3.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "s3.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-s3outposts/src/endpoints.ts b/clients/client-s3outposts/src/endpoints.ts index 0c516116a715..e4b23e594df1 100644 --- a/clients/client-s3outposts/src/endpoints.ts +++ b/clients/client-s3outposts/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "s3-outposts.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "s3-outposts.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sagemaker-a2i-runtime/src/endpoints.ts b/clients/client-sagemaker-a2i-runtime/src/endpoints.ts index 3879e318b606..aeeda0d4d683 100644 --- a/clients/client-sagemaker-a2i-runtime/src/endpoints.ts +++ b/clients/client-sagemaker-a2i-runtime/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "a2i-runtime.sagemaker.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "a2i-runtime.sagemaker.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sagemaker-edge/src/endpoints.ts b/clients/client-sagemaker-edge/src/endpoints.ts index 69f08c5f90d6..8c9d99e2233e 100644 --- a/clients/client-sagemaker-edge/src/endpoints.ts +++ b/clients/client-sagemaker-edge/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "edge.sagemaker.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "edge.sagemaker.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts b/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts index 6023ca874157..b0b4b1fabae3 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "featurestore-runtime.sagemaker.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "featurestore-runtime.sagemaker.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sagemaker-runtime/src/endpoints.ts b/clients/client-sagemaker-runtime/src/endpoints.ts index 58bd9578e157..c788cd56f3d7 100644 --- a/clients/client-sagemaker-runtime/src/endpoints.ts +++ b/clients/client-sagemaker-runtime/src/endpoints.ts @@ -60,7 +60,7 @@ const partitionHash: PartitionHash = { hostname: "runtime.sagemaker.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "runtime.sagemaker.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sagemaker/src/endpoints.ts b/clients/client-sagemaker/src/endpoints.ts index 2b86926686ff..f8ecfd3e7931 100644 --- a/clients/client-sagemaker/src/endpoints.ts +++ b/clients/client-sagemaker/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "api.sagemaker.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "api.sagemaker.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sagemaker/src/models/models_1.ts b/clients/client-sagemaker/src/models/models_1.ts index 2923125d5936..8dce44f18e7d 100644 --- a/clients/client-sagemaker/src/models/models_1.ts +++ b/clients/client-sagemaker/src/models/models_1.ts @@ -2384,7 +2384,7 @@ export interface ServiceCatalogProvisioningDetails { /** *

            The ID of the provisioning artifact.

            */ - ProvisioningArtifactId: string | undefined; + ProvisioningArtifactId?: string; /** *

            The path identifier of the product. This value is optional if the product has a default path, and required if the product has more than one path.

            @@ -2418,8 +2418,9 @@ export interface CreateProjectInput { ProjectDescription?: string; /** - *

            The product ID and provisioning artifact ID to provision a service catalog. For - * information, see What is Amazon Web Services Service + *

            The product ID and provisioning artifact ID to provision a service catalog. The provisioning + * artifact ID will default to the latest provisioning artifact ID of the product, if you don't + * provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service * Catalog.

            */ ServiceCatalogProvisioningDetails: ServiceCatalogProvisioningDetails | undefined; @@ -5579,7 +5580,7 @@ export namespace DescribeCompilationJobRequest { *

            Provides information about the location that is configured for storing model * artifacts.

            *

            Model artifacts are the output that results from training a model, and typically - * consist of trained parameters, a model defintion that describes how to compute + * consist of trained parameters, a model definition that describes how to compute * inferences, and other metadata.

            */ export interface ModelArtifacts { diff --git a/clients/client-savingsplans/src/endpoints.ts b/clients/client-savingsplans/src/endpoints.ts index f1942dca227f..de26d2bd9d7c 100644 --- a/clients/client-savingsplans/src/endpoints.ts +++ b/clients/client-savingsplans/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "savingsplans.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "savingsplans.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-schemas/src/endpoints.ts b/clients/client-schemas/src/endpoints.ts index d08492fb533d..d0bd573a29fa 100644 --- a/clients/client-schemas/src/endpoints.ts +++ b/clients/client-schemas/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "schemas.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "schemas.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-secrets-manager/src/SecretsManager.ts b/clients/client-secrets-manager/src/SecretsManager.ts index c068ecd12157..aa322c500b1d 100644 --- a/clients/client-secrets-manager/src/SecretsManager.ts +++ b/clients/client-secrets-manager/src/SecretsManager.ts @@ -902,11 +902,12 @@ export class SecretsManager extends SecretsManagerClient { * creates a new version and attaches it to the secret. The version can contain a new * SecretString value or a new SecretBinary value. You can also * specify the staging labels that are initially attached to the new version.

            - * - *

            The Secrets Manager console uses only the SecretString field. To add binary data to a - * secret with the SecretBinary field you must use the Amazon Web Services CLI or one of the - * Amazon Web Services SDKs.

            - *
            + *

            We recommend you avoid calling PutSecretValue at a sustained rate of more than + * once every 10 minutes. When you update the secret value, Secrets Manager creates a new version + * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not + * remove versions created less than 24 hours ago. If you call PutSecretValue more + * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach + * the quota for secret versions.

            *
              *
            • *

              If this operation creates the first version for the secret then Secrets Manager @@ -1395,12 +1396,17 @@ export class SecretsManager extends SecretsManagerClient { } /** - *

              Modifies many of the details of the specified secret. If you include a - * ClientRequestToken and either - * SecretString or SecretBinary then it also creates a new version - * attached to the secret.

              - *

              To modify the rotation configuration of a secret, use RotateSecret + *

              Modifies many of the details of the specified secret.

              + *

              To change the secret value, you can also use PutSecretValue.

              + *

              To change the rotation configuration of a secret, use RotateSecret * instead.

              + * + *

              We recommend you avoid calling UpdateSecret at a sustained rate of more than + * once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version + * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not + * remove versions created less than 24 hours ago. If you update the secret value more + * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach + * the quota for secret versions.

              * *

              The Secrets Manager console uses only the SecretString parameter and therefore limits * you to encrypting and storing only a text string. To encrypt and store binary data as part diff --git a/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts b/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts index c1b84c57a264..99478908de6b 100644 --- a/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts +++ b/clients/client-secrets-manager/src/commands/PutSecretValueCommand.ts @@ -26,11 +26,12 @@ export interface PutSecretValueCommandOutput extends PutSecretValueResponse, __M * creates a new version and attaches it to the secret. The version can contain a new * SecretString value or a new SecretBinary value. You can also * specify the staging labels that are initially attached to the new version.

              - * - *

              The Secrets Manager console uses only the SecretString field. To add binary data to a - * secret with the SecretBinary field you must use the Amazon Web Services CLI or one of the - * Amazon Web Services SDKs.

              - *
              + *

              We recommend you avoid calling PutSecretValue at a sustained rate of more than + * once every 10 minutes. When you update the secret value, Secrets Manager creates a new version + * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not + * remove versions created less than 24 hours ago. If you call PutSecretValue more + * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach + * the quota for secret versions.

              *
                *
              • *

                If this operation creates the first version for the secret then Secrets Manager diff --git a/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts b/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts index a9bec4230a7b..50ba6da26ad3 100644 --- a/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts +++ b/clients/client-secrets-manager/src/commands/UpdateSecretCommand.ts @@ -22,12 +22,17 @@ export interface UpdateSecretCommandInput extends UpdateSecretRequest {} export interface UpdateSecretCommandOutput extends UpdateSecretResponse, __MetadataBearer {} /** - *

                Modifies many of the details of the specified secret. If you include a - * ClientRequestToken and either - * SecretString or SecretBinary then it also creates a new version - * attached to the secret.

                - *

                To modify the rotation configuration of a secret, use RotateSecret + *

                Modifies many of the details of the specified secret.

                + *

                To change the secret value, you can also use PutSecretValue.

                + *

                To change the rotation configuration of a secret, use RotateSecret * instead.

                + * + *

                We recommend you avoid calling UpdateSecret at a sustained rate of more than + * once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version + * of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not + * remove versions created less than 24 hours ago. If you update the secret value more + * than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach + * the quota for secret versions.

                * *

                The Secrets Manager console uses only the SecretString parameter and therefore limits * you to encrypting and storing only a text string. To encrypt and store binary data as part diff --git a/clients/client-secrets-manager/src/endpoints.ts b/clients/client-secrets-manager/src/endpoints.ts index 3b4c6b884423..40b28a7452b3 100644 --- a/clients/client-secrets-manager/src/endpoints.ts +++ b/clients/client-secrets-manager/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "secretsmanager.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "secretsmanager.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-secrets-manager/src/models/models_0.ts b/clients/client-secrets-manager/src/models/models_0.ts index 40cb011eb00a..c3a1dd2d88cd 100644 --- a/clients/client-secrets-manager/src/models/models_0.ts +++ b/clients/client-secrets-manager/src/models/models_0.ts @@ -29,20 +29,8 @@ export interface CancelRotateSecretRequest { /** *

                Specifies the secret to cancel a rotation request. You can specify either the Amazon * Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; } @@ -288,15 +276,9 @@ export interface CreateSecretRequest { * secret text in only the SecretString parameter. The Secrets Manager console stores the * information as a JSON structure of key/value pairs that the Lambda rotation function knows how * to parse.

                - *

                For storing multiple values, we recommend that you use a JSON text string argument and - * specify key/value pairs. For information on how to format a JSON parameter for the various - * command line tool environments, see Using JSON for - * Parameters in the CLI User Guide. For example:

                - *

                - * {"username":"bob","password":"abc123xyz456"} - *

                - *

                If your command-line tool or SDK requires quotation marks around the parameter, you should - * use single quotes to avoid confusion with the double quotes required in the JSON text.

                + *

                For storing multiple values, we recommend that you use a JSON text + * string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI + * in the Amazon Web Services CLI User Guide.

                */ SecretString?: string; @@ -579,20 +561,8 @@ export interface DeleteResourcePolicyRequest { /** *

                Specifies the secret that you want to delete the attached resource-based policy for. You * can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; } @@ -631,20 +601,8 @@ export interface DeleteSecretRequest { /** *

                Specifies the secret to delete. You can specify either the Amazon Resource Name (ARN) or * the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -721,20 +679,8 @@ export interface DescribeSecretRequest { /** *

                The identifier of the secret whose details you want to retrieve. You can specify either * the Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; } @@ -812,7 +758,8 @@ export interface DescribeSecretResponse { RotationLambdaARN?: string; /** - *

                A structure with the rotation configuration for this secret.

                + *

                A structure with the rotation configuration for this secret. This field is only populated + * if rotation is configured.

                */ RotationRules?: RotationRulesType; @@ -1006,20 +953,8 @@ export interface GetResourcePolicyRequest { /** *

                Specifies the secret that you want to retrieve the attached resource-based policy for. You * can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; } @@ -1067,20 +1002,8 @@ export interface GetSecretValueRequest { /** *

                Specifies the secret containing the version that you want to retrieve. You can specify * either the Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -1391,20 +1314,8 @@ export interface ListSecretVersionIdsRequest { /** *

                The identifier for the secret containing the versions you want to list. You can specify * either the Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -1552,20 +1463,8 @@ export interface PutResourcePolicyRequest { /** *

                Specifies the secret that you want to attach the resource-based policy. You can specify * either the ARN or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -1620,20 +1519,8 @@ export interface PutSecretValueRequest { *

                Specifies the secret to which you want to add a new version. You can specify either the * Amazon Resource Name (ARN) or the friendly name of the secret. The secret must already * exist.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -1692,16 +1579,9 @@ export interface PutSecretValueRequest { * protected secret text in only the SecretString parameter. The Secrets Manager console * stores the information as a JSON structure of key/value pairs that the default Lambda rotation * function knows how to parse.

                - *

                For storing multiple values, we recommend that you use a JSON text string argument and - * specify key/value pairs. For information on how to format a JSON parameter for the various - * command line tool environments, see Using JSON for - * Parameters in the CLI User Guide.

                - *

                For example:

                - *

                - * [{"username":"bob"},{"password":"abc123xyz456"}] - *

                - *

                If your command-line tool or SDK requires quotation marks around the parameter, you should - * use single quotes to avoid confusion with the double quotes required in the JSON text.

                + *

                For storing multiple values, we recommend that you use a JSON text + * string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI + * in the Amazon Web Services CLI User Guide.

                */ SecretString?: string; @@ -1857,20 +1737,8 @@ export interface RestoreSecretRequest { /** *

                Specifies the secret that you want to restore from a previously scheduled deletion. You * can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; } @@ -1909,20 +1777,8 @@ export interface RotateSecretRequest { /** *

                Specifies the secret that you want to rotate. You can specify either the Amazon Resource * Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -2027,31 +1883,18 @@ export interface TagResourceRequest { /** *

                The identifier for the secret that you want to attach tags to. You can specify either the * Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; /** *

                The tags to attach to the secret. Each element in the list consists of a Key * and a Value.

                - *

                This parameter to the API requires a JSON text string argument. For information on how to - * format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide. For the - * CLI, you can also use the syntax: --Tags Key="Key1",Value="Value1" - * Key="Key2",Value="Value2"[,…] - *

                + *

                This parameter to the API requires a JSON text string argument.

                + *

                For storing multiple values, we recommend that you use a JSON text + * string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI + * in the Amazon Web Services CLI User Guide.

                */ Tags: Tag[] | undefined; } @@ -2069,28 +1912,18 @@ export interface UntagResourceRequest { /** *

                The identifier for the secret that you want to remove tags from. You can specify either * the Amazon Resource Name (ARN) or the friendly name of the secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; /** *

                A list of tag key names to remove from the secret. You don't specify the value. Both the * key and its associated value are removed.

                - *

                This parameter to the API requires a JSON text string argument. For information on how to - * format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide.

                + *

                This parameter to the API requires a JSON text string argument.

                + *

                For storing multiple values, we recommend that you use a JSON text + * string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI + * in the Amazon Web Services CLI User Guide.

                */ TagKeys: string[] | undefined; } @@ -2109,20 +1942,8 @@ export interface UpdateSecretRequest { *

                Specifies the secret that you want to modify or to which you want to add a new version. * You can specify either the Amazon Resource Name (ARN) or the friendly name of the * secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -2166,8 +1987,9 @@ export interface UpdateSecretRequest { Description?: string; /** - *

                (Optional) Specifies an updated ARN or alias of the Amazon Web Services KMS customer master key (CMK) to be - * used to encrypt the protected text in new versions of this secret.

                + *

                (Optional) Specifies an updated ARN or alias of the Amazon Web Services KMS customer master key (CMK) that Secrets Manager + * uses to encrypt the protected text in new versions of this secret as well as any existing versions of this secret that have the staging labels AWSCURRENT, AWSPENDING, or AWSPREVIOUS. For more information about staging labels, see Staging + * Labels in the Amazon Web Services Secrets Manager User Guide.

                * *

                You can only use the account's default CMK to encrypt and decrypt if you call this * operation using credentials from the same account that owns the secret. If the secret is in @@ -2196,21 +2018,9 @@ export interface UpdateSecretRequest { * protected secret text in only the SecretString parameter. The Secrets Manager console * stores the information as a JSON structure of key/value pairs that the default Lambda rotation * function knows how to parse.

                - *

                For storing multiple values, we recommend that you use a JSON text string argument and - * specify key/value pairs. For information on how to format a JSON parameter for the various - * command line tool environments, see Using JSON for - * Parameters in the CLI User Guide. For example:

                - *

                - * [{"username":"bob"},{"password":"abc123xyz456"}] - *

                - *

                If your command-line tool or SDK requires quotation marks around the parameter, you should - * use single quotes to avoid confusion with the double quotes required in the JSON text. You can - * also 'escape' the double quote character in the embedded JSON text by prefacing each with a - * backslash. For example, the following string is surrounded by double-quotes. All of the - * embedded double quotes are escaped:

                - *

                - * "[{\"username\":\"bob\"},{\"password\":\"abc123xyz456\"}]" - *

                + *

                For storing multiple values, we recommend that you use a JSON text + * string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI + * in the Amazon Web Services CLI User Guide.

                */ SecretString?: string; } @@ -2265,20 +2075,8 @@ export interface UpdateSecretVersionStageRequest { *

                Specifies the secret with the version with the list of staging labels you want to modify. * You can specify either the Amazon Resource Name (ARN) or the friendly name of the * secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId: string | undefined; @@ -2340,20 +2138,8 @@ export interface ValidateResourcePolicyRequest { *

                (Optional) The identifier of the secret with the resource-based policy you want to * validate. You can specify either the Amazon Resource Name (ARN) or the friendly name of the * secret.

                - * - *

                If you specify an ARN, we generally recommend that you specify a complete ARN. You can - * specify a partial ARN too—for example, if you don’t include the final hyphen and six random - * characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN - * match can work as long as it uniquely matches only one secret. However, if your secret has a - * name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six - * characters to the ARN) and you try to use that as a partial ARN, then those characters cause - * Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected - * results. To avoid this situation, we recommend that you don’t create secret names ending - * with a hyphen followed by six characters.

                - *

                If you specify an incomplete ARN without the random suffix, and instead provide the - * 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, - * you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

                - *
                + *

                For an ARN, we recommend that you specify a complete ARN rather + * than a partial ARN.

                */ SecretId?: string; diff --git a/clients/client-securityhub/src/SecurityHub.ts b/clients/client-securityhub/src/SecurityHub.ts index edb57ceb56f7..4c813193f372 100644 --- a/clients/client-securityhub/src/SecurityHub.ts +++ b/clients/client-securityhub/src/SecurityHub.ts @@ -701,10 +701,18 @@ export class SecurityHub extends SecurityHubClient { * InviteMembers operation. If the account owner accepts * the invitation, the account becomes a member account in Security Hub.

                *

                Accounts that are managed using Organizations do not receive an invitation. They - * automatically become a member account in Security Hub, and Security Hub is automatically enabled for those accounts. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.

                + * automatically become a member account in Security Hub.

                + *
                  + *
                • + *

                  If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.

                  + *
                • + *
                • + *

                  For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls.

                  + *
                • + *
                + * *

                A permissions policy is added that permits the administrator account to view the findings - * generated in the member account. When Security Hub is enabled in a member account, the member account findings are - * also visible to the administrator account.

                + * generated in the member account.

                *

                To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

                */ public createMembers( diff --git a/clients/client-securityhub/src/commands/CreateMembersCommand.ts b/clients/client-securityhub/src/commands/CreateMembersCommand.ts index 3e4fffc3dc2c..f2e512d78acf 100644 --- a/clients/client-securityhub/src/commands/CreateMembersCommand.ts +++ b/clients/client-securityhub/src/commands/CreateMembersCommand.ts @@ -45,10 +45,18 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met * InviteMembers operation. If the account owner accepts * the invitation, the account becomes a member account in Security Hub.

                *

                Accounts that are managed using Organizations do not receive an invitation. They - * automatically become a member account in Security Hub, and Security Hub is automatically enabled for those accounts. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.

                + * automatically become a member account in Security Hub.

                + *
                  + *
                • + *

                  If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.

                  + *
                • + *
                • + *

                  For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls.

                  + *
                • + *
                + * *

                A permissions policy is added that permits the administrator account to view the findings - * generated in the member account. When Security Hub is enabled in a member account, the member account findings are - * also visible to the administrator account.

                + * generated in the member account.

                *

                To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

                * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-securityhub/src/endpoints.ts b/clients/client-securityhub/src/endpoints.ts index 9a4408778f3d..b158175f5938 100644 --- a/clients/client-securityhub/src/endpoints.ts +++ b/clients/client-securityhub/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "securityhub.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "securityhub.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-securityhub/src/models/models_0.ts b/clients/client-securityhub/src/models/models_0.ts index c5c67c6a149a..2471d8a30d4b 100644 --- a/clients/client-securityhub/src/models/models_0.ts +++ b/clients/client-securityhub/src/models/models_0.ts @@ -2395,6 +2395,55 @@ export namespace AwsCloudFrontDistributionOrigins { }); } +/** + *

                Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.

                + */ +export interface AwsCloudFrontDistributionViewerCertificate { + /** + *

                The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN, you must also provide MinimumCertificateVersion and SslSupportMethod.

                + */ + AcmCertificateArn?: string; + + /** + *

                The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.

                + */ + Certificate?: string; + + /** + *

                The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is deprecated.

                + */ + CertificateSource?: string; + + /** + *

                Whether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.

                + */ + CloudFrontDefaultCertificate?: boolean; + + /** + *

                The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide IamCertificateId, then you also must provide MinimumProtocolVersion and SslSupportMethod.

                + */ + IamCertificateId?: string; + + /** + *

                The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is sni-only, then MinimumProtocolVersion must be TLSv1 or higher.

                + */ + MinimumProtocolVersion?: string; + + /** + *

                The viewers that the distribution accepts HTTPS connections from.

                + */ + SslSupportMethod?: string; +} + +export namespace AwsCloudFrontDistributionViewerCertificate { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsCloudFrontDistributionViewerCertificate): any => ({ + ...obj, + }); +} + /** *

                A distribution configuration.

                */ @@ -2450,6 +2499,11 @@ export interface AwsCloudFrontDistributionDetails { */ OriginGroups?: AwsCloudFrontDistributionOriginGroups; + /** + *

                Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.

                + */ + ViewerCertificate?: AwsCloudFrontDistributionViewerCertificate; + /** *

                Indicates the current status of the distribution.

                */ @@ -2563,6 +2617,94 @@ export namespace AwsCloudTrailTrailDetails { }); } +/** + *

                Information about the build artifacts for the CodeBuild project.

                + */ +export interface AwsCodeBuildProjectArtifactsDetails { + /** + *

                An identifier for the artifact definition.

                + */ + ArtifactIdentifier?: string; + + /** + *

                Indicates whether to disable encryption on the artifact. Only valid when Type is S3.

                + */ + EncryptionDisabled?: boolean; + + /** + *

                Only used when Type is S3. The name of the S3 bucket where the artifact is located.

                + */ + Location?: string; + + /** + *

                Only used when Type is S3. The name of the artifact. Used with NamepaceType and Path to determine the pattern for storing the artifact.

                + */ + Name?: string; + + /** + *

                Only used when Type is S3. The value to use for the namespace. Used with Name and Path to determine the pattern for storing the artifact.

                + */ + NamespaceType?: string; + + /** + *

                Whether the name specified in the buildspec file overrides the artifact name.

                + */ + OverrideArtifactName?: boolean; + + /** + *

                Only used when Type is S3. The type of output artifact to create.

                + */ + Packaging?: string; + + /** + *

                Only used when Type is S3. The path to the artifact. Used with Name and NamespaceType to determine the pattern for storing the artifact.

                + */ + Path?: string; + + /** + *

                The type of build artifact.

                + */ + Type?: string; +} + +export namespace AwsCodeBuildProjectArtifactsDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsCodeBuildProjectArtifactsDetails): any => ({ + ...obj, + }); +} + +/** + *

                Information about an environment variable that is available to builds for the build project.

                + */ +export interface AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails { + /** + *

                The name of the environment variable.

                + */ + Name?: string; + + /** + *

                The type of environment variable.

                + */ + Type?: string; + + /** + *

                The value of the environment variable.

                + */ + Value?: string; +} + +export namespace AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails): any => ({ + ...obj, + }); +} + /** *

                The credentials for access to a private registry.

                */ @@ -2601,6 +2743,16 @@ export interface AwsCodeBuildProjectEnvironment { */ Certificate?: string; + /** + *

                A set of environment variables to make available to builds for the build project.

                + */ + EnvironmentVariables?: AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails[]; + + /** + *

                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.

                + */ + PrivilegedMode?: boolean; + /** *

                The type of credentials CodeBuild uses to pull images in your build.

                *

                Valid values:

                @@ -2659,6 +2811,88 @@ export namespace AwsCodeBuildProjectEnvironment { }); } +/** + *

                Information about CloudWatch Logs for the build project.

                + */ +export interface AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails { + /** + *

                The group name of the logs in CloudWatch Logs.

                + */ + GroupName?: string; + + /** + *

                The current status of the logs in CloudWatch Logs for a build project.

                + */ + Status?: string; + + /** + *

                The prefix of the stream name of the CloudWatch Logs.

                + */ + StreamName?: string; +} + +export namespace AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails): any => ({ + ...obj, + }); +} + +/** + *

                Information about logs built to an S3 bucket for a build project.

                + */ +export interface AwsCodeBuildProjectLogsConfigS3LogsDetails { + /** + *

                Whether to disable encryption of the S3 build log output.

                + */ + EncryptionDisabled?: boolean; + + /** + *

                The ARN of the S3 bucket and the path prefix for S3 logs.

                + */ + Location?: string; + + /** + *

                The current status of the S3 build logs.

                + */ + Status?: string; +} + +export namespace AwsCodeBuildProjectLogsConfigS3LogsDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsCodeBuildProjectLogsConfigS3LogsDetails): any => ({ + ...obj, + }); +} + +/** + *

                Information about logs for the build project.

                + */ +export interface AwsCodeBuildProjectLogsConfigDetails { + /** + *

                Information about CloudWatch Logs for the build project.

                + */ + CloudWatchLogs?: AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails; + + /** + *

                Information about logs built to an S3 bucket for a build project.

                + */ + S3Logs?: AwsCodeBuildProjectLogsConfigS3LogsDetails; +} + +export namespace AwsCodeBuildProjectLogsConfigDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsCodeBuildProjectLogsConfigDetails): any => ({ + ...obj, + }); +} + /** *

                Information about the build input source code for this build project.

                */ @@ -2803,6 +3037,11 @@ export interface AwsCodeBuildProjectDetails { */ EncryptionKey?: string; + /** + *

                Information about the build artifacts for the CodeBuild project.

                + */ + Artifacts?: AwsCodeBuildProjectArtifactsDetails[]; + /** *

                Information about the build environment for this build project.

                */ @@ -2824,6 +3063,11 @@ export interface AwsCodeBuildProjectDetails { */ ServiceRole?: string; + /** + *

                Information about logs for the build project.

                + */ + LogsConfig?: AwsCodeBuildProjectLogsConfigDetails; + /** *

                Information about the VPC configuration that CodeBuild accesses.

                */ @@ -4371,6 +4615,94 @@ export namespace AwsEc2VpcDetails { }); } +/** + *

                The service type information for a VPC endpoint service.

                + */ +export interface AwsEc2VpcEndpointServiceServiceTypeDetails { + /** + *

                The type of service.

                + */ + ServiceType?: string; +} + +export namespace AwsEc2VpcEndpointServiceServiceTypeDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEc2VpcEndpointServiceServiceTypeDetails): any => ({ + ...obj, + }); +} + +/** + *

                Contains details about the service configuration for a VPC endpoint service.

                + */ +export interface AwsEc2VpcEndpointServiceDetails { + /** + *

                Whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

                + */ + AcceptanceRequired?: boolean; + + /** + *

                The Availability Zones where the service is available.

                + */ + AvailabilityZones?: string[]; + + /** + *

                The DNS names for the service.

                + */ + BaseEndpointDnsNames?: string[]; + + /** + *

                Whether the service manages its VPC endpoints.

                + */ + ManagesVpcEndpoints?: boolean; + + /** + *

                The ARNs of the Gateway Load Balancers for the service.

                + */ + GatewayLoadBalancerArns?: string[]; + + /** + *

                The ARNs of the Network Load Balancers for the service.

                + */ + NetworkLoadBalancerArns?: string[]; + + /** + *

                The private DNS name for the service.

                + */ + PrivateDnsName?: string; + + /** + *

                The identifier of the service.

                + */ + ServiceId?: string; + + /** + *

                The name of the service.

                + */ + ServiceName?: string; + + /** + *

                The current state of the service.

                + */ + ServiceState?: string; + + /** + *

                The types for the service.

                + */ + ServiceType?: AwsEc2VpcEndpointServiceServiceTypeDetails[]; +} + +export namespace AwsEc2VpcEndpointServiceDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEc2VpcEndpointServiceDetails): any => ({ + ...obj, + }); +} + /** *

                The VPN tunnel options.

                */ @@ -4693,49 +5025,136 @@ export namespace AwsEcrContainerImageDetails { } /** - *

                Indicates whether to enable CloudWatch Container Insights for the ECS cluster.

                + *

                The image scanning configuration for a repository.

                */ -export interface AwsEcsClusterClusterSettingsDetails { +export interface AwsEcrRepositoryImageScanningConfigurationDetails { /** - *

                The name of the setting.

                - */ - Name?: string; - - /** - *

                The value of the setting.

                + *

                Whether to scan images after they are pushed to a repository.

                */ - Value?: string; + ScanOnPush?: boolean; } -export namespace AwsEcsClusterClusterSettingsDetails { +export namespace AwsEcrRepositoryImageScanningConfigurationDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsEcsClusterClusterSettingsDetails): any => ({ + export const filterSensitiveLog = (obj: AwsEcrRepositoryImageScanningConfigurationDetails): any => ({ ...obj, }); } /** - *

                The log configuration for the results of the run command actions.

                + *

                Information about the lifecycle policy for the repository.

                */ -export interface AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails { +export interface AwsEcrRepositoryLifecyclePolicyDetails { /** - *

                Whether to enable encryption on the CloudWatch logs.

                + *

                The text of the lifecycle policy.

                */ - CloudWatchEncryptionEnabled?: boolean; + LifecyclePolicyText?: string; /** - *

                The name of the CloudWatch log group to send the logs to.

                + *

                The Amazon Web Services account identifier that is associated with the registry that contains the repository.

                */ - CloudWatchLogGroupName?: string; + RegistryId?: string; +} +export namespace AwsEcrRepositoryLifecyclePolicyDetails { /** - *

                The name of the S3 bucket to send logs to.

                + * @internal */ - S3BucketName?: string; + export const filterSensitiveLog = (obj: AwsEcrRepositoryLifecyclePolicyDetails): any => ({ + ...obj, + }); +} - /** +/** + *

                Provides information about an Amazon Elastic Container Registry repository.

                + */ +export interface AwsEcrRepositoryDetails { + /** + *

                The ARN of the repository.

                + */ + Arn?: string; + + /** + *

                The image scanning configuration for a repository.

                + */ + ImageScanningConfiguration?: AwsEcrRepositoryImageScanningConfigurationDetails; + + /** + *

                The tag mutability setting for the repository.

                + */ + ImageTagMutability?: string; + + /** + *

                Information about the lifecycle policy for the repository.

                + */ + LifecyclePolicy?: AwsEcrRepositoryLifecyclePolicyDetails; + + /** + *

                The name of the repository.

                + */ + RepositoryName?: string; + + /** + *

                The text of the repository policy.

                + */ + RepositoryPolicyText?: string; +} + +export namespace AwsEcrRepositoryDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEcrRepositoryDetails): any => ({ + ...obj, + }); +} + +/** + *

                Indicates whether to enable CloudWatch Container Insights for the ECS cluster.

                + */ +export interface AwsEcsClusterClusterSettingsDetails { + /** + *

                The name of the setting.

                + */ + Name?: string; + + /** + *

                The value of the setting.

                + */ + Value?: string; +} + +export namespace AwsEcsClusterClusterSettingsDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEcsClusterClusterSettingsDetails): any => ({ + ...obj, + }); +} + +/** + *

                The log configuration for the results of the run command actions.

                + */ +export interface AwsEcsClusterConfigurationExecuteCommandConfigurationLogConfigurationDetails { + /** + *

                Whether to enable encryption on the CloudWatch logs.

                + */ + CloudWatchEncryptionEnabled?: boolean; + + /** + *

                The name of the CloudWatch log group to send the logs to.

                + */ + CloudWatchLogGroupName?: string; + + /** + *

                The name of the S3 bucket to send logs to.

                + */ + S3BucketName?: string; + + /** *

                Whether to encrypt the logs that are sent to the S3 bucket.

                */ S3EncryptionEnabled?: boolean; @@ -6492,6 +6911,132 @@ export namespace AwsEcsTaskDefinitionDetails { }); } +/** + *

                Details for a cluster logging configuration.

                + */ +export interface AwsEksClusterLoggingClusterLoggingDetails { + /** + *

                Whether the logging types that are listed in Types are enabled.

                + */ + Enabled?: boolean; + + /** + *

                A list of logging types.

                + */ + Types?: string[]; +} + +export namespace AwsEksClusterLoggingClusterLoggingDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEksClusterLoggingClusterLoggingDetails): any => ({ + ...obj, + }); +} + +/** + *

                The logging configuration for an Amazon EKS cluster.

                + */ +export interface AwsEksClusterLoggingDetails { + /** + *

                Cluster logging configurations.

                + */ + ClusterLogging?: AwsEksClusterLoggingClusterLoggingDetails[]; +} + +export namespace AwsEksClusterLoggingDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEksClusterLoggingDetails): any => ({ + ...obj, + }); +} + +/** + *

                Information about the VPC configuration used by the cluster control plane.

                + */ +export interface AwsEksClusterResourcesVpcConfigDetails { + /** + *

                The security groups that are associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Amazon EKS control plane.

                + */ + SecurityGroupIds?: string[]; + + /** + *

                The subnets that are associated with the cluster.

                + */ + SubnetIds?: string[]; +} + +export namespace AwsEksClusterResourcesVpcConfigDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEksClusterResourcesVpcConfigDetails): any => ({ + ...obj, + }); +} + +/** + *

                Provides details about an Amazon EKS cluster.

                + */ +export interface AwsEksClusterDetails { + /** + *

                The ARN of the cluster.

                + */ + Arn?: string; + + /** + *

                The certificate authority data for the cluster.

                + */ + CertificateAuthorityData?: string; + + /** + *

                The status of the cluster.

                + */ + ClusterStatus?: string; + + /** + *

                The endpoint for the Amazon EKS API server.

                + */ + Endpoint?: string; + + /** + *

                The name of the cluster.

                + */ + Name?: string; + + /** + *

                The VPC configuration used by the cluster control plane.

                + */ + ResourcesVpcConfig?: AwsEksClusterResourcesVpcConfigDetails; + + /** + *

                The ARN of the IAM role that provides permissions for the Amazon EKS control plane to make calls to Amazon Web Services API operations on your behalf.

                + */ + RoleArn?: string; + + /** + *

                The Amazon EKS server version for the cluster.

                + */ + Version?: string; + + /** + *

                The logging configuration for the cluster.

                + */ + Logging?: AwsEksClusterLoggingDetails; +} + +export namespace AwsEksClusterDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsEksClusterDetails): any => ({ + ...obj, + }); +} + /** *

                Contains information about a link to another environment that is in the same group.

                */ @@ -6684,7 +7229,7 @@ export interface AwsElasticsearchDomainDomainEndpointOptions { EnforceHTTPS?: boolean; /** - *

                The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch + *

                The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.

                *

                Valid values:

                *
                  @@ -6732,7 +7277,7 @@ export namespace AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessCo } /** - *

                  details about the configuration of an Elasticsearch cluster.

                  + *

                  details about the configuration of an OpenSearch cluster.

                  */ export interface AwsElasticsearchDomainElasticsearchClusterConfigDetails { /** @@ -6766,7 +7311,7 @@ export interface AwsElasticsearchDomainElasticsearchClusterConfigDetails { ZoneAwarenessConfig?: AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails; /** - *

                  Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, Elasticsearch 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.

                  + *

                  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.

                  */ ZoneAwarenessEnabled?: boolean; } @@ -6834,13 +7379,13 @@ export namespace AwsElasticsearchDomainLogPublishingOptionsLogConfig { */ export interface AwsElasticsearchDomainLogPublishingOptions { /** - *

                  Configures the Elasticsearch index logs + *

                  Configures the OpenSearch index logs * publishing.

                  */ IndexSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig; /** - *

                  Configures the Elasticsearch search slow log + *

                  Configures the OpenSearch search slow log * publishing.

                  */ SearchSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig; @@ -6885,7 +7430,7 @@ export namespace AwsElasticsearchDomainNodeToNodeEncryptionOptions { export interface AwsElasticsearchDomainServiceSoftwareOptions { /** *

                  The epoch time when the deployment window closes for required updates. After this time, - * Amazon Elasticsearch Service schedules the software upgrade automatically.

                  + * Amazon OpenSearch Service schedules the software upgrade automatically.

                  */ AutomatedUpdateDate?: string; @@ -6930,7 +7475,7 @@ export namespace AwsElasticsearchDomainServiceSoftwareOptions { } /** - *

                  Information that Elasticsearch derives based on VPCOptions for the + *

                  Information that OpenSearch derives based on VPCOptions for the * domain.

                  */ export interface AwsElasticsearchDomainVPCOptions { @@ -6965,7 +7510,7 @@ export namespace AwsElasticsearchDomainVPCOptions { } /** - *

                  Information about an Amazon Elasticsearch Service domain.

                  + *

                  Information about an Elasticsearch domain.

                  */ export interface AwsElasticsearchDomainDetails { /** @@ -7006,12 +7551,12 @@ export interface AwsElasticsearchDomainDetails { Endpoints?: { [key: string]: string }; /** - *

                  Elasticsearch version.

                  + *

                  OpenSearch version.

                  */ ElasticsearchVersion?: string; /** - *

                  Information about an Elasticsearch cluster configuration.

                  + *

                  Information about an OpenSearch cluster configuration.

                  */ ElasticsearchClusterConfig?: AwsElasticsearchDomainElasticsearchClusterConfigDetails; @@ -7036,7 +7581,7 @@ export interface AwsElasticsearchDomainDetails { ServiceSoftwareOptions?: AwsElasticsearchDomainServiceSoftwareOptions; /** - *

                  Information that Elasticsearch derives based on VPCOptions for the + *

                  Information that OpenSearch derives based on VPCOptions for the * domain.

                  */ VPCOptions?: AwsElasticsearchDomainVPCOptions; @@ -7586,6 +8131,30 @@ export namespace AwsElbLoadBalancerDetails { }); } +/** + *

                  A load balancer attribute.

                  + */ +export interface AwsElbv2LoadBalancerAttribute { + /** + *

                  The name of the load balancer attribute.

                  + */ + Key?: string; + + /** + *

                  The value of the load balancer attribute.

                  + */ + Value?: string; +} + +export namespace AwsElbv2LoadBalancerAttribute { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsElbv2LoadBalancerAttribute): any => ({ + ...obj, + }); +} + /** *

                  Information about the state of the load balancer.

                  */ @@ -7671,6 +8240,11 @@ export interface AwsElbv2LoadBalancerDetails { *

                  The ID of the VPC for the load balancer.

                  */ VpcId?: string; + + /** + *

                  Attributes of the load balancer.

                  + */ + LoadBalancerAttributes?: AwsElbv2LoadBalancerAttribute[]; } export namespace AwsElbv2LoadBalancerDetails { @@ -8705,3415 +9279,3046 @@ export namespace AwsLambdaLayerVersionDetails { } /** - *

                  An IAM role that is associated with the Amazon RDS DB cluster.

                  + *

                  Configuration options for zone awareness.

                  */ -export interface AwsRdsDbClusterAssociatedRole { - /** - *

                  The ARN of the IAM role.

                  - */ - RoleArn?: string; - +export interface AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails { /** - *

                  The status of the association between the IAM role and the DB cluster.

                  + *

                  The number of Availability Zones that the domain uses. Valid values are 2 and 3. The default is 2.

                  */ - Status?: string; + AvailabilityZoneCount?: number; } -export namespace AwsRdsDbClusterAssociatedRole { +export namespace AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbClusterAssociatedRole): any => ({ + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails): any => ({ ...obj, }); } /** - *

                  Information about an instance in the DB cluster.

                  + *

                  Details about the configuration of an OpenSearch cluster.

                  */ -export interface AwsRdsDbClusterMember { +export interface AwsOpenSearchServiceDomainClusterConfigDetails { /** - *

                  Whether the cluster member is the primary instance for the DB cluster.

                  + *

                  The number of data nodes to use in the OpenSearch domain.

                  */ - IsClusterWriter?: boolean; + InstanceCount?: number; /** - *

                  Specifies the order in which an Aurora replica is promoted to the primary instance when - * the existing primary instance fails.

                  + *

                  Whether UltraWarm is enabled.

                  */ - PromotionTier?: number; + WarmEnabled?: boolean; /** - *

                  The instance identifier for this member of the DB cluster.

                  + *

                  The number of UltraWarm instances.

                  */ - DbInstanceIdentifier?: string; + WarmCount?: number; /** - *

                  The status of the DB cluster parameter group for this member of the DB cluster.

                  + *

                  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.

                  */ - DbClusterParameterGroupStatus?: string; -} + DedicatedMasterEnabled?: boolean; -export namespace AwsRdsDbClusterMember { /** - * @internal + *

                  Configuration options for zone awareness. Provided if ZoneAwarenessEnabled is true.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbClusterMember): any => ({ - ...obj, - }); -} + ZoneAwarenessConfig?: AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails; -/** - *

                  Information about an option group membership for a DB cluster.

                  - */ -export interface AwsRdsDbClusterOptionGroupMembership { /** - *

                  The name of the DB cluster option group.

                  + *

                  The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.

                  */ - DbClusterOptionGroupName?: string; + DedicatedMasterCount?: number; /** - *

                  The status of the DB cluster option group.

                  + *

                  The instance type for your data nodes.

                  */ - Status?: string; + InstanceType?: string; + + /** + *

                  The type of UltraWarm instance.

                  + */ + WarmType?: string; + + /** + *

                  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.

                  + */ + ZoneAwarenessEnabled?: boolean; + + /** + *

                  The hardware configuration of the computer that hosts the dedicated master node.

                  + *

                  If this attribute is specified, then DedicatedMasterEnabled must be true. + *

                  + */ + DedicatedMasterType?: string; } -export namespace AwsRdsDbClusterOptionGroupMembership { +export namespace AwsOpenSearchServiceDomainClusterConfigDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbClusterOptionGroupMembership): any => ({ + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainClusterConfigDetails): any => ({ ...obj, }); } /** - *

                  Information about an Active Directory domain membership record associated with the DB - * instance.

                  + *

                  Information about additional options for the domain endpoint.

                  */ -export interface AwsRdsDbDomainMembership { +export interface AwsOpenSearchServiceDomainDomainEndpointOptionsDetails { /** - *

                  The identifier of the Active Directory domain.

                  + *

                  The ARN for the security certificate. The certificate is managed in ACM.

                  */ - Domain?: string; + CustomEndpointCertificateArn?: string; /** - *

                  The status of the Active Directory Domain membership for the DB instance.

                  + *

                  Whether to enable a custom endpoint for the domain.

                  */ - Status?: string; + CustomEndpointEnabled?: boolean; /** - *

                  The fully qualified domain name of the Active Directory domain.

                  + *

                  Whether to require that all traffic to the domain arrive over HTTPS.

                  */ - Fqdn?: string; + EnforceHTTPS?: boolean; /** - *

                  The name of the IAM role to use when making API calls to the Directory Service.

                  + *

                  The fully qualified URL for the custom endpoint.

                  */ - IamRoleName?: string; + CustomEndpoint?: string; + + /** + *

                  The TLS security policy to apply to the HTTPS endpoint of the OpenSearch domain.

                  + */ + TLSSecurityPolicy?: string; } -export namespace AwsRdsDbDomainMembership { +export namespace AwsOpenSearchServiceDomainDomainEndpointOptionsDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbDomainMembership): any => ({ + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainDomainEndpointOptionsDetails): any => ({ ...obj, }); } /** - *

                  A VPC security groups that the DB instance belongs to.

                  + *

                  Details about the configuration for encryption at rest for the OpenSearch domain.

                  */ -export interface AwsRdsDbInstanceVpcSecurityGroup { +export interface AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails { /** - *

                  The name of the VPC security group.

                  + *

                  Whether encryption at rest is enabled.

                  */ - VpcSecurityGroupId?: string; + Enabled?: boolean; /** - *

                  The status of the VPC security group.

                  + *

                  The KMS key ID.

                  */ - Status?: string; + KmsKeyId?: string; } -export namespace AwsRdsDbInstanceVpcSecurityGroup { +export namespace AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbInstanceVpcSecurityGroup): any => ({ + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails): any => ({ ...obj, }); } /** - *

                  Information about an Amazon RDS DB cluster.

                  + *

                  Configuration details for a log publishing option.

                  */ -export interface AwsRdsDbClusterDetails { - /** - *

                  For all database engines except Aurora, specifies the allocated storage size in - * gibibytes (GiB).

                  - */ - AllocatedStorage?: number; - - /** - *

                  A list of Availability Zones (AZs) where instances in the DB cluster can be - * created.

                  - */ - AvailabilityZones?: string[]; - +export interface AwsOpenSearchServiceDomainLogPublishingOption { /** - *

                  The number of days for which automated backups are retained.

                  + *

                  The ARN of the CloudWatch Logs group to publish the logs to.

                  */ - BackupRetentionPeriod?: number; + CloudWatchLogsLogGroupArn?: string; /** - *

                  The name of the database.

                  + *

                  Whether the log publishing is enabled.

                  */ - DatabaseName?: string; + Enabled?: boolean; +} +export namespace AwsOpenSearchServiceDomainLogPublishingOption { /** - *

                  The current status of this DB cluster.

                  + * @internal */ - Status?: string; + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainLogPublishingOption): any => ({ + ...obj, + }); +} +/** + *

                  Configures the CloudWatch Logs to publish for the OpenSearch domain.

                  + */ +export interface AwsOpenSearchServiceDomainLogPublishingOptionsDetails { /** - *

                  The connection endpoint for the primary instance of the DB cluster.

                  + *

                  Configures the OpenSearch index logs publishing.

                  */ - Endpoint?: string; + IndexSlowLogs?: AwsOpenSearchServiceDomainLogPublishingOption; /** - *

                  The reader endpoint for the DB cluster.

                  + *

                  Configures the OpenSearch search slow log publishing.

                  */ - ReaderEndpoint?: string; + SearchSlowLogs?: AwsOpenSearchServiceDomainLogPublishingOption; /** - *

                  A list of custom endpoints for the DB cluster.

                  + *

                  Configures the OpenSearch audit logs publishing.

                  */ - CustomEndpoints?: string[]; + AuditLogs?: AwsOpenSearchServiceDomainLogPublishingOption; +} +export namespace AwsOpenSearchServiceDomainLogPublishingOptionsDetails { /** - *

                  Whether the DB cluster has instances in multiple Availability Zones.

                  + * @internal */ - MultiAz?: boolean; + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainLogPublishingOptionsDetails): any => ({ + ...obj, + }); +} +/** + *

                  Provides details about the configuration for node-to-node encryption.

                  + */ +export interface AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails { /** - *

                  The name of the database engine to use for this DB cluster.

                  + *

                  Whether node-to-node encryption is enabled.

                  */ - Engine?: string; + Enabled?: boolean; +} +export namespace AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails { /** - *

                  The version number of the database engine to use.

                  + * @internal */ - EngineVersion?: string; + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails): any => ({ + ...obj, + }); +} +/** + *

                  Provides information about the state of the domain relative to the latest service software.

                  + */ +export interface AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { /** - *

                  The port number on which the DB instances in the DB cluster accept connections.

                  + *

                  The epoch time when the deployment window closes for required updates. After this time, OpenSearch Service schedules the software upgrade automatically.

                  */ - Port?: number; + AutomatedUpdateDate?: string; /** - *

                  The name of the master user for the DB cluster.

                  + *

                  Whether a request to update the domain can be canceled.

                  */ - MasterUsername?: string; + Cancellable?: boolean; /** - *

                  The range of time each day when automated backups are created, if automated backups are - * enabled.

                  - *

                  Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

                  + *

                  The version of the service software that is currently installed on the domain.

                  */ - PreferredBackupWindow?: string; + CurrentVersion?: string; /** - *

                  The weekly time range during which system maintenance can occur, in Universal - * Coordinated Time (UTC).

                  - *

                  Uses the format :HH:MM-:HH:MM.

                  - *

                  For the day values, use - * mon|tue|wed|thu|fri|sat|sun.

                  - *

                  For example, sun:09:32-sun:10:02.

                  + *

                  A more detailed description of the service software status.

                  */ - PreferredMaintenanceWindow?: string; + Description?: string; /** - *

                  The identifiers of the read replicas that are associated with this DB cluster.

                  + *

                  The most recent version of the service software.

                  */ - ReadReplicaIdentifiers?: string[]; + NewVersion?: string; /** - *

                  A list of VPC security groups that the DB cluster belongs to.

                  + *

                  Whether a service software update is available for the domain.

                  */ - VpcSecurityGroups?: AwsRdsDbInstanceVpcSecurityGroup[]; + UpdateAvailable?: boolean; /** - *

                  Specifies the identifier that Amazon Route 53 assigns when you create a hosted - * zone.

                  + *

                  The status of the service software update.

                  */ - HostedZoneId?: string; + UpdateStatus?: string; /** - *

                  Whether the DB cluster is encrypted.

                  + *

                  Whether the service software update is optional.

                  */ - StorageEncrypted?: boolean; + OptionalDeployment?: boolean; +} +export namespace AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails { /** - *

                  The ARN of the KMS master key that is used to encrypt the database instances in the - * DB cluster.

                  + * @internal */ - KmsKeyId?: string; + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails): any => ({ + ...obj, + }); +} +/** + *

                  Contains information that OpenSearch Service derives based on the VPCOptions for the domain.

                  + */ +export interface AwsOpenSearchServiceDomainVpcOptionsDetails { /** - *

                  The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region - * and is immutable.

                  + *

                  The list of security group IDs that are associated with the VPC endpoints for the domain.

                  */ - DbClusterResourceId?: string; + SecurityGroupIds?: string[]; /** - *

                  A list of the IAM roles that are associated with the DB cluster.

                  + *

                  A list of subnet IDs that are associated with the VPC endpoints for the domain.

                  */ - AssociatedRoles?: AwsRdsDbClusterAssociatedRole[]; + SubnetIds?: string[]; +} +export namespace AwsOpenSearchServiceDomainVpcOptionsDetails { /** - *

                  Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + * @internal */ - ClusterCreateTime?: string; + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainVpcOptionsDetails): any => ({ + ...obj, + }); +} +/** + *

                  Information about an Amazon OpenSearch Service domain.

                  + */ +export interface AwsOpenSearchServiceDomainDetails { /** - *

                  A list of log types that this DB cluster is configured to export to CloudWatch - * Logs.

                  + *

                  The ARN of the OpenSearch Service domain.

                  */ - EnabledCloudWatchLogsExports?: string[]; + Arn?: string; /** - *

                  The database engine mode of the DB cluster.

                  + *

                  IAM policy document that specifies the access policies for the OpenSearch Service domain.

                  */ - EngineMode?: string; + AccessPolicies?: string; /** - *

                  Whether the DB cluster has deletion protection enabled.

                  + *

                  The name of the endpoint.

                  */ - DeletionProtection?: boolean; + DomainName?: string; /** - *

                  Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

                  + *

                  The identifier of the domain.

                  */ - HttpEndpointEnabled?: boolean; + Id?: string; /** - *

                  The status of the database activity stream.

                  + *

                  The domain endpoint.

                  */ - ActivityStreamStatus?: string; + DomainEndpoint?: string; /** - *

                  Whether tags are copied from the DB cluster to snapshots of the DB cluster.

                  + *

                  The version of the domain engine.

                  */ - CopyTagsToSnapshot?: boolean; + EngineVersion?: string; /** - *

                  Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services - * account.

                  + *

                  Details about the configuration for encryption at rest.

                  */ - CrossAccountClone?: boolean; + EncryptionAtRestOptions?: AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails; /** - *

                  The Active Directory domain membership records that are associated with the DB - * cluster.

                  + *

                  Details about the configuration for node-to-node encryption.

                  */ - DomainMemberships?: AwsRdsDbDomainMembership[]; + NodeToNodeEncryptionOptions?: AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails; /** - *

                  The name of the DB cluster parameter group for the DB cluster.

                  + *

                  Information about the status of a domain relative to the latest service software.

                  */ - DbClusterParameterGroup?: string; + ServiceSoftwareOptions?: AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails; /** - *

                  The subnet group that is associated with the DB cluster, including the name, - * description, and subnets in the subnet group.

                  + *

                  Details about the configuration of an OpenSearch cluster.

                  */ - DbSubnetGroup?: string; + ClusterConfig?: AwsOpenSearchServiceDomainClusterConfigDetails; /** - *

                  The list of option group memberships for this DB cluster.

                  + *

                  Additional options for the domain endpoint.

                  */ - DbClusterOptionGroupMemberships?: AwsRdsDbClusterOptionGroupMembership[]; + DomainEndpointOptions?: AwsOpenSearchServiceDomainDomainEndpointOptionsDetails; /** - *

                  The DB cluster identifier that the user assigned to the cluster. This identifier is the - * unique key that identifies a DB cluster.

                  + *

                  Information that OpenSearch Service derives based on VPCOptions for the domain.

                  */ - DbClusterIdentifier?: string; + VpcOptions?: AwsOpenSearchServiceDomainVpcOptionsDetails; /** - *

                  The list of instances that make up the DB cluster.

                  + *

                  Configures the CloudWatch Logs to publish for the OpenSearch domain.

                  */ - DbClusterMembers?: AwsRdsDbClusterMember[]; + LogPublishingOptions?: AwsOpenSearchServiceDomainLogPublishingOptionsDetails; /** - *

                  Whether the mapping of IAM accounts to database accounts is enabled.

                  + *

                  The domain endpoints. Used if the OpenSearch domain resides in a VPC.

                  + *

                  This is a map of key-value pairs. The key is always vpc. The value is the endpoint.

                  */ - IamDatabaseAuthenticationEnabled?: boolean; + DomainEndpoints?: { [key: string]: string }; } -export namespace AwsRdsDbClusterDetails { +export namespace AwsOpenSearchServiceDomainDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbClusterDetails): any => ({ + export const filterSensitiveLog = (obj: AwsOpenSearchServiceDomainDetails): any => ({ ...obj, }); } /** - *

                  Information about an Amazon RDS DB cluster snapshot.

                  + *

                  An IAM role that is associated with the Amazon RDS DB cluster.

                  */ -export interface AwsRdsDbClusterSnapshotDetails { +export interface AwsRdsDbClusterAssociatedRole { /** - *

                  A list of Availability Zones where instances in the DB cluster can be created.

                  + *

                  The ARN of the IAM role.

                  */ - AvailabilityZones?: string[]; + RoleArn?: string; /** - *

                  Indicates when the snapshot was taken.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The status of the association between the IAM role and the DB cluster.

                  */ - SnapshotCreateTime?: string; + Status?: string; +} +export namespace AwsRdsDbClusterAssociatedRole { /** - *

                  The name of the database engine that you want to use for this DB instance.

                  + * @internal */ - Engine?: string; + export const filterSensitiveLog = (obj: AwsRdsDbClusterAssociatedRole): any => ({ + ...obj, + }); +} +/** + *

                  Information about an instance in the DB cluster.

                  + */ +export interface AwsRdsDbClusterMember { /** - *

                  Specifies the allocated storage size in gibibytes (GiB).

                  + *

                  Whether the cluster member is the primary instance for the DB cluster.

                  */ - AllocatedStorage?: number; + IsClusterWriter?: boolean; /** - *

                  The status of this DB cluster snapshot.

                  + *

                  Specifies the order in which an Aurora replica is promoted to the primary instance when + * the existing primary instance fails.

                  */ - Status?: string; + PromotionTier?: number; /** - *

                  The port number on which the DB instances in the DB cluster accept connections.

                  + *

                  The instance identifier for this member of the DB cluster.

                  */ - Port?: number; + DbInstanceIdentifier?: string; /** - *

                  The VPC ID that is associated with the DB cluster snapshot.

                  + *

                  The status of the DB cluster parameter group for this member of the DB cluster.

                  */ - VpcId?: string; + DbClusterParameterGroupStatus?: string; +} +export namespace AwsRdsDbClusterMember { /** - *

                  Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + * @internal */ - ClusterCreateTime?: string; + export const filterSensitiveLog = (obj: AwsRdsDbClusterMember): any => ({ + ...obj, + }); +} +/** + *

                  Information about an option group membership for a DB cluster.

                  + */ +export interface AwsRdsDbClusterOptionGroupMembership { /** - *

                  The name of the master user for the DB cluster.

                  + *

                  The name of the DB cluster option group.

                  */ - MasterUsername?: string; + DbClusterOptionGroupName?: string; /** - *

                  The version of the database engine to use.

                  + *

                  The status of the DB cluster option group.

                  */ - EngineVersion?: string; - - /** - *

                  The license model information for this DB cluster snapshot.

                  - */ - LicenseModel?: string; - - /** - *

                  The type of DB cluster snapshot.

                  - */ - SnapshotType?: string; - - /** - *

                  Specifies the percentage of the estimated data that has been transferred.

                  - */ - PercentProgress?: number; + Status?: string; +} +export namespace AwsRdsDbClusterOptionGroupMembership { /** - *

                  Whether the DB cluster is encrypted.

                  + * @internal */ - StorageEncrypted?: boolean; + export const filterSensitiveLog = (obj: AwsRdsDbClusterOptionGroupMembership): any => ({ + ...obj, + }); +} +/** + *

                  Information about an Active Directory domain membership record associated with the DB + * instance.

                  + */ +export interface AwsRdsDbDomainMembership { /** - *

                  The ARN of the KMS master key that is used to encrypt the database instances in the - * DB cluster.

                  + *

                  The identifier of the Active Directory domain.

                  */ - KmsKeyId?: string; + Domain?: string; /** - *

                  The DB cluster identifier.

                  + *

                  The status of the Active Directory Domain membership for the DB instance.

                  */ - DbClusterIdentifier?: string; + Status?: string; /** - *

                  The identifier of the DB cluster snapshot.

                  + *

                  The fully qualified domain name of the Active Directory domain.

                  */ - DbClusterSnapshotIdentifier?: string; + Fqdn?: string; /** - *

                  Whether mapping of IAM accounts to database accounts is enabled.

                  + *

                  The name of the IAM role to use when making API calls to the Directory Service.

                  */ - IamDatabaseAuthenticationEnabled?: boolean; + IamRoleName?: string; } -export namespace AwsRdsDbClusterSnapshotDetails { +export namespace AwsRdsDbDomainMembership { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbClusterSnapshotDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRdsDbDomainMembership): any => ({ ...obj, }); } /** - *

                  An IAM role associated with the DB instance.

                  + *

                  A VPC security groups that the DB instance belongs to.

                  */ -export interface AwsRdsDbInstanceAssociatedRole { - /** - *

                  The ARN of the IAM role that is associated with the DB - * instance.

                  - */ - RoleArn?: string; - +export interface AwsRdsDbInstanceVpcSecurityGroup { /** - *

                  The name of the feature associated with the IAM role.

                  + *

                  The name of the VPC security group.

                  */ - FeatureName?: string; + VpcSecurityGroupId?: string; /** - *

                  Describes the state of the association between the IAM role and the DB instance. The - * Status property returns one of the following values:

                  - *
                    - *
                  • - *

                    - * ACTIVE - The IAM role ARN is associated with the DB instance and can - * be used to access other Amazon Web Services services on your behalf.

                    - *
                  • - *
                  • - *

                    - * PENDING - The IAM role ARN is being associated with the DB - * instance.

                    - *
                  • - *
                  • - *

                    - * INVALID - The IAM role ARN is associated with the DB instance. But - * the DB instance is unable to assume the IAM role in order to access other Amazon Web Services - * services on your behalf.

                    - *
                  • - *
                  + *

                  The status of the VPC security group.

                  */ Status?: string; } -export namespace AwsRdsDbInstanceAssociatedRole { +export namespace AwsRdsDbInstanceVpcSecurityGroup { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbInstanceAssociatedRole): any => ({ + export const filterSensitiveLog = (obj: AwsRdsDbInstanceVpcSecurityGroup): any => ({ ...obj, }); } /** - *

                  Provides information about a parameter group for a DB instance.

                  + *

                  Information about an Amazon RDS DB cluster.

                  */ -export interface AwsRdsDbParameterGroup { +export interface AwsRdsDbClusterDetails { /** - *

                  The name of the parameter group.

                  + *

                  For all database engines except Aurora, specifies the allocated storage size in + * gibibytes (GiB).

                  */ - DbParameterGroupName?: string; + AllocatedStorage?: number; /** - *

                  The status of parameter updates.

                  + *

                  A list of Availability Zones (AZs) where instances in the DB cluster can be + * created.

                  */ - ParameterApplyStatus?: string; -} + AvailabilityZones?: string[]; -export namespace AwsRdsDbParameterGroup { /** - * @internal + *

                  The number of days for which automated backups are retained.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbParameterGroup): any => ({ - ...obj, - }); -} + BackupRetentionPeriod?: number; -/** - *

                  An Availability Zone for a subnet in a subnet group.

                  - */ -export interface AwsRdsDbSubnetGroupSubnetAvailabilityZone { /** - *

                  The name of the Availability Zone for a subnet in the subnet group.

                  + *

                  The name of the database.

                  */ - Name?: string; -} + DatabaseName?: string; -export namespace AwsRdsDbSubnetGroupSubnetAvailabilityZone { /** - * @internal + *

                  The current status of this DB cluster.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbSubnetGroupSubnetAvailabilityZone): any => ({ - ...obj, - }); -} + Status?: string; -/** - *

                  Information about a subnet in a subnet group.

                  - */ -export interface AwsRdsDbSubnetGroupSubnet { /** - *

                  The identifier of a subnet in the subnet group.

                  + *

                  The connection endpoint for the primary instance of the DB cluster.

                  */ - SubnetIdentifier?: string; + Endpoint?: string; /** - *

                  Information about the Availability Zone for a subnet in the subnet group.

                  + *

                  The reader endpoint for the DB cluster.

                  */ - SubnetAvailabilityZone?: AwsRdsDbSubnetGroupSubnetAvailabilityZone; + ReaderEndpoint?: string; /** - *

                  The status of a subnet in the subnet group.

                  + *

                  A list of custom endpoints for the DB cluster.

                  */ - SubnetStatus?: string; -} + CustomEndpoints?: string[]; -export namespace AwsRdsDbSubnetGroupSubnet { /** - * @internal + *

                  Whether the DB cluster has instances in multiple Availability Zones.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbSubnetGroupSubnet): any => ({ - ...obj, - }); -} + MultiAz?: boolean; -/** - *

                  Information about the subnet group for the database instance.

                  - */ -export interface AwsRdsDbSubnetGroup { /** - *

                  The name of the subnet group.

                  + *

                  The name of the database engine to use for this DB cluster.

                  */ - DbSubnetGroupName?: string; + Engine?: string; /** - *

                  The description of the subnet group.

                  + *

                  The version number of the database engine to use.

                  */ - DbSubnetGroupDescription?: string; + EngineVersion?: string; /** - *

                  The VPC ID of the subnet group.

                  + *

                  The port number on which the DB instances in the DB cluster accept connections.

                  */ - VpcId?: string; + Port?: number; /** - *

                  The status of the subnet group.

                  + *

                  The name of the master user for the DB cluster.

                  */ - SubnetGroupStatus?: string; + MasterUsername?: string; /** - *

                  A list of subnets in the subnet group.

                  + *

                  The range of time each day when automated backups are created, if automated backups are + * enabled.

                  + *

                  Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

                  */ - Subnets?: AwsRdsDbSubnetGroupSubnet[]; + PreferredBackupWindow?: string; /** - *

                  The ARN of the subnet group.

                  + *

                  The weekly time range during which system maintenance can occur, in Universal + * Coordinated Time (UTC).

                  + *

                  Uses the format :HH:MM-:HH:MM.

                  + *

                  For the day values, use + * mon|tue|wed|thu|fri|sat|sun.

                  + *

                  For example, sun:09:32-sun:10:02.

                  */ - DbSubnetGroupArn?: string; -} + PreferredMaintenanceWindow?: string; -export namespace AwsRdsDbSubnetGroup { /** - * @internal + *

                  The identifiers of the read replicas that are associated with this DB cluster.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbSubnetGroup): any => ({ - ...obj, - }); -} + ReadReplicaIdentifiers?: string[]; -/** - *

                  Specifies the connection endpoint.

                  - */ -export interface AwsRdsDbInstanceEndpoint { /** - *

                  Specifies the DNS address of the DB instance.

                  + *

                  A list of VPC security groups that the DB cluster belongs to.

                  */ - Address?: string; + VpcSecurityGroups?: AwsRdsDbInstanceVpcSecurityGroup[]; /** - *

                  Specifies the port that the database engine is listening on.

                  + *

                  Specifies the identifier that Amazon Route 53 assigns when you create a hosted + * zone.

                  */ - Port?: number; + HostedZoneId?: string; /** - *

                  Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

                  + *

                  Whether the DB cluster is encrypted.

                  */ - HostedZoneId?: string; -} + StorageEncrypted?: boolean; -export namespace AwsRdsDbInstanceEndpoint { /** - * @internal + *

                  The ARN of the KMS master key that is used to encrypt the database instances in the + * DB cluster.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbInstanceEndpoint): any => ({ - ...obj, - }); -} + KmsKeyId?: string; -/** - *

                  An option group membership.

                  - */ -export interface AwsRdsDbOptionGroupMembership { /** - *

                  The name of the option group.

                  + *

                  The identifier of the DB cluster. The identifier must be unique within each Amazon Web Services Region + * and is immutable.

                  */ - OptionGroupName?: string; + DbClusterResourceId?: string; /** - *

                  The status of the option group membership.

                  + *

                  A list of the IAM roles that are associated with the DB cluster.

                  */ - Status?: string; -} + AssociatedRoles?: AwsRdsDbClusterAssociatedRole[]; -export namespace AwsRdsDbOptionGroupMembership { /** - * @internal + *

                  Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbOptionGroupMembership): any => ({ - ...obj, - }); -} + ClusterCreateTime?: string; -/** - *

                  Identifies the log types to enable and disable.

                  - */ -export interface AwsRdsPendingCloudWatchLogsExports { /** - *

                  A list of log types that are being enabled.

                  + *

                  A list of log types that this DB cluster is configured to export to CloudWatch + * Logs.

                  */ - LogTypesToEnable?: string[]; + EnabledCloudWatchLogsExports?: string[]; /** - *

                  A list of log types that are being disabled.

                  + *

                  The database engine mode of the DB cluster.

                  */ - LogTypesToDisable?: string[]; -} + EngineMode?: string; -export namespace AwsRdsPendingCloudWatchLogsExports { /** - * @internal + *

                  Whether the DB cluster has deletion protection enabled.

                  */ - export const filterSensitiveLog = (obj: AwsRdsPendingCloudWatchLogsExports): any => ({ - ...obj, - }); -} + DeletionProtection?: boolean; -/** - *

                  A processor feature.

                  - */ -export interface AwsRdsDbProcessorFeature { /** - *

                  The name of the processor feature.

                  + *

                  Whether the HTTP endpoint for an Aurora Serverless DB cluster is enabled.

                  */ - Name?: string; + HttpEndpointEnabled?: boolean; /** - *

                  The value of the processor feature.

                  + *

                  The status of the database activity stream.

                  */ - Value?: string; + ActivityStreamStatus?: string; + + /** + *

                  Whether tags are copied from the DB cluster to snapshots of the DB cluster.

                  + */ + CopyTagsToSnapshot?: boolean; + + /** + *

                  Whether the DB cluster is a clone of a DB cluster owned by a different Amazon Web Services + * account.

                  + */ + CrossAccountClone?: boolean; + + /** + *

                  The Active Directory domain membership records that are associated with the DB + * cluster.

                  + */ + DomainMemberships?: AwsRdsDbDomainMembership[]; + + /** + *

                  The name of the DB cluster parameter group for the DB cluster.

                  + */ + DbClusterParameterGroup?: string; + + /** + *

                  The subnet group that is associated with the DB cluster, including the name, + * description, and subnets in the subnet group.

                  + */ + DbSubnetGroup?: string; + + /** + *

                  The list of option group memberships for this DB cluster.

                  + */ + DbClusterOptionGroupMemberships?: AwsRdsDbClusterOptionGroupMembership[]; + + /** + *

                  The DB cluster identifier that the user assigned to the cluster. This identifier is the + * unique key that identifies a DB cluster.

                  + */ + DbClusterIdentifier?: string; + + /** + *

                  The list of instances that make up the DB cluster.

                  + */ + DbClusterMembers?: AwsRdsDbClusterMember[]; + + /** + *

                  Whether the mapping of IAM accounts to database accounts is enabled.

                  + */ + IamDatabaseAuthenticationEnabled?: boolean; } -export namespace AwsRdsDbProcessorFeature { +export namespace AwsRdsDbClusterDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbProcessorFeature): any => ({ + export const filterSensitiveLog = (obj: AwsRdsDbClusterDetails): any => ({ ...obj, }); } /** - *

                  Changes to a DB instance that are currently pending.

                  + *

                  Information about an Amazon RDS DB cluster snapshot.

                  */ -export interface AwsRdsDbPendingModifiedValues { +export interface AwsRdsDbClusterSnapshotDetails { /** - *

                  The new DB instance class for the DB instance.

                  + *

                  A list of Availability Zones where instances in the DB cluster can be created.

                  */ - DbInstanceClass?: string; + AvailabilityZones?: string[]; /** - *

                  The new value of the allocated storage for the DB instance.

                  + *

                  Indicates when the snapshot was taken.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  + */ + SnapshotCreateTime?: string; + + /** + *

                  The name of the database engine that you want to use for this DB instance.

                  + */ + Engine?: string; + + /** + *

                  Specifies the allocated storage size in gibibytes (GiB).

                  */ AllocatedStorage?: number; /** - *

                  The new master user password for the DB instance.

                  + *

                  The status of this DB cluster snapshot.

                  */ - MasterUserPassword?: string; + Status?: string; /** - *

                  The new port for the DB instance.

                  + *

                  The port number on which the DB instances in the DB cluster accept connections.

                  */ Port?: number; /** - *

                  The new backup retention period for the DB instance.

                  + *

                  The VPC ID that is associated with the DB cluster snapshot.

                  */ - BackupRetentionPeriod?: number; + VpcId?: string; /** - *

                  Indicates that a single Availability Zone DB instance is changing to a multiple Availability Zone deployment.

                  + *

                  Indicates when the DB cluster was created, in Universal Coordinated Time (UTC).

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - MultiAZ?: boolean; + ClusterCreateTime?: string; /** - *

                  The new engine version for the DB instance.

                  + *

                  The name of the master user for the DB cluster.

                  + */ + MasterUsername?: string; + + /** + *

                  The version of the database engine to use.

                  */ EngineVersion?: string; /** - *

                  The new license model value for the DB instance.

                  + *

                  The license model information for this DB cluster snapshot.

                  */ LicenseModel?: string; /** - *

                  The new provisioned IOPS value for the DB instance.

                  + *

                  The type of DB cluster snapshot.

                  */ - Iops?: number; + SnapshotType?: string; /** - *

                  The new DB instance identifier for the DB instance.

                  + *

                  Specifies the percentage of the estimated data that has been transferred.

                  */ - DbInstanceIdentifier?: string; + PercentProgress?: number; /** - *

                  The new storage type for the DB instance.

                  + *

                  Whether the DB cluster is encrypted.

                  */ - StorageType?: string; + StorageEncrypted?: boolean; /** - *

                  The new CA certificate identifier for the DB instance.

                  + *

                  The ARN of the KMS master key that is used to encrypt the database instances in the + * DB cluster.

                  */ - CaCertificateIdentifier?: string; + KmsKeyId?: string; /** - *

                  The name of the new subnet group for the DB instance.

                  + *

                  The DB cluster identifier.

                  */ - DbSubnetGroupName?: string; + DbClusterIdentifier?: string; /** - *

                  A list of log types that are being enabled or disabled.

                  + *

                  The identifier of the DB cluster snapshot.

                  */ - PendingCloudWatchLogsExports?: AwsRdsPendingCloudWatchLogsExports; + DbClusterSnapshotIdentifier?: string; /** - *

                  Processor features that are being updated.

                  + *

                  Whether mapping of IAM accounts to database accounts is enabled.

                  */ - ProcessorFeatures?: AwsRdsDbProcessorFeature[]; + IamDatabaseAuthenticationEnabled?: boolean; } -export namespace AwsRdsDbPendingModifiedValues { +export namespace AwsRdsDbClusterSnapshotDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbPendingModifiedValues): any => ({ + export const filterSensitiveLog = (obj: AwsRdsDbClusterSnapshotDetails): any => ({ ...obj, }); } /** - *

                  Information about the status of a read replica.

                  + *

                  An IAM role associated with the DB instance.

                  */ -export interface AwsRdsDbStatusInfo { +export interface AwsRdsDbInstanceAssociatedRole { /** - *

                  The type of status. For a read replica, the status type is read replication.

                  + *

                  The ARN of the IAM role that is associated with the DB + * instance.

                  */ - StatusType?: string; + RoleArn?: string; /** - *

                  Whether the read replica instance is operating normally.

                  + *

                  The name of the feature associated with the IAM role.

                  */ - Normal?: boolean; + FeatureName?: string; /** - *

                  The status of the read replica instance.

                  + *

                  Describes the state of the association between the IAM role and the DB instance. The + * Status property returns one of the following values:

                  + *
                    + *
                  • + *

                    + * ACTIVE - The IAM role ARN is associated with the DB instance and can + * be used to access other Amazon Web Services services on your behalf.

                    + *
                  • + *
                  • + *

                    + * PENDING - The IAM role ARN is being associated with the DB + * instance.

                    + *
                  • + *
                  • + *

                    + * INVALID - The IAM role ARN is associated with the DB instance. But + * the DB instance is unable to assume the IAM role in order to access other Amazon Web Services + * services on your behalf.

                    + *
                  • + *
                  */ Status?: string; - - /** - *

                  If the read replica is currently in an error state, provides the error details.

                  - */ - Message?: string; } -export namespace AwsRdsDbStatusInfo { +export namespace AwsRdsDbInstanceAssociatedRole { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRdsDbStatusInfo): any => ({ + export const filterSensitiveLog = (obj: AwsRdsDbInstanceAssociatedRole): any => ({ ...obj, }); } /** - *

                  Contains the details of an Amazon RDS DB instance.

                  + *

                  Provides information about a parameter group for a DB instance.

                  */ -export interface AwsRdsDbInstanceDetails { +export interface AwsRdsDbParameterGroup { /** - *

                  The IAM roles associated with the DB - * instance.

                  + *

                  The name of the parameter group.

                  */ - AssociatedRoles?: AwsRdsDbInstanceAssociatedRole[]; + DbParameterGroupName?: string; /** - *

                  The identifier of the CA certificate for this DB instance.

                  + *

                  The status of parameter updates.

                  */ - CACertificateIdentifier?: string; + ParameterApplyStatus?: string; +} +export namespace AwsRdsDbParameterGroup { /** - *

                  If the DB instance is a member of a DB cluster, contains the name of the DB cluster that - * the DB instance is a member of.

                  + * @internal */ - DBClusterIdentifier?: string; + export const filterSensitiveLog = (obj: AwsRdsDbParameterGroup): any => ({ + ...obj, + }); +} +/** + *

                  An Availability Zone for a subnet in a subnet group.

                  + */ +export interface AwsRdsDbSubnetGroupSubnetAvailabilityZone { /** - *

                  Contains a user-supplied database identifier. This identifier is the unique key that - * identifies a DB instance.

                  + *

                  The name of the Availability Zone for a subnet in the subnet group.

                  */ - DBInstanceIdentifier?: string; + Name?: string; +} +export namespace AwsRdsDbSubnetGroupSubnetAvailabilityZone { /** - *

                  Contains the name of the compute and memory capacity class of the DB instance.

                  + * @internal */ - DBInstanceClass?: string; + export const filterSensitiveLog = (obj: AwsRdsDbSubnetGroupSubnetAvailabilityZone): any => ({ + ...obj, + }); +} +/** + *

                  Information about a subnet in a subnet group.

                  + */ +export interface AwsRdsDbSubnetGroupSubnet { /** - *

                  Specifies the port that the DB instance listens on. If the DB instance is part of a DB - * cluster, this can be a different port than the DB cluster port.

                  + *

                  The identifier of a subnet in the subnet group.

                  */ - DbInstancePort?: number; - - /** - *

                  The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is - * found in CloudTrail log entries whenever the KMS key for the DB instance is - * accessed.

                  - */ - DbiResourceId?: string; + SubnetIdentifier?: string; /** - *

                  The meaning of this parameter differs according to the database engine you use.

                  - *

                  - * MySQL, MariaDB, SQL Server, PostgreSQL - *

                  - *

                  Contains the name of the initial database of this instance that was provided at create - * time, if one was specified when the DB instance was created. This same name is returned for - * the life of the DB instance.

                  - *

                  - * Oracle - *

                  - *

                  Contains the Oracle System ID (SID) of the created DB instance. Not shown when the - * returned parameters do not apply to an Oracle DB instance.

                  + *

                  Information about the Availability Zone for a subnet in the subnet group.

                  */ - DBName?: string; + SubnetAvailabilityZone?: AwsRdsDbSubnetGroupSubnetAvailabilityZone; /** - *

                  Indicates whether the DB instance has deletion protection enabled.

                  - *

                  When deletion protection is enabled, the database cannot be deleted.

                  + *

                  The status of a subnet in the subnet group.

                  */ - DeletionProtection?: boolean; + SubnetStatus?: string; +} +export namespace AwsRdsDbSubnetGroupSubnet { /** - *

                  Specifies the connection endpoint.

                  + * @internal */ - Endpoint?: AwsRdsDbInstanceEndpoint; + export const filterSensitiveLog = (obj: AwsRdsDbSubnetGroupSubnet): any => ({ + ...obj, + }); +} +/** + *

                  Information about the subnet group for the database instance.

                  + */ +export interface AwsRdsDbSubnetGroup { /** - *

                  Provides the name of the database engine to use for this DB instance.

                  + *

                  The name of the subnet group.

                  */ - Engine?: string; + DbSubnetGroupName?: string; /** - *

                  Indicates the database engine version.

                  + *

                  The description of the subnet group.

                  */ - EngineVersion?: string; + DbSubnetGroupDescription?: string; /** - *

                  True if mapping of IAM accounts to database - * accounts is enabled, and otherwise false.

                  - *

                  IAM database authentication can be enabled for the following database engines.

                  - *
                    - *
                  • - *

                    For MySQL 5.6, minor version 5.6.34 or higher

                    - *
                  • - *
                  • - *

                    For MySQL 5.7, minor version 5.7.16 or higher

                    - *
                  • - *
                  • - *

                    Aurora 5.6 or higher

                    - *
                  • - *
                  + *

                  The VPC ID of the subnet group.

                  */ - IAMDatabaseAuthenticationEnabled?: boolean; + VpcId?: string; /** - *

                  Indicates when the DB instance was created.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The status of the subnet group.

                  */ - InstanceCreateTime?: string; + SubnetGroupStatus?: string; /** - *

                  If StorageEncrypted is true, the KMS key identifier for the encrypted - * DB instance.

                  + *

                  A list of subnets in the subnet group.

                  */ - KmsKeyId?: string; + Subnets?: AwsRdsDbSubnetGroupSubnet[]; /** - *

                  Specifies the accessibility options for the DB instance.

                  - *

                  A value of true specifies an Internet-facing instance with a publicly resolvable DNS - * name, which resolves to a public IP address.

                  - *

                  A value of false specifies an internal instance with a DNS name that resolves to a - * private IP address.

                  + *

                  The ARN of the subnet group.

                  */ - PubliclyAccessible?: boolean; + DbSubnetGroupArn?: string; +} +export namespace AwsRdsDbSubnetGroup { /** - *

                  Specifies whether the DB instance is encrypted.

                  + * @internal */ - StorageEncrypted?: boolean; + export const filterSensitiveLog = (obj: AwsRdsDbSubnetGroup): any => ({ + ...obj, + }); +} +/** + *

                  Specifies the connection endpoint.

                  + */ +export interface AwsRdsDbInstanceEndpoint { /** - *

                  The ARN from the key store with which the instance is associated for TDE - * encryption.

                  + *

                  Specifies the DNS address of the DB instance.

                  */ - TdeCredentialArn?: string; + Address?: string; /** - *

                  A list of VPC security groups that the DB instance belongs to.

                  + *

                  Specifies the port that the database engine is listening on.

                  */ - VpcSecurityGroups?: AwsRdsDbInstanceVpcSecurityGroup[]; + Port?: number; /** - *

                  Whether the DB instance is a multiple Availability Zone deployment.

                  + *

                  Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

                  */ - MultiAz?: boolean; + HostedZoneId?: string; +} +export namespace AwsRdsDbInstanceEndpoint { /** - *

                  The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics - * data for the DB instance.

                  + * @internal */ - EnhancedMonitoringResourceArn?: string; + export const filterSensitiveLog = (obj: AwsRdsDbInstanceEndpoint): any => ({ + ...obj, + }); +} +/** + *

                  An option group membership.

                  + */ +export interface AwsRdsDbOptionGroupMembership { /** - *

                  The current status of the DB instance.

                  + *

                  The name of the option group.

                  */ - DbInstanceStatus?: string; + OptionGroupName?: string; /** - *

                  The master user name of the DB instance.

                  + *

                  The status of the option group membership.

                  */ - MasterUsername?: string; + Status?: string; +} +export namespace AwsRdsDbOptionGroupMembership { /** - *

                  The amount of storage (in gigabytes) to initially allocate for the DB instance.

                  + * @internal */ - AllocatedStorage?: number; + export const filterSensitiveLog = (obj: AwsRdsDbOptionGroupMembership): any => ({ + ...obj, + }); +} +/** + *

                  Identifies the log types to enable and disable.

                  + */ +export interface AwsRdsPendingCloudWatchLogsExports { /** - *

                  The range of time each day when automated backups are created, if automated backups are - * enabled.

                  - *

                  Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

                  + *

                  A list of log types that are being enabled.

                  */ - PreferredBackupWindow?: string; + LogTypesToEnable?: string[]; /** - *

                  The number of days for which to retain automated backups.

                  + *

                  A list of log types that are being disabled.

                  */ - BackupRetentionPeriod?: number; + LogTypesToDisable?: string[]; +} +export namespace AwsRdsPendingCloudWatchLogsExports { /** - *

                  A list of the DB security groups to assign to the DB instance.

                  + * @internal */ - DbSecurityGroups?: string[]; + export const filterSensitiveLog = (obj: AwsRdsPendingCloudWatchLogsExports): any => ({ + ...obj, + }); +} +/** + *

                  A processor feature.

                  + */ +export interface AwsRdsDbProcessorFeature { /** - *

                  A list of the DB parameter groups to assign to the DB instance.

                  + *

                  The name of the processor feature.

                  */ - DbParameterGroups?: AwsRdsDbParameterGroup[]; + Name?: string; /** - *

                  The Availability Zone where the DB instance will be created.

                  + *

                  The value of the processor feature.

                  */ - AvailabilityZone?: string; + Value?: string; +} +export namespace AwsRdsDbProcessorFeature { /** - *

                  Information about the subnet group that is associated with the DB instance.

                  + * @internal */ - DbSubnetGroup?: AwsRdsDbSubnetGroup; + export const filterSensitiveLog = (obj: AwsRdsDbProcessorFeature): any => ({ + ...obj, + }); +} +/** + *

                  Changes to a DB instance that are currently pending.

                  + */ +export interface AwsRdsDbPendingModifiedValues { /** - *

                  The weekly time range during which system maintenance can occur, in Universal - * Coordinated Time (UTC).

                  - *

                  Uses the format :HH:MM-:HH:MM.

                  - *

                  For the day values, use - * mon|tue|wed|thu|fri|sat|sun.

                  - *

                  For example, sun:09:32-sun:10:02.

                  + *

                  The new DB instance class for the DB instance.

                  */ - PreferredMaintenanceWindow?: string; + DbInstanceClass?: string; /** - *

                  Changes to the DB instance that are currently pending.

                  + *

                  The new value of the allocated storage for the DB instance.

                  */ - PendingModifiedValues?: AwsRdsDbPendingModifiedValues; + AllocatedStorage?: number; /** - *

                  Specifies the latest time to which a database can be restored with point-in-time - * restore.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The new master user password for the DB instance.

                  */ - LatestRestorableTime?: string; + MasterUserPassword?: string; /** - *

                  Indicates whether minor version patches are applied automatically.

                  + *

                  The new port for the DB instance.

                  */ - AutoMinorVersionUpgrade?: boolean; + Port?: number; /** - *

                  If this DB instance is a read replica, contains the identifier of the source DB - * instance.

                  + *

                  The new backup retention period for the DB instance.

                  */ - ReadReplicaSourceDBInstanceIdentifier?: string; + BackupRetentionPeriod?: number; /** - *

                  List of identifiers of the read replicas associated with this DB instance.

                  + *

                  Indicates that a single Availability Zone DB instance is changing to a multiple Availability Zone deployment.

                  */ - ReadReplicaDBInstanceIdentifiers?: string[]; + MultiAZ?: boolean; /** - *

                  List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as - * a read replica.

                  + *

                  The new engine version for the DB instance.

                  */ - ReadReplicaDBClusterIdentifiers?: string[]; + EngineVersion?: string; /** - *

                  License model information for this DB instance.

                  + *

                  The new license model value for the DB instance.

                  */ LicenseModel?: string; /** - *

                  Specifies the provisioned IOPS (I/O operations per second) for this DB instance.

                  + *

                  The new provisioned IOPS value for the DB instance.

                  */ Iops?: number; /** - *

                  The list of option group memberships for this DB instance.

                  + *

                  The new DB instance identifier for the DB instance.

                  */ - OptionGroupMemberships?: AwsRdsDbOptionGroupMembership[]; + DbInstanceIdentifier?: string; /** - *

                  The name of the character set that this DB instance is associated with.

                  + *

                  The new storage type for the DB instance.

                  */ - CharacterSetName?: string; + StorageType?: string; /** - *

                  For a DB instance with multi-Availability Zone support, the name of the secondary - * Availability Zone.

                  + *

                  The new CA certificate identifier for the DB instance.

                  */ - SecondaryAvailabilityZone?: string; + CaCertificateIdentifier?: string; /** - *

                  The status of a read replica. If the instance isn't a read replica, this is - * empty.

                  + *

                  The name of the new subnet group for the DB instance.

                  */ - StatusInfos?: AwsRdsDbStatusInfo[]; + DbSubnetGroupName?: string; /** - *

                  The storage type for the DB instance.

                  + *

                  A list of log types that are being enabled or disabled.

                  */ - StorageType?: string; + PendingCloudWatchLogsExports?: AwsRdsPendingCloudWatchLogsExports; /** - *

                  The Active Directory domain membership records associated with the DB instance.

                  + *

                  Processor features that are being updated.

                  */ - DomainMemberships?: AwsRdsDbDomainMembership[]; + ProcessorFeatures?: AwsRdsDbProcessorFeature[]; +} +export namespace AwsRdsDbPendingModifiedValues { /** - *

                  Whether to copy resource tags to snapshots of the DB instance.

                  + * @internal */ - CopyTagsToSnapshot?: boolean; + export const filterSensitiveLog = (obj: AwsRdsDbPendingModifiedValues): any => ({ + ...obj, + }); +} +/** + *

                  Information about the status of a read replica.

                  + */ +export interface AwsRdsDbStatusInfo { /** - *

                  The interval, in seconds, between points when enhanced monitoring metrics are collected - * for the DB instance.

                  + *

                  The type of status. For a read replica, the status type is read replication.

                  */ - MonitoringInterval?: number; + StatusType?: string; /** - *

                  The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to - * CloudWatch Logs.

                  + *

                  Whether the read replica instance is operating normally.

                  */ - MonitoringRoleArn?: string; + Normal?: boolean; /** - *

                  The order in which to promote an Aurora replica to the primary instance after a failure - * of the existing primary instance.

                  + *

                  The status of the read replica instance.

                  */ - PromotionTier?: number; + Status?: string; /** - *

                  The time zone of the DB instance.

                  + *

                  If the read replica is currently in an error state, provides the error details.

                  */ - Timezone?: string; + Message?: string; +} +export namespace AwsRdsDbStatusInfo { /** - *

                  Indicates whether Performance Insights is enabled for the DB instance.

                  + * @internal */ - PerformanceInsightsEnabled?: boolean; + export const filterSensitiveLog = (obj: AwsRdsDbStatusInfo): any => ({ + ...obj, + }); +} +/** + *

                  Contains the details of an Amazon RDS DB instance.

                  + */ +export interface AwsRdsDbInstanceDetails { /** - *

                  The identifier of the KMS key used to encrypt the Performance Insights data.

                  + *

                  The IAM roles associated with the DB + * instance.

                  */ - PerformanceInsightsKmsKeyId?: string; + AssociatedRoles?: AwsRdsDbInstanceAssociatedRole[]; /** - *

                  The number of days to retain Performance Insights data.

                  + *

                  The identifier of the CA certificate for this DB instance.

                  */ - PerformanceInsightsRetentionPeriod?: number; + CACertificateIdentifier?: string; /** - *

                  A list of log types that this DB instance is configured to export to CloudWatch Logs.

                  + *

                  If the DB instance is a member of a DB cluster, contains the name of the DB cluster that + * the DB instance is a member of.

                  */ - EnabledCloudWatchLogsExports?: string[]; + DBClusterIdentifier?: string; /** - *

                  The number of CPU cores and the number of threads per core for the DB instance class of - * the DB instance.

                  + *

                  Contains a user-supplied database identifier. This identifier is the unique key that + * identifies a DB instance.

                  */ - ProcessorFeatures?: AwsRdsDbProcessorFeature[]; + DBInstanceIdentifier?: string; /** - *

                  Specifies the connection endpoint.

                  + *

                  Contains the name of the compute and memory capacity class of the DB instance.

                  */ - ListenerEndpoint?: AwsRdsDbInstanceEndpoint; + DBInstanceClass?: string; /** - *

                  The upper limit to which Amazon RDS can automatically scale the storage of the DB - * instance.

                  + *

                  Specifies the port that the DB instance listens on. If the DB instance is part of a DB + * cluster, this can be a different port than the DB cluster port.

                  */ - MaxAllocatedStorage?: number; -} + DbInstancePort?: number; -export namespace AwsRdsDbInstanceDetails { /** - * @internal + *

                  The Amazon Web Services Region-unique, immutable identifier for the DB instance. This identifier is + * found in CloudTrail log entries whenever the KMS key for the DB instance is + * accessed.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbInstanceDetails): any => ({ - ...obj, - }); -} + DbiResourceId?: string; -/** - *

                  Provides details about an Amazon RDS DB cluster snapshot.

                  - */ -export interface AwsRdsDbSnapshotDetails { /** - *

                  The name or ARN of the DB snapshot that is used to restore the DB instance.

                  + *

                  The meaning of this parameter differs according to the database engine you use.

                  + *

                  + * MySQL, MariaDB, SQL Server, PostgreSQL + *

                  + *

                  Contains the name of the initial database of this instance that was provided at create + * time, if one was specified when the DB instance was created. This same name is returned for + * the life of the DB instance.

                  + *

                  + * Oracle + *

                  + *

                  Contains the Oracle System ID (SID) of the created DB instance. Not shown when the + * returned parameters do not apply to an Oracle DB instance.

                  */ - DbSnapshotIdentifier?: string; + DBName?: string; /** - *

                  A name for the DB instance.

                  + *

                  Indicates whether the DB instance has deletion protection enabled.

                  + *

                  When deletion protection is enabled, the database cannot be deleted.

                  */ - DbInstanceIdentifier?: string; + DeletionProtection?: boolean; /** - *

                  When the snapshot was taken in Coordinated Universal Time (UTC).

                  + *

                  Specifies the connection endpoint.

                  */ - SnapshotCreateTime?: string; + Endpoint?: AwsRdsDbInstanceEndpoint; /** - *

                  The name of the database engine to use for this DB instance.

                  + *

                  Provides the name of the database engine to use for this DB instance.

                  */ Engine?: string; /** - *

                  The amount of storage (in gigabytes) to be initially allocated for the database instance.

                  + *

                  Indicates the database engine version.

                  */ - AllocatedStorage?: number; + EngineVersion?: string; /** - *

                  The status of this DB snapshot.

                  + *

                  True if mapping of IAM accounts to database + * accounts is enabled, and otherwise false.

                  + *

                  IAM database authentication can be enabled for the following database engines.

                  + *
                    + *
                  • + *

                    For MySQL 5.6, minor version 5.6.34 or higher

                    + *
                  • + *
                  • + *

                    For MySQL 5.7, minor version 5.7.16 or higher

                    + *
                  • + *
                  • + *

                    Aurora 5.6 or higher

                    + *
                  • + *
                  */ - Status?: string; + IAMDatabaseAuthenticationEnabled?: boolean; /** - *

                  The port that the database engine was listening on at the time of the snapshot.

                  + *

                  Indicates when the DB instance was created.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - Port?: number; + InstanceCreateTime?: string; /** - *

                  Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.

                  + *

                  If StorageEncrypted is true, the KMS key identifier for the encrypted + * DB instance.

                  */ - AvailabilityZone?: string; + KmsKeyId?: string; /** - *

                  The VPC ID associated with the DB snapshot.

                  + *

                  Specifies the accessibility options for the DB instance.

                  + *

                  A value of true specifies an Internet-facing instance with a publicly resolvable DNS + * name, which resolves to a public IP address.

                  + *

                  A value of false specifies an internal instance with a DNS name that resolves to a + * private IP address.

                  */ - VpcId?: string; + PubliclyAccessible?: boolean; /** - *

                  Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.

                  + *

                  Specifies whether the DB instance is encrypted.

                  */ - InstanceCreateTime?: string; + StorageEncrypted?: boolean; /** - *

                  The master user name for the DB snapshot.

                  + *

                  The ARN from the key store with which the instance is associated for TDE + * encryption.

                  */ - MasterUsername?: string; + TdeCredentialArn?: string; /** - *

                  The version of the database engine.

                  + *

                  A list of VPC security groups that the DB instance belongs to.

                  */ - EngineVersion?: string; + VpcSecurityGroups?: AwsRdsDbInstanceVpcSecurityGroup[]; /** - *

                  License model information for the restored DB instance.

                  + *

                  Whether the DB instance is a multiple Availability Zone deployment.

                  */ - LicenseModel?: string; + MultiAz?: boolean; /** - *

                  The type of the DB snapshot.

                  + *

                  The ARN of the CloudWatch Logs log stream that receives the enhanced monitoring metrics + * data for the DB instance.

                  */ - SnapshotType?: string; + EnhancedMonitoringResourceArn?: string; /** - *

                  The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

                  + *

                  The current status of the DB instance.

                  */ - Iops?: number; + DbInstanceStatus?: string; /** - *

                  The option group name for the DB snapshot.

                  + *

                  The master user name of the DB instance.

                  */ - OptionGroupName?: string; + MasterUsername?: string; /** - *

                  The percentage of the estimated data that has been transferred.

                  + *

                  The amount of storage (in gigabytes) to initially allocate for the DB instance.

                  */ - PercentProgress?: number; + AllocatedStorage?: number; /** - *

                  The Amazon Web Services Region that the DB snapshot was created in or copied from.

                  + *

                  The range of time each day when automated backups are created, if automated backups are + * enabled.

                  + *

                  Uses the format HH:MM-HH:MM. For example, 04:52-05:22.

                  */ - SourceRegion?: string; + PreferredBackupWindow?: string; /** - *

                  The DB snapshot ARN that the DB snapshot was copied from.

                  + *

                  The number of days for which to retain automated backups.

                  */ - SourceDbSnapshotIdentifier?: string; + BackupRetentionPeriod?: number; /** - *

                  The storage type associated with the DB snapshot.

                  + *

                  A list of the DB security groups to assign to the DB instance.

                  */ - StorageType?: string; + DbSecurityGroups?: string[]; /** - *

                  The ARN from the key store with which to associate the instance for TDE encryption.

                  + *

                  A list of the DB parameter groups to assign to the DB instance.

                  */ - TdeCredentialArn?: string; + DbParameterGroups?: AwsRdsDbParameterGroup[]; /** - *

                  Whether the DB snapshot is encrypted.

                  + *

                  The Availability Zone where the DB instance will be created.

                  */ - Encrypted?: boolean; + AvailabilityZone?: string; /** - *

                  If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.

                  + *

                  Information about the subnet group that is associated with the DB instance.

                  */ - KmsKeyId?: string; + DbSubnetGroup?: AwsRdsDbSubnetGroup; /** - *

                  The time zone of the DB snapshot.

                  + *

                  The weekly time range during which system maintenance can occur, in Universal + * Coordinated Time (UTC).

                  + *

                  Uses the format :HH:MM-:HH:MM.

                  + *

                  For the day values, use + * mon|tue|wed|thu|fri|sat|sun.

                  + *

                  For example, sun:09:32-sun:10:02.

                  */ - Timezone?: string; + PreferredMaintenanceWindow?: string; /** - *

                  Whether mapping of IAM accounts to database accounts is enabled.

                  + *

                  Changes to the DB instance that are currently pending.

                  */ - IamDatabaseAuthenticationEnabled?: boolean; + PendingModifiedValues?: AwsRdsDbPendingModifiedValues; /** - *

                  The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

                  + *

                  Specifies the latest time to which a database can be restored with point-in-time + * restore.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - ProcessorFeatures?: AwsRdsDbProcessorFeature[]; + LatestRestorableTime?: string; /** - *

                  The identifier for the source DB instance.

                  + *

                  Indicates whether minor version patches are applied automatically.

                  */ - DbiResourceId?: string; -} + AutoMinorVersionUpgrade?: boolean; -export namespace AwsRdsDbSnapshotDetails { /** - * @internal + *

                  If this DB instance is a read replica, contains the identifier of the source DB + * instance.

                  */ - export const filterSensitiveLog = (obj: AwsRdsDbSnapshotDetails): any => ({ - ...obj, - }); -} - -/** - *

                  Details about an Amazon RDS event notification subscription. The subscription allows Amazon RDS to post events to an SNS topic.

                  - */ -export interface AwsRdsEventSubscriptionDetails { - /** - *

                  The identifier of the account that is associated with the event notification subscription.

                  - */ - CustSubscriptionId?: string; - - /** - *

                  The identifier of the event notification subscription.

                  - */ - CustomerAwsId?: string; - - /** - *

                  Whether the event notification subscription is enabled.

                  - */ - Enabled?: boolean; - - /** - *

                  The list of event categories for the event notification subscription.

                  - */ - EventCategoriesList?: string[]; - - /** - *

                  The ARN of the event notification subscription.

                  - */ - EventSubscriptionArn?: string; - - /** - *

                  The ARN of the SNS topic to post the event notifications to.

                  - */ - SnsTopicArn?: string; - - /** - *

                  A list of source identifiers for the event notification subscription.

                  - */ - SourceIdsList?: string[]; - - /** - *

                  The source type for the event notification subscription.

                  - */ - SourceType?: string; - - /** - *

                  The status of the event notification subscription.

                  - *

                  Valid values: creating | modifying | deleting | active | no-permission | topic-not-exist - *

                  - */ - Status?: string; - - /** - *

                  The datetime when the event notification subscription was created.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  - */ - SubscriptionCreationTime?: string; -} - -export namespace AwsRdsEventSubscriptionDetails { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRdsEventSubscriptionDetails): any => ({ - ...obj, - }); -} - -/** - *

                  A node in an Amazon Redshift cluster.

                  - */ -export interface AwsRedshiftClusterClusterNode { - /** - *

                  The role of the node. A node might be a leader node or a compute node.

                  - */ - NodeRole?: string; - - /** - *

                  The private IP address of the node.

                  - */ - PrivateIpAddress?: string; - - /** - *

                  The public IP address of the node.

                  - */ - PublicIpAddress?: string; -} - -export namespace AwsRedshiftClusterClusterNode { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterNode): any => ({ - ...obj, - }); -} - -/** - *

                  The status of a parameter in a cluster parameter group for an Amazon Redshift - * cluster.

                  - */ -export interface AwsRedshiftClusterClusterParameterStatus { - /** - *

                  The name of the parameter.

                  - */ - ParameterName?: string; - - /** - *

                  The status of the parameter. Indicates whether the parameter is in sync with the - * database, waiting for a cluster reboot, or encountered an error when it was applied.

                  - *

                  Valid values: in-sync | pending-reboot | applying - * | invalid-parameter | apply-deferred | apply-error | - * unknown-error - *

                  - */ - ParameterApplyStatus?: string; - - /** - *

                  The error that prevented the parameter from being applied to the database.

                  - */ - ParameterApplyErrorDescription?: string; -} - -export namespace AwsRedshiftClusterClusterParameterStatus { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterParameterStatus): any => ({ - ...obj, - }); -} - -/** - *

                  A cluster parameter group that is associated with an Amazon Redshift cluster.

                  - */ -export interface AwsRedshiftClusterClusterParameterGroup { - /** - *

                  The list of parameter statuses.

                  - */ - ClusterParameterStatusList?: AwsRedshiftClusterClusterParameterStatus[]; - - /** - *

                  The status of updates to the parameters.

                  - */ - ParameterApplyStatus?: string; - - /** - *

                  The name of the parameter group.

                  - */ - ParameterGroupName?: string; -} - -export namespace AwsRedshiftClusterClusterParameterGroup { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterParameterGroup): any => ({ - ...obj, - }); -} - -/** - *

                  A security group that is associated with the cluster.

                  - */ -export interface AwsRedshiftClusterClusterSecurityGroup { - /** - *

                  The name of the cluster security group.

                  - */ - ClusterSecurityGroupName?: string; - - /** - *

                  The status of the cluster security group.

                  - */ - Status?: string; -} - -export namespace AwsRedshiftClusterClusterSecurityGroup { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterSecurityGroup): any => ({ - ...obj, - }); -} - -/** - *

                  Information about a cross-Region snapshot copy.

                  - */ -export interface AwsRedshiftClusterClusterSnapshotCopyStatus { - /** - *

                  The destination Region that snapshots are automatically copied to when cross-Region - * snapshot copy is enabled.

                  - */ - DestinationRegion?: string; - - /** - *

                  The number of days that manual snapshots are retained in the destination region after - * they are copied from a source region.

                  - *

                  If the value is -1, then the manual snapshot is retained indefinitely.

                  - *

                  Valid values: Either -1 or an integer between 1 and 3,653

                  - */ - ManualSnapshotRetentionPeriod?: number; - - /** - *

                  The number of days to retain automated snapshots in the destination Region after they - * are copied from a source Region.

                  - */ - RetentionPeriod?: number; + ReadReplicaSourceDBInstanceIdentifier?: string; /** - *

                  The name of the snapshot copy grant.

                  - */ - SnapshotCopyGrantName?: string; -} - -export namespace AwsRedshiftClusterClusterSnapshotCopyStatus { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterSnapshotCopyStatus): any => ({ - ...obj, - }); -} - -/** - *

                  A time windows during which maintenance was deferred for an Amazon Redshift - * cluster.

                  - */ -export interface AwsRedshiftClusterDeferredMaintenanceWindow { - /** - *

                  The end of the time window for which maintenance was deferred.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  - */ - DeferMaintenanceEndTime?: string; - - /** - *

                  The identifier of the maintenance window.

                  - */ - DeferMaintenanceIdentifier?: string; - - /** - *

                  The start of the time window for which maintenance was deferred.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  - */ - DeferMaintenanceStartTime?: string; -} - -export namespace AwsRedshiftClusterDeferredMaintenanceWindow { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterDeferredMaintenanceWindow): any => ({ - ...obj, - }); -} - -/** - *

                  The status of the elastic IP (EIP) address for an Amazon Redshift cluster.

                  - */ -export interface AwsRedshiftClusterElasticIpStatus { - /** - *

                  The elastic IP address for the cluster.

                  - */ - ElasticIp?: string; - - /** - *

                  The status of the elastic IP address.

                  - */ - Status?: string; -} - -export namespace AwsRedshiftClusterElasticIpStatus { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterElasticIpStatus): any => ({ - ...obj, - }); -} - -/** - *

                  The connection endpoint for an Amazon Redshift cluster.

                  - */ -export interface AwsRedshiftClusterEndpoint { - /** - *

                  The DNS address of the cluster.

                  - */ - Address?: string; - - /** - *

                  The port that the database engine listens on.

                  - */ - Port?: number; -} - -export namespace AwsRedshiftClusterEndpoint { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterEndpoint): any => ({ - ...obj, - }); -} - -/** - *

                  Information about whether an Amazon Redshift cluster finished applying any hardware - * changes to security module (HSM) settings that were specified in a modify cluster - * command.

                  - */ -export interface AwsRedshiftClusterHsmStatus { - /** - *

                  The name of the HSM client certificate that the Amazon Redshift cluster uses to retrieve - * the data encryption keys that are stored in an HSM.

                  - */ - HsmClientCertificateIdentifier?: string; - - /** - *

                  The name of the HSM configuration that contains the information that the Amazon Redshift - * cluster can use to retrieve and store keys in an HSM.

                  - */ - HsmConfigurationIdentifier?: string; - - /** - *

                  Indicates whether the Amazon Redshift cluster has finished applying any HSM settings - * changes specified in a modify cluster command.

                  - *

                  Type: String

                  - *

                  Valid values: active | applying - *

                  - */ - Status?: string; -} - -export namespace AwsRedshiftClusterHsmStatus { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterHsmStatus): any => ({ - ...obj, - }); -} - -/** - *

                  An IAM role that the cluster can use to access other Amazon Web Services services.

                  - */ -export interface AwsRedshiftClusterIamRole { - /** - *

                  The status of the IAM role's association with the cluster.

                  - *

                  Valid values: in-sync | adding | removing - *

                  - */ - ApplyStatus?: string; - - /** - *

                  The ARN of the IAM role.

                  - */ - IamRoleArn?: string; -} - -export namespace AwsRedshiftClusterIamRole { - /** - * @internal - */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterIamRole): any => ({ - ...obj, - }); -} - -/** - *

                  Changes to the Amazon Redshift cluster that are currently pending.

                  - */ -export interface AwsRedshiftClusterPendingModifiedValues { - /** - *

                  The pending or in-progress change to the automated snapshot retention period.

                  - */ - AutomatedSnapshotRetentionPeriod?: number; - - /** - *

                  The pending or in-progress change to the identifier for the cluster.

                  - */ - ClusterIdentifier?: string; - - /** - *

                  The pending or in-progress change to the cluster type.

                  + *

                  List of identifiers of the read replicas associated with this DB instance.

                  */ - ClusterType?: string; + ReadReplicaDBInstanceIdentifiers?: string[]; /** - *

                  The pending or in-progress change to the service version.

                  + *

                  List of identifiers of Aurora DB clusters to which the RDS DB instance is replicated as + * a read replica.

                  */ - ClusterVersion?: string; + ReadReplicaDBClusterIdentifiers?: string[]; /** - *

                  The encryption type for a cluster.

                  + *

                  License model information for this DB instance.

                  */ - EncryptionType?: string; + LicenseModel?: string; /** - *

                  Indicates whether to create the cluster with enhanced VPC routing enabled.

                  + *

                  Specifies the provisioned IOPS (I/O operations per second) for this DB instance.

                  */ - EnhancedVpcRouting?: boolean; + Iops?: number; /** - *

                  The name of the maintenance track that the cluster changes to during the next - * maintenance window.

                  + *

                  The list of option group memberships for this DB instance.

                  */ - MaintenanceTrackName?: string; + OptionGroupMemberships?: AwsRdsDbOptionGroupMembership[]; /** - *

                  The pending or in-progress change to the master user password for the cluster.

                  + *

                  The name of the character set that this DB instance is associated with.

                  */ - MasterUserPassword?: string; + CharacterSetName?: string; /** - *

                  The pending or in-progress change to the cluster's node type.

                  + *

                  For a DB instance with multi-Availability Zone support, the name of the secondary + * Availability Zone.

                  */ - NodeType?: string; + SecondaryAvailabilityZone?: string; /** - *

                  The pending or in-progress change to the number of nodes in the cluster.

                  + *

                  The status of a read replica. If the instance isn't a read replica, this is + * empty.

                  */ - NumberOfNodes?: number; + StatusInfos?: AwsRdsDbStatusInfo[]; /** - *

                  The pending or in-progress change to whether the cluster can be connected to from the - * public network.

                  + *

                  The storage type for the DB instance.

                  */ - PubliclyAccessible?: boolean; -} + StorageType?: string; -export namespace AwsRedshiftClusterPendingModifiedValues { /** - * @internal + *

                  The Active Directory domain membership records associated with the DB instance.

                  */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterPendingModifiedValues): any => ({ - ...obj, - }); -} + DomainMemberships?: AwsRdsDbDomainMembership[]; -/** - *

                  Information about the resize operation for the cluster.

                  - */ -export interface AwsRedshiftClusterResizeInfo { /** - *

                  Indicates whether the resize operation can be canceled.

                  + *

                  Whether to copy resource tags to snapshots of the DB instance.

                  */ - AllowCancelResize?: boolean; + CopyTagsToSnapshot?: boolean; /** - *

                  The type of resize operation.

                  - *

                  Valid values: ClassicResize - *

                  + *

                  The interval, in seconds, between points when enhanced monitoring metrics are collected + * for the DB instance.

                  */ - ResizeType?: string; -} + MonitoringInterval?: number; -export namespace AwsRedshiftClusterResizeInfo { /** - * @internal + *

                  The ARN for the IAM role that permits Amazon RDS to send enhanced monitoring metrics to + * CloudWatch Logs.

                  */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterResizeInfo): any => ({ - ...obj, - }); -} + MonitoringRoleArn?: string; -/** - *

                  Information about the status of a cluster restore action. It only applies if the cluster - * was created by restoring a snapshot.

                  - */ -export interface AwsRedshiftClusterRestoreStatus { /** - *

                  The number of megabytes per second being transferred from the backup storage. Returns - * the average rate for a completed backup.

                  - *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + *

                  The order in which to promote an Aurora replica to the primary instance after a failure + * of the existing primary instance.

                  */ - CurrentRestoreRateInMegaBytesPerSecond?: number; + PromotionTier?: number; /** - *

                  The amount of time an in-progress restore has been running, or the amount of time it - * took a completed restore to finish.

                  - *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + *

                  The time zone of the DB instance.

                  */ - ElapsedTimeInSeconds?: number; + Timezone?: string; /** - *

                  The estimate of the time remaining before the restore is complete. Returns 0 for a - * completed restore.

                  - *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + *

                  Indicates whether Performance Insights is enabled for the DB instance.

                  */ - EstimatedTimeToCompletionInSeconds?: number; + PerformanceInsightsEnabled?: boolean; /** - *

                  The number of megabytes that were transferred from snapshot storage.

                  - *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + *

                  The identifier of the KMS key used to encrypt the Performance Insights data.

                  */ - ProgressInMegaBytes?: number; + PerformanceInsightsKmsKeyId?: string; /** - *

                  The size of the set of snapshot data that was used to restore the cluster.

                  - *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + *

                  The number of days to retain Performance Insights data.

                  */ - SnapshotSizeInMegaBytes?: number; + PerformanceInsightsRetentionPeriod?: number; /** - *

                  The status of the restore action.

                  - *

                  Valid values: starting | restoring | completed | - * failed - *

                  + *

                  A list of log types that this DB instance is configured to export to CloudWatch Logs.

                  */ - Status?: string; -} + EnabledCloudWatchLogsExports?: string[]; -export namespace AwsRedshiftClusterRestoreStatus { /** - * @internal + *

                  The number of CPU cores and the number of threads per core for the DB instance class of + * the DB instance.

                  */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterRestoreStatus): any => ({ - ...obj, - }); -} + ProcessorFeatures?: AwsRdsDbProcessorFeature[]; -/** - *

                  A VPC security group that the cluster belongs to, if the cluster is in a VPC.

                  - */ -export interface AwsRedshiftClusterVpcSecurityGroup { /** - *

                  The status of the VPC security group.

                  + *

                  Specifies the connection endpoint.

                  */ - Status?: string; + ListenerEndpoint?: AwsRdsDbInstanceEndpoint; /** - *

                  The identifier of the VPC security group.

                  + *

                  The upper limit to which Amazon RDS can automatically scale the storage of the DB + * instance.

                  */ - VpcSecurityGroupId?: string; + MaxAllocatedStorage?: number; } -export namespace AwsRedshiftClusterVpcSecurityGroup { +export namespace AwsRdsDbInstanceDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterVpcSecurityGroup): any => ({ + export const filterSensitiveLog = (obj: AwsRdsDbInstanceDetails): any => ({ ...obj, }); } /** - *

                  Details about an Amazon Redshift cluster.

                  + *

                  Provides details about an Amazon RDS DB cluster snapshot.

                  */ -export interface AwsRedshiftClusterDetails { - /** - *

                  Indicates whether major version upgrades are applied automatically to the cluster during - * the maintenance window.

                  - */ - AllowVersionUpgrade?: boolean; - +export interface AwsRdsDbSnapshotDetails { /** - *

                  The number of days that automatic cluster snapshots are retained.

                  + *

                  The name or ARN of the DB snapshot that is used to restore the DB instance.

                  */ - AutomatedSnapshotRetentionPeriod?: number; + DbSnapshotIdentifier?: string; /** - *

                  The name of the Availability Zone in which the cluster is located.

                  + *

                  A name for the DB instance.

                  */ - AvailabilityZone?: string; + DbInstanceIdentifier?: string; /** - *

                  The availability status of the cluster for queries. Possible values are the - * following:

                  - *
                    - *
                  • - *

                    - * Available - The cluster is available for queries.

                    - *
                  • - *
                  • - *

                    - * Unavailable - The cluster is not available for queries.

                    - *
                  • - *
                  • - *

                    - * Maintenance - The cluster is intermittently available for queries due - * to maintenance activities.

                    - *
                  • - *
                  • - *

                    - * Modifying -The cluster is intermittently available for queries due to - * changes that modify the cluster.

                    - *
                  • - *
                  • - *

                    - * Failed - The cluster failed and is not available for queries.

                    - *
                  • - *
                  + *

                  When the snapshot was taken in Coordinated Universal Time (UTC).

                  */ - ClusterAvailabilityStatus?: string; + SnapshotCreateTime?: string; /** - *

                  Indicates when the cluster was created.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The name of the database engine to use for this DB instance.

                  */ - ClusterCreateTime?: string; + Engine?: string; /** - *

                  The unique identifier of the cluster.

                  + *

                  The amount of storage (in gigabytes) to be initially allocated for the database instance.

                  */ - ClusterIdentifier?: string; + AllocatedStorage?: number; /** - *

                  The nodes in the cluster.

                  + *

                  The status of this DB snapshot.

                  */ - ClusterNodes?: AwsRedshiftClusterClusterNode[]; + Status?: string; /** - *

                  The list of cluster parameter groups that are associated with this cluster.

                  + *

                  The port that the database engine was listening on at the time of the snapshot.

                  */ - ClusterParameterGroups?: AwsRedshiftClusterClusterParameterGroup[]; + Port?: number; /** - *

                  The public key for the cluster.

                  + *

                  Specifies the name of the Availability Zone in which the DB instance was located at the time of the DB snapshot.

                  */ - ClusterPublicKey?: string; + AvailabilityZone?: string; /** - *

                  The specific revision number of the database in the cluster.

                  + *

                  The VPC ID associated with the DB snapshot.

                  */ - ClusterRevisionNumber?: string; + VpcId?: string; /** - *

                  A list of cluster security groups that are associated with the cluster.

                  + *

                  Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.

                  */ - ClusterSecurityGroups?: AwsRedshiftClusterClusterSecurityGroup[]; + InstanceCreateTime?: string; /** - *

                  Information about the destination Region and retention period for the cross-Region - * snapshot copy.

                  + *

                  The master user name for the DB snapshot.

                  */ - ClusterSnapshotCopyStatus?: AwsRedshiftClusterClusterSnapshotCopyStatus; + MasterUsername?: string; /** - *

                  The current status of the cluster.

                  - *

                  Valid values: available | available, prep-for-resize | - * available, resize-cleanup | cancelling-resize | - * creating | deleting | final-snapshot | - * hardware-failure | incompatible-hsm | - * incompatible-network | incompatible-parameters | - * incompatible-restore | modifying | paused | - * rebooting | renaming | resizing | - * rotating-keys | storage-full | - * updating-hsm - *

                  + *

                  The version of the database engine.

                  */ - ClusterStatus?: string; + EngineVersion?: string; /** - *

                  The name of the subnet group that is associated with the cluster. This parameter is - * valid only when the cluster is in a VPC.

                  + *

                  License model information for the restored DB instance.

                  */ - ClusterSubnetGroupName?: string; + LicenseModel?: string; /** - *

                  The version ID of the Amazon Redshift engine that runs on the cluster.

                  + *

                  The type of the DB snapshot.

                  */ - ClusterVersion?: string; + SnapshotType?: string; /** - *

                  The name of the initial database that was created when the cluster was created.

                  - *

                  The same name is returned for the life of the cluster.

                  - *

                  If an initial database is not specified, a database named devdev is created - * by default.

                  + *

                  The provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

                  */ - DBName?: string; + Iops?: number; /** - *

                  List of time windows during which maintenance was deferred.

                  + *

                  The option group name for the DB snapshot.

                  */ - DeferredMaintenanceWindows?: AwsRedshiftClusterDeferredMaintenanceWindow[]; + OptionGroupName?: string; /** - *

                  Information about the status of the Elastic IP (EIP) address.

                  + *

                  The percentage of the estimated data that has been transferred.

                  */ - ElasticIpStatus?: AwsRedshiftClusterElasticIpStatus; + PercentProgress?: number; /** - *

                  The number of nodes that you can use the elastic resize method to resize the cluster - * to.

                  + *

                  The Amazon Web Services Region that the DB snapshot was created in or copied from.

                  */ - ElasticResizeNumberOfNodeOptions?: string; + SourceRegion?: string; /** - *

                  Indicates whether the data in the cluster is encrypted at rest.

                  + *

                  The DB snapshot ARN that the DB snapshot was copied from.

                  */ - Encrypted?: boolean; + SourceDbSnapshotIdentifier?: string; /** - *

                  The connection endpoint.

                  + *

                  The storage type associated with the DB snapshot.

                  */ - Endpoint?: AwsRedshiftClusterEndpoint; + StorageType?: string; /** - *

                  Indicates whether to create the cluster with enhanced VPC routing enabled.

                  + *

                  The ARN from the key store with which to associate the instance for TDE encryption.

                  */ - EnhancedVpcRouting?: boolean; + TdeCredentialArn?: string; /** - *

                  Indicates when the next snapshot is expected to be taken. The cluster must have a valid - * snapshot schedule and have backups enabled.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  Whether the DB snapshot is encrypted.

                  */ - ExpectedNextSnapshotScheduleTime?: string; + Encrypted?: boolean; /** - *

                  The status of the next expected snapshot.

                  - *

                  Valid values: OnTrack | Pending - *

                  + *

                  If Encrypted is true, the KMS key identifier for the encrypted DB snapshot.

                  */ - ExpectedNextSnapshotScheduleTimeStatus?: string; + KmsKeyId?: string; /** - *

                  Information about whether the Amazon Redshift cluster finished applying any changes to - * hardware security module (HSM) settings that were specified in a modify cluster - * command.

                  + *

                  The time zone of the DB snapshot.

                  */ - HsmStatus?: AwsRedshiftClusterHsmStatus; + Timezone?: string; /** - *

                  A list of IAM roles that the cluster can use to access other Amazon Web Services services.

                  + *

                  Whether mapping of IAM accounts to database accounts is enabled.

                  */ - IamRoles?: AwsRedshiftClusterIamRole[]; + IamDatabaseAuthenticationEnabled?: boolean; /** - *

                  The identifier of the KMS encryption key that is used to encrypt data in the - * cluster.

                  + *

                  The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

                  */ - KmsKeyId?: string; + ProcessorFeatures?: AwsRdsDbProcessorFeature[]; /** - *

                  The name of the maintenance track for the cluster.

                  + *

                  The identifier for the source DB instance.

                  */ - MaintenanceTrackName?: string; + DbiResourceId?: string; +} +export namespace AwsRdsDbSnapshotDetails { /** - *

                  The default number of days to retain a manual snapshot.

                  - *

                  If the value is -1, the snapshot is retained indefinitely.

                  - *

                  This setting doesn't change the retention period of existing snapshots.

                  - *

                  Valid values: Either -1 or an integer between 1 and 3,653

                  + * @internal */ - ManualSnapshotRetentionPeriod?: number; + export const filterSensitiveLog = (obj: AwsRdsDbSnapshotDetails): any => ({ + ...obj, + }); +} +/** + *

                  Details about an Amazon RDS event notification subscription. The subscription allows Amazon RDS to post events to an SNS topic.

                  + */ +export interface AwsRdsEventSubscriptionDetails { /** - *

                  The master user name for the cluster. This name is used to connect to the database that - * is specified in as the value of DBName.

                  + *

                  The identifier of the account that is associated with the event notification subscription.

                  */ - MasterUsername?: string; + CustSubscriptionId?: string; /** - *

                  Indicates the start of the next maintenance window.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The identifier of the event notification subscription.

                  */ - NextMaintenanceWindowStartTime?: string; + CustomerAwsId?: string; /** - *

                  The node type for the nodes in the cluster.

                  + *

                  Whether the event notification subscription is enabled.

                  */ - NodeType?: string; + Enabled?: boolean; /** - *

                  The number of compute nodes in the cluster.

                  + *

                  The list of event categories for the event notification subscription.

                  */ - NumberOfNodes?: number; + EventCategoriesList?: string[]; /** - *

                  A list of cluster operations that are waiting to start.

                  + *

                  The ARN of the event notification subscription.

                  */ - PendingActions?: string[]; + EventSubscriptionArn?: string; /** - *

                  A list of changes to the cluster that are currently pending.

                  + *

                  The ARN of the SNS topic to post the event notifications to.

                  */ - PendingModifiedValues?: AwsRedshiftClusterPendingModifiedValues; + SnsTopicArn?: string; /** - *

                  The weekly time range, in Universal Coordinated Time (UTC), during which system - * maintenance can occur.

                  - *

                  Format: - * - * :HH:MM-:HH:MM - *

                  - *

                  For the day values, use mon | tue | wed | - * thu | fri | sat | sun - *

                  - *

                  For example, sun:09:32-sun:10:02 - *

                  + *

                  A list of source identifiers for the event notification subscription.

                  */ - PreferredMaintenanceWindow?: string; + SourceIdsList?: string[]; /** - *

                  Whether the cluster can be accessed from a public network.

                  + *

                  The source type for the event notification subscription.

                  */ - PubliclyAccessible?: boolean; + SourceType?: string; /** - *

                  Information about the resize operation for the cluster.

                  + *

                  The status of the event notification subscription.

                  + *

                  Valid values: creating | modifying | deleting | active | no-permission | topic-not-exist + *

                  */ - ResizeInfo?: AwsRedshiftClusterResizeInfo; + Status?: string; /** - *

                  Information about the status of a cluster restore action. Only applies to a cluster that - * was created by restoring a snapshot.

                  + *

                  The datetime when the event notification subscription was created.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - RestoreStatus?: AwsRedshiftClusterRestoreStatus; + SubscriptionCreationTime?: string; +} +export namespace AwsRdsEventSubscriptionDetails { /** - *

                  A unique identifier for the cluster snapshot schedule.

                  + * @internal */ - SnapshotScheduleIdentifier?: string; + export const filterSensitiveLog = (obj: AwsRdsEventSubscriptionDetails): any => ({ + ...obj, + }); +} +/** + *

                  A node in an Amazon Redshift cluster.

                  + */ +export interface AwsRedshiftClusterClusterNode { /** - *

                  The current state of the cluster snapshot schedule.

                  - *

                  Valid values: MODIFYING | ACTIVE | FAILED - *

                  + *

                  The role of the node. A node might be a leader node or a compute node.

                  */ - SnapshotScheduleState?: string; + NodeRole?: string; /** - *

                  The identifier of the VPC that the cluster is in, if the cluster is in a VPC.

                  + *

                  The private IP address of the node.

                  */ - VpcId?: string; + PrivateIpAddress?: string; /** - *

                  The list of VPC security groups that the cluster belongs to, if the cluster is in a - * VPC.

                  + *

                  The public IP address of the node.

                  */ - VpcSecurityGroups?: AwsRedshiftClusterVpcSecurityGroup[]; + PublicIpAddress?: string; } -export namespace AwsRedshiftClusterDetails { +export namespace AwsRedshiftClusterClusterNode { /** * @internal */ - export const filterSensitiveLog = (obj: AwsRedshiftClusterDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterNode): any => ({ ...obj, }); } /** - *

                  provides information about the Amazon S3 Public Access Block configuration for accounts.

                  + *

                  The status of a parameter in a cluster parameter group for an Amazon Redshift + * cluster.

                  */ -export interface AwsS3AccountPublicAccessBlockDetails { - /** - *

                  Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).

                  - */ - BlockPublicAcls?: boolean; - +export interface AwsRedshiftClusterClusterParameterStatus { /** - *

                  Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.

                  + *

                  The name of the parameter.

                  */ - BlockPublicPolicy?: boolean; + ParameterName?: string; /** - *

                  Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.

                  + *

                  The status of the parameter. Indicates whether the parameter is in sync with the + * database, waiting for a cluster reboot, or encountered an error when it was applied.

                  + *

                  Valid values: in-sync | pending-reboot | applying + * | invalid-parameter | apply-deferred | apply-error | + * unknown-error + *

                  */ - IgnorePublicAcls?: boolean; + ParameterApplyStatus?: string; /** - *

                  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.

                  + *

                  The error that prevented the parameter from being applied to the database.

                  */ - RestrictPublicBuckets?: boolean; + ParameterApplyErrorDescription?: string; } -export namespace AwsS3AccountPublicAccessBlockDetails { +export namespace AwsRedshiftClusterClusterParameterStatus { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3AccountPublicAccessBlockDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterParameterStatus): any => ({ ...obj, }); } /** - *

                  Information about what Amazon S3 - * does when a multipart upload is incomplete.

                  + *

                  A cluster parameter group that is associated with an Amazon Redshift cluster.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails { +export interface AwsRedshiftClusterClusterParameterGroup { /** - *

                  The number of days after which Amazon S3 cancels an incomplete multipart upload.

                  + *

                  The list of parameter statuses.

                  */ - DaysAfterInitiation?: number; + ClusterParameterStatusList?: AwsRedshiftClusterClusterParameterStatus[]; + + /** + *

                  The status of updates to the parameters.

                  + */ + ParameterApplyStatus?: string; + + /** + *

                  The name of the parameter group.

                  + */ + ParameterGroupName?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails { +export namespace AwsRedshiftClusterClusterParameterGroup { /** * @internal */ - export const filterSensitiveLog = ( - obj: AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails - ): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterParameterGroup): any => ({ ...obj, }); } /** - *

                  A tag that is assigned to matching objects.

                  + *

                  A security group that is associated with the cluster.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails { +export interface AwsRedshiftClusterClusterSecurityGroup { /** - *

                  The tag key.

                  + *

                  The name of the cluster security group.

                  */ - Key?: string; + ClusterSecurityGroupName?: string; /** - *

                  The tag value.

                  + *

                  The status of the cluster security group.

                  */ - Value?: string; + Status?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails { +export namespace AwsRedshiftClusterClusterSecurityGroup { /** * @internal */ - export const filterSensitiveLog = ( - obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails - ): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterSecurityGroup): any => ({ ...obj, }); } /** - *

                  A value to use for the filter.

                  + *

                  Information about a cross-Region snapshot copy.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails { +export interface AwsRedshiftClusterClusterSnapshotCopyStatus { /** - *

                  Prefix text for matching objects.

                  + *

                  The destination Region that snapshots are automatically copied to when cross-Region + * snapshot copy is enabled.

                  */ - Prefix?: string; + DestinationRegion?: string; /** - *

                  A tag that is assigned to matching objects.

                  + *

                  The number of days that manual snapshots are retained in the destination region after + * they are copied from a source region.

                  + *

                  If the value is -1, then the manual snapshot is retained indefinitely.

                  + *

                  Valid values: Either -1 or an integer between 1 and 3,653

                  */ - Tag?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails; + ManualSnapshotRetentionPeriod?: number; /** - *

                  The type of filter value.

                  + *

                  The number of days to retain automated snapshots in the destination Region after they + * are copied from a source Region.

                  */ - Type?: string; + RetentionPeriod?: number; + + /** + *

                  The name of the snapshot copy grant.

                  + */ + SnapshotCopyGrantName?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails { +export namespace AwsRedshiftClusterClusterSnapshotCopyStatus { /** * @internal */ - export const filterSensitiveLog = ( - obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails - ): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterClusterSnapshotCopyStatus): any => ({ ...obj, }); } /** - *

                  A tag filter.

                  + *

                  A time windows during which maintenance was deferred for an Amazon Redshift + * cluster.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails { +export interface AwsRedshiftClusterDeferredMaintenanceWindow { /** - *

                  The tag key.

                  + *

                  The end of the time window for which maintenance was deferred.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - Key?: string; + DeferMaintenanceEndTime?: string; /** - *

                  The tag value

                  + *

                  The identifier of the maintenance window.

                  */ - Value?: string; + DeferMaintenanceIdentifier?: string; + + /** + *

                  The start of the time window for which maintenance was deferred.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  + */ + DeferMaintenanceStartTime?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails { +export namespace AwsRedshiftClusterDeferredMaintenanceWindow { /** * @internal */ - export const filterSensitiveLog = ( - obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails - ): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterDeferredMaintenanceWindow): any => ({ ...obj, }); } /** - *

                  The configuration for the filter.

                  + *

                  The status of the elastic IP (EIP) address for an Amazon Redshift cluster.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails { - /** - *

                  The values to use for the filter.

                  - */ - Operands?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails[]; - - /** - *

                  A prefix filter.

                  - */ - Prefix?: string; - +export interface AwsRedshiftClusterElasticIpStatus { /** - *

                  A tag filter.

                  + *

                  The elastic IP address for the cluster.

                  */ - Tag?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails; + ElasticIp?: string; /** - *

                  Whether to use AND or OR to join the operands.

                  + *

                  The status of the elastic IP address.

                  */ - Type?: string; + Status?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails { +export namespace AwsRedshiftClusterElasticIpStatus { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterElasticIpStatus): any => ({ ...obj, }); } /** - *

                  Identifies the objects that a rule applies to.

                  + *

                  The connection endpoint for an Amazon Redshift cluster.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails { +export interface AwsRedshiftClusterEndpoint { /** - *

                  The configuration for the filter.

                  + *

                  The DNS address of the cluster.

                  */ - Predicate?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails; + Address?: string; + + /** + *

                  The port that the database engine listens on.

                  + */ + Port?: number; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails { +export namespace AwsRedshiftClusterEndpoint { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterEndpoint): any => ({ ...obj, }); } /** - *

                  A transition rule that describes when noncurrent objects transition to a specified storage class.

                  + *

                  Information about whether an Amazon Redshift cluster finished applying any hardware + * changes to security module (HSM) settings that were specified in a modify cluster + * command.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails { +export interface AwsRedshiftClusterHsmStatus { /** - *

                  The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

                  + *

                  The name of the HSM client certificate that the Amazon Redshift cluster uses to retrieve + * the data encryption keys that are stored in an HSM.

                  */ - Days?: number; + HsmClientCertificateIdentifier?: string; /** - *

                  The class of storage to change the object to after the object is noncurrent for the specified number of days.

                  + *

                  The name of the HSM configuration that contains the information that the Amazon Redshift + * cluster can use to retrieve and store keys in an HSM.

                  */ - StorageClass?: string; + HsmConfigurationIdentifier?: string; + + /** + *

                  Indicates whether the Amazon Redshift cluster has finished applying any HSM settings + * changes specified in a modify cluster command.

                  + *

                  Type: String

                  + *

                  Valid values: active | applying + *

                  + */ + Status?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails { +export namespace AwsRedshiftClusterHsmStatus { /** * @internal */ - export const filterSensitiveLog = ( - obj: AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails - ): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterHsmStatus): any => ({ ...obj, }); } /** - *

                  A rule for when objects transition to specific storage classes.

                  + *

                  An IAM role that the cluster can use to access other Amazon Web Services services.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { - /** - *

                  A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  - */ - Date?: string; - +export interface AwsRedshiftClusterIamRole { /** - *

                  The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

                  + *

                  The status of the IAM role's association with the cluster.

                  + *

                  Valid values: in-sync | adding | removing + *

                  */ - Days?: number; + ApplyStatus?: string; /** - *

                  The storage class to transition the object to.

                  + *

                  The ARN of the IAM role.

                  */ - StorageClass?: string; + IamRoleArn?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { +export namespace AwsRedshiftClusterIamRole { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterIamRole): any => ({ ...obj, }); } /** - *

                  Configuration for a lifecycle rule.

                  + *

                  Changes to the Amazon Redshift cluster that are currently pending.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationRulesDetails { +export interface AwsRedshiftClusterPendingModifiedValues { /** - *

                  How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number - * of days before Amazon S3 cancels the entire upload.

                  + *

                  The pending or in-progress change to the automated snapshot retention period.

                  */ - AbortIncompleteMultipartUpload?: AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails; + AutomatedSnapshotRetentionPeriod?: number; /** - *

                  The date when objects are moved or deleted.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The pending or in-progress change to the identifier for the cluster.

                  */ - ExpirationDate?: string; + ClusterIdentifier?: string; /** - *

                  The length in days of the lifetime for objects that are subject to the rule.

                  + *

                  The pending or in-progress change to the cluster type.

                  */ - ExpirationInDays?: number; + ClusterType?: string; /** - *

                  Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to - * true, the delete marker is expired. If set to false, the policy - * takes no action.

                  - *

                  If you provide ExpiredObjectDeleteMarker, you cannot provide - * ExpirationInDays or ExpirationDate.

                  + *

                  The pending or in-progress change to the service version.

                  */ - ExpiredObjectDeleteMarker?: boolean; + ClusterVersion?: string; /** - *

                  Identifies the objects that a rule applies to.

                  + *

                  The encryption type for a cluster.

                  */ - Filter?: AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails; + EncryptionType?: string; /** - *

                  The unique identifier of the rule.

                  + *

                  Indicates whether to create the cluster with enhanced VPC routing enabled.

                  */ - ID?: string; + EnhancedVpcRouting?: boolean; /** - *

                  The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

                  + *

                  The name of the maintenance track that the cluster changes to during the next + * maintenance window.

                  */ - NoncurrentVersionExpirationInDays?: number; + MaintenanceTrackName?: string; /** - *

                  Transition rules that describe when noncurrent objects transition to a specified storage class.

                  + *

                  The pending or in-progress change to the master user password for the cluster.

                  */ - NoncurrentVersionTransitions?: AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails[]; + MasterUserPassword?: string; /** - *

                  A prefix that identifies one or more objects that the rule applies to.

                  + *

                  The pending or in-progress change to the cluster's node type.

                  */ - Prefix?: string; + NodeType?: string; /** - *

                  The current status of the rule. Indicates whether the rule is currently being applied.

                  + *

                  The pending or in-progress change to the number of nodes in the cluster.

                  */ - Status?: string; + NumberOfNodes?: number; /** - *

                  Transition rules that indicate when objects transition to a specified storage class.

                  + *

                  The pending or in-progress change to whether the cluster can be connected to from the + * public network.

                  */ - Transitions?: AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails[]; + PubliclyAccessible?: boolean; } -export namespace AwsS3BucketBucketLifecycleConfigurationRulesDetails { +export namespace AwsRedshiftClusterPendingModifiedValues { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterPendingModifiedValues): any => ({ ...obj, }); } /** - *

                  The lifecycle configuration for the objects in the S3 bucket.

                  + *

                  Information about the resize operation for the cluster.

                  */ -export interface AwsS3BucketBucketLifecycleConfigurationDetails { +export interface AwsRedshiftClusterResizeInfo { /** - *

                  The lifecycle rules.

                  + *

                  Indicates whether the resize operation can be canceled.

                  */ - Rules?: AwsS3BucketBucketLifecycleConfigurationRulesDetails[]; + AllowCancelResize?: boolean; + + /** + *

                  The type of resize operation.

                  + *

                  Valid values: ClassicResize + *

                  + */ + ResizeType?: string; } -export namespace AwsS3BucketBucketLifecycleConfigurationDetails { +export namespace AwsRedshiftClusterResizeInfo { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationDetails): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterResizeInfo): any => ({ ...obj, }); } /** - *

                  Information about logging for - * the S3 bucket

                  + *

                  Information about the status of a cluster restore action. It only applies if the cluster + * was created by restoring a snapshot.

                  */ -export interface AwsS3BucketLoggingConfiguration { +export interface AwsRedshiftClusterRestoreStatus { /** - *

                  The name of the S3 bucket where log files for the S3 bucket are stored.

                  + *

                  The number of megabytes per second being transferred from the backup storage. Returns + * the average rate for a completed backup.

                  + *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  */ - DestinationBucketName?: string; + CurrentRestoreRateInMegaBytesPerSecond?: number; /** - *

                  The prefix added to log files for the S3 bucket.

                  + *

                  The amount of time an in-progress restore has been running, or the amount of time it + * took a completed restore to finish.

                  + *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  */ - LogFilePrefix?: string; + ElapsedTimeInSeconds?: number; + + /** + *

                  The estimate of the time remaining before the restore is complete. Returns 0 for a + * completed restore.

                  + *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + */ + EstimatedTimeToCompletionInSeconds?: number; + + /** + *

                  The number of megabytes that were transferred from snapshot storage.

                  + *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + */ + ProgressInMegaBytes?: number; + + /** + *

                  The size of the set of snapshot data that was used to restore the cluster.

                  + *

                  This field is only updated when you restore to DC2 and DS2 node types.

                  + */ + SnapshotSizeInMegaBytes?: number; + + /** + *

                  The status of the restore action.

                  + *

                  Valid values: starting | restoring | completed | + * failed + *

                  + */ + Status?: string; } -export namespace AwsS3BucketLoggingConfiguration { +export namespace AwsRedshiftClusterRestoreStatus { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketLoggingConfiguration): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterRestoreStatus): any => ({ ...obj, }); } -export enum AwsS3BucketNotificationConfigurationS3KeyFilterRuleName { - PREFIX = "Prefix", - SUFFIX = "Suffix", -} - /** - *

                  Details for a filter rule.

                  + *

                  A VPC security group that the cluster belongs to, if the cluster is in a VPC.

                  */ -export interface AwsS3BucketNotificationConfigurationS3KeyFilterRule { +export interface AwsRedshiftClusterVpcSecurityGroup { /** - *

                  Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.

                  + *

                  The status of the VPC security group.

                  */ - Name?: AwsS3BucketNotificationConfigurationS3KeyFilterRuleName | string; + Status?: string; /** - *

                  The filter value.

                  + *

                  The identifier of the VPC security group.

                  */ - Value?: string; + VpcSecurityGroupId?: string; } -export namespace AwsS3BucketNotificationConfigurationS3KeyFilterRule { +export namespace AwsRedshiftClusterVpcSecurityGroup { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationS3KeyFilterRule): any => ({ + export const filterSensitiveLog = (obj: AwsRedshiftClusterVpcSecurityGroup): any => ({ ...obj, }); } /** - *

                  Details for an Amazon S3 filter.

                  + *

                  Details about an Amazon Redshift cluster.

                  */ -export interface AwsS3BucketNotificationConfigurationS3KeyFilter { +export interface AwsRedshiftClusterDetails { /** - *

                  The filter rules for the filter.

                  + *

                  Indicates whether major version upgrades are applied automatically to the cluster during + * the maintenance window.

                  */ - FilterRules?: AwsS3BucketNotificationConfigurationS3KeyFilterRule[]; -} + AllowVersionUpgrade?: boolean; -export namespace AwsS3BucketNotificationConfigurationS3KeyFilter { /** - * @internal + *

                  The number of days that automatic cluster snapshots are retained.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationS3KeyFilter): any => ({ - ...obj, - }); -} + AutomatedSnapshotRetentionPeriod?: number; + + /** + *

                  The name of the Availability Zone in which the cluster is located.

                  + */ + AvailabilityZone?: string; + + /** + *

                  The availability status of the cluster for queries. Possible values are the + * following:

                  + *
                    + *
                  • + *

                    + * Available - The cluster is available for queries.

                    + *
                  • + *
                  • + *

                    + * Unavailable - The cluster is not available for queries.

                    + *
                  • + *
                  • + *

                    + * Maintenance - The cluster is intermittently available for queries due + * to maintenance activities.

                    + *
                  • + *
                  • + *

                    + * Modifying -The cluster is intermittently available for queries due to + * changes that modify the cluster.

                    + *
                  • + *
                  • + *

                    + * Failed - The cluster failed and is not available for queries.

                    + *
                  • + *
                  + */ + ClusterAvailabilityStatus?: string; -/** - *

                  Filtering information for the notifications. The - * filtering is based on Amazon S3 key names.

                  - */ -export interface AwsS3BucketNotificationConfigurationFilter { /** - *

                  Details for an Amazon S3 filter.

                  + *

                  Indicates when the cluster was created.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - S3KeyFilter?: AwsS3BucketNotificationConfigurationS3KeyFilter; -} + ClusterCreateTime?: string; -export namespace AwsS3BucketNotificationConfigurationFilter { /** - * @internal + *

                  The unique identifier of the cluster.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationFilter): any => ({ - ...obj, - }); -} + ClusterIdentifier?: string; -/** - *

                  Details for an S3 bucket notification configuration.

                  - */ -export interface AwsS3BucketNotificationConfigurationDetail { /** - *

                  The list of events that trigger a notification.

                  + *

                  The nodes in the cluster.

                  */ - Events?: string[]; + ClusterNodes?: AwsRedshiftClusterClusterNode[]; /** - *

                  The filters that determine which S3 buckets generate notifications.

                  + *

                  The list of cluster parameter groups that are associated with this cluster.

                  */ - Filter?: AwsS3BucketNotificationConfigurationFilter; + ClusterParameterGroups?: AwsRedshiftClusterClusterParameterGroup[]; /** - *

                  The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the - * notification.

                  + *

                  The public key for the cluster.

                  */ - Destination?: string; + ClusterPublicKey?: string; /** - *

                  Indicates the type of notification. Notifications can be generated using Lambda functions, - * Amazon SQS queues or Amazon SNS topics.

                  + *

                  The specific revision number of the database in the cluster.

                  */ - Type?: string; -} + ClusterRevisionNumber?: string; -export namespace AwsS3BucketNotificationConfigurationDetail { /** - * @internal + *

                  A list of cluster security groups that are associated with the cluster.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationDetail): any => ({ - ...obj, - }); -} + ClusterSecurityGroups?: AwsRedshiftClusterClusterSecurityGroup[]; -/** - *

                  The notification - * configuration for the S3 bucket.

                  - */ -export interface AwsS3BucketNotificationConfiguration { /** - *

                  Configurations for S3 bucket notifications.

                  + *

                  Information about the destination Region and retention period for the cross-Region + * snapshot copy.

                  */ - Configurations?: AwsS3BucketNotificationConfigurationDetail[]; -} + ClusterSnapshotCopyStatus?: AwsRedshiftClusterClusterSnapshotCopyStatus; -export namespace AwsS3BucketNotificationConfiguration { /** - * @internal + *

                  The current status of the cluster.

                  + *

                  Valid values: available | available, prep-for-resize | + * available, resize-cleanup | cancelling-resize | + * creating | deleting | final-snapshot | + * hardware-failure | incompatible-hsm | + * incompatible-network | incompatible-parameters | + * incompatible-restore | modifying | paused | + * rebooting | renaming | resizing | + * rotating-keys | storage-full | + * updating-hsm + *

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfiguration): any => ({ - ...obj, - }); -} + ClusterStatus?: string; -/** - *

                  The redirect behavior for requests - * to the website.

                  - */ -export interface AwsS3BucketWebsiteConfigurationRedirectTo { /** - *

                  The name of the host to redirect requests to.

                  + *

                  The name of the subnet group that is associated with the cluster. This parameter is + * valid only when the cluster is in a VPC.

                  */ - Hostname?: string; + ClusterSubnetGroupName?: string; /** - *

                  The protocol to use when redirecting requests. By default, uses the same protocol as the - * original request.

                  + *

                  The version ID of the Amazon Redshift engine that runs on the cluster.

                  */ - Protocol?: string; -} + ClusterVersion?: string; -export namespace AwsS3BucketWebsiteConfigurationRedirectTo { /** - * @internal + *

                  The name of the initial database that was created when the cluster was created.

                  + *

                  The same name is returned for the life of the cluster.

                  + *

                  If an initial database is not specified, a database named devdev is created + * by default.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRedirectTo): any => ({ - ...obj, - }); -} + DBName?: string; -/** - *

                  The condition that must be met in order to apply the routing rule.

                  - */ -export interface AwsS3BucketWebsiteConfigurationRoutingRuleCondition { /** - *

                  Indicates to redirect the request if the HTTP error code matches this value.

                  + *

                  List of time windows during which maintenance was deferred.

                  */ - HttpErrorCodeReturnedEquals?: string; + DeferredMaintenanceWindows?: AwsRedshiftClusterDeferredMaintenanceWindow[]; /** - *

                  Indicates to redirect the request if the key prefix matches this value.

                  + *

                  Information about the status of the Elastic IP (EIP) address.

                  */ - KeyPrefixEquals?: string; -} + ElasticIpStatus?: AwsRedshiftClusterElasticIpStatus; -export namespace AwsS3BucketWebsiteConfigurationRoutingRuleCondition { /** - * @internal + *

                  The number of nodes that you can use the elastic resize method to resize the cluster + * to.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRoutingRuleCondition): any => ({ - ...obj, - }); -} + ElasticResizeNumberOfNodeOptions?: string; -/** - *

                  The rules to redirect the request if the condition in Condition is - * met.

                  - */ -export interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { /** - *

                  The host name to use in the redirect request.

                  + *

                  Indicates whether the data in the cluster is encrypted at rest.

                  */ - Hostname?: string; + Encrypted?: boolean; /** - *

                  The HTTP redirect code to use in the response.

                  + *

                  The connection endpoint.

                  */ - HttpRedirectCode?: string; + Endpoint?: AwsRedshiftClusterEndpoint; /** - *

                  The protocol to use to redirect the request. By default, uses the protocol from the - * original request.

                  + *

                  Indicates whether to create the cluster with enhanced VPC routing enabled.

                  */ - Protocol?: string; + EnhancedVpcRouting?: boolean; /** - *

                  The object key prefix to use in the redirect request.

                  - *

                  Cannot be provided if ReplaceKeyWith is present.

                  + *

                  Indicates when the next snapshot is expected to be taken. The cluster must have a valid + * snapshot schedule and have backups enabled.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - ReplaceKeyPrefixWith?: string; + ExpectedNextSnapshotScheduleTime?: string; /** - *

                  The specific object key to use in the redirect request.

                  - *

                  Cannot be provided if ReplaceKeyPrefixWith is present.

                  + *

                  The status of the next expected snapshot.

                  + *

                  Valid values: OnTrack | Pending + *

                  */ - ReplaceKeyWith?: string; -} + ExpectedNextSnapshotScheduleTimeStatus?: string; -export namespace AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { /** - * @internal + *

                  Information about whether the Amazon Redshift cluster finished applying any changes to + * hardware security module (HSM) settings that were specified in a modify cluster + * command.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect): any => ({ - ...obj, - }); -} + HsmStatus?: AwsRedshiftClusterHsmStatus; -/** - *

                  A rule for redirecting requests - * to the website.

                  - */ -export interface AwsS3BucketWebsiteConfigurationRoutingRule { /** - *

                  Provides the condition that must be met in order to apply the routing rule.

                  + *

                  A list of IAM roles that the cluster can use to access other Amazon Web Services services.

                  */ - Condition?: AwsS3BucketWebsiteConfigurationRoutingRuleCondition; + IamRoles?: AwsRedshiftClusterIamRole[]; /** - *

                  Provides the rules to redirect the request if the condition in Condition is - * met.

                  + *

                  The identifier of the KMS encryption key that is used to encrypt data in the + * cluster.

                  */ - Redirect?: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect; -} + KmsKeyId?: string; -export namespace AwsS3BucketWebsiteConfigurationRoutingRule { /** - * @internal + *

                  The name of the maintenance track for the cluster.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRoutingRule): any => ({ - ...obj, - }); -} + MaintenanceTrackName?: string; -/** - *

                  Website parameters for the S3 - * bucket.

                  - */ -export interface AwsS3BucketWebsiteConfiguration { /** - *

                  The name of the error document for the website.

                  + *

                  The default number of days to retain a manual snapshot.

                  + *

                  If the value is -1, the snapshot is retained indefinitely.

                  + *

                  This setting doesn't change the retention period of existing snapshots.

                  + *

                  Valid values: Either -1 or an integer between 1 and 3,653

                  */ - ErrorDocument?: string; + ManualSnapshotRetentionPeriod?: number; /** - *

                  The name of the index document for the website.

                  + *

                  The master user name for the cluster. This name is used to connect to the database that + * is specified in as the value of DBName.

                  */ - IndexDocumentSuffix?: string; + MasterUsername?: string; /** - *

                  The redirect behavior for requests to the website.

                  + *

                  Indicates the start of the next maintenance window.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - RedirectAllRequestsTo?: AwsS3BucketWebsiteConfigurationRedirectTo; + NextMaintenanceWindowStartTime?: string; /** - *

                  The rules for applying redirects for requests to the website.

                  + *

                  The node type for the nodes in the cluster.

                  */ - RoutingRules?: AwsS3BucketWebsiteConfigurationRoutingRule[]; -} + NodeType?: string; -export namespace AwsS3BucketWebsiteConfiguration { /** - * @internal + *

                  The number of compute nodes in the cluster.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfiguration): any => ({ - ...obj, - }); -} + NumberOfNodes?: number; -/** - *

                  Specifies the default server-side encryption to apply to new objects in the - * bucket.

                  - */ -export interface AwsS3BucketServerSideEncryptionByDefault { /** - *

                  Server-side encryption algorithm to use for the default encryption.

                  + *

                  A list of cluster operations that are waiting to start.

                  */ - SSEAlgorithm?: string; + PendingActions?: string[]; /** - *

                  KMS key ID to use for the default encryption.

                  + *

                  A list of changes to the cluster that are currently pending.

                  */ - KMSMasterKeyID?: string; -} + PendingModifiedValues?: AwsRedshiftClusterPendingModifiedValues; -export namespace AwsS3BucketServerSideEncryptionByDefault { /** - * @internal + *

                  The weekly time range, in Universal Coordinated Time (UTC), during which system + * maintenance can occur.

                  + *

                  Format: + * + * :HH:MM-:HH:MM + *

                  + *

                  For the day values, use mon | tue | wed | + * thu | fri | sat | sun + *

                  + *

                  For example, sun:09:32-sun:10:02 + *

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketServerSideEncryptionByDefault): any => ({ - ...obj, - }); -} + PreferredMaintenanceWindow?: string; -/** - *

                  An encryption rule to apply to the S3 bucket.

                  - */ -export interface AwsS3BucketServerSideEncryptionRule { /** - *

                  Specifies the default server-side encryption to apply to new objects in the bucket. If a - * PUT object request doesn't specify any server-side encryption, this default - * encryption is applied.

                  + *

                  Whether the cluster can be accessed from a public network.

                  */ - ApplyServerSideEncryptionByDefault?: AwsS3BucketServerSideEncryptionByDefault; -} + PubliclyAccessible?: boolean; -export namespace AwsS3BucketServerSideEncryptionRule { /** - * @internal + *

                  Information about the resize operation for the cluster.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketServerSideEncryptionRule): any => ({ - ...obj, - }); -} + ResizeInfo?: AwsRedshiftClusterResizeInfo; -/** - *

                  The encryption configuration for the S3 bucket.

                  - */ -export interface AwsS3BucketServerSideEncryptionConfiguration { /** - *

                  The encryption rules that are applied to the S3 bucket.

                  + *

                  Information about the status of a cluster restore action. Only applies to a cluster that + * was created by restoring a snapshot.

                  */ - Rules?: AwsS3BucketServerSideEncryptionRule[]; -} + RestoreStatus?: AwsRedshiftClusterRestoreStatus; -export namespace AwsS3BucketServerSideEncryptionConfiguration { /** - * @internal + *

                  A unique identifier for the cluster snapshot schedule.

                  */ - export const filterSensitiveLog = (obj: AwsS3BucketServerSideEncryptionConfiguration): any => ({ - ...obj, - }); -} + SnapshotScheduleIdentifier?: string; -/** - *

                  The details of an Amazon S3 bucket.

                  - */ -export interface AwsS3BucketDetails { /** - *

                  The canonical user ID of the owner of the S3 bucket.

                  + *

                  The current state of the cluster snapshot schedule.

                  + *

                  Valid values: MODIFYING | ACTIVE | FAILED + *

                  */ - OwnerId?: string; + SnapshotScheduleState?: string; /** - *

                  The display name of the owner of the S3 bucket.

                  + *

                  The identifier of the VPC that the cluster is in, if the cluster is in a VPC.

                  */ - OwnerName?: string; + VpcId?: string; /** - *

                  Indicates when the S3 bucket was created.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The list of VPC security groups that the cluster belongs to, if the cluster is in a + * VPC.

                  */ - CreatedAt?: string; + VpcSecurityGroups?: AwsRedshiftClusterVpcSecurityGroup[]; +} +export namespace AwsRedshiftClusterDetails { /** - *

                  The encryption rules that are applied to the S3 bucket.

                  + * @internal */ - ServerSideEncryptionConfiguration?: AwsS3BucketServerSideEncryptionConfiguration; + export const filterSensitiveLog = (obj: AwsRedshiftClusterDetails): any => ({ + ...obj, + }); +} +/** + *

                  provides information about the Amazon S3 Public Access Block configuration for accounts.

                  + */ +export interface AwsS3AccountPublicAccessBlockDetails { /** - *

                  The lifecycle configuration for objects in the S3 bucket.

                  + *

                  Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).

                  */ - BucketLifecycleConfiguration?: AwsS3BucketBucketLifecycleConfigurationDetails; + BlockPublicAcls?: boolean; /** - *

                  Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.

                  + *

                  Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.

                  */ - PublicAccessBlockConfiguration?: AwsS3AccountPublicAccessBlockDetails; + BlockPublicPolicy?: boolean; /** - *

                  The access control list for the S3 bucket.

                  + *

                  Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.

                  */ - AccessControlList?: string; + IgnorePublicAcls?: boolean; /** - *

                  The logging configuration for the S3 bucket.

                  + *

                  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.

                  */ - BucketLoggingConfiguration?: AwsS3BucketLoggingConfiguration; + RestrictPublicBuckets?: boolean; +} +export namespace AwsS3AccountPublicAccessBlockDetails { /** - *

                  The website configuration parameters for the S3 bucket.

                  + * @internal */ - BucketWebsiteConfiguration?: AwsS3BucketWebsiteConfiguration; + export const filterSensitiveLog = (obj: AwsS3AccountPublicAccessBlockDetails): any => ({ + ...obj, + }); +} +/** + *

                  Information about what Amazon S3 + * does when a multipart upload is incomplete.

                  + */ +export interface AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails { /** - *

                  The notification configuration for the S3 bucket.

                  + *

                  The number of days after which Amazon S3 cancels an incomplete multipart upload.

                  */ - BucketNotificationConfiguration?: AwsS3BucketNotificationConfiguration; + DaysAfterInitiation?: number; } -export namespace AwsS3BucketDetails { +export namespace AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3BucketDetails): any => ({ + export const filterSensitiveLog = ( + obj: AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails + ): any => ({ ...obj, }); } /** - *

                  Details about an Amazon S3 object.

                  + *

                  A tag that is assigned to matching objects.

                  */ -export interface AwsS3ObjectDetails { +export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails { /** - *

                  Indicates when the object was last modified.

                  - *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet - * Date/Time Format. The value cannot contain spaces. For example, - * 2020-03-22T13:22:13.933Z.

                  + *

                  The tag key.

                  */ - LastModified?: string; + Key?: string; /** - *

                  The opaque identifier assigned by a web server to a specific version of a resource found - * at a URL.

                  + *

                  The tag value.

                  */ - ETag?: string; + Value?: string; +} +export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails { /** - *

                  The version of the object.

                  + * @internal */ - VersionId?: string; + export const filterSensitiveLog = ( + obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails + ): any => ({ + ...obj, + }); +} +/** + *

                  A value to use for the filter.

                  + */ +export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails { /** - *

                  A standard MIME type describing the format of the object data.

                  + *

                  Prefix text for matching objects.

                  */ - ContentType?: string; + Prefix?: string; /** - *

                  If the object is stored using server-side encryption, the value of the server-side - * encryption algorithm used when storing this object in Amazon S3.

                  + *

                  A tag that is assigned to matching objects.

                  */ - ServerSideEncryption?: string; + Tag?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsTagDetails; /** - *

                  The identifier of the KMS symmetric customer managed key that was used for the object.

                  + *

                  The type of filter value.

                  */ - SSEKMSKeyId?: string; + Type?: string; } -export namespace AwsS3ObjectDetails { +export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsS3ObjectDetails): any => ({ + export const filterSensitiveLog = ( + obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails + ): any => ({ ...obj, }); } /** - *

                  Defines the rotation schedule for the secret.

                  + *

                  A tag filter.

                  */ -export interface AwsSecretsManagerSecretRotationRules { +export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails { + /** + *

                  The tag key.

                  + */ + Key?: string; + /** - *

                  The number of days after the previous rotation to rotate the secret.

                  + *

                  The tag value

                  */ - AutomaticallyAfterDays?: number; + Value?: string; } -export namespace AwsSecretsManagerSecretRotationRules { +export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsSecretsManagerSecretRotationRules): any => ({ + export const filterSensitiveLog = ( + obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails + ): any => ({ ...obj, }); } /** - *

                  Details about an Secrets Manager secret.

                  + *

                  The configuration for the filter.

                  */ -export interface AwsSecretsManagerSecretDetails { - /** - *

                  Defines the rotation schedule for the secret.

                  - */ - RotationRules?: AwsSecretsManagerSecretRotationRules; - - /** - *

                  Whether the rotation occurred within the specified rotation frequency.

                  - */ - RotationOccurredWithinFrequency?: boolean; - +export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails { /** - *

                  The ARN, Key ID, or alias of the KMS key used to encrypt the - * SecretString or SecretBinary values for versions of this - * secret.

                  + *

                  The values to use for the filter.

                  */ - KmsKeyId?: string; + Operands?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateOperandsDetails[]; /** - *

                  Whether rotation is enabled.

                  + *

                  A prefix filter.

                  */ - RotationEnabled?: boolean; + Prefix?: string; /** - *

                  The ARN of the Lambda function that rotates the secret.

                  + *

                  A tag filter.

                  */ - RotationLambdaArn?: string; + Tag?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails; /** - *

                  Whether the secret is deleted.

                  + *

                  Whether to use AND or OR to join the operands.

                  */ - Deleted?: boolean; + Type?: string; +} +export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails { /** - *

                  The name of the secret.

                  + * @internal */ - Name?: string; + export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails): any => ({ + ...obj, + }); +} +/** + *

                  Identifies the objects that a rule applies to.

                  + */ +export interface AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails { /** - *

                  The user-provided description of the secret.

                  + *

                  The configuration for the filter.

                  */ - Description?: string; + Predicate?: AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateDetails; } -export namespace AwsSecretsManagerSecretDetails { +export namespace AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails { /** * @internal */ - export const filterSensitiveLog = (obj: AwsSecretsManagerSecretDetails): any => ({ + export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails): any => ({ ...obj, }); } -export enum ComplianceStatus { - FAILED = "FAILED", - NOT_AVAILABLE = "NOT_AVAILABLE", - PASSED = "PASSED", - WARNING = "WARNING", -} - /** - *

                  Provides additional context for the value of Compliance.Status.

                  + *

                  A transition rule that describes when noncurrent objects transition to a specified storage class.

                  */ -export interface StatusReason { +export interface AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails { /** - *

                  A code that represents a reason for the control status. For the list of status reason - * codes and their meanings, see Standards-related information in the ASFF in the - * Security Hub User Guide.

                  + *

                  The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

                  */ - ReasonCode: string | undefined; + Days?: number; /** - *

                  The corresponding description for the status reason code.

                  + *

                  The class of storage to change the object to after the object is noncurrent for the specified number of days.

                  */ - Description?: string; + StorageClass?: string; } -export namespace StatusReason { +export namespace AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails { /** * @internal */ - export const filterSensitiveLog = (obj: StatusReason): any => ({ + export const filterSensitiveLog = ( + obj: AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails + ): any => ({ ...obj, }); } /** - *

                  Contains finding details that are specific to control-based findings. Only returned for - * findings generated from controls.

                  + *

                  A rule for when objects transition to specific storage classes.

                  */ -export interface Compliance { +export interface AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { /** - *

                  The result of a standards check.

                  - *

                  The valid values for Status are as follows.

                  - *
                    - *
                  • - *
                      - *
                    • - *

                      - * PASSED - Standards check passed for all evaluated - * resources.

                      - *
                    • - *
                    • - *

                      - * WARNING - Some information is missing or this check is not - * supported for your configuration.

                      - *
                    • - *
                    • - *

                      - * FAILED - Standards check failed for at least one evaluated - * resource.

                      - *
                    • - *
                    • - *

                      - * NOT_AVAILABLE - Check could not be performed due to a service - * outage, API error, or because the result of the Config evaluation was - * NOT_APPLICABLE. If the Config evaluation result was - * NOT_APPLICABLE, then after 3 days, Security Hub automatically archives - * the finding.

                      - *
                    • - *
                    - *
                  • - *
                  + *

                  A date on which to transition objects to the specified storage class. If you provide Date, you cannot provide Days.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - Status?: ComplianceStatus | string; + Date?: string; /** - *

                  For a control, the industry or regulatory framework requirements that are related to the - * control. The check for that control is aligned with these requirements.

                  + *

                  The number of days after which to transition the object to the specified storage class. If you provide Days, you cannot provide Date.

                  */ - RelatedRequirements?: string[]; + Days?: number; /** - *

                  For findings generated from controls, a list of reasons behind the value of - * Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the - * Security Hub User Guide.

                  + *

                  The storage class to transition the object to.

                  */ - StatusReasons?: StatusReason[]; + StorageClass?: string; } -export namespace Compliance { +export namespace AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails { /** * @internal */ - export const filterSensitiveLog = (obj: Compliance): any => ({ + export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails): any => ({ ...obj, }); } /** - *

                  Details about a related finding.

                  + *

                  Configuration for a lifecycle rule.

                  */ -export interface RelatedFinding { +export interface AwsS3BucketBucketLifecycleConfigurationRulesDetails { /** - *

                  The ARN of the product that generated a related finding.

                  + *

                  How Amazon S3 responds when a multipart upload is incomplete. Specifically, provides a number + * of days before Amazon S3 cancels the entire upload.

                  */ - ProductArn: string | undefined; + AbortIncompleteMultipartUpload?: AwsS3BucketBucketLifecycleConfigurationRulesAbortIncompleteMultipartUploadDetails; /** - *

                  The product-generated identifier for a related finding.

                  + *

                  The date when objects are moved or deleted.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  */ - Id: string | undefined; -} + ExpirationDate?: string; -export namespace RelatedFinding { /** - * @internal + *

                  The length in days of the lifetime for objects that are subject to the rule.

                  */ - export const filterSensitiveLog = (obj: RelatedFinding): any => ({ - ...obj, - }); -} - -export enum SeverityLabel { - CRITICAL = "CRITICAL", - HIGH = "HIGH", - INFORMATIONAL = "INFORMATIONAL", - LOW = "LOW", - MEDIUM = "MEDIUM", -} + ExpirationInDays?: number; -/** - *

                  The severity assigned to the finding by the finding provider.

                  - */ -export interface FindingProviderSeverity { /** - *

                  The severity label assigned to the finding by the finding provider.

                  + *

                  Whether Amazon S3 removes a delete marker that has no noncurrent versions. If set to + * true, the delete marker is expired. If set to false, the policy + * takes no action.

                  + *

                  If you provide ExpiredObjectDeleteMarker, you cannot provide + * ExpirationInDays or ExpirationDate.

                  */ - Label?: SeverityLabel | string; + ExpiredObjectDeleteMarker?: boolean; /** - *

                  The finding provider's original value for the severity.

                  + *

                  Identifies the objects that a rule applies to.

                  */ - Original?: string; -} + Filter?: AwsS3BucketBucketLifecycleConfigurationRulesFilterDetails; -export namespace FindingProviderSeverity { /** - * @internal + *

                  The unique identifier of the rule.

                  */ - export const filterSensitiveLog = (obj: FindingProviderSeverity): any => ({ - ...obj, - }); -} + ID?: string; -/** - *

                  In a BatchImportFindings request, finding providers use FindingProviderFields to provide and update values for confidence, criticality, related findings, severity, and types.

                  - */ -export interface FindingProviderFields { /** - *

                  A finding's confidence. Confidence is defined as the likelihood that a finding - * accurately identifies the behavior or issue that it was intended to identify.

                  - *

                  Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent - * confidence and 100 means 100 percent confidence.

                  + *

                  The number of days that an object is noncurrent before Amazon S3 can perform the associated action.

                  */ - Confidence?: number; + NoncurrentVersionExpirationInDays?: number; /** - *

                  The level of importance assigned to the resources associated with the finding.

                  - *

                  A score of 0 means that the underlying resources have no criticality, and a score of 100 - * is reserved for the most critical resources.

                  + *

                  Transition rules that describe when noncurrent objects transition to a specified storage class.

                  */ - Criticality?: number; + NoncurrentVersionTransitions?: AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails[]; /** - *

                  A list of findings that are related to the current finding.

                  + *

                  A prefix that identifies one or more objects that the rule applies to.

                  */ - RelatedFindings?: RelatedFinding[]; + Prefix?: string; /** - *

                  The severity of a finding.

                  + *

                  The current status of the rule. Indicates whether the rule is currently being applied.

                  */ - Severity?: FindingProviderSeverity; + Status?: string; /** - *

                  One or more finding types in the format of namespace/category/classifier - * that classify a finding.

                  - *

                  Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual - * Behaviors | Sensitive Data Identifications

                  + *

                  Transition rules that indicate when objects transition to a specified storage class.

                  */ - Types?: string[]; + Transitions?: AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails[]; } -export namespace FindingProviderFields { +export namespace AwsS3BucketBucketLifecycleConfigurationRulesDetails { /** * @internal */ - export const filterSensitiveLog = (obj: FindingProviderFields): any => ({ + export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationRulesDetails): any => ({ ...obj, }); } -export enum MalwareState { - OBSERVED = "OBSERVED", - REMOVAL_FAILED = "REMOVAL_FAILED", - REMOVED = "REMOVED", +/** + *

                  The lifecycle configuration for the objects in the S3 bucket.

                  + */ +export interface AwsS3BucketBucketLifecycleConfigurationDetails { + /** + *

                  The lifecycle rules.

                  + */ + Rules?: AwsS3BucketBucketLifecycleConfigurationRulesDetails[]; } -export enum MalwareType { - ADWARE = "ADWARE", - BLENDED_THREAT = "BLENDED_THREAT", - BOTNET_AGENT = "BOTNET_AGENT", - COIN_MINER = "COIN_MINER", - EXPLOIT_KIT = "EXPLOIT_KIT", - KEYLOGGER = "KEYLOGGER", - MACRO = "MACRO", - POTENTIALLY_UNWANTED = "POTENTIALLY_UNWANTED", - RANSOMWARE = "RANSOMWARE", - REMOTE_ACCESS = "REMOTE_ACCESS", - ROOTKIT = "ROOTKIT", - SPYWARE = "SPYWARE", - TROJAN = "TROJAN", - VIRUS = "VIRUS", - WORM = "WORM", +export namespace AwsS3BucketBucketLifecycleConfigurationDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketBucketLifecycleConfigurationDetails): any => ({ + ...obj, + }); } /** - *

                  A list of malware related to a finding.

                  + *

                  Information about logging for + * the S3 bucket

                  */ -export interface Malware { +export interface AwsS3BucketLoggingConfiguration { /** - *

                  The name of the malware that was observed.

                  + *

                  The name of the S3 bucket where log files for the S3 bucket are stored.

                  */ - Name: string | undefined; + DestinationBucketName?: string; /** - *

                  The type of the malware that was observed.

                  + *

                  The prefix added to log files for the S3 bucket.

                  */ - Type?: MalwareType | string; + LogFilePrefix?: string; +} +export namespace AwsS3BucketLoggingConfiguration { /** - *

                  The file system path of the malware that was observed.

                  + * @internal */ - Path?: string; + export const filterSensitiveLog = (obj: AwsS3BucketLoggingConfiguration): any => ({ + ...obj, + }); +} + +export enum AwsS3BucketNotificationConfigurationS3KeyFilterRuleName { + PREFIX = "Prefix", + SUFFIX = "Suffix", +} + +/** + *

                  Details for a filter rule.

                  + */ +export interface AwsS3BucketNotificationConfigurationS3KeyFilterRule { + /** + *

                  Indicates whether the filter is based on the prefix or suffix of the Amazon S3 key.

                  + */ + Name?: AwsS3BucketNotificationConfigurationS3KeyFilterRuleName | string; /** - *

                  The state of the malware that was observed.

                  + *

                  The filter value.

                  */ - State?: MalwareState | string; + Value?: string; } -export namespace Malware { +export namespace AwsS3BucketNotificationConfigurationS3KeyFilterRule { /** * @internal */ - export const filterSensitiveLog = (obj: Malware): any => ({ + export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationS3KeyFilterRule): any => ({ ...obj, }); } -export enum NetworkDirection { - IN = "IN", - OUT = "OUT", -} - /** - *

                  A range of ports.

                  + *

                  Details for an Amazon S3 filter.

                  */ -export interface PortRange { +export interface AwsS3BucketNotificationConfigurationS3KeyFilter { /** - *

                  The first port in the port range.

                  + *

                  The filter rules for the filter.

                  */ - Begin?: number; + FilterRules?: AwsS3BucketNotificationConfigurationS3KeyFilterRule[]; +} +export namespace AwsS3BucketNotificationConfigurationS3KeyFilter { /** - *

                  The last port in the port range.

                  + * @internal */ - End?: number; + export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationS3KeyFilter): any => ({ + ...obj, + }); +} + +/** + *

                  Filtering information for the notifications. The + * filtering is based on Amazon S3 key names.

                  + */ +export interface AwsS3BucketNotificationConfigurationFilter { + /** + *

                  Details for an Amazon S3 filter.

                  + */ + S3KeyFilter?: AwsS3BucketNotificationConfigurationS3KeyFilter; } -export namespace PortRange { +export namespace AwsS3BucketNotificationConfigurationFilter { /** * @internal */ - export const filterSensitiveLog = (obj: PortRange): any => ({ + export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationFilter): any => ({ ...obj, }); } diff --git a/clients/client-securityhub/src/models/models_1.ts b/clients/client-securityhub/src/models/models_1.ts index a605ab430e0a..d88bf82c9bb6 100644 --- a/clients/client-securityhub/src/models/models_1.ts +++ b/clients/client-securityhub/src/models/models_1.ts @@ -25,11 +25,14 @@ import { AwsEc2SubnetDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, + AwsEc2VpcEndpointServiceDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, + AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsServiceDetails, AwsEcsTaskDefinitionDetails, + AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, @@ -42,6 +45,7 @@ import { AwsKmsKeyDetails, AwsLambdaFunctionDetails, AwsLambdaLayerVersionDetails, + AwsOpenSearchServiceDomainDetails, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbInstanceDetails, @@ -49,18 +53,768 @@ import { AwsRdsEventSubscriptionDetails, AwsRedshiftClusterDetails, AwsS3AccountPublicAccessBlockDetails, - AwsS3BucketDetails, - AwsS3ObjectDetails, - AwsSecretsManagerSecretDetails, - Compliance, - FindingProviderFields, - Malware, - NetworkDirection, - PortRange, - RelatedFinding, - SeverityLabel, + AwsS3BucketBucketLifecycleConfigurationDetails, + AwsS3BucketLoggingConfiguration, + AwsS3BucketNotificationConfigurationFilter, } from "./models_0"; +/** + *

                  Details for an S3 bucket notification configuration.

                  + */ +export interface AwsS3BucketNotificationConfigurationDetail { + /** + *

                  The list of events that trigger a notification.

                  + */ + Events?: string[]; + + /** + *

                  The filters that determine which S3 buckets generate notifications.

                  + */ + Filter?: AwsS3BucketNotificationConfigurationFilter; + + /** + *

                  The ARN of the Lambda function, Amazon SQS queue, or Amazon SNS topic that generates the + * notification.

                  + */ + Destination?: string; + + /** + *

                  Indicates the type of notification. Notifications can be generated using Lambda functions, + * Amazon SQS queues or Amazon SNS topics.

                  + */ + Type?: string; +} + +export namespace AwsS3BucketNotificationConfigurationDetail { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfigurationDetail): any => ({ + ...obj, + }); +} + +/** + *

                  The notification + * configuration for the S3 bucket.

                  + */ +export interface AwsS3BucketNotificationConfiguration { + /** + *

                  Configurations for S3 bucket notifications.

                  + */ + Configurations?: AwsS3BucketNotificationConfigurationDetail[]; +} + +export namespace AwsS3BucketNotificationConfiguration { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketNotificationConfiguration): any => ({ + ...obj, + }); +} + +/** + *

                  The redirect behavior for requests + * to the website.

                  + */ +export interface AwsS3BucketWebsiteConfigurationRedirectTo { + /** + *

                  The name of the host to redirect requests to.

                  + */ + Hostname?: string; + + /** + *

                  The protocol to use when redirecting requests. By default, uses the same protocol as the + * original request.

                  + */ + Protocol?: string; +} + +export namespace AwsS3BucketWebsiteConfigurationRedirectTo { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRedirectTo): any => ({ + ...obj, + }); +} + +/** + *

                  The condition that must be met in order to apply the routing rule.

                  + */ +export interface AwsS3BucketWebsiteConfigurationRoutingRuleCondition { + /** + *

                  Indicates to redirect the request if the HTTP error code matches this value.

                  + */ + HttpErrorCodeReturnedEquals?: string; + + /** + *

                  Indicates to redirect the request if the key prefix matches this value.

                  + */ + KeyPrefixEquals?: string; +} + +export namespace AwsS3BucketWebsiteConfigurationRoutingRuleCondition { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRoutingRuleCondition): any => ({ + ...obj, + }); +} + +/** + *

                  The rules to redirect the request if the condition in Condition is + * met.

                  + */ +export interface AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { + /** + *

                  The host name to use in the redirect request.

                  + */ + Hostname?: string; + + /** + *

                  The HTTP redirect code to use in the response.

                  + */ + HttpRedirectCode?: string; + + /** + *

                  The protocol to use to redirect the request. By default, uses the protocol from the + * original request.

                  + */ + Protocol?: string; + + /** + *

                  The object key prefix to use in the redirect request.

                  + *

                  Cannot be provided if ReplaceKeyWith is present.

                  + */ + ReplaceKeyPrefixWith?: string; + + /** + *

                  The specific object key to use in the redirect request.

                  + *

                  Cannot be provided if ReplaceKeyPrefixWith is present.

                  + */ + ReplaceKeyWith?: string; +} + +export namespace AwsS3BucketWebsiteConfigurationRoutingRuleRedirect { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect): any => ({ + ...obj, + }); +} + +/** + *

                  A rule for redirecting requests + * to the website.

                  + */ +export interface AwsS3BucketWebsiteConfigurationRoutingRule { + /** + *

                  Provides the condition that must be met in order to apply the routing rule.

                  + */ + Condition?: AwsS3BucketWebsiteConfigurationRoutingRuleCondition; + + /** + *

                  Provides the rules to redirect the request if the condition in Condition is + * met.

                  + */ + Redirect?: AwsS3BucketWebsiteConfigurationRoutingRuleRedirect; +} + +export namespace AwsS3BucketWebsiteConfigurationRoutingRule { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfigurationRoutingRule): any => ({ + ...obj, + }); +} + +/** + *

                  Website parameters for the S3 + * bucket.

                  + */ +export interface AwsS3BucketWebsiteConfiguration { + /** + *

                  The name of the error document for the website.

                  + */ + ErrorDocument?: string; + + /** + *

                  The name of the index document for the website.

                  + */ + IndexDocumentSuffix?: string; + + /** + *

                  The redirect behavior for requests to the website.

                  + */ + RedirectAllRequestsTo?: AwsS3BucketWebsiteConfigurationRedirectTo; + + /** + *

                  The rules for applying redirects for requests to the website.

                  + */ + RoutingRules?: AwsS3BucketWebsiteConfigurationRoutingRule[]; +} + +export namespace AwsS3BucketWebsiteConfiguration { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketWebsiteConfiguration): any => ({ + ...obj, + }); +} + +/** + *

                  Specifies the default server-side encryption to apply to new objects in the + * bucket.

                  + */ +export interface AwsS3BucketServerSideEncryptionByDefault { + /** + *

                  Server-side encryption algorithm to use for the default encryption.

                  + */ + SSEAlgorithm?: string; + + /** + *

                  KMS key ID to use for the default encryption.

                  + */ + KMSMasterKeyID?: string; +} + +export namespace AwsS3BucketServerSideEncryptionByDefault { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketServerSideEncryptionByDefault): any => ({ + ...obj, + }); +} + +/** + *

                  An encryption rule to apply to the S3 bucket.

                  + */ +export interface AwsS3BucketServerSideEncryptionRule { + /** + *

                  Specifies the default server-side encryption to apply to new objects in the bucket. If a + * PUT object request doesn't specify any server-side encryption, this default + * encryption is applied.

                  + */ + ApplyServerSideEncryptionByDefault?: AwsS3BucketServerSideEncryptionByDefault; +} + +export namespace AwsS3BucketServerSideEncryptionRule { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketServerSideEncryptionRule): any => ({ + ...obj, + }); +} + +/** + *

                  The encryption configuration for the S3 bucket.

                  + */ +export interface AwsS3BucketServerSideEncryptionConfiguration { + /** + *

                  The encryption rules that are applied to the S3 bucket.

                  + */ + Rules?: AwsS3BucketServerSideEncryptionRule[]; +} + +export namespace AwsS3BucketServerSideEncryptionConfiguration { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketServerSideEncryptionConfiguration): any => ({ + ...obj, + }); +} + +/** + *

                  The details of an Amazon S3 bucket.

                  + */ +export interface AwsS3BucketDetails { + /** + *

                  The canonical user ID of the owner of the S3 bucket.

                  + */ + OwnerId?: string; + + /** + *

                  The display name of the owner of the S3 bucket.

                  + */ + OwnerName?: string; + + /** + *

                  The Amazon Web Services account identifier of the account that owns the S3 bucket.

                  + */ + OwnerAccountId?: string; + + /** + *

                  Indicates when the S3 bucket was created.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  + */ + CreatedAt?: string; + + /** + *

                  The encryption rules that are applied to the S3 bucket.

                  + */ + ServerSideEncryptionConfiguration?: AwsS3BucketServerSideEncryptionConfiguration; + + /** + *

                  The lifecycle configuration for objects in the S3 bucket.

                  + */ + BucketLifecycleConfiguration?: AwsS3BucketBucketLifecycleConfigurationDetails; + + /** + *

                  Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.

                  + */ + PublicAccessBlockConfiguration?: AwsS3AccountPublicAccessBlockDetails; + + /** + *

                  The access control list for the S3 bucket.

                  + */ + AccessControlList?: string; + + /** + *

                  The logging configuration for the S3 bucket.

                  + */ + BucketLoggingConfiguration?: AwsS3BucketLoggingConfiguration; + + /** + *

                  The website configuration parameters for the S3 bucket.

                  + */ + BucketWebsiteConfiguration?: AwsS3BucketWebsiteConfiguration; + + /** + *

                  The notification configuration for the S3 bucket.

                  + */ + BucketNotificationConfiguration?: AwsS3BucketNotificationConfiguration; +} + +export namespace AwsS3BucketDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3BucketDetails): any => ({ + ...obj, + }); +} + +/** + *

                  Details about an Amazon S3 object.

                  + */ +export interface AwsS3ObjectDetails { + /** + *

                  Indicates when the object was last modified.

                  + *

                  Uses the date-time format specified in RFC 3339 section 5.6, Internet + * Date/Time Format. The value cannot contain spaces. For example, + * 2020-03-22T13:22:13.933Z.

                  + */ + LastModified?: string; + + /** + *

                  The opaque identifier assigned by a web server to a specific version of a resource found + * at a URL.

                  + */ + ETag?: string; + + /** + *

                  The version of the object.

                  + */ + VersionId?: string; + + /** + *

                  A standard MIME type describing the format of the object data.

                  + */ + ContentType?: string; + + /** + *

                  If the object is stored using server-side encryption, the value of the server-side + * encryption algorithm used when storing this object in Amazon S3.

                  + */ + ServerSideEncryption?: string; + + /** + *

                  The identifier of the KMS symmetric customer managed key that was used for the object.

                  + */ + SSEKMSKeyId?: string; +} + +export namespace AwsS3ObjectDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsS3ObjectDetails): any => ({ + ...obj, + }); +} + +/** + *

                  Defines the rotation schedule for the secret.

                  + */ +export interface AwsSecretsManagerSecretRotationRules { + /** + *

                  The number of days after the previous rotation to rotate the secret.

                  + */ + AutomaticallyAfterDays?: number; +} + +export namespace AwsSecretsManagerSecretRotationRules { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsSecretsManagerSecretRotationRules): any => ({ + ...obj, + }); +} + +/** + *

                  Details about an Secrets Manager secret.

                  + */ +export interface AwsSecretsManagerSecretDetails { + /** + *

                  Defines the rotation schedule for the secret.

                  + */ + RotationRules?: AwsSecretsManagerSecretRotationRules; + + /** + *

                  Whether the rotation occurred within the specified rotation frequency.

                  + */ + RotationOccurredWithinFrequency?: boolean; + + /** + *

                  The ARN, Key ID, or alias of the KMS key used to encrypt the + * SecretString or SecretBinary values for versions of this + * secret.

                  + */ + KmsKeyId?: string; + + /** + *

                  Whether rotation is enabled.

                  + */ + RotationEnabled?: boolean; + + /** + *

                  The ARN of the Lambda function that rotates the secret.

                  + */ + RotationLambdaArn?: string; + + /** + *

                  Whether the secret is deleted.

                  + */ + Deleted?: boolean; + + /** + *

                  The name of the secret.

                  + */ + Name?: string; + + /** + *

                  The user-provided description of the secret.

                  + */ + Description?: string; +} + +export namespace AwsSecretsManagerSecretDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsSecretsManagerSecretDetails): any => ({ + ...obj, + }); +} + +export enum ComplianceStatus { + FAILED = "FAILED", + NOT_AVAILABLE = "NOT_AVAILABLE", + PASSED = "PASSED", + WARNING = "WARNING", +} + +/** + *

                  Provides additional context for the value of Compliance.Status.

                  + */ +export interface StatusReason { + /** + *

                  A code that represents a reason for the control status. For the list of status reason + * codes and their meanings, see Standards-related information in the ASFF in the + * Security Hub User Guide.

                  + */ + ReasonCode: string | undefined; + + /** + *

                  The corresponding description for the status reason code.

                  + */ + Description?: string; +} + +export namespace StatusReason { + /** + * @internal + */ + export const filterSensitiveLog = (obj: StatusReason): any => ({ + ...obj, + }); +} + +/** + *

                  Contains finding details that are specific to control-based findings. Only returned for + * findings generated from controls.

                  + */ +export interface Compliance { + /** + *

                  The result of a standards check.

                  + *

                  The valid values for Status are as follows.

                  + *
                    + *
                  • + *
                      + *
                    • + *

                      + * PASSED - Standards check passed for all evaluated + * resources.

                      + *
                    • + *
                    • + *

                      + * WARNING - Some information is missing or this check is not + * supported for your configuration.

                      + *
                    • + *
                    • + *

                      + * FAILED - Standards check failed for at least one evaluated + * resource.

                      + *
                    • + *
                    • + *

                      + * NOT_AVAILABLE - Check could not be performed due to a service + * outage, API error, or because the result of the Config evaluation was + * NOT_APPLICABLE. If the Config evaluation result was + * NOT_APPLICABLE, then after 3 days, Security Hub automatically archives + * the finding.

                      + *
                    • + *
                    + *
                  • + *
                  + */ + Status?: ComplianceStatus | string; + + /** + *

                  For a control, the industry or regulatory framework requirements that are related to the + * control. The check for that control is aligned with these requirements.

                  + */ + RelatedRequirements?: string[]; + + /** + *

                  For findings generated from controls, a list of reasons behind the value of + * Status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the + * Security Hub User Guide.

                  + */ + StatusReasons?: StatusReason[]; +} + +export namespace Compliance { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Compliance): any => ({ + ...obj, + }); +} + +/** + *

                  Details about a related finding.

                  + */ +export interface RelatedFinding { + /** + *

                  The ARN of the product that generated a related finding.

                  + */ + ProductArn: string | undefined; + + /** + *

                  The product-generated identifier for a related finding.

                  + */ + Id: string | undefined; +} + +export namespace RelatedFinding { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RelatedFinding): any => ({ + ...obj, + }); +} + +export enum SeverityLabel { + CRITICAL = "CRITICAL", + HIGH = "HIGH", + INFORMATIONAL = "INFORMATIONAL", + LOW = "LOW", + MEDIUM = "MEDIUM", +} + +/** + *

                  The severity assigned to the finding by the finding provider.

                  + */ +export interface FindingProviderSeverity { + /** + *

                  The severity label assigned to the finding by the finding provider.

                  + */ + Label?: SeverityLabel | string; + + /** + *

                  The finding provider's original value for the severity.

                  + */ + Original?: string; +} + +export namespace FindingProviderSeverity { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FindingProviderSeverity): any => ({ + ...obj, + }); +} + +/** + *

                  In a BatchImportFindings request, finding providers use FindingProviderFields to provide and update values for confidence, criticality, related findings, severity, and types.

                  + */ +export interface FindingProviderFields { + /** + *

                  A finding's confidence. Confidence is defined as the likelihood that a finding + * accurately identifies the behavior or issue that it was intended to identify.

                  + *

                  Confidence is scored on a 0-100 basis using a ratio scale, where 0 means zero percent + * confidence and 100 means 100 percent confidence.

                  + */ + Confidence?: number; + + /** + *

                  The level of importance assigned to the resources associated with the finding.

                  + *

                  A score of 0 means that the underlying resources have no criticality, and a score of 100 + * is reserved for the most critical resources.

                  + */ + Criticality?: number; + + /** + *

                  A list of findings that are related to the current finding.

                  + */ + RelatedFindings?: RelatedFinding[]; + + /** + *

                  The severity of a finding.

                  + */ + Severity?: FindingProviderSeverity; + + /** + *

                  One or more finding types in the format of namespace/category/classifier + * that classify a finding.

                  + *

                  Valid namespace values are: Software and Configuration Checks | TTPs | Effects | Unusual + * Behaviors | Sensitive Data Identifications

                  + */ + Types?: string[]; +} + +export namespace FindingProviderFields { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FindingProviderFields): any => ({ + ...obj, + }); +} + +export enum MalwareState { + OBSERVED = "OBSERVED", + REMOVAL_FAILED = "REMOVAL_FAILED", + REMOVED = "REMOVED", +} + +export enum MalwareType { + ADWARE = "ADWARE", + BLENDED_THREAT = "BLENDED_THREAT", + BOTNET_AGENT = "BOTNET_AGENT", + COIN_MINER = "COIN_MINER", + EXPLOIT_KIT = "EXPLOIT_KIT", + KEYLOGGER = "KEYLOGGER", + MACRO = "MACRO", + POTENTIALLY_UNWANTED = "POTENTIALLY_UNWANTED", + RANSOMWARE = "RANSOMWARE", + REMOTE_ACCESS = "REMOTE_ACCESS", + ROOTKIT = "ROOTKIT", + SPYWARE = "SPYWARE", + TROJAN = "TROJAN", + VIRUS = "VIRUS", + WORM = "WORM", +} + +/** + *

                  A list of malware related to a finding.

                  + */ +export interface Malware { + /** + *

                  The name of the malware that was observed.

                  + */ + Name: string | undefined; + + /** + *

                  The type of the malware that was observed.

                  + */ + Type?: MalwareType | string; + + /** + *

                  The file system path of the malware that was observed.

                  + */ + Path?: string; + + /** + *

                  The state of the malware that was observed.

                  + */ + State?: MalwareState | string; +} + +export namespace Malware { + /** + * @internal + */ + export const filterSensitiveLog = (obj: Malware): any => ({ + ...obj, + }); +} + +export enum NetworkDirection { + IN = "IN", + OUT = "OUT", +} + +/** + *

                  A range of ports.

                  + */ +export interface PortRange { + /** + *

                  The first port in the port range.

                  + */ + Begin?: number; + + /** + *

                  The last port in the port range.

                  + */ + End?: number; +} + +export namespace PortRange { + /** + * @internal + */ + export const filterSensitiveLog = (obj: PortRange): any => ({ + ...obj, + }); +} + /** *

                  The details of network-related information about a finding.

                  */ @@ -1071,6 +1825,155 @@ export namespace AwsSsmPatchComplianceDetails { }); } +/** + *

                  A match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.

                  + */ +export interface AwsWafRateBasedRuleMatchPredicate { + /** + *

                  The unique identifier for the predicate.

                  + */ + DataId?: string; + + /** + *

                  If set to true, then the rule actions are performed on requests that match the predicate settings.

                  + *

                  If set to false, then the rule actions are performed on all requests except those that match the predicate settings. + *

                  + */ + Negated?: boolean; + + /** + *

                  The type of predicate.

                  + */ + Type?: string; +} + +export namespace AwsWafRateBasedRuleMatchPredicate { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsWafRateBasedRuleMatchPredicate): any => ({ + ...obj, + }); +} + +/** + *

                  Details about a rate-based rule for global resources. A rate-based rule provides settings to indicate when to allow, block, or count a request. Rate-based rules include the number of requests that arrive over a specified period of time.

                  + */ +export interface AwsWafRateBasedRuleDetails { + /** + *

                  The name of the metrics for the rate-based rule.

                  + */ + MetricName?: string; + + /** + *

                  The name of the rate-based rule.

                  + */ + Name?: string; + + /** + *

                  The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.

                  + */ + RateKey?: string; + + /** + *

                  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.

                  + */ + RateLimit?: number; + + /** + *

                  The unique identifier for the rate-based rule.

                  + */ + RuleId?: string; + + /** + *

                  The predicates to include in the rate-based rule.

                  + */ + MatchPredicates?: AwsWafRateBasedRuleMatchPredicate[]; +} + +export namespace AwsWafRateBasedRuleDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsWafRateBasedRuleDetails): any => ({ + ...obj, + }); +} + +/** + *

                  Details for a match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.

                  + */ +export interface AwsWafRegionalRateBasedRuleMatchPredicate { + /** + *

                  The unique identifier for the predicate.

                  + */ + DataId?: string; + + /** + *

                  If set to true, then the rule actions are performed on requests that match the predicate settings.

                  + *

                  If set to false, then the rule actions are performed on all requests except those that match the predicate settings.

                  + */ + Negated?: boolean; + + /** + *

                  The type of predicate.

                  + */ + Type?: string; +} + +export namespace AwsWafRegionalRateBasedRuleMatchPredicate { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsWafRegionalRateBasedRuleMatchPredicate): any => ({ + ...obj, + }); +} + +/** + *

                  contains details about a rate-based rule for Regional resources. A rate-based rule provides settings to indicate when to allow, block, or count a request. Rate-based rules include the number of requests that arrive over a specified period of time.

                  + */ +export interface AwsWafRegionalRateBasedRuleDetails { + /** + *

                  The name of the metrics for the rate-based rule.

                  + */ + MetricName?: string; + + /** + *

                  The name of the rate-based rule.

                  + */ + Name?: string; + + /** + *

                  The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.

                  + */ + RateKey?: string; + + /** + *

                  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.

                  + */ + RateLimit?: number; + + /** + *

                  The unique identifier for the rate-based rule.

                  + */ + RuleId?: string; + + /** + *

                  The predicates to include in the rate-based rule.

                  + */ + MatchPredicates?: AwsWafRegionalRateBasedRuleMatchPredicate[]; +} + +export namespace AwsWafRegionalRateBasedRuleDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsWafRegionalRateBasedRuleDetails): any => ({ + ...obj, + }); +} + /** *

                  Details about the action that CloudFront or WAF takes when a web request matches the * conditions in the rule.

                  @@ -1252,6 +2155,35 @@ export namespace AwsWafWebAclDetails { }); } +/** + *

                  Information about the encryption configuration for X-Ray.

                  + */ +export interface AwsXrayEncryptionConfigDetails { + /** + *

                  The identifier of the KMS key that is used for encryption. Provided if Type is KMS.

                  + */ + KeyId?: string; + + /** + *

                  The current status of the encryption configuration. When Status is UPDATING, X-Ray might use both the old and new encryption.

                  + */ + Status?: string; + + /** + *

                  The type of encryption. KMS indicates that the encryption uses KMS keys. NONE indicates to use the default encryption.

                  + */ + Type?: string; +} + +export namespace AwsXrayEncryptionConfigDetails { + /** + * @internal + */ + export const filterSensitiveLog = (obj: AwsXrayEncryptionConfigDetails): any => ({ + ...obj, + }); +} + /** *

                  Container details related to a finding.

                  */ @@ -1569,9 +2501,44 @@ export interface ResourceDetails { AwsEc2VpnConnection?: AwsEc2VpnConnectionDetails; /** - *

                  information about an Amazon ECR image.

                  + *

                  Information about an Amazon ECR image.

                  */ AwsEcrContainerImage?: AwsEcrContainerImageDetails; + + /** + *

                  Details about an Amazon OpenSearch Service domain.

                  + */ + AwsOpenSearchServiceDomain?: AwsOpenSearchServiceDomainDetails; + + /** + *

                  Details about the service configuration for a VPC endpoint service.

                  + */ + AwsEc2VpcEndpointService?: AwsEc2VpcEndpointServiceDetails; + + /** + *

                  Information about the encryption configuration for X-Ray.

                  + */ + AwsXrayEncryptionConfig?: AwsXrayEncryptionConfigDetails; + + /** + *

                  Details about a rate-based rule for global resources.

                  + */ + AwsWafRateBasedRule?: AwsWafRateBasedRuleDetails; + + /** + *

                  Details about a rate-based rule for Regional resources.

                  + */ + AwsWafRegionalRateBasedRule?: AwsWafRegionalRateBasedRuleDetails; + + /** + *

                  Information about an Amazon Elastic Container Registry repository.

                  + */ + AwsEcrRepository?: AwsEcrRepositoryDetails; + + /** + *

                  Details about an Amazon EKS cluster.

                  + */ + AwsEksCluster?: AwsEksClusterDetails; } export namespace ResourceDetails { diff --git a/clients/client-securityhub/src/protocols/Aws_restJson1.ts b/clients/client-securityhub/src/protocols/Aws_restJson1.ts index 9d21c5b4b5b5..34515af476f1 100644 --- a/clients/client-securityhub/src/protocols/Aws_restJson1.ts +++ b/clients/client-securityhub/src/protocols/Aws_restJson1.ts @@ -189,10 +189,16 @@ import { AwsCloudFrontDistributionOriginItem, AwsCloudFrontDistributionOrigins, AwsCloudFrontDistributionOriginS3OriginConfig, + AwsCloudFrontDistributionViewerCertificate, AwsCloudTrailTrailDetails, + AwsCodeBuildProjectArtifactsDetails, AwsCodeBuildProjectDetails, AwsCodeBuildProjectEnvironment, + AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails, AwsCodeBuildProjectEnvironmentRegistryCredential, + AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails, + AwsCodeBuildProjectLogsConfigDetails, + AwsCodeBuildProjectLogsConfigS3LogsDetails, AwsCodeBuildProjectSource, AwsCodeBuildProjectVpcConfig, AwsCorsConfiguration, @@ -231,12 +237,17 @@ import { AwsEc2VolumeAttachment, AwsEc2VolumeDetails, AwsEc2VpcDetails, + AwsEc2VpcEndpointServiceDetails, + AwsEc2VpcEndpointServiceServiceTypeDetails, AwsEc2VpnConnectionDetails, AwsEc2VpnConnectionOptionsDetails, AwsEc2VpnConnectionOptionsTunnelOptionsDetails, AwsEc2VpnConnectionRoutesDetails, AwsEc2VpnConnectionVgwTelemetryDetails, AwsEcrContainerImageDetails, + AwsEcrRepositoryDetails, + AwsEcrRepositoryImageScanningConfigurationDetails, + AwsEcrRepositoryLifecyclePolicyDetails, AwsEcsClusterClusterSettingsDetails, AwsEcsClusterConfigurationDetails, AwsEcsClusterConfigurationExecuteCommandConfigurationDetails, @@ -285,6 +296,10 @@ import { AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails, AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails, AwsEcsTaskDefinitionVolumesHostDetails, + AwsEksClusterDetails, + AwsEksClusterLoggingClusterLoggingDetails, + AwsEksClusterLoggingDetails, + AwsEksClusterResourcesVpcConfigDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticBeanstalkEnvironmentEnvironmentLink, AwsElasticBeanstalkEnvironmentOptionSetting, @@ -314,6 +329,7 @@ import { AwsElbLoadBalancerListenerDescription, AwsElbLoadBalancerPolicies, AwsElbLoadBalancerSourceSecurityGroup, + AwsElbv2LoadBalancerAttribute, AwsElbv2LoadBalancerDetails, AwsIamAccessKeyDetails, AwsIamAccessKeySessionContext, @@ -341,6 +357,16 @@ import { AwsLambdaFunctionTracingConfig, AwsLambdaFunctionVpcConfig, AwsLambdaLayerVersionDetails, + AwsOpenSearchServiceDomainClusterConfigDetails, + AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails, + AwsOpenSearchServiceDomainDetails, + AwsOpenSearchServiceDomainDomainEndpointOptionsDetails, + AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails, + AwsOpenSearchServiceDomainLogPublishingOption, + AwsOpenSearchServiceDomainLogPublishingOptionsDetails, + AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails, + AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails, + AwsOpenSearchServiceDomainVpcOptionsDetails, AwsRdsDbClusterAssociatedRole, AwsRdsDbClusterDetails, AwsRdsDbClusterMember, @@ -388,31 +414,14 @@ import { AwsS3BucketBucketLifecycleConfigurationRulesFilterPredicateTagDetails, AwsS3BucketBucketLifecycleConfigurationRulesNoncurrentVersionTransitionsDetails, AwsS3BucketBucketLifecycleConfigurationRulesTransitionsDetails, - AwsS3BucketDetails, AwsS3BucketLoggingConfiguration, - AwsS3BucketNotificationConfiguration, - AwsS3BucketNotificationConfigurationDetail, AwsS3BucketNotificationConfigurationFilter, AwsS3BucketNotificationConfigurationS3KeyFilter, AwsS3BucketNotificationConfigurationS3KeyFilterRule, - AwsS3BucketServerSideEncryptionByDefault, - AwsS3BucketServerSideEncryptionConfiguration, - AwsS3BucketServerSideEncryptionRule, - AwsS3BucketWebsiteConfiguration, - AwsS3BucketWebsiteConfigurationRedirectTo, - AwsS3BucketWebsiteConfigurationRoutingRule, - AwsS3BucketWebsiteConfigurationRoutingRuleCondition, - AwsS3BucketWebsiteConfigurationRoutingRuleRedirect, - AwsS3ObjectDetails, - AwsSecretsManagerSecretDetails, - AwsSecretsManagerSecretRotationRules, CidrBlockAssociation, City, - Compliance, Country, DnsRequestAction, - FindingProviderFields, - FindingProviderSeverity, GeoLocation, IcmpTypeCode, InternalException, @@ -422,18 +431,28 @@ import { Ipv6CidrBlockAssociation, LimitExceededException, LoadBalancerState, - Malware, NetworkConnectionAction, PortProbeAction, PortProbeDetail, - PortRange, PortRangeFromTo, - RelatedFinding, ResourceNotFoundException, - StatusReason, } from "../models/models_0"; import { _Record, + AwsS3BucketDetails, + AwsS3BucketNotificationConfiguration, + AwsS3BucketNotificationConfigurationDetail, + AwsS3BucketServerSideEncryptionByDefault, + AwsS3BucketServerSideEncryptionConfiguration, + AwsS3BucketServerSideEncryptionRule, + AwsS3BucketWebsiteConfiguration, + AwsS3BucketWebsiteConfigurationRedirectTo, + AwsS3BucketWebsiteConfigurationRoutingRule, + AwsS3BucketWebsiteConfigurationRoutingRuleCondition, + AwsS3BucketWebsiteConfigurationRoutingRuleRedirect, + AwsS3ObjectDetails, + AwsSecretsManagerSecretDetails, + AwsSecretsManagerSecretRotationRules, AwsSecurityFinding, AwsSecurityFindingFilters, AwsSecurityFindingIdentifier, @@ -443,12 +462,18 @@ import { AwsSsmComplianceSummary, AwsSsmPatch, AwsSsmPatchComplianceDetails, + AwsWafRateBasedRuleDetails, + AwsWafRateBasedRuleMatchPredicate, + AwsWafRegionalRateBasedRuleDetails, + AwsWafRegionalRateBasedRuleMatchPredicate, AwsWafWebAclDetails, AwsWafWebAclRule, + AwsXrayEncryptionConfigDetails, BatchUpdateFindingsUnprocessedFinding, Cell, ClassificationResult, ClassificationStatus, + Compliance, ContainerDetails, CustomDataIdentifiersDetections, CustomDataIdentifiersResult, @@ -456,6 +481,8 @@ import { DataClassificationDetails, DateFilter, DateRange, + FindingProviderFields, + FindingProviderSeverity, ImportFindingsError, Insight, InsightResults, @@ -464,6 +491,7 @@ import { Invitation, IpFilter, KeywordFilter, + Malware, MapFilter, Member, Network, @@ -476,10 +504,12 @@ import { Occurrences, Page, PatchSummary, + PortRange, ProcessDetails, Product, Range, Recommendation, + RelatedFinding, Remediation, Resource, ResourceConflictException, @@ -495,6 +525,7 @@ import { StandardsControl, StandardsSubscription, StandardsSubscriptionRequest, + StatusReason, StringFilter, ThreatIntelIndicator, Vulnerability, @@ -7082,6 +7113,13 @@ const serializeAws_restJson1AwsCloudFrontDistributionDetails = ( Origins: serializeAws_restJson1AwsCloudFrontDistributionOrigins(input.Origins, context), }), ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }), + ...(input.ViewerCertificate !== undefined && + input.ViewerCertificate !== null && { + ViewerCertificate: serializeAws_restJson1AwsCloudFrontDistributionViewerCertificate( + input.ViewerCertificate, + context + ), + }), ...(input.WebAclId !== undefined && input.WebAclId !== null && { WebAclId: input.WebAclId }), }; }; @@ -7239,6 +7277,29 @@ const serializeAws_restJson1AwsCloudFrontDistributionOriginS3OriginConfig = ( }; }; +const serializeAws_restJson1AwsCloudFrontDistributionViewerCertificate = ( + input: AwsCloudFrontDistributionViewerCertificate, + context: __SerdeContext +): any => { + return { + ...(input.AcmCertificateArn !== undefined && + input.AcmCertificateArn !== null && { AcmCertificateArn: input.AcmCertificateArn }), + ...(input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate }), + ...(input.CertificateSource !== undefined && + input.CertificateSource !== null && { CertificateSource: input.CertificateSource }), + ...(input.CloudFrontDefaultCertificate !== undefined && + input.CloudFrontDefaultCertificate !== null && { + CloudFrontDefaultCertificate: input.CloudFrontDefaultCertificate, + }), + ...(input.IamCertificateId !== undefined && + input.IamCertificateId !== null && { IamCertificateId: input.IamCertificateId }), + ...(input.MinimumProtocolVersion !== undefined && + input.MinimumProtocolVersion !== null && { MinimumProtocolVersion: input.MinimumProtocolVersion }), + ...(input.SslSupportMethod !== undefined && + input.SslSupportMethod !== null && { SslSupportMethod: input.SslSupportMethod }), + }; +}; + const serializeAws_restJson1AwsCloudTrailTrailDetails = ( input: AwsCloudTrailTrailDetails, context: __SerdeContext @@ -7269,16 +7330,58 @@ const serializeAws_restJson1AwsCloudTrailTrailDetails = ( }; }; +const serializeAws_restJson1AwsCodeBuildProjectArtifactsDetails = ( + input: AwsCodeBuildProjectArtifactsDetails, + context: __SerdeContext +): any => { + return { + ...(input.ArtifactIdentifier !== undefined && + input.ArtifactIdentifier !== null && { ArtifactIdentifier: input.ArtifactIdentifier }), + ...(input.EncryptionDisabled !== undefined && + input.EncryptionDisabled !== null && { EncryptionDisabled: input.EncryptionDisabled }), + ...(input.Location !== undefined && input.Location !== null && { Location: input.Location }), + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + ...(input.NamespaceType !== undefined && input.NamespaceType !== null && { NamespaceType: input.NamespaceType }), + ...(input.OverrideArtifactName !== undefined && + input.OverrideArtifactName !== null && { OverrideArtifactName: input.OverrideArtifactName }), + ...(input.Packaging !== undefined && input.Packaging !== null && { Packaging: input.Packaging }), + ...(input.Path !== undefined && input.Path !== null && { Path: input.Path }), + ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), + }; +}; + +const serializeAws_restJson1AwsCodeBuildProjectArtifactsList = ( + input: AwsCodeBuildProjectArtifactsDetails[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AwsCodeBuildProjectArtifactsDetails(entry, context); + }); +}; + const serializeAws_restJson1AwsCodeBuildProjectDetails = ( input: AwsCodeBuildProjectDetails, context: __SerdeContext ): any => { return { + ...(input.Artifacts !== undefined && + input.Artifacts !== null && { + Artifacts: serializeAws_restJson1AwsCodeBuildProjectArtifactsList(input.Artifacts, context), + }), ...(input.EncryptionKey !== undefined && input.EncryptionKey !== null && { EncryptionKey: input.EncryptionKey }), ...(input.Environment !== undefined && input.Environment !== null && { Environment: serializeAws_restJson1AwsCodeBuildProjectEnvironment(input.Environment, context), }), + ...(input.LogsConfig !== undefined && + input.LogsConfig !== null && { + LogsConfig: serializeAws_restJson1AwsCodeBuildProjectLogsConfigDetails(input.LogsConfig, context), + }), ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), ...(input.ServiceRole !== undefined && input.ServiceRole !== null && { ServiceRole: input.ServiceRole }), ...(input.Source !== undefined && @@ -7296,8 +7399,17 @@ const serializeAws_restJson1AwsCodeBuildProjectEnvironment = ( ): any => { return { ...(input.Certificate !== undefined && input.Certificate !== null && { Certificate: input.Certificate }), + ...(input.EnvironmentVariables !== undefined && + input.EnvironmentVariables !== null && { + EnvironmentVariables: serializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesList( + input.EnvironmentVariables, + context + ), + }), ...(input.ImagePullCredentialsType !== undefined && input.ImagePullCredentialsType !== null && { ImagePullCredentialsType: input.ImagePullCredentialsType }), + ...(input.PrivilegedMode !== undefined && + input.PrivilegedMode !== null && { PrivilegedMode: input.PrivilegedMode }), ...(input.RegistryCredential !== undefined && input.RegistryCredential !== null && { RegistryCredential: serializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential( @@ -7309,6 +7421,31 @@ const serializeAws_restJson1AwsCodeBuildProjectEnvironment = ( }; }; +const serializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails = ( + input: AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails, + context: __SerdeContext +): any => { + return { + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), + ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }), + }; +}; + +const serializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesList = ( + input: AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails(entry, context); + }); +}; + const serializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential = ( input: AwsCodeBuildProjectEnvironmentRegistryCredential, context: __SerdeContext @@ -7320,6 +7457,48 @@ const serializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential = ( }; }; +const serializeAws_restJson1AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails = ( + input: AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails, + context: __SerdeContext +): any => { + return { + ...(input.GroupName !== undefined && input.GroupName !== null && { GroupName: input.GroupName }), + ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }), + ...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }), + }; +}; + +const serializeAws_restJson1AwsCodeBuildProjectLogsConfigDetails = ( + input: AwsCodeBuildProjectLogsConfigDetails, + context: __SerdeContext +): any => { + return { + ...(input.CloudWatchLogs !== undefined && + input.CloudWatchLogs !== null && { + CloudWatchLogs: serializeAws_restJson1AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails( + input.CloudWatchLogs, + context + ), + }), + ...(input.S3Logs !== undefined && + input.S3Logs !== null && { + S3Logs: serializeAws_restJson1AwsCodeBuildProjectLogsConfigS3LogsDetails(input.S3Logs, context), + }), + }; +}; + +const serializeAws_restJson1AwsCodeBuildProjectLogsConfigS3LogsDetails = ( + input: AwsCodeBuildProjectLogsConfigS3LogsDetails, + context: __SerdeContext +): any => { + return { + ...(input.EncryptionDisabled !== undefined && + input.EncryptionDisabled !== null && { EncryptionDisabled: input.EncryptionDisabled }), + ...(input.Location !== undefined && input.Location !== null && { Location: input.Location }), + ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }), + }; +}; + const serializeAws_restJson1AwsCodeBuildProjectSource = ( input: AwsCodeBuildProjectSource, context: __SerdeContext @@ -8255,6 +8434,66 @@ const serializeAws_restJson1AwsEc2VpcDetails = (input: AwsEc2VpcDetails, context }; }; +const serializeAws_restJson1AwsEc2VpcEndpointServiceDetails = ( + input: AwsEc2VpcEndpointServiceDetails, + context: __SerdeContext +): any => { + return { + ...(input.AcceptanceRequired !== undefined && + input.AcceptanceRequired !== null && { AcceptanceRequired: input.AcceptanceRequired }), + ...(input.AvailabilityZones !== undefined && + input.AvailabilityZones !== null && { + AvailabilityZones: serializeAws_restJson1NonEmptyStringList(input.AvailabilityZones, context), + }), + ...(input.BaseEndpointDnsNames !== undefined && + input.BaseEndpointDnsNames !== null && { + BaseEndpointDnsNames: serializeAws_restJson1NonEmptyStringList(input.BaseEndpointDnsNames, context), + }), + ...(input.GatewayLoadBalancerArns !== undefined && + input.GatewayLoadBalancerArns !== null && { + GatewayLoadBalancerArns: serializeAws_restJson1NonEmptyStringList(input.GatewayLoadBalancerArns, context), + }), + ...(input.ManagesVpcEndpoints !== undefined && + input.ManagesVpcEndpoints !== null && { ManagesVpcEndpoints: input.ManagesVpcEndpoints }), + ...(input.NetworkLoadBalancerArns !== undefined && + input.NetworkLoadBalancerArns !== null && { + NetworkLoadBalancerArns: serializeAws_restJson1NonEmptyStringList(input.NetworkLoadBalancerArns, context), + }), + ...(input.PrivateDnsName !== undefined && + input.PrivateDnsName !== null && { PrivateDnsName: input.PrivateDnsName }), + ...(input.ServiceId !== undefined && input.ServiceId !== null && { ServiceId: input.ServiceId }), + ...(input.ServiceName !== undefined && input.ServiceName !== null && { ServiceName: input.ServiceName }), + ...(input.ServiceState !== undefined && input.ServiceState !== null && { ServiceState: input.ServiceState }), + ...(input.ServiceType !== undefined && + input.ServiceType !== null && { + ServiceType: serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList(input.ServiceType, context), + }), + }; +}; + +const serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeDetails = ( + input: AwsEc2VpcEndpointServiceServiceTypeDetails, + context: __SerdeContext +): any => { + return { + ...(input.ServiceType !== undefined && input.ServiceType !== null && { ServiceType: input.ServiceType }), + }; +}; + +const serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList = ( + input: AwsEc2VpcEndpointServiceServiceTypeDetails[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeDetails(entry, context); + }); +}; + const serializeAws_restJson1AwsEc2VpnConnectionDetails = ( input: AwsEc2VpnConnectionDetails, context: __SerdeContext @@ -8442,6 +8681,52 @@ const serializeAws_restJson1AwsEcrContainerImageDetails = ( }; }; +const serializeAws_restJson1AwsEcrRepositoryDetails = ( + input: AwsEcrRepositoryDetails, + context: __SerdeContext +): any => { + return { + ...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }), + ...(input.ImageScanningConfiguration !== undefined && + input.ImageScanningConfiguration !== null && { + ImageScanningConfiguration: serializeAws_restJson1AwsEcrRepositoryImageScanningConfigurationDetails( + input.ImageScanningConfiguration, + context + ), + }), + ...(input.ImageTagMutability !== undefined && + input.ImageTagMutability !== null && { ImageTagMutability: input.ImageTagMutability }), + ...(input.LifecyclePolicy !== undefined && + input.LifecyclePolicy !== null && { + LifecyclePolicy: serializeAws_restJson1AwsEcrRepositoryLifecyclePolicyDetails(input.LifecyclePolicy, context), + }), + ...(input.RepositoryName !== undefined && + input.RepositoryName !== null && { RepositoryName: input.RepositoryName }), + ...(input.RepositoryPolicyText !== undefined && + input.RepositoryPolicyText !== null && { RepositoryPolicyText: input.RepositoryPolicyText }), + }; +}; + +const serializeAws_restJson1AwsEcrRepositoryImageScanningConfigurationDetails = ( + input: AwsEcrRepositoryImageScanningConfigurationDetails, + context: __SerdeContext +): any => { + return { + ...(input.ScanOnPush !== undefined && input.ScanOnPush !== null && { ScanOnPush: input.ScanOnPush }), + }; +}; + +const serializeAws_restJson1AwsEcrRepositoryLifecyclePolicyDetails = ( + input: AwsEcrRepositoryLifecyclePolicyDetails, + context: __SerdeContext +): any => { + return { + ...(input.LifecyclePolicyText !== undefined && + input.LifecyclePolicyText !== null && { LifecyclePolicyText: input.LifecyclePolicyText }), + ...(input.RegistryId !== undefined && input.RegistryId !== null && { RegistryId: input.RegistryId }), + }; +}; + const serializeAws_restJson1AwsEcsClusterClusterSettingsDetails = ( input: AwsEcsClusterClusterSettingsDetails, context: __SerdeContext @@ -9706,6 +9991,79 @@ const serializeAws_restJson1AwsEcsTaskDefinitionVolumesList = ( }); }; +const serializeAws_restJson1AwsEksClusterDetails = (input: AwsEksClusterDetails, context: __SerdeContext): any => { + return { + ...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }), + ...(input.CertificateAuthorityData !== undefined && + input.CertificateAuthorityData !== null && { CertificateAuthorityData: input.CertificateAuthorityData }), + ...(input.ClusterStatus !== undefined && input.ClusterStatus !== null && { ClusterStatus: input.ClusterStatus }), + ...(input.Endpoint !== undefined && input.Endpoint !== null && { Endpoint: input.Endpoint }), + ...(input.Logging !== undefined && + input.Logging !== null && { Logging: serializeAws_restJson1AwsEksClusterLoggingDetails(input.Logging, context) }), + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + ...(input.ResourcesVpcConfig !== undefined && + input.ResourcesVpcConfig !== null && { + ResourcesVpcConfig: serializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails( + input.ResourcesVpcConfig, + context + ), + }), + ...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }), + ...(input.Version !== undefined && input.Version !== null && { Version: input.Version }), + }; +}; + +const serializeAws_restJson1AwsEksClusterLoggingClusterLoggingDetails = ( + input: AwsEksClusterLoggingClusterLoggingDetails, + context: __SerdeContext +): any => { + return { + ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }), + ...(input.Types !== undefined && + input.Types !== null && { Types: serializeAws_restJson1NonEmptyStringList(input.Types, context) }), + }; +}; + +const serializeAws_restJson1AwsEksClusterLoggingClusterLoggingList = ( + input: AwsEksClusterLoggingClusterLoggingDetails[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AwsEksClusterLoggingClusterLoggingDetails(entry, context); + }); +}; + +const serializeAws_restJson1AwsEksClusterLoggingDetails = ( + input: AwsEksClusterLoggingDetails, + context: __SerdeContext +): any => { + return { + ...(input.ClusterLogging !== undefined && + input.ClusterLogging !== null && { + ClusterLogging: serializeAws_restJson1AwsEksClusterLoggingClusterLoggingList(input.ClusterLogging, context), + }), + }; +}; + +const serializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails = ( + input: AwsEksClusterResourcesVpcConfigDetails, + context: __SerdeContext +): any => { + return { + ...(input.SecurityGroupIds !== undefined && + input.SecurityGroupIds !== null && { + SecurityGroupIds: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupIds, context), + }), + ...(input.SubnetIds !== undefined && + input.SubnetIds !== null && { SubnetIds: serializeAws_restJson1NonEmptyStringList(input.SubnetIds, context) }), + }; +}; + const serializeAws_restJson1AwsElasticBeanstalkEnvironmentDetails = ( input: AwsElasticBeanstalkEnvironmentDetails, context: __SerdeContext @@ -10346,27 +10704,58 @@ const serializeAws_restJson1AwsElbLoadBalancerSourceSecurityGroup = ( }; }; -const serializeAws_restJson1AwsElbv2LoadBalancerDetails = ( - input: AwsElbv2LoadBalancerDetails, +const serializeAws_restJson1AwsElbv2LoadBalancerAttribute = ( + input: AwsElbv2LoadBalancerAttribute, context: __SerdeContext ): any => { return { - ...(input.AvailabilityZones !== undefined && - input.AvailabilityZones !== null && { - AvailabilityZones: serializeAws_restJson1AvailabilityZones(input.AvailabilityZones, context), - }), - ...(input.CanonicalHostedZoneId !== undefined && - input.CanonicalHostedZoneId !== null && { CanonicalHostedZoneId: input.CanonicalHostedZoneId }), - ...(input.CreatedTime !== undefined && input.CreatedTime !== null && { CreatedTime: input.CreatedTime }), - ...(input.DNSName !== undefined && input.DNSName !== null && { DNSName: input.DNSName }), - ...(input.IpAddressType !== undefined && input.IpAddressType !== null && { IpAddressType: input.IpAddressType }), - ...(input.Scheme !== undefined && input.Scheme !== null && { Scheme: input.Scheme }), - ...(input.SecurityGroups !== undefined && - input.SecurityGroups !== null && { - SecurityGroups: serializeAws_restJson1SecurityGroups(input.SecurityGroups, context), - }), - ...(input.State !== undefined && - input.State !== null && { State: serializeAws_restJson1LoadBalancerState(input.State, context) }), + ...(input.Key !== undefined && input.Key !== null && { Key: input.Key }), + ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }), + }; +}; + +const serializeAws_restJson1AwsElbv2LoadBalancerAttributes = ( + input: AwsElbv2LoadBalancerAttribute[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AwsElbv2LoadBalancerAttribute(entry, context); + }); +}; + +const serializeAws_restJson1AwsElbv2LoadBalancerDetails = ( + input: AwsElbv2LoadBalancerDetails, + context: __SerdeContext +): any => { + return { + ...(input.AvailabilityZones !== undefined && + input.AvailabilityZones !== null && { + AvailabilityZones: serializeAws_restJson1AvailabilityZones(input.AvailabilityZones, context), + }), + ...(input.CanonicalHostedZoneId !== undefined && + input.CanonicalHostedZoneId !== null && { CanonicalHostedZoneId: input.CanonicalHostedZoneId }), + ...(input.CreatedTime !== undefined && input.CreatedTime !== null && { CreatedTime: input.CreatedTime }), + ...(input.DNSName !== undefined && input.DNSName !== null && { DNSName: input.DNSName }), + ...(input.IpAddressType !== undefined && input.IpAddressType !== null && { IpAddressType: input.IpAddressType }), + ...(input.LoadBalancerAttributes !== undefined && + input.LoadBalancerAttributes !== null && { + LoadBalancerAttributes: serializeAws_restJson1AwsElbv2LoadBalancerAttributes( + input.LoadBalancerAttributes, + context + ), + }), + ...(input.Scheme !== undefined && input.Scheme !== null && { Scheme: input.Scheme }), + ...(input.SecurityGroups !== undefined && + input.SecurityGroups !== null && { + SecurityGroups: serializeAws_restJson1SecurityGroups(input.SecurityGroups, context), + }), + ...(input.State !== undefined && + input.State !== null && { State: serializeAws_restJson1LoadBalancerState(input.State, context) }), ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), ...(input.VpcId !== undefined && input.VpcId !== null && { VpcId: input.VpcId }), }; @@ -10850,6 +11239,219 @@ const serializeAws_restJson1AwsLambdaLayerVersionDetails = ( }; }; +const serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = ( + input: AwsOpenSearchServiceDomainClusterConfigDetails, + context: __SerdeContext +): any => { + return { + ...(input.DedicatedMasterCount !== undefined && + input.DedicatedMasterCount !== null && { DedicatedMasterCount: input.DedicatedMasterCount }), + ...(input.DedicatedMasterEnabled !== undefined && + input.DedicatedMasterEnabled !== null && { DedicatedMasterEnabled: input.DedicatedMasterEnabled }), + ...(input.DedicatedMasterType !== undefined && + input.DedicatedMasterType !== null && { DedicatedMasterType: input.DedicatedMasterType }), + ...(input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount }), + ...(input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }), + ...(input.WarmCount !== undefined && input.WarmCount !== null && { WarmCount: input.WarmCount }), + ...(input.WarmEnabled !== undefined && input.WarmEnabled !== null && { WarmEnabled: input.WarmEnabled }), + ...(input.WarmType !== undefined && input.WarmType !== null && { WarmType: input.WarmType }), + ...(input.ZoneAwarenessConfig !== undefined && + input.ZoneAwarenessConfig !== null && { + ZoneAwarenessConfig: serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails( + input.ZoneAwarenessConfig, + context + ), + }), + ...(input.ZoneAwarenessEnabled !== undefined && + input.ZoneAwarenessEnabled !== null && { ZoneAwarenessEnabled: input.ZoneAwarenessEnabled }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails = ( + input: AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails, + context: __SerdeContext +): any => { + return { + ...(input.AvailabilityZoneCount !== undefined && + input.AvailabilityZoneCount !== null && { AvailabilityZoneCount: input.AvailabilityZoneCount }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainDetails = ( + input: AwsOpenSearchServiceDomainDetails, + context: __SerdeContext +): any => { + return { + ...(input.AccessPolicies !== undefined && + input.AccessPolicies !== null && { AccessPolicies: input.AccessPolicies }), + ...(input.Arn !== undefined && input.Arn !== null && { Arn: input.Arn }), + ...(input.ClusterConfig !== undefined && + input.ClusterConfig !== null && { + ClusterConfig: serializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails( + input.ClusterConfig, + context + ), + }), + ...(input.DomainEndpoint !== undefined && + input.DomainEndpoint !== null && { DomainEndpoint: input.DomainEndpoint }), + ...(input.DomainEndpointOptions !== undefined && + input.DomainEndpointOptions !== null && { + DomainEndpointOptions: serializeAws_restJson1AwsOpenSearchServiceDomainDomainEndpointOptionsDetails( + input.DomainEndpointOptions, + context + ), + }), + ...(input.DomainEndpoints !== undefined && + input.DomainEndpoints !== null && { + DomainEndpoints: serializeAws_restJson1FieldMap(input.DomainEndpoints, context), + }), + ...(input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName }), + ...(input.EncryptionAtRestOptions !== undefined && + input.EncryptionAtRestOptions !== null && { + EncryptionAtRestOptions: serializeAws_restJson1AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails( + input.EncryptionAtRestOptions, + context + ), + }), + ...(input.EngineVersion !== undefined && input.EngineVersion !== null && { EngineVersion: input.EngineVersion }), + ...(input.Id !== undefined && input.Id !== null && { Id: input.Id }), + ...(input.LogPublishingOptions !== undefined && + input.LogPublishingOptions !== null && { + LogPublishingOptions: serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDetails( + input.LogPublishingOptions, + context + ), + }), + ...(input.NodeToNodeEncryptionOptions !== undefined && + input.NodeToNodeEncryptionOptions !== null && { + NodeToNodeEncryptionOptions: serializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails( + input.NodeToNodeEncryptionOptions, + context + ), + }), + ...(input.ServiceSoftwareOptions !== undefined && + input.ServiceSoftwareOptions !== null && { + ServiceSoftwareOptions: serializeAws_restJson1AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails( + input.ServiceSoftwareOptions, + context + ), + }), + ...(input.VpcOptions !== undefined && + input.VpcOptions !== null && { + VpcOptions: serializeAws_restJson1AwsOpenSearchServiceDomainVpcOptionsDetails(input.VpcOptions, context), + }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainDomainEndpointOptionsDetails = ( + input: AwsOpenSearchServiceDomainDomainEndpointOptionsDetails, + context: __SerdeContext +): any => { + return { + ...(input.CustomEndpoint !== undefined && + input.CustomEndpoint !== null && { CustomEndpoint: input.CustomEndpoint }), + ...(input.CustomEndpointCertificateArn !== undefined && + input.CustomEndpointCertificateArn !== null && { + CustomEndpointCertificateArn: input.CustomEndpointCertificateArn, + }), + ...(input.CustomEndpointEnabled !== undefined && + input.CustomEndpointEnabled !== null && { CustomEndpointEnabled: input.CustomEndpointEnabled }), + ...(input.EnforceHTTPS !== undefined && input.EnforceHTTPS !== null && { EnforceHTTPS: input.EnforceHTTPS }), + ...(input.TLSSecurityPolicy !== undefined && + input.TLSSecurityPolicy !== null && { TLSSecurityPolicy: input.TLSSecurityPolicy }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails = ( + input: AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails, + context: __SerdeContext +): any => { + return { + ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }), + ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption = ( + input: AwsOpenSearchServiceDomainLogPublishingOption, + context: __SerdeContext +): any => { + return { + ...(input.CloudWatchLogsLogGroupArn !== undefined && + input.CloudWatchLogsLogGroupArn !== null && { CloudWatchLogsLogGroupArn: input.CloudWatchLogsLogGroupArn }), + ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDetails = ( + input: AwsOpenSearchServiceDomainLogPublishingOptionsDetails, + context: __SerdeContext +): any => { + return { + ...(input.AuditLogs !== undefined && + input.AuditLogs !== null && { + AuditLogs: serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption(input.AuditLogs, context), + }), + ...(input.IndexSlowLogs !== undefined && + input.IndexSlowLogs !== null && { + IndexSlowLogs: serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption( + input.IndexSlowLogs, + context + ), + }), + ...(input.SearchSlowLogs !== undefined && + input.SearchSlowLogs !== null && { + SearchSlowLogs: serializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption( + input.SearchSlowLogs, + context + ), + }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails = ( + input: AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails, + context: __SerdeContext +): any => { + return { + ...(input.Enabled !== undefined && input.Enabled !== null && { Enabled: input.Enabled }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails = ( + input: AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails, + context: __SerdeContext +): any => { + return { + ...(input.AutomatedUpdateDate !== undefined && + input.AutomatedUpdateDate !== null && { AutomatedUpdateDate: input.AutomatedUpdateDate }), + ...(input.Cancellable !== undefined && input.Cancellable !== null && { Cancellable: input.Cancellable }), + ...(input.CurrentVersion !== undefined && + input.CurrentVersion !== null && { CurrentVersion: input.CurrentVersion }), + ...(input.Description !== undefined && input.Description !== null && { Description: input.Description }), + ...(input.NewVersion !== undefined && input.NewVersion !== null && { NewVersion: input.NewVersion }), + ...(input.OptionalDeployment !== undefined && + input.OptionalDeployment !== null && { OptionalDeployment: input.OptionalDeployment }), + ...(input.UpdateAvailable !== undefined && + input.UpdateAvailable !== null && { UpdateAvailable: input.UpdateAvailable }), + ...(input.UpdateStatus !== undefined && input.UpdateStatus !== null && { UpdateStatus: input.UpdateStatus }), + }; +}; + +const serializeAws_restJson1AwsOpenSearchServiceDomainVpcOptionsDetails = ( + input: AwsOpenSearchServiceDomainVpcOptionsDetails, + context: __SerdeContext +): any => { + return { + ...(input.SecurityGroupIds !== undefined && + input.SecurityGroupIds !== null && { + SecurityGroupIds: serializeAws_restJson1NonEmptyStringList(input.SecurityGroupIds, context), + }), + ...(input.SubnetIds !== undefined && + input.SubnetIds !== null && { SubnetIds: serializeAws_restJson1NonEmptyStringList(input.SubnetIds, context) }), + }; +}; + const serializeAws_restJson1AwsRdsDbClusterAssociatedRole = ( input: AwsRdsDbClusterAssociatedRole, context: __SerdeContext @@ -12311,6 +12913,8 @@ const serializeAws_restJson1AwsS3BucketDetails = (input: AwsS3BucketDetails, con ), }), ...(input.CreatedAt !== undefined && input.CreatedAt !== null && { CreatedAt: input.CreatedAt }), + ...(input.OwnerAccountId !== undefined && + input.OwnerAccountId !== null && { OwnerAccountId: input.OwnerAccountId }), ...(input.OwnerId !== undefined && input.OwnerId !== null && { OwnerId: input.OwnerId }), ...(input.OwnerName !== undefined && input.OwnerName !== null && { OwnerName: input.OwnerName }), ...(input.PublicAccessBlockConfiguration !== undefined && @@ -13276,6 +13880,93 @@ const serializeAws_restJson1AwsSsmPatchComplianceDetails = ( }; }; +const serializeAws_restJson1AwsWafRateBasedRuleDetails = ( + input: AwsWafRateBasedRuleDetails, + context: __SerdeContext +): any => { + return { + ...(input.MatchPredicates !== undefined && + input.MatchPredicates !== null && { + MatchPredicates: serializeAws_restJson1AwsWafRateBasedRuleMatchPredicateList(input.MatchPredicates, context), + }), + ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }), + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + ...(input.RateKey !== undefined && input.RateKey !== null && { RateKey: input.RateKey }), + ...(input.RateLimit !== undefined && input.RateLimit !== null && { RateLimit: input.RateLimit }), + ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }), + }; +}; + +const serializeAws_restJson1AwsWafRateBasedRuleMatchPredicate = ( + input: AwsWafRateBasedRuleMatchPredicate, + context: __SerdeContext +): any => { + return { + ...(input.DataId !== undefined && input.DataId !== null && { DataId: input.DataId }), + ...(input.Negated !== undefined && input.Negated !== null && { Negated: input.Negated }), + ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), + }; +}; + +const serializeAws_restJson1AwsWafRateBasedRuleMatchPredicateList = ( + input: AwsWafRateBasedRuleMatchPredicate[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AwsWafRateBasedRuleMatchPredicate(entry, context); + }); +}; + +const serializeAws_restJson1AwsWafRegionalRateBasedRuleDetails = ( + input: AwsWafRegionalRateBasedRuleDetails, + context: __SerdeContext +): any => { + return { + ...(input.MatchPredicates !== undefined && + input.MatchPredicates !== null && { + MatchPredicates: serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList( + input.MatchPredicates, + context + ), + }), + ...(input.MetricName !== undefined && input.MetricName !== null && { MetricName: input.MetricName }), + ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }), + ...(input.RateKey !== undefined && input.RateKey !== null && { RateKey: input.RateKey }), + ...(input.RateLimit !== undefined && input.RateLimit !== null && { RateLimit: input.RateLimit }), + ...(input.RuleId !== undefined && input.RuleId !== null && { RuleId: input.RuleId }), + }; +}; + +const serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicate = ( + input: AwsWafRegionalRateBasedRuleMatchPredicate, + context: __SerdeContext +): any => { + return { + ...(input.DataId !== undefined && input.DataId !== null && { DataId: input.DataId }), + ...(input.Negated !== undefined && input.Negated !== null && { Negated: input.Negated }), + ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), + }; +}; + +const serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList = ( + input: AwsWafRegionalRateBasedRuleMatchPredicate[], + context: __SerdeContext +): any => { + return input + .filter((e: any) => e != null) + .map((entry) => { + if (entry === null) { + return null as any; + } + return serializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicate(entry, context); + }); +}; + const serializeAws_restJson1AwsWafWebAclDetails = (input: AwsWafWebAclDetails, context: __SerdeContext): any => { return { ...(input.DefaultAction !== undefined && input.DefaultAction !== null && { DefaultAction: input.DefaultAction }), @@ -13315,6 +14006,17 @@ const serializeAws_restJson1AwsWafWebAclRuleList = (input: AwsWafWebAclRule[], c }); }; +const serializeAws_restJson1AwsXrayEncryptionConfigDetails = ( + input: AwsXrayEncryptionConfigDetails, + context: __SerdeContext +): any => { + return { + ...(input.KeyId !== undefined && input.KeyId !== null && { KeyId: input.KeyId }), + ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }), + ...(input.Type !== undefined && input.Type !== null && { Type: input.Type }), + }; +}; + const serializeAws_restJson1BatchImportFindingsRequestFindingList = ( input: AwsSecurityFinding[], context: __SerdeContext @@ -14179,6 +14881,13 @@ const serializeAws_restJson1ResourceDetails = (input: ResourceDetails, context: }), ...(input.AwsEc2Vpc !== undefined && input.AwsEc2Vpc !== null && { AwsEc2Vpc: serializeAws_restJson1AwsEc2VpcDetails(input.AwsEc2Vpc, context) }), + ...(input.AwsEc2VpcEndpointService !== undefined && + input.AwsEc2VpcEndpointService !== null && { + AwsEc2VpcEndpointService: serializeAws_restJson1AwsEc2VpcEndpointServiceDetails( + input.AwsEc2VpcEndpointService, + context + ), + }), ...(input.AwsEc2VpnConnection !== undefined && input.AwsEc2VpnConnection !== null && { AwsEc2VpnConnection: serializeAws_restJson1AwsEc2VpnConnectionDetails(input.AwsEc2VpnConnection, context), @@ -14187,6 +14896,10 @@ const serializeAws_restJson1ResourceDetails = (input: ResourceDetails, context: input.AwsEcrContainerImage !== null && { AwsEcrContainerImage: serializeAws_restJson1AwsEcrContainerImageDetails(input.AwsEcrContainerImage, context), }), + ...(input.AwsEcrRepository !== undefined && + input.AwsEcrRepository !== null && { + AwsEcrRepository: serializeAws_restJson1AwsEcrRepositoryDetails(input.AwsEcrRepository, context), + }), ...(input.AwsEcsCluster !== undefined && input.AwsEcsCluster !== null && { AwsEcsCluster: serializeAws_restJson1AwsEcsClusterDetails(input.AwsEcsCluster, context), @@ -14199,6 +14912,10 @@ const serializeAws_restJson1ResourceDetails = (input: ResourceDetails, context: input.AwsEcsTaskDefinition !== null && { AwsEcsTaskDefinition: serializeAws_restJson1AwsEcsTaskDefinitionDetails(input.AwsEcsTaskDefinition, context), }), + ...(input.AwsEksCluster !== undefined && + input.AwsEksCluster !== null && { + AwsEksCluster: serializeAws_restJson1AwsEksClusterDetails(input.AwsEksCluster, context), + }), ...(input.AwsElasticBeanstalkEnvironment !== undefined && input.AwsElasticBeanstalkEnvironment !== null && { AwsElasticBeanstalkEnvironment: serializeAws_restJson1AwsElasticBeanstalkEnvironmentDetails( @@ -14247,6 +14964,13 @@ const serializeAws_restJson1ResourceDetails = (input: ResourceDetails, context: input.AwsLambdaLayerVersion !== null && { AwsLambdaLayerVersion: serializeAws_restJson1AwsLambdaLayerVersionDetails(input.AwsLambdaLayerVersion, context), }), + ...(input.AwsOpenSearchServiceDomain !== undefined && + input.AwsOpenSearchServiceDomain !== null && { + AwsOpenSearchServiceDomain: serializeAws_restJson1AwsOpenSearchServiceDomainDetails( + input.AwsOpenSearchServiceDomain, + context + ), + }), ...(input.AwsRdsDbCluster !== undefined && input.AwsRdsDbCluster !== null && { AwsRdsDbCluster: serializeAws_restJson1AwsRdsDbClusterDetails(input.AwsRdsDbCluster, context), @@ -14311,10 +15035,28 @@ const serializeAws_restJson1ResourceDetails = (input: ResourceDetails, context: input.AwsSsmPatchCompliance !== null && { AwsSsmPatchCompliance: serializeAws_restJson1AwsSsmPatchComplianceDetails(input.AwsSsmPatchCompliance, context), }), + ...(input.AwsWafRateBasedRule !== undefined && + input.AwsWafRateBasedRule !== null && { + AwsWafRateBasedRule: serializeAws_restJson1AwsWafRateBasedRuleDetails(input.AwsWafRateBasedRule, context), + }), + ...(input.AwsWafRegionalRateBasedRule !== undefined && + input.AwsWafRegionalRateBasedRule !== null && { + AwsWafRegionalRateBasedRule: serializeAws_restJson1AwsWafRegionalRateBasedRuleDetails( + input.AwsWafRegionalRateBasedRule, + context + ), + }), ...(input.AwsWafWebAcl !== undefined && input.AwsWafWebAcl !== null && { AwsWafWebAcl: serializeAws_restJson1AwsWafWebAclDetails(input.AwsWafWebAcl, context), }), + ...(input.AwsXrayEncryptionConfig !== undefined && + input.AwsXrayEncryptionConfig !== null && { + AwsXrayEncryptionConfig: serializeAws_restJson1AwsXrayEncryptionConfigDetails( + input.AwsXrayEncryptionConfig, + context + ), + }), ...(input.Container !== undefined && input.Container !== null && { Container: serializeAws_restJson1ContainerDetails(input.Container, context) }), ...(input.Other !== undefined && @@ -15418,6 +16160,10 @@ const deserializeAws_restJson1AwsCloudFrontDistributionDetails = ( ? deserializeAws_restJson1AwsCloudFrontDistributionOrigins(output.Origins, context) : undefined, Status: __expectString(output.Status), + ViewerCertificate: + output.ViewerCertificate !== undefined && output.ViewerCertificate !== null + ? deserializeAws_restJson1AwsCloudFrontDistributionViewerCertificate(output.ViewerCertificate, context) + : undefined, WebAclId: __expectString(output.WebAclId), } as any; }; @@ -15561,6 +16307,21 @@ const deserializeAws_restJson1AwsCloudFrontDistributionOriginS3OriginConfig = ( } as any; }; +const deserializeAws_restJson1AwsCloudFrontDistributionViewerCertificate = ( + output: any, + context: __SerdeContext +): AwsCloudFrontDistributionViewerCertificate => { + return { + AcmCertificateArn: __expectString(output.AcmCertificateArn), + Certificate: __expectString(output.Certificate), + CertificateSource: __expectString(output.CertificateSource), + CloudFrontDefaultCertificate: __expectBoolean(output.CloudFrontDefaultCertificate), + IamCertificateId: __expectString(output.IamCertificateId), + MinimumProtocolVersion: __expectString(output.MinimumProtocolVersion), + SslSupportMethod: __expectString(output.SslSupportMethod), + } as any; +}; + const deserializeAws_restJson1AwsCloudTrailTrailDetails = ( output: any, context: __SerdeContext @@ -15584,16 +16345,55 @@ const deserializeAws_restJson1AwsCloudTrailTrailDetails = ( } as any; }; +const deserializeAws_restJson1AwsCodeBuildProjectArtifactsDetails = ( + output: any, + context: __SerdeContext +): AwsCodeBuildProjectArtifactsDetails => { + return { + ArtifactIdentifier: __expectString(output.ArtifactIdentifier), + EncryptionDisabled: __expectBoolean(output.EncryptionDisabled), + Location: __expectString(output.Location), + Name: __expectString(output.Name), + NamespaceType: __expectString(output.NamespaceType), + OverrideArtifactName: __expectBoolean(output.OverrideArtifactName), + Packaging: __expectString(output.Packaging), + Path: __expectString(output.Path), + Type: __expectString(output.Type), + } as any; +}; + +const deserializeAws_restJson1AwsCodeBuildProjectArtifactsList = ( + output: any, + context: __SerdeContext +): AwsCodeBuildProjectArtifactsDetails[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AwsCodeBuildProjectArtifactsDetails(entry, context); + }); +}; + const deserializeAws_restJson1AwsCodeBuildProjectDetails = ( output: any, context: __SerdeContext ): AwsCodeBuildProjectDetails => { return { + Artifacts: + output.Artifacts !== undefined && output.Artifacts !== null + ? deserializeAws_restJson1AwsCodeBuildProjectArtifactsList(output.Artifacts, context) + : undefined, EncryptionKey: __expectString(output.EncryptionKey), Environment: output.Environment !== undefined && output.Environment !== null ? deserializeAws_restJson1AwsCodeBuildProjectEnvironment(output.Environment, context) : undefined, + LogsConfig: + output.LogsConfig !== undefined && output.LogsConfig !== null + ? deserializeAws_restJson1AwsCodeBuildProjectLogsConfigDetails(output.LogsConfig, context) + : undefined, Name: __expectString(output.Name), ServiceRole: __expectString(output.ServiceRole), Source: @@ -15613,7 +16413,15 @@ const deserializeAws_restJson1AwsCodeBuildProjectEnvironment = ( ): AwsCodeBuildProjectEnvironment => { return { Certificate: __expectString(output.Certificate), + EnvironmentVariables: + output.EnvironmentVariables !== undefined && output.EnvironmentVariables !== null + ? deserializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesList( + output.EnvironmentVariables, + context + ) + : undefined, ImagePullCredentialsType: __expectString(output.ImagePullCredentialsType), + PrivilegedMode: __expectBoolean(output.PrivilegedMode), RegistryCredential: output.RegistryCredential !== undefined && output.RegistryCredential !== null ? deserializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential(output.RegistryCredential, context) @@ -15622,6 +16430,31 @@ const deserializeAws_restJson1AwsCodeBuildProjectEnvironment = ( } as any; }; +const deserializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails = ( + output: any, + context: __SerdeContext +): AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails => { + return { + Name: __expectString(output.Name), + Type: __expectString(output.Type), + Value: __expectString(output.Value), + } as any; +}; + +const deserializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesList = ( + output: any, + context: __SerdeContext +): AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails(entry, context); + }); +}; + const deserializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential = ( output: any, context: __SerdeContext @@ -15632,6 +16465,44 @@ const deserializeAws_restJson1AwsCodeBuildProjectEnvironmentRegistryCredential = } as any; }; +const deserializeAws_restJson1AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails = ( + output: any, + context: __SerdeContext +): AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails => { + return { + GroupName: __expectString(output.GroupName), + Status: __expectString(output.Status), + StreamName: __expectString(output.StreamName), + } as any; +}; + +const deserializeAws_restJson1AwsCodeBuildProjectLogsConfigDetails = ( + output: any, + context: __SerdeContext +): AwsCodeBuildProjectLogsConfigDetails => { + return { + CloudWatchLogs: + output.CloudWatchLogs !== undefined && output.CloudWatchLogs !== null + ? deserializeAws_restJson1AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails(output.CloudWatchLogs, context) + : undefined, + S3Logs: + output.S3Logs !== undefined && output.S3Logs !== null + ? deserializeAws_restJson1AwsCodeBuildProjectLogsConfigS3LogsDetails(output.S3Logs, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AwsCodeBuildProjectLogsConfigS3LogsDetails = ( + output: any, + context: __SerdeContext +): AwsCodeBuildProjectLogsConfigS3LogsDetails => { + return { + EncryptionDisabled: __expectBoolean(output.EncryptionDisabled), + Location: __expectString(output.Location), + Status: __expectString(output.Status), + } as any; +}; + const deserializeAws_restJson1AwsCodeBuildProjectSource = ( output: any, context: __SerdeContext @@ -16499,6 +17370,63 @@ const deserializeAws_restJson1AwsEc2VpcDetails = (output: any, context: __SerdeC } as any; }; +const deserializeAws_restJson1AwsEc2VpcEndpointServiceDetails = ( + output: any, + context: __SerdeContext +): AwsEc2VpcEndpointServiceDetails => { + return { + AcceptanceRequired: __expectBoolean(output.AcceptanceRequired), + AvailabilityZones: + output.AvailabilityZones !== undefined && output.AvailabilityZones !== null + ? deserializeAws_restJson1NonEmptyStringList(output.AvailabilityZones, context) + : undefined, + BaseEndpointDnsNames: + output.BaseEndpointDnsNames !== undefined && output.BaseEndpointDnsNames !== null + ? deserializeAws_restJson1NonEmptyStringList(output.BaseEndpointDnsNames, context) + : undefined, + GatewayLoadBalancerArns: + output.GatewayLoadBalancerArns !== undefined && output.GatewayLoadBalancerArns !== null + ? deserializeAws_restJson1NonEmptyStringList(output.GatewayLoadBalancerArns, context) + : undefined, + ManagesVpcEndpoints: __expectBoolean(output.ManagesVpcEndpoints), + NetworkLoadBalancerArns: + output.NetworkLoadBalancerArns !== undefined && output.NetworkLoadBalancerArns !== null + ? deserializeAws_restJson1NonEmptyStringList(output.NetworkLoadBalancerArns, context) + : undefined, + PrivateDnsName: __expectString(output.PrivateDnsName), + ServiceId: __expectString(output.ServiceId), + ServiceName: __expectString(output.ServiceName), + ServiceState: __expectString(output.ServiceState), + ServiceType: + output.ServiceType !== undefined && output.ServiceType !== null + ? deserializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList(output.ServiceType, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeDetails = ( + output: any, + context: __SerdeContext +): AwsEc2VpcEndpointServiceServiceTypeDetails => { + return { + ServiceType: __expectString(output.ServiceType), + } as any; +}; + +const deserializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeList = ( + output: any, + context: __SerdeContext +): AwsEc2VpcEndpointServiceServiceTypeDetails[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AwsEc2VpcEndpointServiceServiceTypeDetails(entry, context); + }); +}; + const deserializeAws_restJson1AwsEc2VpnConnectionDetails = ( output: any, context: __SerdeContext @@ -16668,6 +17596,48 @@ const deserializeAws_restJson1AwsEcrContainerImageDetails = ( } as any; }; +const deserializeAws_restJson1AwsEcrRepositoryDetails = ( + output: any, + context: __SerdeContext +): AwsEcrRepositoryDetails => { + return { + Arn: __expectString(output.Arn), + ImageScanningConfiguration: + output.ImageScanningConfiguration !== undefined && output.ImageScanningConfiguration !== null + ? deserializeAws_restJson1AwsEcrRepositoryImageScanningConfigurationDetails( + output.ImageScanningConfiguration, + context + ) + : undefined, + ImageTagMutability: __expectString(output.ImageTagMutability), + LifecyclePolicy: + output.LifecyclePolicy !== undefined && output.LifecyclePolicy !== null + ? deserializeAws_restJson1AwsEcrRepositoryLifecyclePolicyDetails(output.LifecyclePolicy, context) + : undefined, + RepositoryName: __expectString(output.RepositoryName), + RepositoryPolicyText: __expectString(output.RepositoryPolicyText), + } as any; +}; + +const deserializeAws_restJson1AwsEcrRepositoryImageScanningConfigurationDetails = ( + output: any, + context: __SerdeContext +): AwsEcrRepositoryImageScanningConfigurationDetails => { + return { + ScanOnPush: __expectBoolean(output.ScanOnPush), + } as any; +}; + +const deserializeAws_restJson1AwsEcrRepositoryLifecyclePolicyDetails = ( + output: any, + context: __SerdeContext +): AwsEcrRepositoryLifecyclePolicyDetails => { + return { + LifecyclePolicyText: __expectString(output.LifecyclePolicyText), + RegistryId: __expectString(output.RegistryId), + } as any; +}; + const deserializeAws_restJson1AwsEcsClusterClusterSettingsDetails = ( output: any, context: __SerdeContext @@ -17866,20 +18836,95 @@ const deserializeAws_restJson1AwsEcsTaskDefinitionVolumesHostDetails = ( } as any; }; -const deserializeAws_restJson1AwsEcsTaskDefinitionVolumesList = ( +const deserializeAws_restJson1AwsEcsTaskDefinitionVolumesList = ( + output: any, + context: __SerdeContext +): AwsEcsTaskDefinitionVolumesDetails[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AwsEcsTaskDefinitionVolumesDetails(entry, context); + }); +}; + +const deserializeAws_restJson1AwsEksClusterDetails = (output: any, context: __SerdeContext): AwsEksClusterDetails => { + return { + Arn: __expectString(output.Arn), + CertificateAuthorityData: __expectString(output.CertificateAuthorityData), + ClusterStatus: __expectString(output.ClusterStatus), + Endpoint: __expectString(output.Endpoint), + Logging: + output.Logging !== undefined && output.Logging !== null + ? deserializeAws_restJson1AwsEksClusterLoggingDetails(output.Logging, context) + : undefined, + Name: __expectString(output.Name), + ResourcesVpcConfig: + output.ResourcesVpcConfig !== undefined && output.ResourcesVpcConfig !== null + ? deserializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails(output.ResourcesVpcConfig, context) + : undefined, + RoleArn: __expectString(output.RoleArn), + Version: __expectString(output.Version), + } as any; +}; + +const deserializeAws_restJson1AwsEksClusterLoggingClusterLoggingDetails = ( + output: any, + context: __SerdeContext +): AwsEksClusterLoggingClusterLoggingDetails => { + return { + Enabled: __expectBoolean(output.Enabled), + Types: + output.Types !== undefined && output.Types !== null + ? deserializeAws_restJson1NonEmptyStringList(output.Types, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AwsEksClusterLoggingClusterLoggingList = ( output: any, context: __SerdeContext -): AwsEcsTaskDefinitionVolumesDetails[] => { +): AwsEksClusterLoggingClusterLoggingDetails[] => { return (output || []) .filter((e: any) => e != null) .map((entry: any) => { if (entry === null) { return null as any; } - return deserializeAws_restJson1AwsEcsTaskDefinitionVolumesDetails(entry, context); + return deserializeAws_restJson1AwsEksClusterLoggingClusterLoggingDetails(entry, context); }); }; +const deserializeAws_restJson1AwsEksClusterLoggingDetails = ( + output: any, + context: __SerdeContext +): AwsEksClusterLoggingDetails => { + return { + ClusterLogging: + output.ClusterLogging !== undefined && output.ClusterLogging !== null + ? deserializeAws_restJson1AwsEksClusterLoggingClusterLoggingList(output.ClusterLogging, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AwsEksClusterResourcesVpcConfigDetails = ( + output: any, + context: __SerdeContext +): AwsEksClusterResourcesVpcConfigDetails => { + return { + SecurityGroupIds: + output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null + ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupIds, context) + : undefined, + SubnetIds: + output.SubnetIds !== undefined && output.SubnetIds !== null + ? deserializeAws_restJson1NonEmptyStringList(output.SubnetIds, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1AwsElasticBeanstalkEnvironmentDetails = ( output: any, context: __SerdeContext @@ -18453,6 +19498,30 @@ const deserializeAws_restJson1AwsElbLoadBalancerSourceSecurityGroup = ( } as any; }; +const deserializeAws_restJson1AwsElbv2LoadBalancerAttribute = ( + output: any, + context: __SerdeContext +): AwsElbv2LoadBalancerAttribute => { + return { + Key: __expectString(output.Key), + Value: __expectString(output.Value), + } as any; +}; + +const deserializeAws_restJson1AwsElbv2LoadBalancerAttributes = ( + output: any, + context: __SerdeContext +): AwsElbv2LoadBalancerAttribute[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AwsElbv2LoadBalancerAttribute(entry, context); + }); +}; + const deserializeAws_restJson1AwsElbv2LoadBalancerDetails = ( output: any, context: __SerdeContext @@ -18466,6 +19535,10 @@ const deserializeAws_restJson1AwsElbv2LoadBalancerDetails = ( CreatedTime: __expectString(output.CreatedTime), DNSName: __expectString(output.DNSName), IpAddressType: __expectString(output.IpAddressType), + LoadBalancerAttributes: + output.LoadBalancerAttributes !== undefined && output.LoadBalancerAttributes !== null + ? deserializeAws_restJson1AwsElbv2LoadBalancerAttributes(output.LoadBalancerAttributes, context) + : undefined, Scheme: __expectString(output.Scheme), SecurityGroups: output.SecurityGroups !== undefined && output.SecurityGroups !== null @@ -18955,6 +20028,194 @@ const deserializeAws_restJson1AwsLambdaLayerVersionDetails = ( } as any; }; +const deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainClusterConfigDetails => { + return { + DedicatedMasterCount: __expectInt32(output.DedicatedMasterCount), + DedicatedMasterEnabled: __expectBoolean(output.DedicatedMasterEnabled), + DedicatedMasterType: __expectString(output.DedicatedMasterType), + InstanceCount: __expectInt32(output.InstanceCount), + InstanceType: __expectString(output.InstanceType), + WarmCount: __expectInt32(output.WarmCount), + WarmEnabled: __expectBoolean(output.WarmEnabled), + WarmType: __expectString(output.WarmType), + ZoneAwarenessConfig: + output.ZoneAwarenessConfig !== undefined && output.ZoneAwarenessConfig !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails( + output.ZoneAwarenessConfig, + context + ) + : undefined, + ZoneAwarenessEnabled: __expectBoolean(output.ZoneAwarenessEnabled), + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails => { + return { + AvailabilityZoneCount: __expectInt32(output.AvailabilityZoneCount), + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainDetails => { + return { + AccessPolicies: __expectString(output.AccessPolicies), + Arn: __expectString(output.Arn), + ClusterConfig: + output.ClusterConfig !== undefined && output.ClusterConfig !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainClusterConfigDetails(output.ClusterConfig, context) + : undefined, + DomainEndpoint: __expectString(output.DomainEndpoint), + DomainEndpointOptions: + output.DomainEndpointOptions !== undefined && output.DomainEndpointOptions !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainDomainEndpointOptionsDetails( + output.DomainEndpointOptions, + context + ) + : undefined, + DomainEndpoints: + output.DomainEndpoints !== undefined && output.DomainEndpoints !== null + ? deserializeAws_restJson1FieldMap(output.DomainEndpoints, context) + : undefined, + DomainName: __expectString(output.DomainName), + EncryptionAtRestOptions: + output.EncryptionAtRestOptions !== undefined && output.EncryptionAtRestOptions !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails( + output.EncryptionAtRestOptions, + context + ) + : undefined, + EngineVersion: __expectString(output.EngineVersion), + Id: __expectString(output.Id), + LogPublishingOptions: + output.LogPublishingOptions !== undefined && output.LogPublishingOptions !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDetails( + output.LogPublishingOptions, + context + ) + : undefined, + NodeToNodeEncryptionOptions: + output.NodeToNodeEncryptionOptions !== undefined && output.NodeToNodeEncryptionOptions !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails( + output.NodeToNodeEncryptionOptions, + context + ) + : undefined, + ServiceSoftwareOptions: + output.ServiceSoftwareOptions !== undefined && output.ServiceSoftwareOptions !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails( + output.ServiceSoftwareOptions, + context + ) + : undefined, + VpcOptions: + output.VpcOptions !== undefined && output.VpcOptions !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainVpcOptionsDetails(output.VpcOptions, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainDomainEndpointOptionsDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainDomainEndpointOptionsDetails => { + return { + CustomEndpoint: __expectString(output.CustomEndpoint), + CustomEndpointCertificateArn: __expectString(output.CustomEndpointCertificateArn), + CustomEndpointEnabled: __expectBoolean(output.CustomEndpointEnabled), + EnforceHTTPS: __expectBoolean(output.EnforceHTTPS), + TLSSecurityPolicy: __expectString(output.TLSSecurityPolicy), + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails => { + return { + Enabled: __expectBoolean(output.Enabled), + KmsKeyId: __expectString(output.KmsKeyId), + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainLogPublishingOption => { + return { + CloudWatchLogsLogGroupArn: __expectString(output.CloudWatchLogsLogGroupArn), + Enabled: __expectBoolean(output.Enabled), + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOptionsDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainLogPublishingOptionsDetails => { + return { + AuditLogs: + output.AuditLogs !== undefined && output.AuditLogs !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption(output.AuditLogs, context) + : undefined, + IndexSlowLogs: + output.IndexSlowLogs !== undefined && output.IndexSlowLogs !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption(output.IndexSlowLogs, context) + : undefined, + SearchSlowLogs: + output.SearchSlowLogs !== undefined && output.SearchSlowLogs !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainLogPublishingOption(output.SearchSlowLogs, context) + : undefined, + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails => { + return { + Enabled: __expectBoolean(output.Enabled), + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails => { + return { + AutomatedUpdateDate: __expectString(output.AutomatedUpdateDate), + Cancellable: __expectBoolean(output.Cancellable), + CurrentVersion: __expectString(output.CurrentVersion), + Description: __expectString(output.Description), + NewVersion: __expectString(output.NewVersion), + OptionalDeployment: __expectBoolean(output.OptionalDeployment), + UpdateAvailable: __expectBoolean(output.UpdateAvailable), + UpdateStatus: __expectString(output.UpdateStatus), + } as any; +}; + +const deserializeAws_restJson1AwsOpenSearchServiceDomainVpcOptionsDetails = ( + output: any, + context: __SerdeContext +): AwsOpenSearchServiceDomainVpcOptionsDetails => { + return { + SecurityGroupIds: + output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null + ? deserializeAws_restJson1NonEmptyStringList(output.SecurityGroupIds, context) + : undefined, + SubnetIds: + output.SubnetIds !== undefined && output.SubnetIds !== null + ? deserializeAws_restJson1NonEmptyStringList(output.SubnetIds, context) + : undefined, + } as any; +}; + const deserializeAws_restJson1AwsRdsDbClusterAssociatedRole = ( output: any, context: __SerdeContext @@ -20188,6 +21449,7 @@ const deserializeAws_restJson1AwsS3BucketDetails = (output: any, context: __Serd ? deserializeAws_restJson1AwsS3BucketWebsiteConfiguration(output.BucketWebsiteConfiguration, context) : undefined, CreatedAt: __expectString(output.CreatedAt), + OwnerAccountId: __expectString(output.OwnerAccountId), OwnerId: __expectString(output.OwnerId), OwnerName: __expectString(output.OwnerName), PublicAccessBlockConfiguration: @@ -21107,6 +22369,90 @@ const deserializeAws_restJson1AwsSsmPatchComplianceDetails = ( } as any; }; +const deserializeAws_restJson1AwsWafRateBasedRuleDetails = ( + output: any, + context: __SerdeContext +): AwsWafRateBasedRuleDetails => { + return { + MatchPredicates: + output.MatchPredicates !== undefined && output.MatchPredicates !== null + ? deserializeAws_restJson1AwsWafRateBasedRuleMatchPredicateList(output.MatchPredicates, context) + : undefined, + MetricName: __expectString(output.MetricName), + Name: __expectString(output.Name), + RateKey: __expectString(output.RateKey), + RateLimit: __expectLong(output.RateLimit), + RuleId: __expectString(output.RuleId), + } as any; +}; + +const deserializeAws_restJson1AwsWafRateBasedRuleMatchPredicate = ( + output: any, + context: __SerdeContext +): AwsWafRateBasedRuleMatchPredicate => { + return { + DataId: __expectString(output.DataId), + Negated: __expectBoolean(output.Negated), + Type: __expectString(output.Type), + } as any; +}; + +const deserializeAws_restJson1AwsWafRateBasedRuleMatchPredicateList = ( + output: any, + context: __SerdeContext +): AwsWafRateBasedRuleMatchPredicate[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AwsWafRateBasedRuleMatchPredicate(entry, context); + }); +}; + +const deserializeAws_restJson1AwsWafRegionalRateBasedRuleDetails = ( + output: any, + context: __SerdeContext +): AwsWafRegionalRateBasedRuleDetails => { + return { + MatchPredicates: + output.MatchPredicates !== undefined && output.MatchPredicates !== null + ? deserializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList(output.MatchPredicates, context) + : undefined, + MetricName: __expectString(output.MetricName), + Name: __expectString(output.Name), + RateKey: __expectString(output.RateKey), + RateLimit: __expectLong(output.RateLimit), + RuleId: __expectString(output.RuleId), + } as any; +}; + +const deserializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicate = ( + output: any, + context: __SerdeContext +): AwsWafRegionalRateBasedRuleMatchPredicate => { + return { + DataId: __expectString(output.DataId), + Negated: __expectBoolean(output.Negated), + Type: __expectString(output.Type), + } as any; +}; + +const deserializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicateList = ( + output: any, + context: __SerdeContext +): AwsWafRegionalRateBasedRuleMatchPredicate[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_restJson1AwsWafRegionalRateBasedRuleMatchPredicate(entry, context); + }); +}; + const deserializeAws_restJson1AwsWafWebAclDetails = (output: any, context: __SerdeContext): AwsWafWebAclDetails => { return { DefaultAction: __expectString(output.DefaultAction), @@ -21150,6 +22496,17 @@ const deserializeAws_restJson1AwsWafWebAclRuleList = (output: any, context: __Se }); }; +const deserializeAws_restJson1AwsXrayEncryptionConfigDetails = ( + output: any, + context: __SerdeContext +): AwsXrayEncryptionConfigDetails => { + return { + KeyId: __expectString(output.KeyId), + Status: __expectString(output.Status), + Type: __expectString(output.Type), + } as any; +}; + const deserializeAws_restJson1BatchUpdateFindingsUnprocessedFinding = ( output: any, context: __SerdeContext @@ -22237,6 +23594,10 @@ const deserializeAws_restJson1ResourceDetails = (output: any, context: __SerdeCo output.AwsEc2Vpc !== undefined && output.AwsEc2Vpc !== null ? deserializeAws_restJson1AwsEc2VpcDetails(output.AwsEc2Vpc, context) : undefined, + AwsEc2VpcEndpointService: + output.AwsEc2VpcEndpointService !== undefined && output.AwsEc2VpcEndpointService !== null + ? deserializeAws_restJson1AwsEc2VpcEndpointServiceDetails(output.AwsEc2VpcEndpointService, context) + : undefined, AwsEc2VpnConnection: output.AwsEc2VpnConnection !== undefined && output.AwsEc2VpnConnection !== null ? deserializeAws_restJson1AwsEc2VpnConnectionDetails(output.AwsEc2VpnConnection, context) @@ -22245,6 +23606,10 @@ const deserializeAws_restJson1ResourceDetails = (output: any, context: __SerdeCo output.AwsEcrContainerImage !== undefined && output.AwsEcrContainerImage !== null ? deserializeAws_restJson1AwsEcrContainerImageDetails(output.AwsEcrContainerImage, context) : undefined, + AwsEcrRepository: + output.AwsEcrRepository !== undefined && output.AwsEcrRepository !== null + ? deserializeAws_restJson1AwsEcrRepositoryDetails(output.AwsEcrRepository, context) + : undefined, AwsEcsCluster: output.AwsEcsCluster !== undefined && output.AwsEcsCluster !== null ? deserializeAws_restJson1AwsEcsClusterDetails(output.AwsEcsCluster, context) @@ -22257,6 +23622,10 @@ const deserializeAws_restJson1ResourceDetails = (output: any, context: __SerdeCo output.AwsEcsTaskDefinition !== undefined && output.AwsEcsTaskDefinition !== null ? deserializeAws_restJson1AwsEcsTaskDefinitionDetails(output.AwsEcsTaskDefinition, context) : undefined, + AwsEksCluster: + output.AwsEksCluster !== undefined && output.AwsEksCluster !== null + ? deserializeAws_restJson1AwsEksClusterDetails(output.AwsEksCluster, context) + : undefined, AwsElasticBeanstalkEnvironment: output.AwsElasticBeanstalkEnvironment !== undefined && output.AwsElasticBeanstalkEnvironment !== null ? deserializeAws_restJson1AwsElasticBeanstalkEnvironmentDetails(output.AwsElasticBeanstalkEnvironment, context) @@ -22305,6 +23674,10 @@ const deserializeAws_restJson1ResourceDetails = (output: any, context: __SerdeCo output.AwsLambdaLayerVersion !== undefined && output.AwsLambdaLayerVersion !== null ? deserializeAws_restJson1AwsLambdaLayerVersionDetails(output.AwsLambdaLayerVersion, context) : undefined, + AwsOpenSearchServiceDomain: + output.AwsOpenSearchServiceDomain !== undefined && output.AwsOpenSearchServiceDomain !== null + ? deserializeAws_restJson1AwsOpenSearchServiceDomainDetails(output.AwsOpenSearchServiceDomain, context) + : undefined, AwsRdsDbCluster: output.AwsRdsDbCluster !== undefined && output.AwsRdsDbCluster !== null ? deserializeAws_restJson1AwsRdsDbClusterDetails(output.AwsRdsDbCluster, context) @@ -22357,10 +23730,22 @@ const deserializeAws_restJson1ResourceDetails = (output: any, context: __SerdeCo output.AwsSsmPatchCompliance !== undefined && output.AwsSsmPatchCompliance !== null ? deserializeAws_restJson1AwsSsmPatchComplianceDetails(output.AwsSsmPatchCompliance, context) : undefined, + AwsWafRateBasedRule: + output.AwsWafRateBasedRule !== undefined && output.AwsWafRateBasedRule !== null + ? deserializeAws_restJson1AwsWafRateBasedRuleDetails(output.AwsWafRateBasedRule, context) + : undefined, + AwsWafRegionalRateBasedRule: + output.AwsWafRegionalRateBasedRule !== undefined && output.AwsWafRegionalRateBasedRule !== null + ? deserializeAws_restJson1AwsWafRegionalRateBasedRuleDetails(output.AwsWafRegionalRateBasedRule, context) + : undefined, AwsWafWebAcl: output.AwsWafWebAcl !== undefined && output.AwsWafWebAcl !== null ? deserializeAws_restJson1AwsWafWebAclDetails(output.AwsWafWebAcl, context) : undefined, + AwsXrayEncryptionConfig: + output.AwsXrayEncryptionConfig !== undefined && output.AwsXrayEncryptionConfig !== null + ? deserializeAws_restJson1AwsXrayEncryptionConfigDetails(output.AwsXrayEncryptionConfig, context) + : undefined, Container: output.Container !== undefined && output.Container !== null ? deserializeAws_restJson1ContainerDetails(output.Container, context) diff --git a/clients/client-serverlessapplicationrepository/src/endpoints.ts b/clients/client-serverlessapplicationrepository/src/endpoints.ts index 753b5f2acf62..2e11a8c84c6a 100644 --- a/clients/client-serverlessapplicationrepository/src/endpoints.ts +++ b/clients/client-serverlessapplicationrepository/src/endpoints.ts @@ -44,7 +44,7 @@ const partitionHash: PartitionHash = { hostname: "serverlessrepo.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "serverlessrepo.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-service-catalog-appregistry/src/endpoints.ts b/clients/client-service-catalog-appregistry/src/endpoints.ts index aa7ce27deb8f..6a7ad6cf4ad7 100644 --- a/clients/client-service-catalog-appregistry/src/endpoints.ts +++ b/clients/client-service-catalog-appregistry/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "servicecatalog-appregistry.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "servicecatalog-appregistry.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-service-catalog/src/endpoints.ts b/clients/client-service-catalog/src/endpoints.ts index 37350a45fd5f..3aa0b038a17b 100644 --- a/clients/client-service-catalog/src/endpoints.ts +++ b/clients/client-service-catalog/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "servicecatalog.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "servicecatalog.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-service-quotas/src/endpoints.ts b/clients/client-service-quotas/src/endpoints.ts index 1299c34af2a7..49dee260c6cb 100644 --- a/clients/client-service-quotas/src/endpoints.ts +++ b/clients/client-service-quotas/src/endpoints.ts @@ -44,7 +44,7 @@ const partitionHash: PartitionHash = { hostname: "servicequotas.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "servicequotas.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-servicediscovery/src/endpoints.ts b/clients/client-servicediscovery/src/endpoints.ts index ff6a69070d9f..7aeb3428f8c8 100644 --- a/clients/client-servicediscovery/src/endpoints.ts +++ b/clients/client-servicediscovery/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "servicediscovery.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "servicediscovery.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ses/src/endpoints.ts b/clients/client-ses/src/endpoints.ts index 53f0459c9852..c90ae1f9b1ad 100644 --- a/clients/client-ses/src/endpoints.ts +++ b/clients/client-ses/src/endpoints.ts @@ -40,7 +40,7 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "email.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sesv2/src/endpoints.ts b/clients/client-sesv2/src/endpoints.ts index 53f0459c9852..c90ae1f9b1ad 100644 --- a/clients/client-sesv2/src/endpoints.ts +++ b/clients/client-sesv2/src/endpoints.ts @@ -40,7 +40,7 @@ const partitionHash: PartitionHash = { hostname: "email.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "email.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sfn/src/endpoints.ts b/clients/client-sfn/src/endpoints.ts index ea6acb229c5e..a7ab43bc8ff5 100644 --- a/clients/client-sfn/src/endpoints.ts +++ b/clients/client-sfn/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "states.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "states.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-shield/src/endpoints.ts b/clients/client-shield/src/endpoints.ts index 9b2483afe945..95022f6b85bc 100644 --- a/clients/client-shield/src/endpoints.ts +++ b/clients/client-shield/src/endpoints.ts @@ -46,7 +46,7 @@ const partitionHash: PartitionHash = { hostname: "shield.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "shield.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-signer/src/endpoints.ts b/clients/client-signer/src/endpoints.ts index 06bf464c9f0e..d6a34d02cd52 100644 --- a/clients/client-signer/src/endpoints.ts +++ b/clients/client-signer/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "signer.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "signer.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sms/src/endpoints.ts b/clients/client-sms/src/endpoints.ts index 405ec0ecb20b..07f7ddf7fdac 100644 --- a/clients/client-sms/src/endpoints.ts +++ b/clients/client-sms/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "sms.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "sms.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-snow-device-management/src/endpoints.ts b/clients/client-snow-device-management/src/endpoints.ts index b368e8673c3e..40949d16ada0 100644 --- a/clients/client-snow-device-management/src/endpoints.ts +++ b/clients/client-snow-device-management/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "snow-device-management.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "snow-device-management.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-snowball/src/endpoints.ts b/clients/client-snowball/src/endpoints.ts index 4147444fb54c..1810944024dc 100644 --- a/clients/client-snowball/src/endpoints.ts +++ b/clients/client-snowball/src/endpoints.ts @@ -132,7 +132,7 @@ const partitionHash: PartitionHash = { hostname: "snowball.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "snowball.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sns/src/endpoints.ts b/clients/client-sns/src/endpoints.ts index edd8619d9d87..88363a425b2b 100644 --- a/clients/client-sns/src/endpoints.ts +++ b/clients/client-sns/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "sns.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "sns.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sqs/src/endpoints.ts b/clients/client-sqs/src/endpoints.ts index fe4cef95b779..358b5e4c924f 100644 --- a/clients/client-sqs/src/endpoints.ts +++ b/clients/client-sqs/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "sqs.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "sqs.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ssm-contacts/src/endpoints.ts b/clients/client-ssm-contacts/src/endpoints.ts index c75e34e74408..97c91a490db2 100644 --- a/clients/client-ssm-contacts/src/endpoints.ts +++ b/clients/client-ssm-contacts/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "ssm-contacts.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ssm-contacts.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ssm-incidents/src/endpoints.ts b/clients/client-ssm-incidents/src/endpoints.ts index 06268bc1b96d..4fa376d48691 100644 --- a/clients/client-ssm-incidents/src/endpoints.ts +++ b/clients/client-ssm-incidents/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "ssm-incidents.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ssm-incidents.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-ssm/src/endpoints.ts b/clients/client-ssm/src/endpoints.ts index 8190f6cc43b0..48fbf3ca054e 100644 --- a/clients/client-ssm/src/endpoints.ts +++ b/clients/client-ssm/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "ssm.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ssm.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sso-admin/src/endpoints.ts b/clients/client-sso-admin/src/endpoints.ts index f0c66203c0d7..d4ffd6f68f0c 100644 --- a/clients/client-sso-admin/src/endpoints.ts +++ b/clients/client-sso-admin/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "sso.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "sso.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sso-oidc/src/endpoints.ts b/clients/client-sso-oidc/src/endpoints.ts index 7b5d339f91a0..db7170c044e3 100644 --- a/clients/client-sso-oidc/src/endpoints.ts +++ b/clients/client-sso-oidc/src/endpoints.ts @@ -100,7 +100,7 @@ const partitionHash: PartitionHash = { hostname: "oidc.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "oidc.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-sso/src/endpoints.ts b/clients/client-sso/src/endpoints.ts index d01ae7b877ed..ad5841a0e264 100644 --- a/clients/client-sso/src/endpoints.ts +++ b/clients/client-sso/src/endpoints.ts @@ -72,7 +72,7 @@ const partitionHash: PartitionHash = { hostname: "portal.sso.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "portal.sso.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-storage-gateway/README.md b/clients/client-storage-gateway/README.md index ae4204a5d70b..34474212f961 100644 --- a/clients/client-storage-gateway/README.md +++ b/clients/client-storage-gateway/README.md @@ -9,14 +9,13 @@ AWS SDK for JavaScript StorageGateway Client for Node.js, Browser and React Nati Storage Gateway Service -

                  Storage Gateway is the service that connects an on-premises software appliance with -cloud-based storage to provide seamless and secure integration between an -organization's on-premises IT environment and the Amazon Web Services storage infrastructure. The -service enables you to securely upload data to the Cloud for cost effective backup and -rapid disaster recovery.

                  +

                  Storage Gateway is the service that connects an on-premises software appliance +with cloud-based storage to provide seamless and secure integration between an +organization's on-premises IT environment and the Amazon Web Services storage +infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

                  -

                  Use the following links to get started using the Storage Gateway Service -API Reference:

                  +

                  Use the following links to get started using the Storage Gateway +Service API Reference:

                  • @@ -31,36 +30,33 @@ every request you send; this topic describes how sign such a request.

                  • -Error responses: Provides reference information about Storage Gateway -errors.

                    +Error responses: Provides reference information about Storage Gateway errors.

                  • -Operations in -Storage Gateway: Contains detailed descriptions of all Storage Gateway -operations, their request parameters, response elements, possible errors, and +Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses.

                  • Storage Gateway -endpoints and quotas: Provides a list of each Region and the endpoints -available for use with Storage Gateway.

                    +endpoints and quotas: Provides a list of each Amazon Web Services Region +and the endpoints available for use with Storage Gateway.

                  Storage Gateway resource IDs are in uppercase. When you use these resource IDs -with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change your -resource ID to lowercase to use it with the EC2 API. For example, in Storage Gateway the -ID for a volume might be vol-AA22BB012345DAF670. When you use this ID with -the EC2 API, you must change it to vol-aa22bb012345daf670. Otherwise, the -EC2 API might not behave as expected.

                  +with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change +your resource ID to lowercase to use it with the EC2 API. For example, in Storage +Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use +this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. +Otherwise, the EC2 API might not behave as expected.

                  -

                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes -are changing to a longer format. Starting in December 2016, all new volumes and +

                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway +volumes are changing to a longer format. Starting in December 2016, all new volumes and snapshots will be created with a 17-character string. Starting in April 2016, you will be able to use these longer IDs so you can test your systems with the new format. For more information, see Longer EC2 and diff --git a/clients/client-storage-gateway/src/StorageGateway.ts b/clients/client-storage-gateway/src/StorageGateway.ts index d2ae416dbe4e..b92ea90c58ea 100644 --- a/clients/client-storage-gateway/src/StorageGateway.ts +++ b/clients/client-storage-gateway/src/StorageGateway.ts @@ -402,6 +402,11 @@ import { UpdateSMBFileShareVisibilityCommandInput, UpdateSMBFileShareVisibilityCommandOutput, } from "./commands/UpdateSMBFileShareVisibilityCommand"; +import { + UpdateSMBLocalGroupsCommand, + UpdateSMBLocalGroupsCommandInput, + UpdateSMBLocalGroupsCommandOutput, +} from "./commands/UpdateSMBLocalGroupsCommand"; import { UpdateSMBSecurityStrategyCommand, UpdateSMBSecurityStrategyCommandInput, @@ -422,14 +427,13 @@ import { StorageGatewayClient } from "./StorageGatewayClient"; /** * Storage Gateway Service * - *

                  Storage Gateway is the service that connects an on-premises software appliance with - * cloud-based storage to provide seamless and secure integration between an - * organization's on-premises IT environment and the Amazon Web Services storage infrastructure. The - * service enables you to securely upload data to the Cloud for cost effective backup and - * rapid disaster recovery.

                  + *

                  Storage Gateway is the service that connects an on-premises software appliance + * with cloud-based storage to provide seamless and secure integration between an + * organization's on-premises IT environment and the Amazon Web Services storage + * infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

                  * - *

                  Use the following links to get started using the Storage Gateway Service - * API Reference:

                  + *

                  Use the following links to get started using the Storage Gateway + * Service API Reference:

                  * *
                  * * *

                  Storage Gateway resource IDs are in uppercase. When you use these resource IDs - * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change your - * resource ID to lowercase to use it with the EC2 API. For example, in Storage Gateway the - * ID for a volume might be vol-AA22BB012345DAF670. When you use this ID with - * the EC2 API, you must change it to vol-aa22bb012345daf670. Otherwise, the - * EC2 API might not behave as expected.

                  + * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change + * your resource ID to lowercase to use it with the EC2 API. For example, in Storage + * Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use + * this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. + * Otherwise, the EC2 API might not behave as expected.

                  *
                  * * - *

                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes - * are changing to a longer format. Starting in December 2016, all new volumes and + *

                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway + * volumes are changing to a longer format. Starting in December 2016, all new volumes and * snapshots will be created with a 17-character string. Starting in April 2016, you will * be able to use these longer IDs so you can test your systems with the new format. For * more information, see Longer EC2 and @@ -489,17 +490,17 @@ import { StorageGatewayClient } from "./StorageGatewayClient"; * snap-78e226633445566ee.

                  * *

                  For more information, see Announcement: - * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in + * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in * 2016.

                  *
                  */ export class StorageGateway extends StorageGatewayClient { /** *

                  Activates the gateway you previously deployed on your host. In the activation process, - * you specify information such as the Region that you want to use for storing snapshots - * or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an - * activation key, and a name for your gateway. The activation process also associates your - * gateway with your account. For more information, see UpdateGatewayInformation.

                  + * you specify information such as the Amazon Web Services Region that you want to use for + * storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot + * schedule window, an activation key, and a name for your gateway. The activation process + * also associates your gateway with your account. For more information, see UpdateGatewayInformation.

                  * *

                  You must turn on the gateway VM before you can activate your gateway.

                  *
                  @@ -742,8 +743,8 @@ export class StorageGateway extends StorageGatewayClient { /** *

                  Associate an Amazon FSx file system with the FSx File Gateway. After the * association process is complete, the file shares on the Amazon FSx file system are - * available for access through the gateway. This operation only supports the FSx File - * Gateway type.

                  + * available for access through the gateway. This operation only supports the FSx File Gateway + * type.

                  */ public associateFileSystem( args: AssociateFileSystemCommandInput, @@ -923,20 +924,22 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Creates a Network File System (NFS) file share on an existing S3 File Gateway. In Storage - * Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. - * Storage Gateway exposes file shares using an NFS interface. This operation is only - * supported for S3 File Gateways.

                  + *

                  Creates a Network File System (NFS) file share on an existing S3 File Gateway. In + * Storage Gateway, a file share is a file system mount point backed by Amazon S3 + * cloud storage. Storage Gateway exposes file shares using an NFS interface. This operation + * is only supported for S3 File Gateways.

                  * * - *

                  S3 File gateway requires Security Token Service (STS) to be activated to enable - * you to create a file share. Make sure STS is activated in the Region you are - * creating your S3 File Gateway in. If STS is not activated in the Region, activate - * it. For information about how to activate STS, see Activating and - * deactivating STS in an Region in the - * Identity and Access Management User Guide.

                  - * - *

                  S3 File Gateways do not support creating hard or symbolic links on a file share.

                  + *

                  S3 File gateway requires Security Token Service (Amazon Web Services STS) to be + * activated to enable you to create a file share. Make sure Amazon Web Services STS is + * activated in the Amazon Web Services Region you are creating your S3 File Gateway in. If + * Amazon Web Services STS is not activated in the Amazon Web Services Region, activate + * it. For information about how to activate Amazon Web Services STS, see Activating and + * deactivating Amazon Web Services STS in an Amazon Web Services Region in the + * Identity and Access Management User Guide.

                  + * + *

                  S3 File Gateways do not support creating hard or symbolic links on a file + * share.

                  *
                  */ public createNFSFileShare( @@ -969,18 +972,19 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Creates a Server Message Block (SMB) file share on an existing S3 File Gateway. In Storage - * Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. - * Storage Gateway exposes file shares using an SMB interface. This operation is only - * supported for S3 File Gateways.

                  + *

                  Creates a Server Message Block (SMB) file share on an existing S3 File Gateway. In + * Storage Gateway, a file share is a file system mount point backed by Amazon S3 + * cloud storage. Storage Gateway exposes file shares using an SMB interface. This operation + * is only supported for S3 File Gateways.

                  * * - *

                  S3 File Gateways require Security Token Service (STS) to be activated to enable - * you to create a file share. Make sure that STS is activated in the Region you - * are creating your S3 File Gateway in. If STS is not activated in this Region, - * activate it. For information about how to activate STS, see Activating and - * deactivating STS in an Region in the - * Identity and Access Management User Guide.

                  + *

                  S3 File Gateways require Security Token Service (Amazon Web Services STS) to be + * activated to enable you to create a file share. Make sure that Amazon Web Services STS + * is activated in the Amazon Web Services Region you are creating your S3 File Gateway in. + * If Amazon Web Services STS is not activated in this Amazon Web Services Region, activate + * it. For information about how to activate Amazon Web Services STS, see Activating and + * deactivating Amazon Web Services STS in an Amazon Web Services Region in the + * Identity and Access Management User Guide.

                  * *

                  File gateways don't support creating hard or symbolic links on a file * share.

                  @@ -1018,20 +1022,20 @@ export class StorageGateway extends StorageGatewayClient { /** *

                  Initiates a snapshot of a volume.

                  * - *

                  Storage Gateway provides the ability to back up point-in-time snapshots of your data - * to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also import the - * data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). - * You can take snapshots of your gateway volume on a scheduled or ad hoc basis. This API - * enables you to take an ad hoc snapshot. For more information, see Editing a + *

                  Storage Gateway provides the ability to back up point-in-time snapshots of your + * data to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also + * import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute + * Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad hoc basis. + * This API enables you to take an ad hoc snapshot. For more information, see Editing a * snapshot schedule.

                  * *

                  In the CreateSnapshot request, you identify the volume by providing its * Amazon Resource Name (ARN). You must also provide description for the snapshot. When - * Storage Gateway takes the snapshot of specified volume, the snapshot and description - * appears in the Storage Gateway console. In response, Storage Gateway returns you a - * snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it - * when you want to create a volume from a snapshot. This operation is only supported in - * stored and cached volume gateway type.

                  + * Storage Gateway takes the snapshot of specified volume, the snapshot and + * description appears in the Storage Gateway console. In response, Storage Gateway + * returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or + * later use it when you want to create a volume from a snapshot. This operation is only + * supported in stored and cached volume gateway type.

                  * * *

                  To list or delete a snapshot, you must use the Amazon EC2 API. For more information, @@ -1381,8 +1385,8 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Deletes a file share from an S3 File Gateway. This operation is only supported for S3 File - * Gateways.

                  + *

                  Deletes a file share from an S3 File Gateway. This operation is only supported for S3 + * File Gateways.

                  */ public deleteFileShare( args: DeleteFileShareCommandInput, @@ -1717,27 +1721,22 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  - * Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do - * not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This - * operation is supported only in the volume and tape gateway types. - *

                  + *

                  Returns information about the bandwidth rate limit schedule of a gateway. By default, + * gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting + * is in effect. This operation is supported only in the volume and tape gateway types.

                  * - *

                  This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth - * rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit - * interval defines a period of time on one or more days of the week, during which bandwidth rate - * limits are specified for uploading, downloading, or both. - *

                  + *

                  This operation returns information about a gateway's bandwidth rate limit schedule. A + * bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A + * bandwidth rate limit interval defines a period of time on one or more days of the week, + * during which bandwidth rate limits are specified for uploading, downloading, or both.

                  * - *

                  - * A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, - * an ending hour and minute, and bandwidth rate limits for uploading and downloading - *

                  + *

                  A bandwidth rate limit interval consists of one or more days of the week, a start hour + * and minute, an ending hour and minute, and bandwidth rate limits for uploading and + * downloading

                  * - *

                  - * If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an - * empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN) - * of the gateway in your request.

                  + *

                  If no bandwidth rate limit schedule intervals are set for the gateway, this operation + * returns an empty response. To specify which gateway to describe, use the Amazon Resource + * Name (ARN) of the gateway in your request.

                  */ public describeBandwidthRateLimitSchedule( args: DescribeBandwidthRateLimitScheduleCommandInput, @@ -1809,7 +1808,7 @@ export class StorageGateway extends StorageGatewayClient { * only supported in the cached volume gateway types.

                  * *

                  The list of gateway volumes in the request must be from one gateway. In the response, - * Storage Gateway returns volume information sorted by volume Amazon Resource Name + * Storage Gateway returns volume information sorted by volume Amazon Resource Name * (ARN).

                  */ public describeCachediSCSIVolumes( @@ -1876,8 +1875,8 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Gets the file system association information. This operation is only supported for - * FSx File Gateways.

                  + *

                  Gets the file system association information. This operation is only supported for FSx + * File Gateways.

                  */ public describeFileSystemAssociations( args: DescribeFileSystemAssociationsCommandInput, @@ -2111,8 +2110,8 @@ export class StorageGateway extends StorageGatewayClient { /** *

                  Returns the description of the gateway volumes specified in the request. The list of - * gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported - * in stored volume gateway type.

                  + * gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only + * supported in stored volume gateway type.

                  */ public describeStorediSCSIVolumes( args: DescribeStorediSCSIVolumesCommandInput, @@ -2440,8 +2439,8 @@ export class StorageGateway extends StorageGatewayClient { /** *

                  Disassociates an Amazon FSx file system from the specified gateway. After the - * disassociation process finishes, the gateway can no longer access the Amazon FSx file - * system. This operation is only supported in the FSx File Gateway type.

                  + * disassociation process finishes, the gateway can no longer access the Amazon FSx + * file system. This operation is only supported in the FSx File Gateway type.

                  */ public disassociateFileSystem( args: DisassociateFileSystemCommandInput, @@ -2535,8 +2534,9 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Gets a list of the file shares for a specific S3 File Gateway, or the list of file shares - * that belong to the calling user account. This operation is only supported for S3 File Gateways.

                  + *

                  Gets a list of the file shares for a specific S3 File Gateway, or the list of file + * shares that belong to the calling user account. This operation is only supported for S3 + * File Gateways.

                  */ public listFileShares( args: ListFileSharesCommandInput, @@ -2602,8 +2602,9 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Lists gateways owned by an account in an Region specified in the request. The - * returned list is ordered by gateway Amazon Resource Name (ARN).

                  + *

                  Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region + * specified in the request. The returned list is ordered by gateway Amazon Resource Name + * (ARN).

                  * *

                  By default, the operation returns a maximum of 100 gateways. This operation supports * pagination that allows you to optionally reduce the number of gateways returned in a @@ -2900,12 +2901,10 @@ export class StorageGateway extends StorageGatewayClient { * share have been uploaded to Amazon S3.

                  * *

                  Storage Gateway can send a notification through Amazon CloudWatch Events when all - * files written to your file share up to that point in time have been uploaded to Amazon S3. - * These files include files written to the file share up to the time that you make a request - * for notification. When the upload is done, Storage Gateway sends you notification through - * an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification - * through event targets such as Amazon SNS or Lambda function. - * This operation is only supported for S3 File Gateways.

                  + * files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you + * make a request for notification. When the upload is done, Storage Gateway sends you + * notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to + * send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways.

                  * * * @@ -2943,15 +2942,14 @@ export class StorageGateway extends StorageGatewayClient { /** *

                  Refreshes the cached inventory of objects for the specified file share. This operation - * finds objects in the Amazon S3 bucket that were added, removed, or replaced since the - * gateway last listed the bucket's contents and cached the results. This operation does - * not import files into the S3 File Gateway cache storage. It only updates the cached inventory - * to reflect changes in the inventory of the objects in the S3 bucket. This operation is only - * supported in the S3 File Gateway types.

                  - *

                  You can subscribe to be notified through an Amazon - * CloudWatch event when your RefreshCache operation completes. For more - * information, see Getting notified about file operations in the Storage Gateway - * User Guide. This operation is Only supported for S3 File Gateways.

                  + * finds objects in the Amazon S3 bucket that were added, removed, or replaced since + * the gateway last listed the bucket's contents and cached the results. This operation + * does not import files into the S3 File Gateway cache storage. It only updates the cached + * inventory to reflect changes in the inventory of the objects in the S3 bucket. This + * operation is only supported in the S3 File Gateway types.

                  + *

                  You can subscribe to be notified through an Amazon CloudWatch event when your + * RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway + * User Guide. This operation is Only supported for S3 File Gateways.

                  * *

                  When this API is called, it only initiates the refresh operation. When the API call * completes and returns a success code, it doesn't necessarily mean that the file @@ -3043,9 +3041,9 @@ export class StorageGateway extends StorageGatewayClient { * * *

                  If the cache disk you are resetting contains data that has not been uploaded to - * Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no - * configured cache disks left in the gateway, so you must configure at least one new cache - * disk for your gateway to function properly.

                  + * Amazon S3 yet, that data can be lost. After you reset cache disks, there will + * be no configured cache disks left in the gateway, so you must configure at least one new + * cache disk for your gateway to function properly.

                  *
                  */ public resetCache(args: ResetCacheCommandInput, options?: __HttpHandlerOptions): Promise; @@ -3191,7 +3189,7 @@ export class StorageGateway extends StorageGatewayClient { /** *

                  Sets the password for the guest user smbguest. The smbguest * user is the user when the authentication method for the file share is set to - * GuestAccess. This operation only supported for S3 File Gateways

                  + * GuestAccess. This operation only supported for S3 File Gateways

                  */ public setSMBGuestPassword( args: SetSMBGuestPasswordCommandInput, @@ -3440,12 +3438,10 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  - * Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do - * not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. - * Use this to initiate or update a gateway's bandwidth rate limit schedule. - * This operation is supported in the volume and tape gateway types. - *

                  + *

                  Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways + * do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in + * effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This + * operation is supported in the volume and tape gateway types.

                  */ public updateBandwidthRateLimitSchedule( args: UpdateBandwidthRateLimitScheduleCommandInput, @@ -3517,7 +3513,8 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Updates a file system association. This operation is only supported in the FSx File Gateways.

                  + *

                  Updates a file system association. This operation is only supported in the FSx File + * Gateways.

                  */ public updateFileSystemAssociation( args: UpdateFileSystemAssociationCommandInput, @@ -3669,7 +3666,8 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Updates a Network File System (NFS) file share. This operation is only supported in S3 File Gateways.

                  + *

                  Updates a Network File System (NFS) file share. This operation is only supported in S3 + * File Gateways.

                  * * *

                  To leave a file share field unchanged, set the corresponding input field to @@ -3726,8 +3724,8 @@ export class StorageGateway extends StorageGatewayClient { } /** - *

                  Updates a Server Message Block (SMB) file share. This operation is only supported for - * S3 File Gateways.

                  + *

                  Updates a Server Message Block (SMB) file share. This operation is only supported for S3 + * File Gateways.

                  * * *

                  To leave a file share field unchanged, set the corresponding input field to @@ -3735,12 +3733,13 @@ export class StorageGateway extends StorageGatewayClient { * * * - *

                  File gateways require Security Token Service (STS) to be activated to enable - * you to create a file share. Make sure that STS is activated in the Region you - * are creating your file gateway in. If STS is not activated in this Region, - * activate it. For information about how to activate STS, see Activating and - * deactivating STS in an Region in the Identity and Access Management - * User Guide.

                  + *

                  File gateways require Security Token Service (Amazon Web Services STS) to be + * activated to enable you to create a file share. Make sure that Amazon Web Services STS + * is activated in the Amazon Web Services Region you are creating your file gateway in. If + * Amazon Web Services STS is not activated in this Amazon Web Services Region, activate + * it. For information about how to activate Amazon Web Services STS, see Activating and + * deactivating Amazon Web Services STS in an Amazon Web Services Region in the + * Identity and Access Management User Guide.

                  * *

                  File gateways don't support creating hard or symbolic links on a file * share.

                  @@ -3808,6 +3807,39 @@ export class StorageGateway extends StorageGatewayClient { } } + /** + *

                  Updates the list of Active Directory users and groups that have special permissions for + * SMB file shares on the gateway.

                  + */ + public updateSMBLocalGroups( + args: UpdateSMBLocalGroupsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateSMBLocalGroups( + args: UpdateSMBLocalGroupsCommandInput, + cb: (err: any, data?: UpdateSMBLocalGroupsCommandOutput) => void + ): void; + public updateSMBLocalGroups( + args: UpdateSMBLocalGroupsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateSMBLocalGroupsCommandOutput) => void + ): void; + public updateSMBLocalGroups( + args: UpdateSMBLocalGroupsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSMBLocalGroupsCommandOutput) => void), + cb?: (err: any, data?: UpdateSMBLocalGroupsCommandOutput) => void + ): Promise | void { + const command = new UpdateSMBLocalGroupsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Updates the SMB security strategy on a file gateway. This action is only supported in * file gateways.

                  diff --git a/clients/client-storage-gateway/src/StorageGatewayClient.ts b/clients/client-storage-gateway/src/StorageGatewayClient.ts index ff7ae74148ee..45eb68abfa4a 100644 --- a/clients/client-storage-gateway/src/StorageGatewayClient.ts +++ b/clients/client-storage-gateway/src/StorageGatewayClient.ts @@ -276,6 +276,10 @@ import { UpdateSMBFileShareVisibilityCommandInput, UpdateSMBFileShareVisibilityCommandOutput, } from "./commands/UpdateSMBFileShareVisibilityCommand"; +import { + UpdateSMBLocalGroupsCommandInput, + UpdateSMBLocalGroupsCommandOutput, +} from "./commands/UpdateSMBLocalGroupsCommand"; import { UpdateSMBSecurityStrategyCommandInput, UpdateSMBSecurityStrategyCommandOutput, @@ -377,6 +381,7 @@ export type ServiceInputTypes = | UpdateNFSFileShareCommandInput | UpdateSMBFileShareCommandInput | UpdateSMBFileShareVisibilityCommandInput + | UpdateSMBLocalGroupsCommandInput | UpdateSMBSecurityStrategyCommandInput | UpdateSnapshotScheduleCommandInput | UpdateVTLDeviceTypeCommandInput; @@ -468,6 +473,7 @@ export type ServiceOutputTypes = | UpdateNFSFileShareCommandOutput | UpdateSMBFileShareCommandOutput | UpdateSMBFileShareVisibilityCommandOutput + | UpdateSMBLocalGroupsCommandOutput | UpdateSMBSecurityStrategyCommandOutput | UpdateSnapshotScheduleCommandOutput | UpdateVTLDeviceTypeCommandOutput; @@ -613,14 +619,13 @@ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClient /** * Storage Gateway Service * - *

                  Storage Gateway is the service that connects an on-premises software appliance with - * cloud-based storage to provide seamless and secure integration between an - * organization's on-premises IT environment and the Amazon Web Services storage infrastructure. The - * service enables you to securely upload data to the Cloud for cost effective backup and - * rapid disaster recovery.

                  + *

                  Storage Gateway is the service that connects an on-premises software appliance + * with cloud-based storage to provide seamless and secure integration between an + * organization's on-premises IT environment and the Amazon Web Services storage + * infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.

                  * - *

                  Use the following links to get started using the Storage Gateway Service - * API Reference:

                  + *

                  Use the following links to get started using the Storage Gateway + * Service API Reference:

                  * *
                    *
                  • @@ -635,36 +640,33 @@ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClient *
                  • *
                  • *

                    - * Error responses: Provides reference information about Storage Gateway - * errors.

                    + * Error responses: Provides reference information about Storage Gateway errors.

                    *
                  • *
                  • *

                    - * Operations in - * Storage Gateway: Contains detailed descriptions of all Storage Gateway - * operations, their request parameters, response elements, possible errors, and + * Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and * examples of requests and responses.

                    *
                  • *
                  • *

                    * Storage Gateway - * endpoints and quotas: Provides a list of each Region and the endpoints - * available for use with Storage Gateway.

                    + * endpoints and quotas: Provides a list of each Amazon Web Services Region + * and the endpoints available for use with Storage Gateway.

                    *
                  • *
                  * * *

                  Storage Gateway resource IDs are in uppercase. When you use these resource IDs - * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change your - * resource ID to lowercase to use it with the EC2 API. For example, in Storage Gateway the - * ID for a volume might be vol-AA22BB012345DAF670. When you use this ID with - * the EC2 API, you must change it to vol-aa22bb012345daf670. Otherwise, the - * EC2 API might not behave as expected.

                  + * with the Amazon EC2 API, EC2 expects resource IDs in lowercase. You must change + * your resource ID to lowercase to use it with the EC2 API. For example, in Storage + * Gateway the ID for a volume might be vol-AA22BB012345DAF670. When you use + * this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. + * Otherwise, the EC2 API might not behave as expected.

                  *
                  * * - *

                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes - * are changing to a longer format. Starting in December 2016, all new volumes and + *

                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway + * volumes are changing to a longer format. Starting in December 2016, all new volumes and * snapshots will be created with a 17-character string. Starting in April 2016, you will * be able to use these longer IDs so you can test your systems with the new format. For * more information, see Longer EC2 and @@ -680,7 +682,7 @@ export interface StorageGatewayClientResolvedConfig extends StorageGatewayClient * snap-78e226633445566ee.

                  * *

                  For more information, see Announcement: - * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in + * Heads-up – Longer Storage Gateway volume and snapshot IDs coming in * 2016.

                  *
                  */ diff --git a/clients/client-storage-gateway/src/commands/ActivateGatewayCommand.ts b/clients/client-storage-gateway/src/commands/ActivateGatewayCommand.ts index f3a9582a92f6..2f1cdc497601 100644 --- a/clients/client-storage-gateway/src/commands/ActivateGatewayCommand.ts +++ b/clients/client-storage-gateway/src/commands/ActivateGatewayCommand.ts @@ -23,10 +23,10 @@ export interface ActivateGatewayCommandOutput extends ActivateGatewayOutput, __M /** *

                  Activates the gateway you previously deployed on your host. In the activation process, - * you specify information such as the Region that you want to use for storing snapshots - * or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an - * activation key, and a name for your gateway. The activation process also associates your - * gateway with your account. For more information, see UpdateGatewayInformation.

                  + * you specify information such as the Amazon Web Services Region that you want to use for + * storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot + * schedule window, an activation key, and a name for your gateway. The activation process + * also associates your gateway with your account. For more information, see UpdateGatewayInformation.

                  * *

                  You must turn on the gateway VM before you can activate your gateway.

                  *
                  diff --git a/clients/client-storage-gateway/src/commands/AssociateFileSystemCommand.ts b/clients/client-storage-gateway/src/commands/AssociateFileSystemCommand.ts index c74c7b793b71..271103cc52d7 100644 --- a/clients/client-storage-gateway/src/commands/AssociateFileSystemCommand.ts +++ b/clients/client-storage-gateway/src/commands/AssociateFileSystemCommand.ts @@ -24,8 +24,8 @@ export interface AssociateFileSystemCommandOutput extends AssociateFileSystemOut /** *

                  Associate an Amazon FSx file system with the FSx File Gateway. After the * association process is complete, the file shares on the Amazon FSx file system are - * available for access through the gateway. This operation only supports the FSx File - * Gateway type.

                  + * available for access through the gateway. This operation only supports the FSx File Gateway + * type.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts b/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts index 78bd00c9a8e2..8030c42f8743 100644 --- a/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateNFSFileShareCommand.ts @@ -22,20 +22,22 @@ export interface CreateNFSFileShareCommandInput extends CreateNFSFileShareInput export interface CreateNFSFileShareCommandOutput extends CreateNFSFileShareOutput, __MetadataBearer {} /** - *

                  Creates a Network File System (NFS) file share on an existing S3 File Gateway. In Storage - * Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. - * Storage Gateway exposes file shares using an NFS interface. This operation is only - * supported for S3 File Gateways.

                  + *

                  Creates a Network File System (NFS) file share on an existing S3 File Gateway. In + * Storage Gateway, a file share is a file system mount point backed by Amazon S3 + * cloud storage. Storage Gateway exposes file shares using an NFS interface. This operation + * is only supported for S3 File Gateways.

                  * * - *

                  S3 File gateway requires Security Token Service (STS) to be activated to enable - * you to create a file share. Make sure STS is activated in the Region you are - * creating your S3 File Gateway in. If STS is not activated in the Region, activate - * it. For information about how to activate STS, see Activating and - * deactivating STS in an Region in the - * Identity and Access Management User Guide.

                  + *

                  S3 File gateway requires Security Token Service (Amazon Web Services STS) to be + * activated to enable you to create a file share. Make sure Amazon Web Services STS is + * activated in the Amazon Web Services Region you are creating your S3 File Gateway in. If + * Amazon Web Services STS is not activated in the Amazon Web Services Region, activate + * it. For information about how to activate Amazon Web Services STS, see Activating and + * deactivating Amazon Web Services STS in an Amazon Web Services Region in the + * Identity and Access Management User Guide.

                  * - *

                  S3 File Gateways do not support creating hard or symbolic links on a file share.

                  + *

                  S3 File Gateways do not support creating hard or symbolic links on a file + * share.

                  *
                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts b/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts index 37f00e874149..478ea0ae4633 100644 --- a/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateSMBFileShareCommand.ts @@ -22,18 +22,19 @@ export interface CreateSMBFileShareCommandInput extends CreateSMBFileShareInput export interface CreateSMBFileShareCommandOutput extends CreateSMBFileShareOutput, __MetadataBearer {} /** - *

                  Creates a Server Message Block (SMB) file share on an existing S3 File Gateway. In Storage - * Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage. - * Storage Gateway exposes file shares using an SMB interface. This operation is only - * supported for S3 File Gateways.

                  + *

                  Creates a Server Message Block (SMB) file share on an existing S3 File Gateway. In + * Storage Gateway, a file share is a file system mount point backed by Amazon S3 + * cloud storage. Storage Gateway exposes file shares using an SMB interface. This operation + * is only supported for S3 File Gateways.

                  * * - *

                  S3 File Gateways require Security Token Service (STS) to be activated to enable - * you to create a file share. Make sure that STS is activated in the Region you - * are creating your S3 File Gateway in. If STS is not activated in this Region, - * activate it. For information about how to activate STS, see Activating and - * deactivating STS in an Region in the - * Identity and Access Management User Guide.

                  + *

                  S3 File Gateways require Security Token Service (Amazon Web Services STS) to be + * activated to enable you to create a file share. Make sure that Amazon Web Services STS + * is activated in the Amazon Web Services Region you are creating your S3 File Gateway in. + * If Amazon Web Services STS is not activated in this Amazon Web Services Region, activate + * it. For information about how to activate Amazon Web Services STS, see Activating and + * deactivating Amazon Web Services STS in an Amazon Web Services Region in the + * Identity and Access Management User Guide.

                  * *

                  File gateways don't support creating hard or symbolic links on a file * share.

                  diff --git a/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts b/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts index 84e459898ae8..4d70a5337c92 100644 --- a/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts +++ b/clients/client-storage-gateway/src/commands/CreateSnapshotCommand.ts @@ -24,20 +24,20 @@ export interface CreateSnapshotCommandOutput extends CreateSnapshotOutput, __Met /** *

                  Initiates a snapshot of a volume.

                  * - *

                  Storage Gateway provides the ability to back up point-in-time snapshots of your data - * to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also import the - * data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2). - * You can take snapshots of your gateway volume on a scheduled or ad hoc basis. This API - * enables you to take an ad hoc snapshot. For more information, see Editing a + *

                  Storage Gateway provides the ability to back up point-in-time snapshots of your + * data to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also + * import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute + * Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad hoc basis. + * This API enables you to take an ad hoc snapshot. For more information, see Editing a * snapshot schedule.

                  * *

                  In the CreateSnapshot request, you identify the volume by providing its * Amazon Resource Name (ARN). You must also provide description for the snapshot. When - * Storage Gateway takes the snapshot of specified volume, the snapshot and description - * appears in the Storage Gateway console. In response, Storage Gateway returns you a - * snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it - * when you want to create a volume from a snapshot. This operation is only supported in - * stored and cached volume gateway type.

                  + * Storage Gateway takes the snapshot of specified volume, the snapshot and + * description appears in the Storage Gateway console. In response, Storage Gateway + * returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or + * later use it when you want to create a volume from a snapshot. This operation is only + * supported in stored and cached volume gateway type.

                  * * *

                  To list or delete a snapshot, you must use the Amazon EC2 API. For more information, diff --git a/clients/client-storage-gateway/src/commands/DeleteFileShareCommand.ts b/clients/client-storage-gateway/src/commands/DeleteFileShareCommand.ts index e2fa6360b8e9..ef3b2614173d 100644 --- a/clients/client-storage-gateway/src/commands/DeleteFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/DeleteFileShareCommand.ts @@ -22,8 +22,8 @@ export interface DeleteFileShareCommandInput extends DeleteFileShareInput {} export interface DeleteFileShareCommandOutput extends DeleteFileShareOutput, __MetadataBearer {} /** - *

                  Deletes a file share from an S3 File Gateway. This operation is only supported for S3 File - * Gateways.

                  + *

                  Deletes a file share from an S3 File Gateway. This operation is only supported for S3 + * File Gateways.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts b/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts index 2d1a6d44dc6b..ca5b42b31bb7 100644 --- a/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeBandwidthRateLimitScheduleCommand.ts @@ -24,27 +24,22 @@ export interface DescribeBandwidthRateLimitScheduleCommandOutput __MetadataBearer {} /** - *

                  - * Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do - * not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This - * operation is supported only in the volume and tape gateway types. - *

                  + *

                  Returns information about the bandwidth rate limit schedule of a gateway. By default, + * gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting + * is in effect. This operation is supported only in the volume and tape gateway types.

                  * - *

                  This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth - * rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit - * interval defines a period of time on one or more days of the week, during which bandwidth rate - * limits are specified for uploading, downloading, or both. - *

                  + *

                  This operation returns information about a gateway's bandwidth rate limit schedule. A + * bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A + * bandwidth rate limit interval defines a period of time on one or more days of the week, + * during which bandwidth rate limits are specified for uploading, downloading, or both.

                  * - *

                  - * A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, - * an ending hour and minute, and bandwidth rate limits for uploading and downloading - *

                  + *

                  A bandwidth rate limit interval consists of one or more days of the week, a start hour + * and minute, an ending hour and minute, and bandwidth rate limits for uploading and + * downloading

                  * - *

                  - * If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an - * empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN) - * of the gateway in your request.

                  + *

                  If no bandwidth rate limit schedule intervals are set for the gateway, this operation + * returns an empty response. To specify which gateway to describe, use the Amazon Resource + * Name (ARN) of the gateway in your request.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts index e975ad6a22ca..298cba8e528c 100644 --- a/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeCachediSCSIVolumesCommand.ts @@ -26,7 +26,7 @@ export interface DescribeCachediSCSIVolumesCommandOutput extends DescribeCachedi * only supported in the cached volume gateway types.

                  * *

                  The list of gateway volumes in the request must be from one gateway. In the response, - * Storage Gateway returns volume information sorted by volume Amazon Resource Name + * Storage Gateway returns volume information sorted by volume Amazon Resource Name * (ARN).

                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-storage-gateway/src/commands/DescribeFileSystemAssociationsCommand.ts b/clients/client-storage-gateway/src/commands/DescribeFileSystemAssociationsCommand.ts index ef370d548c55..0231eb2bd824 100644 --- a/clients/client-storage-gateway/src/commands/DescribeFileSystemAssociationsCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeFileSystemAssociationsCommand.ts @@ -24,8 +24,8 @@ export interface DescribeFileSystemAssociationsCommandOutput __MetadataBearer {} /** - *

                  Gets the file system association information. This operation is only supported for - * FSx File Gateways.

                  + *

                  Gets the file system association information. This operation is only supported for FSx + * File Gateways.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/DescribeStorediSCSIVolumesCommand.ts b/clients/client-storage-gateway/src/commands/DescribeStorediSCSIVolumesCommand.ts index 2f1afdb1f161..02de96fa6db3 100644 --- a/clients/client-storage-gateway/src/commands/DescribeStorediSCSIVolumesCommand.ts +++ b/clients/client-storage-gateway/src/commands/DescribeStorediSCSIVolumesCommand.ts @@ -23,8 +23,8 @@ export interface DescribeStorediSCSIVolumesCommandOutput extends DescribeStoredi /** *

                  Returns the description of the gateway volumes specified in the request. The list of - * gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported - * in stored volume gateway type.

                  + * gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only + * supported in stored volume gateway type.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/DisassociateFileSystemCommand.ts b/clients/client-storage-gateway/src/commands/DisassociateFileSystemCommand.ts index 33ac03b8a34f..6217340d6d5c 100644 --- a/clients/client-storage-gateway/src/commands/DisassociateFileSystemCommand.ts +++ b/clients/client-storage-gateway/src/commands/DisassociateFileSystemCommand.ts @@ -23,8 +23,8 @@ export interface DisassociateFileSystemCommandOutput extends DisassociateFileSys /** *

                  Disassociates an Amazon FSx file system from the specified gateway. After the - * disassociation process finishes, the gateway can no longer access the Amazon FSx file - * system. This operation is only supported in the FSx File Gateway type.

                  + * disassociation process finishes, the gateway can no longer access the Amazon FSx + * file system. This operation is only supported in the FSx File Gateway type.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts b/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts index 4864e801a31f..a8385913bd87 100644 --- a/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListFileSharesCommand.ts @@ -22,8 +22,9 @@ export interface ListFileSharesCommandInput extends ListFileSharesInput {} export interface ListFileSharesCommandOutput extends ListFileSharesOutput, __MetadataBearer {} /** - *

                  Gets a list of the file shares for a specific S3 File Gateway, or the list of file shares - * that belong to the calling user account. This operation is only supported for S3 File Gateways.

                  + *

                  Gets a list of the file shares for a specific S3 File Gateway, or the list of file + * shares that belong to the calling user account. This operation is only supported for S3 + * File Gateways.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts b/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts index 6a03e3e919b5..be6068d414f1 100644 --- a/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts +++ b/clients/client-storage-gateway/src/commands/ListGatewaysCommand.ts @@ -22,8 +22,9 @@ export interface ListGatewaysCommandInput extends ListGatewaysInput {} export interface ListGatewaysCommandOutput extends ListGatewaysOutput, __MetadataBearer {} /** - *

                  Lists gateways owned by an account in an Region specified in the request. The - * returned list is ordered by gateway Amazon Resource Name (ARN).

                  + *

                  Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region + * specified in the request. The returned list is ordered by gateway Amazon Resource Name + * (ARN).

                  * *

                  By default, the operation returns a maximum of 100 gateways. This operation supports * pagination that allows you to optionally reduce the number of gateways returned in a diff --git a/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts b/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts index 5c63598d7491..c2eda5b6c587 100644 --- a/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts +++ b/clients/client-storage-gateway/src/commands/NotifyWhenUploadedCommand.ts @@ -26,12 +26,10 @@ export interface NotifyWhenUploadedCommandOutput extends NotifyWhenUploadedOutpu * share have been uploaded to Amazon S3.

                  * *

                  Storage Gateway can send a notification through Amazon CloudWatch Events when all - * files written to your file share up to that point in time have been uploaded to Amazon S3. - * These files include files written to the file share up to the time that you make a request - * for notification. When the upload is done, Storage Gateway sends you notification through - * an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification - * through event targets such as Amazon SNS or Lambda function. - * This operation is only supported for S3 File Gateways.

                  + * files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you + * make a request for notification. When the upload is done, Storage Gateway sends you + * notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to + * send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways.

                  * * * diff --git a/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts b/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts index 9e5d507e26b6..dfbff8a40125 100644 --- a/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts +++ b/clients/client-storage-gateway/src/commands/RefreshCacheCommand.ts @@ -23,15 +23,14 @@ export interface RefreshCacheCommandOutput extends RefreshCacheOutput, __Metadat /** *

                  Refreshes the cached inventory of objects for the specified file share. This operation - * finds objects in the Amazon S3 bucket that were added, removed, or replaced since the - * gateway last listed the bucket's contents and cached the results. This operation does - * not import files into the S3 File Gateway cache storage. It only updates the cached inventory - * to reflect changes in the inventory of the objects in the S3 bucket. This operation is only - * supported in the S3 File Gateway types.

                  - *

                  You can subscribe to be notified through an Amazon - * CloudWatch event when your RefreshCache operation completes. For more - * information, see Getting notified about file operations in the Storage Gateway - * User Guide. This operation is Only supported for S3 File Gateways.

                  + * finds objects in the Amazon S3 bucket that were added, removed, or replaced since + * the gateway last listed the bucket's contents and cached the results. This operation + * does not import files into the S3 File Gateway cache storage. It only updates the cached + * inventory to reflect changes in the inventory of the objects in the S3 bucket. This + * operation is only supported in the S3 File Gateway types.

                  + *

                  You can subscribe to be notified through an Amazon CloudWatch event when your + * RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway + * User Guide. This operation is Only supported for S3 File Gateways.

                  * *

                  When this API is called, it only initiates the refresh operation. When the API call * completes and returns a success code, it doesn't necessarily mean that the file diff --git a/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts b/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts index 9bb69d888b13..d5c190d22662 100644 --- a/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts +++ b/clients/client-storage-gateway/src/commands/ResetCacheCommand.ts @@ -31,9 +31,9 @@ export interface ResetCacheCommandOutput extends ResetCacheOutput, __MetadataBea * * *

                  If the cache disk you are resetting contains data that has not been uploaded to - * Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no - * configured cache disks left in the gateway, so you must configure at least one new cache - * disk for your gateway to function properly.

                  + * Amazon S3 yet, that data can be lost. After you reset cache disks, there will + * be no configured cache disks left in the gateway, so you must configure at least one new + * cache disk for your gateway to function properly.

                  *
                  * @example * Use a bare-bones client and the command you need to make an API call. diff --git a/clients/client-storage-gateway/src/commands/SetSMBGuestPasswordCommand.ts b/clients/client-storage-gateway/src/commands/SetSMBGuestPasswordCommand.ts index 2a464e2878f6..7ab2142192a0 100644 --- a/clients/client-storage-gateway/src/commands/SetSMBGuestPasswordCommand.ts +++ b/clients/client-storage-gateway/src/commands/SetSMBGuestPasswordCommand.ts @@ -24,7 +24,7 @@ export interface SetSMBGuestPasswordCommandOutput extends SetSMBGuestPasswordOut /** *

                  Sets the password for the guest user smbguest. The smbguest * user is the user when the authentication method for the file share is set to - * GuestAccess. This operation only supported for S3 File Gateways

                  + * GuestAccess. This operation only supported for S3 File Gateways

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitScheduleCommand.ts b/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitScheduleCommand.ts index 74733e5f069f..8c7b48b88e50 100644 --- a/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitScheduleCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateBandwidthRateLimitScheduleCommand.ts @@ -24,12 +24,10 @@ export interface UpdateBandwidthRateLimitScheduleCommandOutput __MetadataBearer {} /** - *

                  - * Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do - * not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. - * Use this to initiate or update a gateway's bandwidth rate limit schedule. - * This operation is supported in the volume and tape gateway types. - *

                  + *

                  Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways + * do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in + * effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This + * operation is supported in the volume and tape gateway types.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/UpdateFileSystemAssociationCommand.ts b/clients/client-storage-gateway/src/commands/UpdateFileSystemAssociationCommand.ts index fc5e9a8f6cc2..9a6828abc156 100644 --- a/clients/client-storage-gateway/src/commands/UpdateFileSystemAssociationCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateFileSystemAssociationCommand.ts @@ -22,7 +22,8 @@ export interface UpdateFileSystemAssociationCommandInput extends UpdateFileSyste export interface UpdateFileSystemAssociationCommandOutput extends UpdateFileSystemAssociationOutput, __MetadataBearer {} /** - *

                  Updates a file system association. This operation is only supported in the FSx File Gateways.

                  + *

                  Updates a file system association. This operation is only supported in the FSx File + * Gateways.

                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts b/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts index ba9141a86891..e1db3b9902f2 100644 --- a/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateNFSFileShareCommand.ts @@ -22,7 +22,8 @@ export interface UpdateNFSFileShareCommandInput extends UpdateNFSFileShareInput export interface UpdateNFSFileShareCommandOutput extends UpdateNFSFileShareOutput, __MetadataBearer {} /** - *

                  Updates a Network File System (NFS) file share. This operation is only supported in S3 File Gateways.

                  + *

                  Updates a Network File System (NFS) file share. This operation is only supported in S3 + * File Gateways.

                  * * *

                  To leave a file share field unchanged, set the corresponding input field to diff --git a/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts b/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts index d11d168b7891..39cd11a441c8 100644 --- a/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts +++ b/clients/client-storage-gateway/src/commands/UpdateSMBFileShareCommand.ts @@ -22,8 +22,8 @@ export interface UpdateSMBFileShareCommandInput extends UpdateSMBFileShareInput export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutput, __MetadataBearer {} /** - *

                  Updates a Server Message Block (SMB) file share. This operation is only supported for - * S3 File Gateways.

                  + *

                  Updates a Server Message Block (SMB) file share. This operation is only supported for S3 + * File Gateways.

                  * * *

                  To leave a file share field unchanged, set the corresponding input field to @@ -31,12 +31,13 @@ export interface UpdateSMBFileShareCommandOutput extends UpdateSMBFileShareOutpu * * * - *

                  File gateways require Security Token Service (STS) to be activated to enable - * you to create a file share. Make sure that STS is activated in the Region you - * are creating your file gateway in. If STS is not activated in this Region, - * activate it. For information about how to activate STS, see Activating and - * deactivating STS in an Region in the Identity and Access Management - * User Guide.

                  + *

                  File gateways require Security Token Service (Amazon Web Services STS) to be + * activated to enable you to create a file share. Make sure that Amazon Web Services STS + * is activated in the Amazon Web Services Region you are creating your file gateway in. If + * Amazon Web Services STS is not activated in this Amazon Web Services Region, activate + * it. For information about how to activate Amazon Web Services STS, see Activating and + * deactivating Amazon Web Services STS in an Amazon Web Services Region in the + * Identity and Access Management User Guide.

                  * *

                  File gateways don't support creating hard or symbolic links on a file * share.

                  diff --git a/clients/client-storage-gateway/src/commands/UpdateSMBLocalGroupsCommand.ts b/clients/client-storage-gateway/src/commands/UpdateSMBLocalGroupsCommand.ts new file mode 100644 index 000000000000..a2a03d34e113 --- /dev/null +++ b/clients/client-storage-gateway/src/commands/UpdateSMBLocalGroupsCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { UpdateSMBLocalGroupsInput, UpdateSMBLocalGroupsOutput } from "../models/models_0"; +import { + deserializeAws_json1_1UpdateSMBLocalGroupsCommand, + serializeAws_json1_1UpdateSMBLocalGroupsCommand, +} from "../protocols/Aws_json1_1"; +import { ServiceInputTypes, ServiceOutputTypes, StorageGatewayClientResolvedConfig } from "../StorageGatewayClient"; + +export interface UpdateSMBLocalGroupsCommandInput extends UpdateSMBLocalGroupsInput {} +export interface UpdateSMBLocalGroupsCommandOutput extends UpdateSMBLocalGroupsOutput, __MetadataBearer {} + +/** + *

                  Updates the list of Active Directory users and groups that have special permissions for + * SMB file shares on the gateway.

                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { StorageGatewayClient, UpdateSMBLocalGroupsCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import + * // const { StorageGatewayClient, UpdateSMBLocalGroupsCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import + * const client = new StorageGatewayClient(config); + * const command = new UpdateSMBLocalGroupsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateSMBLocalGroupsCommandInput} for command's `input` shape. + * @see {@link UpdateSMBLocalGroupsCommandOutput} for command's `response` shape. + * @see {@link StorageGatewayClientResolvedConfig | config} for command's `input` shape. + * + */ +export class UpdateSMBLocalGroupsCommand extends $Command< + UpdateSMBLocalGroupsCommandInput, + UpdateSMBLocalGroupsCommandOutput, + StorageGatewayClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateSMBLocalGroupsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: StorageGatewayClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "StorageGatewayClient"; + const commandName = "UpdateSMBLocalGroupsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateSMBLocalGroupsInput.filterSensitiveLog, + outputFilterSensitiveLog: UpdateSMBLocalGroupsOutput.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateSMBLocalGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateSMBLocalGroupsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateSMBLocalGroupsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-storage-gateway/src/endpoints.ts b/clients/client-storage-gateway/src/endpoints.ts index d6ad0c13037b..85e2af9678d9 100644 --- a/clients/client-storage-gateway/src/endpoints.ts +++ b/clients/client-storage-gateway/src/endpoints.ts @@ -41,7 +41,7 @@ const partitionHash: PartitionHash = { hostname: "storagegateway.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "storagegateway.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-storage-gateway/src/index.ts b/clients/client-storage-gateway/src/index.ts index a1c10475db50..d665d176fd09 100644 --- a/clients/client-storage-gateway/src/index.ts +++ b/clients/client-storage-gateway/src/index.ts @@ -97,6 +97,7 @@ export * from "./commands/UpdateMaintenanceStartTimeCommand"; export * from "./commands/UpdateNFSFileShareCommand"; export * from "./commands/UpdateSMBFileShareCommand"; export * from "./commands/UpdateSMBFileShareVisibilityCommand"; +export * from "./commands/UpdateSMBLocalGroupsCommand"; export * from "./commands/UpdateSMBSecurityStrategyCommand"; export * from "./commands/UpdateSnapshotScheduleCommand"; export * from "./commands/UpdateVTLDeviceTypeCommand"; diff --git a/clients/client-storage-gateway/src/models/models_0.ts b/clients/client-storage-gateway/src/models/models_0.ts index b9a6527341d1..b9ff11af3fc3 100644 --- a/clients/client-storage-gateway/src/models/models_0.ts +++ b/clients/client-storage-gateway/src/models/models_0.ts @@ -81,7 +81,7 @@ export interface ActivateGatewayInput { * * *

                  For more information, see Getting activation - * key in the Storage Gateway User Guide.

                  + * key in the Storage Gateway User Guide.

                  */ ActivationKey: string | undefined; @@ -100,17 +100,16 @@ export interface ActivateGatewayInput { GatewayTimezone: string | undefined; /** - *

                  A value that indicates the Region where you want to store your data. - * The gateway Region specified must be the same Region - * as the Region in your Host - * header in the request. For more information about available Regions and endpoints for - * Storage Gateway, see - * Storage Gateway endpoints and quotas in the Amazon Web Services General - * Reference.

                  + *

                  A value that indicates the Amazon Web Services Region where you want to store your data. + * The gateway Amazon Web Services Region specified must be the same Amazon Web Services Region + * as the Amazon Web Services Region in your Host header in the request. For more + * information about available Amazon Web Services Regions and endpoints for Storage Gateway, see + * Storage Gateway endpoints and quotas in the Amazon Web Services + * General Reference.

                  * *

                  Valid Values: See - * Storage Gateway endpoints and quotas in the Amazon Web Services General - * Reference. + * Storage Gateway endpoints and quotas in the Amazon Web Services + * General Reference. * *

                  */ @@ -122,7 +121,7 @@ export interface ActivateGatewayInput { * value is CACHED.

                  * *

                  Valid Values: STORED | CACHED | VTL | - * FILE_S3 | FILE_FSX_SMB| + * FILE_S3 | FILE_FSX_SMB| *

                  */ GatewayType?: string; @@ -171,9 +170,8 @@ export namespace ActivateGatewayInput { /** *

                  Storage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It - * is a string made of information such as your account, gateway name, and Region. This - * ARN is used to reference the gateway in other API operations as well as resource-based - * authorization.

                  + * is a string made of information such as your account, gateway name, and Amazon Web Services Region. This ARN is used to reference the gateway in other API operations as + * well as resource-based authorization.

                  * * *

                  For gateways activated prior to September 02, 2015, the gateway ARN contains the @@ -184,7 +182,7 @@ export namespace ActivateGatewayInput { export interface ActivateGatewayOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -356,7 +354,7 @@ export type ActiveDirectoryStatus = export interface AddCacheInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -380,7 +378,7 @@ export namespace AddCacheInput { export interface AddCacheOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -448,7 +446,7 @@ export namespace AddTagsToResourceOutput { export interface AddUploadBufferInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -472,7 +470,7 @@ export namespace AddUploadBufferInput { export interface AddUploadBufferOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -500,7 +498,7 @@ export namespace AddUploadBufferOutput { export interface AddWorkingStorageInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -528,7 +526,7 @@ export namespace AddWorkingStorageInput { export interface AddWorkingStorageOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -607,8 +605,8 @@ export interface CacheAttributes { /** *

                  Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of * time since the last refresh after which access to the directory would cause the file - * gateway to first refresh that directory's contents from the Amazon S3 bucket or Amazon FSx file system. The TTL - * duration is in seconds.

                  + * gateway to first refresh that directory's contents from the Amazon S3 bucket + * or Amazon FSx file system. The TTL duration is in seconds.

                  * *

                  Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)

                  */ @@ -625,14 +623,15 @@ export namespace CacheAttributes { } /** - *

                  Specifies network configuration information for the gateway associated with the - * Amazon FSx file system.

                  + *

                  Specifies network configuration information for the gateway associated with the Amazon FSx file system.

                  */ export interface EndpointNetworkConfiguration { /** - *

                  A list of gateway IP addresses on which the associated Amazon FSx file system is available.

                  + *

                  A list of gateway IP addresses on which the associated Amazon FSx file system is + * available.

                  * - *

                  If multiple file systems are associated with this gateway, this field is required.

                  + *

                  If multiple file systems are associated with this gateway, this field is + * required.

                  *
                  */ IpAddresses?: string[]; @@ -650,8 +649,8 @@ export namespace EndpointNetworkConfiguration { export interface AssociateFileSystemInput { /** *

                  The user name of the user credential that has permission to access the root share D$ of - * the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin - * user group.

                  + * the Amazon FSx file system. The user account must belong to the Amazon FSx + * delegated admin user group.

                  */ UserName: string | undefined; @@ -668,18 +667,19 @@ export interface AssociateFileSystemInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; /** - *

                  The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the - * FSx File Gateway.

                  + *

                  The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with + * the FSx File Gateway.

                  */ LocationARN: string | undefined; /** - *

                  A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.

                  + *

                  A list of up to 50 tags that can be assigned to the file system association. Each tag is + * a key-value pair.

                  */ Tags?: Tag[]; @@ -694,9 +694,11 @@ export interface AssociateFileSystemInput { CacheAttributes?: CacheAttributes; /** - *

                  Specifies the network configuration information for the gateway associated with the Amazon FSx file system.

                  + *

                  Specifies the network configuration information for the gateway associated with the + * Amazon FSx file system.

                  * - *

                  If multiple file systems are associated with this gateway, this parameter's IpAddresses field is required.

                  + *

                  If multiple file systems are associated with this gateway, this parameter's + * IpAddresses field is required.

                  *
                  */ EndpointNetworkConfiguration?: EndpointNetworkConfiguration; @@ -825,9 +827,10 @@ export interface AutomaticTapeCreationRule { /** *

                  The ID of the pool that you want to add your tape to for archiving. The tape in this - * pool is archived in the Amazon S3 storage class that is associated with the pool. When you - * use your backup application to eject the tape, the tape is archived directly into the - * storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                  + * pool is archived in the Amazon S3 storage class that is associated with the pool. + * When you use your backup application to eject the tape, the tape is archived directly into + * the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the + * pool.

                  * *

                  Valid Values: GLACIER | DEEP_ARCHIVE *

                  @@ -878,7 +881,7 @@ export interface AutomaticTapeCreationPolicyInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -895,47 +898,35 @@ export namespace AutomaticTapeCreationPolicyInfo { export type AvailabilityMonitorTestStatus = "COMPLETE" | "FAILED" | "PENDING"; /** - *

                  - * Describes a bandwidth rate limit interval for a gateway. A bandwidth - * rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit - * interval defines a period of time on one or more days of the week, during which bandwidth rate - * limits are specified for uploading, downloading, or both. - *

                  + *

                  Describes a bandwidth rate limit interval for a gateway. A bandwidth rate limit + * schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit + * interval defines a period of time on one or more days of the week, during which bandwidth + * rate limits are specified for uploading, downloading, or both.

                  */ export interface BandwidthRateLimitInterval { /** - *

                  - * The hour of the day to start the bandwidth rate limit interval. - *

                  + *

                  The hour of the day to start the bandwidth rate limit interval.

                  */ StartHourOfDay: number | undefined; /** - *

                  - * The minute of the hour to start the bandwidth rate limit interval. - * The interval begins at the start of that minute. To begin an interval exactly at - * the start of the hour, use the value 0. - *

                  + *

                  The minute of the hour to start the bandwidth rate limit interval. The interval begins + * at the start of that minute. To begin an interval exactly at the start of the hour, use the + * value 0.

                  */ StartMinuteOfHour: number | undefined; /** - *

                  - * The hour of the day to end the bandwidth rate limit interval. - *

                  + *

                  The hour of the day to end the bandwidth rate limit interval.

                  */ EndHourOfDay: number | undefined; /** - *

                  - * The minute of the hour to end the bandwidth rate limit interval. - *

                  + *

                  The minute of the hour to end the bandwidth rate limit interval.

                  * * - *

                  - * The bandwidth rate limit interval ends at the end of the minute. To end an interval - * at the end of an hour, use the value 59. - *

                  + *

                  The bandwidth rate limit interval ends at the end of the minute. To end an interval + * at the end of an hour, use the value 59.

                  *
                  */ EndMinuteOfHour: number | undefined; @@ -947,18 +938,16 @@ export interface BandwidthRateLimitInterval { DaysOfWeek: number[] | undefined; /** - *

                  - * The average upload rate limit component of the bandwidth rate limit interval, - * in bits per second. This field does not appear in the response if the upload rate limit is not set. + *

                  The average upload rate limit component of the bandwidth rate limit interval, in bits + * per second. This field does not appear in the response if the upload rate limit is not set. *

                  */ AverageUploadRateLimitInBitsPerSec?: number; /** - *

                  - * The average download rate limit component of the bandwidth rate limit interval, - * in bits per second. This field does not appear in the response if the download rate limit is not set. - *

                  + *

                  The average download rate limit component of the bandwidth rate limit interval, in bits + * per second. This field does not appear in the response if the download rate limit is not + * set.

                  */ AverageDownloadRateLimitInBitsPerSec?: number; } @@ -1087,8 +1076,8 @@ export interface CachediSCSIVolume { VolumeUsedInBytes?: number; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -1120,7 +1109,7 @@ export namespace CachediSCSIVolume { export interface CancelArchivalInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -1166,7 +1155,7 @@ export namespace CancelArchivalOutput { export interface CancelRetrievalInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -1252,7 +1241,7 @@ export namespace ChapInfo { export interface CreateCachediSCSIVolumeInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -1305,8 +1294,9 @@ export interface CreateCachediSCSIVolumeInput { ClientToken: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -1314,8 +1304,8 @@ export interface CreateCachediSCSIVolumeInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -1366,10 +1356,10 @@ export namespace CreateCachediSCSIVolumeOutput { /** *

                  Describes Network File System (NFS) file share default values. Files and folders stored - * as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions - * assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that - * represent files and folders are assigned these default Unix permissions. This operation is - * only supported for S3 File Gateways.

                  + * as Amazon S3 objects in S3 buckets don't, by default, have Unix file + * permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 + * objects that represent files and folders are assigned these default Unix permissions. This + * operation is only supported for S3 File Gateways.

                  */ export interface NFSFileShareDefaults { /** @@ -1421,8 +1411,8 @@ export type ObjectACL = */ export interface CreateNFSFileShareInput { /** - *

                  A unique string value that you supply that is used by S3 File Gateway to ensure idempotent - * file share creation.

                  + *

                  A unique string value that you supply that is used by S3 File Gateway to ensure + * idempotent file share creation.

                  */ ClientToken: string | undefined; @@ -1438,8 +1428,9 @@ export interface CreateNFSFileShareInput { GatewayARN: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -1447,36 +1438,49 @@ export interface CreateNFSFileShareInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; /** - *

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes - * when it accesses the underlying storage.

                  + *

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes when it + * accesses the underlying storage.

                  */ Role: string | undefined; /** - *

                  The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                  + *

                  A custom ARN for the backend storage used for storing data for file shares. It includes + * a resource ARN with an optional prefix concatenation. The prefix must end with a forward + * slash (/).

                  * - *

                  You can specify a bucket attached to an access point using a complete ARN that includes the - * bucket region as shown:

                  + *

                  You can specify LocationARN as a bucket ARN, access point ARN or access point alias, + * as shown in the following examples.

                  + * + *

                  Bucket ARN:

                  *

                  - * arn:aws:s3:region:account-id:accesspoint/access-point-name - * + * arn:aws:s3:::my-bucket/prefix/ + *

                  + * + *

                  Access point ARN:

                  + *

                  + * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ + *

                  + * + *

                  If you specify an access point, the bucket policy must be configured to delegate + * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  + * + *

                  Access point alias:

                  + *

                  + * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias *

                  - *

                  If you specify a bucket attached to an access point, the bucket policy must be - * configured to delegate access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  *
                  */ LocationARN: string | undefined; /** - *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                  + *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 + * File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  * *

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA @@ -1491,8 +1495,8 @@ export interface CreateNFSFileShareInput { ObjectACL?: ObjectACL | string; /** - *

                  The list of clients that are allowed to access the S3 File Gateway. The list must contain - * either valid IP addresses or valid CIDR blocks.

                  + *

                  The list of clients that are allowed to access the S3 File Gateway. The list must + * contain either valid IP addresses or valid CIDR blocks.

                  */ ClientList?: string[]; @@ -1574,7 +1578,7 @@ export interface CreateNFSFileShareInput { * *

                  * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                  + * LocationARN, or if an access point or access point alias is used.

                  *
                  */ FileShareName?: string; @@ -1614,10 +1618,11 @@ export interface CreateNFSFileShareInput { /** *

                  Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to - * Amazon S3.

                  + * Amazon S3.

                  * *

                  This parameter is required for NFS file shares that connect to Amazon S3 - * through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

                  + * through a VPC endpoint, a VPC access point, or an access point alias that points to a + * VPC access point.

                  *
                  */ VPCEndpointDNSName?: string; @@ -1626,10 +1631,16 @@ export interface CreateNFSFileShareInput { *

                  Specifies the Region of the S3 bucket where the NFS file share stores files.

                  * *

                  This parameter is required for NFS file shares that connect to Amazon S3 - * through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

                  + * through a VPC endpoint, a VPC access point, or an access point alias that points to a + * VPC access point.

                  *
                  */ BucketRegion?: string; + + /** + *

                  The Amazon Resource Name (ARN) of the storage used for audit logs.

                  + */ + AuditDestinationARN?: string; } export namespace CreateNFSFileShareInput { @@ -1665,8 +1676,8 @@ export namespace CreateNFSFileShareOutput { */ export interface CreateSMBFileShareInput { /** - *

                  A unique string value that you supply that is used by S3 File Gateway to ensure idempotent - * file share creation.

                  + *

                  A unique string value that you supply that is used by S3 File Gateway to ensure + * idempotent file share creation.

                  */ ClientToken: string | undefined; @@ -1676,8 +1687,9 @@ export interface CreateSMBFileShareInput { GatewayARN: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -1685,36 +1697,49 @@ export interface CreateSMBFileShareInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; /** - *

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes - * when it accesses the underlying storage.

                  + *

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes when it + * accesses the underlying storage.

                  */ Role: string | undefined; /** - *

                  The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                  + *

                  A custom ARN for the backend storage used for storing data for file shares. It includes + * a resource ARN with an optional prefix concatenation. The prefix must end with a forward + * slash (/).

                  * - *

                  You can specify a bucket attached to an access point using a complete ARN that includes the - * bucket region as shown:

                  + *

                  You can specify LocationARN as a bucket ARN, access point ARN or access point alias, + * as shown in the following examples.

                  + * + *

                  Bucket ARN:

                  + *

                  + * arn:aws:s3:::my-bucket/prefix/ + *

                  + * + *

                  Access point ARN:

                  *

                  - * arn:aws:s3:region:account-id:accesspoint/access-point-name - * + * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ + *

                  + * + *

                  If you specify an access point, the bucket policy must be configured to delegate + * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  + * + *

                  Access point alias:

                  + *

                  + * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias *

                  - *

                  If you specify a bucket attached to an access point, the bucket policy must be - * configured to delegate access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  *
                  */ LocationARN: string | undefined; /** - *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                  + *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 + * File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  * *

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA @@ -1833,9 +1858,10 @@ export interface CreateSMBFileShareInput { Authentication?: string; /** - *

                  The case of an object name in an Amazon S3 bucket. For ClientSpecified, the - * client determines the case sensitivity. For CaseSensitive, the gateway - * determines the case sensitivity. The default value is ClientSpecified.

                  + *

                  The case of an object name in an Amazon S3 bucket. For + * ClientSpecified, the client determines the case sensitivity. For + * CaseSensitive, the gateway determines the case sensitivity. The default + * value is ClientSpecified.

                  */ CaseSensitivity?: CaseSensitivity | string; @@ -1858,7 +1884,7 @@ export interface CreateSMBFileShareInput { * *

                  * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                  + * LocationARN, or if an access point or access point alias is used.

                  *
                  */ FileShareName?: string; @@ -1897,10 +1923,12 @@ export interface CreateSMBFileShareInput { NotificationPolicy?: string; /** - *

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to Amazon S3.

                  + *

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to + * Amazon S3.

                  * *

                  This parameter is required for SMB file shares that connect to Amazon S3 - * through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

                  + * through a VPC endpoint, a VPC access point, or an access point alias that points to a + * VPC access point.

                  *
                  */ VPCEndpointDNSName?: string; @@ -1909,7 +1937,8 @@ export interface CreateSMBFileShareInput { *

                  Specifies the Region of the S3 bucket where the SMB file share stores files.

                  * *

                  This parameter is required for SMB file shares that connect to Amazon S3 - * through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

                  + * through a VPC endpoint, a VPC access point, or an access point alias that points to a + * VPC access point.

                  *
                  */ BucketRegion?: string; @@ -1917,8 +1946,8 @@ export interface CreateSMBFileShareInput { /** *

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  * - *

                  Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve - * access to files with the same name in different case.

                  + *

                  Enabling opportunistic locking on case-sensitive shares is not recommended for + * workloads that involve access to files with the same name in different case.

                  *
                  *

                  Valid Values: true | false *

                  @@ -2161,7 +2190,7 @@ export namespace CreateSnapshotFromVolumeRecoveryPointOutput { export interface CreateStorediSCSIVolumeInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -2211,8 +2240,9 @@ export interface CreateStorediSCSIVolumeInput { NetworkInterfaceId: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -2220,8 +2250,8 @@ export interface CreateStorediSCSIVolumeInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -2297,9 +2327,9 @@ export interface CreateTapePoolInput { /** *

                  Tape retention lock can be configured in two modes. When configured in governance mode, - * accounts with specific IAM permissions are authorized to remove the tape retention lock - * from archived virtual tapes. When configured in compliance mode, the tape retention lock - * cannot be removed by any user, including the root account.

                  + * Amazon Web Services accounts with specific IAM permissions are authorized to remove the + * tape retention lock from archived virtual tapes. When configured in compliance mode, the + * tape retention lock cannot be removed by any user, including the root Amazon Web Services account.

                  */ RetentionLockType?: RetentionLockType | string; @@ -2336,7 +2366,7 @@ export interface CreateTapePoolOutput { /** *

                  The unique Amazon Resource Name (ARN) that represents the custom tape pool. Use the * ListTapePools operation to return a list of tape pools for your - * account and Region.

                  + * account and Amazon Web Services Region.

                  */ PoolARN?: string; } @@ -2357,7 +2387,7 @@ export interface CreateTapesInput { /** *

                  The unique Amazon Resource Name (ARN) that represents the gateway to associate the * virtual tapes with. Use the ListGateways operation to return a list of - * gateways for your account and Region.

                  + * gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -2398,8 +2428,9 @@ export interface CreateTapesInput { TapeBarcodePrefix: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -2407,8 +2438,8 @@ export interface CreateTapesInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -2479,7 +2510,7 @@ export interface CreateTapeWithBarcodeInput { /** *

                  The unique Amazon Resource Name (ARN) that represents the gateway to associate the * virtual tape with. Use the ListGateways operation to return a list of - * gateways for your account and Region.

                  + * gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -2503,8 +2534,9 @@ export interface CreateTapeWithBarcodeInput { TapeBarcode: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -2512,8 +2544,8 @@ export interface CreateTapeWithBarcodeInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -2580,7 +2612,7 @@ export namespace CreateTapeWithBarcodeOutput { export interface DeleteAutomaticTapeCreationPolicyInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -2597,7 +2629,7 @@ export namespace DeleteAutomaticTapeCreationPolicyInput { export interface DeleteAutomaticTapeCreationPolicyOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -2625,7 +2657,7 @@ export namespace DeleteAutomaticTapeCreationPolicyOutput { export interface DeleteBandwidthRateLimitInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -2655,7 +2687,7 @@ export namespace DeleteBandwidthRateLimitInput { export interface DeleteBandwidthRateLimitOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -2742,9 +2774,9 @@ export interface DeleteFileShareInput { /** *

                  If this value is set to true, the operation deletes a file share - * immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is not deleted - * until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the - * file share enters the FORCE_DELETING status.

                  + * immediately and aborts all data uploads to Amazon Web Services. Otherwise, the file share is + * not deleted until all data is uploaded to Amazon Web Services. This process aborts the data + * upload process, and the file share enters the FORCE_DELETING status.

                  * *

                  Valid Values: true | false *

                  @@ -2786,7 +2818,7 @@ export namespace DeleteFileShareOutput { export interface DeleteGatewayInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -2806,7 +2838,7 @@ export namespace DeleteGatewayInput { export interface DeleteGatewayOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -2859,7 +2891,7 @@ export interface DeleteTapeInput { /** *

                  The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is * associated with. Use the ListGateways operation to return a list of - * gateways for your account and Region.

                  + * gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -3030,7 +3062,7 @@ export namespace DeleteVolumeOutput { export interface DescribeAvailabilityMonitorTestInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -3047,7 +3079,7 @@ export namespace DescribeAvailabilityMonitorTestInput { export interface DescribeAvailabilityMonitorTestOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -3079,7 +3111,7 @@ export namespace DescribeAvailabilityMonitorTestOutput { export interface DescribeBandwidthRateLimitInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -3099,7 +3131,7 @@ export namespace DescribeBandwidthRateLimitInput { export interface DescribeBandwidthRateLimitOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -3128,7 +3160,7 @@ export namespace DescribeBandwidthRateLimitOutput { export interface DescribeBandwidthRateLimitScheduleInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -3145,14 +3177,12 @@ export namespace DescribeBandwidthRateLimitScheduleInput { export interface DescribeBandwidthRateLimitScheduleOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; /** - *

                  - * An array that contains the bandwidth rate limit intervals for a tape or volume gateway. - *

                  + *

                  An array that contains the bandwidth rate limit intervals for a tape or volume gateway.

                  */ BandwidthRateLimitIntervals?: BandwidthRateLimitInterval[]; } @@ -3169,7 +3199,7 @@ export namespace DescribeBandwidthRateLimitScheduleOutput { export interface DescribeCacheInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -3186,7 +3216,7 @@ export namespace DescribeCacheInput { export interface DescribeCacheOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -3210,8 +3240,8 @@ export interface DescribeCacheOutput { /** *

                  The file share's contribution to the overall percentage of the gateway's cache - * that has not been persisted to Amazon Web Services. The sample is taken at the end of the reporting - * period.

                  + * that has not been persisted to Amazon Web Services. The sample is taken at the end of the + * reporting period.

                  */ CacheDirtyPercentage?: number; @@ -3350,7 +3380,8 @@ export namespace DescribeChapCredentialsOutput { export interface DescribeFileSystemAssociationsInput { /** - *

                  An array containing the Amazon Resource Name (ARN) of each file system association to be described.

                  + *

                  An array containing the Amazon Resource Name (ARN) of each file system association to be + * described.

                  */ FileSystemAssociationARNList: string[] | undefined; } @@ -3364,6 +3395,25 @@ export namespace DescribeFileSystemAssociationsInput { }); } +/** + *

                  Detailed information on file system association status.

                  + */ +export interface FileSystemAssociationStatusDetail { + /** + *

                  The error code for a given file system association status.

                  + */ + ErrorCode?: string; +} + +export namespace FileSystemAssociationStatusDetail { + /** + * @internal + */ + export const filterSensitiveLog = (obj: FileSystemAssociationStatusDetail): any => ({ + ...obj, + }); +} + /** *

                  Describes the object returned by DescribeFileSystemAssociations that * describes a created file system association.

                  @@ -3376,15 +3426,15 @@ export interface FileSystemAssociationInfo { /** *

                  The ARN of the backend Amazon FSx file system used for storing file data. For - * information, see FileSystem in the Amazon FSx - * API Reference.

                  + * information, see FileSystem in the + * Amazon FSx API Reference.

                  */ LocationARN?: string; /** - *

                  The status of the file system association. - * Valid Values: AVAILABLE | CREATING | DELETING | - * FORCE_DELETING | UPDATING | ERROR + *

                  The status of the file system association. Valid Values: AVAILABLE | + * CREATING | DELETING | FORCE_DELETING | + * UPDATING | ERROR *

                  */ FileSystemAssociationStatus?: string; @@ -3396,12 +3446,13 @@ export interface FileSystemAssociationInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; /** - *

                  A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a key-value pair.

                  + *

                  A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key + * name. Each tag is a key-value pair.

                  */ Tags?: Tag[]; @@ -3411,14 +3462,19 @@ export interface FileSystemAssociationInfo { CacheAttributes?: CacheAttributes; /** - *

                  Specifies network configuration information for the gateway associated with the - * Amazon FSx file system.

                  + *

                  Specifies network configuration information for the gateway associated with the Amazon FSx file system.

                  * - *

                  If multiple file systems are associated with this gateway, this parameter's IpAddresses - * field is required.

                  + *

                  If multiple file systems are associated with this gateway, this parameter's + * IpAddresses field is required.

                  *
                  */ EndpointNetworkConfiguration?: EndpointNetworkConfiguration; + + /** + *

                  An array containing the FileSystemAssociationStatusDetail data type, which provides + * detailed information on file system association status.

                  + */ + FileSystemAssociationStatusDetails?: FileSystemAssociationStatusDetail[]; } export namespace FileSystemAssociationInfo { @@ -3432,7 +3488,8 @@ export namespace FileSystemAssociationInfo { export interface DescribeFileSystemAssociationsOutput { /** - *

                  An array containing the FileSystemAssociationInfo data type of each file system association to be described. + *

                  An array containing the FileSystemAssociationInfo data type of each file + * system association to be described. *

                  */ FileSystemAssociationInfoList?: FileSystemAssociationInfo[]; @@ -3453,7 +3510,7 @@ export namespace DescribeFileSystemAssociationsOutput { export interface DescribeGatewayInformationInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -3515,7 +3572,7 @@ export type HostEnvironment = "EC2" | "HYPER-V" | "KVM" | "OTHER" | "VMWARE"; export interface DescribeGatewayInformationOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -3571,7 +3628,7 @@ export interface DescribeGatewayInformationOutput { Ec2InstanceId?: string; /** - *

                  The Region where the Amazon EC2 instance is located.

                  + *

                  The Amazon Web Services Region where the Amazon EC2 instance is located.

                  */ Ec2InstanceRegion?: string; @@ -3624,7 +3681,8 @@ export interface DescribeGatewayInformationOutput { GatewayCapacity?: GatewayCapacity | string; /** - *

                  A list of the metadata cache sizes that the gateway can support based on its current hardware specifications.

                  + *

                  A list of the metadata cache sizes that the gateway can support based on its current + * hardware specifications.

                  */ SupportedGatewayCapacities?: (GatewayCapacity | string)[]; } @@ -3644,7 +3702,7 @@ export namespace DescribeGatewayInformationOutput { export interface DescribeMaintenanceStartTimeInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -3692,7 +3750,7 @@ export namespace DescribeMaintenanceStartTimeInput { export interface DescribeMaintenanceStartTimeOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -3762,16 +3820,16 @@ export namespace DescribeNFSFileSharesInput { /** *

                  The Unix file permissions and ownership information assigned, by default, to native S3 - * objects when an S3 File Gateway discovers them in S3 buckets. This operation is only supported in - * S3 File Gateways.

                  + * objects when an S3 File Gateway discovers them in S3 buckets. This operation is only + * supported in S3 File Gateways.

                  */ export interface NFSFileShareInfo { /** *

                  Describes Network File System (NFS) file share default values. Files and folders stored - * as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions - * assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that - * represent files and folders are assigned these default Unix permissions. This operation is - * only supported for S3 File Gateways.

                  + * as Amazon S3 objects in S3 buckets don't, by default, have Unix file + * permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 + * objects that represent files and folders are assigned these default Unix permissions. This + * operation is only supported for S3 File Gateways.

                  */ NFSFileShareDefaults?: NFSFileShareDefaults; @@ -3796,13 +3854,14 @@ export interface NFSFileShareInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -3810,8 +3869,8 @@ export interface NFSFileShareInfo { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -3827,14 +3886,37 @@ export interface NFSFileShareInfo { Role?: string; /** - *

                  The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                  + *

                  A custom ARN for the backend storage used for storing data for file shares. It includes + * a resource ARN with an optional prefix concatenation. The prefix must end with a forward + * slash (/).

                  + * + *

                  You can specify LocationARN as a bucket ARN, access point ARN or access point alias, + * as shown in the following examples.

                  + * + *

                  Bucket ARN:

                  + *

                  + * arn:aws:s3:::my-bucket/prefix/ + *

                  + * + *

                  Access point ARN:

                  + *

                  + * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ + *

                  + * + *

                  If you specify an access point, the bucket policy must be configured to delegate + * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  + * + *

                  Access point alias:

                  + *

                  + * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias + *

                  + *
                  */ LocationARN?: string; /** - *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                  + *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 + * File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  * *

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA @@ -3844,13 +3926,14 @@ export interface NFSFileShareInfo { /** *

                  A value that sets the access control list (ACL) permission for objects in the S3 bucket - * that an S3 File Gateway puts objects into. The default value is private.

                  + * that an S3 File Gateway puts objects into. The default value is + * private.

                  */ ObjectACL?: ObjectACL | string; /** - *

                  The list of clients that are allowed to access the S3 File Gateway. The list must contain - * either valid IP addresses or valid CIDR blocks.

                  + *

                  The list of clients that are allowed to access the S3 File Gateway. The list must + * contain either valid IP addresses or valid CIDR blocks.

                  */ ClientList?: string[]; @@ -3924,7 +4007,7 @@ export interface NFSFileShareInfo { * *

                  * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                  + * LocationARN, or if an access point or access point alias is used.

                  *
                  */ FileShareName?: string; @@ -3963,7 +4046,8 @@ export interface NFSFileShareInfo { NotificationPolicy?: string; /** - *

                  Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.

                  + *

                  Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to + * Amazon S3.

                  * *

                  This parameter is required for NFS file shares that connect to Amazon S3 * through a VPC endpoint, a VPC access point, or an access point alias that points to a @@ -3981,6 +4065,11 @@ export interface NFSFileShareInfo { * */ BucketRegion?: string; + + /** + *

                  The Amazon Resource Name (ARN) of the storage used for audit logs.

                  + */ + AuditDestinationARN?: string; } export namespace NFSFileShareInfo { @@ -4033,8 +4122,8 @@ export namespace DescribeSMBFileSharesInput { /** *

                  The Windows file permissions and ownership information assigned, by default, to native - * S3 objects when S3 File Gateway discovers them in S3 buckets. This operation is only supported - * for S3 File Gateways.

                  + * S3 objects when S3 File Gateway discovers them in S3 buckets. This operation is only + * supported for S3 File Gateways.

                  */ export interface SMBFileShareInfo { /** @@ -4058,13 +4147,14 @@ export interface SMBFileShareInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -4072,8 +4162,8 @@ export interface SMBFileShareInfo { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -4089,14 +4179,37 @@ export interface SMBFileShareInfo { Role?: string; /** - *

                  The ARN of the backend storage used for storing file data. A prefix name can be added to - * the S3 bucket name. It must end with a "/".

                  + *

                  A custom ARN for the backend storage used for storing data for file shares. It includes + * a resource ARN with an optional prefix concatenation. The prefix must end with a forward + * slash (/).

                  + * + *

                  You can specify LocationARN as a bucket ARN, access point ARN or access point alias, + * as shown in the following examples.

                  + * + *

                  Bucket ARN:

                  + *

                  + * arn:aws:s3:::my-bucket/prefix/ + *

                  + * + *

                  Access point ARN:

                  + *

                  + * arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/ + *

                  + * + *

                  If you specify an access point, the bucket policy must be configured to delegate + * access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  + * + *

                  Access point alias:

                  + *

                  + * test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias + *

                  + *
                  */ LocationARN?: string; /** - *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                  + *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 + * File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  * *

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA @@ -4106,7 +4219,8 @@ export interface SMBFileShareInfo { /** *

                  A value that sets the access control list (ACL) permission for objects in the S3 bucket - * that an S3 File Gateway puts objects into. The default value is private.

                  + * that an S3 File Gateway puts objects into. The default value is + * private.

                  */ ObjectACL?: ObjectACL | string; @@ -4207,9 +4321,10 @@ export interface SMBFileShareInfo { Authentication?: string; /** - *

                  The case of an object name in an Amazon S3 bucket. For ClientSpecified, the - * client determines the case sensitivity. For CaseSensitive, the gateway - * determines the case sensitivity. The default value is ClientSpecified.

                  + *

                  The case of an object name in an Amazon S3 bucket. For + * ClientSpecified, the client determines the case sensitivity. For + * CaseSensitive, the gateway determines the case sensitivity. The default + * value is ClientSpecified.

                  */ CaseSensitivity?: CaseSensitivity | string; @@ -4226,7 +4341,7 @@ export interface SMBFileShareInfo { * *

                  * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                  + * LocationARN, or if an access point or access point alias is used.

                  *
                  */ FileShareName?: string; @@ -4265,10 +4380,12 @@ export interface SMBFileShareInfo { NotificationPolicy?: string; /** - *

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to Amazon S3.

                  + *

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to + * Amazon S3.

                  * *

                  This parameter is required for SMB file shares that connect to Amazon S3 - * through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

                  + * through a VPC endpoint, a VPC access point, or an access point alias that points to a + * VPC access point.

                  *
                  */ VPCEndpointDNSName?: string; @@ -4277,7 +4394,8 @@ export interface SMBFileShareInfo { *

                  Specifies the Region of the S3 bucket where the SMB file share stores files.

                  * *

                  This parameter is required for SMB file shares that connect to Amazon S3 - * through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

                  + * through a VPC endpoint, a VPC access point, or an access point alias that points to a + * VPC access point.

                  *
                  */ BucketRegion?: string; @@ -4285,8 +4403,8 @@ export interface SMBFileShareInfo { /** *

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  * - *

                  Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve - * access to files with the same name in different case.

                  + *

                  Enabling opportunistic locking on case-sensitive shares is not recommended for + * workloads that involve access to files with the same name in different case.

                  *
                  *

                  Valid Values: true | false *

                  @@ -4325,7 +4443,7 @@ export namespace DescribeSMBFileSharesOutput { export interface DescribeSMBSettingsInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -4339,12 +4457,36 @@ export namespace DescribeSMBSettingsInput { }); } +/** + *

                  A list of Active Directory users and groups that have special permissions for SMB file + * shares on the gateway.

                  + */ +export interface SMBLocalGroups { + /** + *

                  A list of Active Directory users and groups that have local Gateway Admin permissions. + * Acceptable formats include: DOMAIN\User1, user1, + * DOMAIN\group1, and group1.

                  + *

                  Gateway Admins can use the Shared Folders Microsoft Management Console snap-in to + * force-close files that are open and locked.

                  + */ + GatewayAdmins?: string[]; +} + +export namespace SMBLocalGroups { + /** + * @internal + */ + export const filterSensitiveLog = (obj: SMBLocalGroups): any => ({ + ...obj, + }); +} + export type SMBSecurityStrategy = "ClientSpecified" | "MandatoryEncryption" | "MandatorySigning"; export interface DescribeSMBSettingsOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -4413,7 +4555,8 @@ export interface DescribeSMBSettingsOutput { *

                  * ClientSpecified: If you use this option, requests are established * based on what is negotiated by the client. This option is recommended when you want - * to maximize compatibility across different clients in your environment. Only supported for S3 File Gateways.

                  + * to maximize compatibility across different clients in your environment. Only + * supported for S3 File Gateways.

                  * *
                • *

                  @@ -4433,9 +4576,16 @@ export interface DescribeSMBSettingsOutput { SMBSecurityStrategy?: SMBSecurityStrategy | string; /** - *

                  The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.

                  + *

                  The shares on this gateway appear when listing shares. Only supported for S3 File + * Gateways.

                  */ FileSharesVisible?: boolean; + + /** + *

                  A list of Active Directory users and groups that have special permissions for SMB file + * shares on the gateway.

                  + */ + SMBLocalGroups?: SMBLocalGroups; } export namespace DescribeSMBSettingsOutput { @@ -4623,8 +4773,8 @@ export interface StorediSCSIVolume { VolumeUsedInBytes?: number; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -4836,8 +4986,8 @@ export interface TapeArchive { TapeUsedInBytes?: number; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -4916,7 +5066,7 @@ export namespace DescribeTapeArchivesOutput { export interface DescribeTapeRecoveryPointsInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -4986,7 +5136,7 @@ export namespace TapeRecoveryPointInfo { export interface DescribeTapeRecoveryPointsOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -5021,7 +5171,7 @@ export namespace DescribeTapeRecoveryPointsOutput { export interface DescribeTapesInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -5112,8 +5262,8 @@ export interface Tape { TapeUsedInBytes?: number; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -5185,7 +5335,7 @@ export namespace DescribeTapesOutput { export interface DescribeUploadBufferInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -5202,7 +5352,7 @@ export namespace DescribeUploadBufferInput { export interface DescribeUploadBufferOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -5240,7 +5390,7 @@ export namespace DescribeUploadBufferOutput { export interface DescribeVTLDevicesInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -5358,7 +5508,7 @@ export namespace VTLDevice { export interface DescribeVTLDevicesOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -5392,7 +5542,7 @@ export namespace DescribeVTLDevicesOutput { export interface DescribeWorkingStorageInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -5412,7 +5562,7 @@ export namespace DescribeWorkingStorageInput { export interface DescribeWorkingStorageOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -5501,7 +5651,7 @@ export namespace DetachVolumeOutput { export interface DisableGatewayInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -5541,9 +5691,10 @@ export interface DisassociateFileSystemInput { FileSystemAssociationARN: string | undefined; /** - *

                  If this value is set to true, the operation disassociates an Amazon FSx file system - * immediately. It ends all data uploads to the file system, and the file system association - * enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

                  + *

                  If this value is set to true, the operation disassociates an Amazon FSx file + * system immediately. It ends all data uploads to the file system, and the file system + * association enters the FORCE_DELETING status. If this value is set to false, + * the Amazon FSx file system does not disassociate until all data is uploaded.

                  */ ForceDelete?: boolean; } @@ -5665,7 +5816,7 @@ export interface FileShareInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -5695,15 +5846,16 @@ export interface FileSystemAssociationSummary { FileSystemAssociationARN?: string; /** - *

                  The status of the file share. Valid Values: AVAILABLE | CREATING | DELETING | - * FORCE_DELETING | UPDATING | ERROR + *

                  The status of the file share. Valid Values: AVAILABLE | + * CREATING | DELETING | FORCE_DELETING | + * UPDATING | ERROR *

                  */ FileSystemAssociationStatus?: string; /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -5730,7 +5882,7 @@ export interface GatewayInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -5758,7 +5910,7 @@ export interface GatewayInfo { Ec2InstanceId?: string; /** - *

                  The Region where the Amazon EC2 instance is located.

                  + *

                  The Amazon Web Services Region where the Amazon EC2 instance is located.

                  */ Ec2InstanceRegion?: string; } @@ -5778,7 +5930,7 @@ export namespace GatewayInfo { export interface JoinDomainInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -5896,7 +6048,7 @@ export namespace JoinDomainOutput { export interface ListAutomaticTapeCreationPoliciesInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -5996,17 +6148,20 @@ export namespace ListFileSharesOutput { export interface ListFileSystemAssociationsInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; /** - *

                  The maximum number of file system associations to return in the response. If present, Limit must be an integer with a value greater than zero. Optional.

                  + *

                  The maximum number of file system associations to return in the response. If present, + * Limit must be an integer with a value greater than zero. Optional.

                  */ Limit?: number; /** - *

                  Opaque pagination token returned from a previous ListFileSystemAssociations operation. If present, Marker specifies where to continue the list from after a previous call to ListFileSystemAssociations. Optional.

                  + *

                  Opaque pagination token returned from a previous ListFileSystemAssociations + * operation. If present, Marker specifies where to continue the list from after + * a previous call to ListFileSystemAssociations. Optional.

                  */ Marker?: string; } @@ -6022,18 +6177,21 @@ export namespace ListFileSystemAssociationsInput { export interface ListFileSystemAssociationsOutput { /** - *

                  If the request includes Marker, the response returns that value in this field.

                  + *

                  If the request includes Marker, the response returns that value in this + * field.

                  */ Marker?: string; /** - *

                  If a value is present, there are more file system associations to return. - * In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file system associations.

                  + *

                  If a value is present, there are more file system associations to return. In a + * subsequent request, use NextMarker as the value for Marker to + * retrieve the next set of file system associations.

                  */ NextMarker?: string; /** - *

                  An array of information about the Amazon FSx gateway's file system associations.

                  + *

                  An array of information about the Amazon FSx gateway's file system + * associations.

                  */ FileSystemAssociationSummaryList?: FileSystemAssociationSummary[]; } @@ -6114,7 +6272,7 @@ export namespace ListGatewaysOutput { export interface ListLocalDisksInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -6131,7 +6289,7 @@ export namespace ListLocalDisksInput { export interface ListLocalDisksOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -6255,7 +6413,7 @@ export type PoolStatus = "ACTIVE" | "DELETED"; export interface PoolInfo { /** *

                  The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your - * account and Region.

                  + * account and Amazon Web Services Region.

                  */ PoolARN?: string; @@ -6274,9 +6432,10 @@ export interface PoolInfo { /** *

                  Tape retention lock type, which can be configured in two modes. When configured in - * governance mode, accounts with specific IAM permissions are authorized to remove the - * tape retention lock from archived virtual tapes. When configured in compliance mode, the - * tape retention lock cannot be removed by any user, including the root account.

                  + * governance mode, Amazon Web Services accounts with specific IAM permissions are authorized + * to remove the tape retention lock from archived virtual tapes. When configured in + * compliance mode, the tape retention lock cannot be removed by any user, including the root + * Amazon Web Services account.

                  */ RetentionLockType?: RetentionLockType | string; @@ -6402,7 +6561,7 @@ export interface TapeInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -6522,7 +6681,7 @@ export namespace ListVolumeInitiatorsOutput { export interface ListVolumeRecoveryPointsInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -6578,7 +6737,7 @@ export namespace VolumeRecoveryPointInfo { export interface ListVolumeRecoveryPointsOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -6616,7 +6775,7 @@ export namespace ListVolumeRecoveryPointsOutput { export interface ListVolumesInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -6668,7 +6827,7 @@ export interface VolumeInfo { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -6727,7 +6886,7 @@ export namespace VolumeInfo { export interface ListVolumesOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -6803,8 +6962,8 @@ export interface RefreshCacheInput { /** *

                  A comma-separated list of the paths of folders to refresh in the cache. The default is - * ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3 bucket that - * the file share has access to is refreshed.

                  + * ["/"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3 + * bucket that the file share has access to is refreshed.

                  */ FolderList?: string[]; @@ -6904,7 +7063,7 @@ export namespace RemoveTagsFromResourceOutput { export interface ResetCacheInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -6921,7 +7080,7 @@ export namespace ResetCacheInput { export interface ResetCacheOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -6948,7 +7107,7 @@ export interface RetrieveTapeArchiveInput { /** *

                  The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to. * Use the ListGateways operation to return a list of gateways for your - * account and Region.

                  + * account and Amazon Web Services Region.

                  * *

                  You retrieve archived virtual tapes to only one gateway and the gateway must be a tape * gateway.

                  @@ -6996,7 +7155,7 @@ export interface RetrieveTapeRecoveryPointInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -7036,7 +7195,7 @@ export namespace RetrieveTapeRecoveryPointOutput { export interface SetLocalConsolePasswordInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -7059,7 +7218,7 @@ export namespace SetLocalConsolePasswordInput { export interface SetLocalConsolePasswordOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7102,7 +7261,7 @@ export namespace SetSMBGuestPasswordInput { export interface SetSMBGuestPasswordOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7123,7 +7282,7 @@ export namespace SetSMBGuestPasswordOutput { export interface ShutdownGatewayInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -7144,7 +7303,7 @@ export namespace ShutdownGatewayInput { export interface ShutdownGatewayOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7161,7 +7320,7 @@ export namespace ShutdownGatewayOutput { export interface StartAvailabilityMonitorTestInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -7178,7 +7337,7 @@ export namespace StartAvailabilityMonitorTestInput { export interface StartAvailabilityMonitorTestOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7198,7 +7357,7 @@ export namespace StartAvailabilityMonitorTestOutput { export interface StartGatewayInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -7219,7 +7378,7 @@ export namespace StartGatewayInput { export interface StartGatewayOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7242,7 +7401,7 @@ export interface UpdateAutomaticTapeCreationPolicyInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -7259,7 +7418,7 @@ export namespace UpdateAutomaticTapeCreationPolicyInput { export interface UpdateAutomaticTapeCreationPolicyOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7292,7 +7451,7 @@ export namespace UpdateAutomaticTapeCreationPolicyOutput { export interface UpdateBandwidthRateLimitInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -7323,7 +7482,7 @@ export namespace UpdateBandwidthRateLimitInput { export interface UpdateBandwidthRateLimitOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7340,15 +7499,13 @@ export namespace UpdateBandwidthRateLimitOutput { export interface UpdateBandwidthRateLimitScheduleInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; /** - *

                  - * An array containing bandwidth rate limit schedule intervals for a gateway. - * When no bandwidth rate limit intervals have been scheduled, the array is empty. - *

                  + *

                  An array containing bandwidth rate limit schedule intervals for a gateway. When no + * bandwidth rate limit intervals have been scheduled, the array is empty.

                  */ BandwidthRateLimitIntervals: BandwidthRateLimitInterval[] | undefined; } @@ -7365,7 +7522,7 @@ export namespace UpdateBandwidthRateLimitScheduleInput { export interface UpdateBandwidthRateLimitScheduleOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7480,14 +7637,15 @@ export namespace UpdateChapCredentialsOutput { export interface UpdateFileSystemAssociationInput { /** - *

                  The Amazon Resource Name (ARN) of the file system association that you want to update.

                  + *

                  The Amazon Resource Name (ARN) of the file system association that you want to + * update.

                  */ FileSystemAssociationARN: string | undefined; /** *

                  The user name of the user credential that has permission to access the root share D$ of - * the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin - * user group.

                  + * the Amazon FSx file system. The user account must belong to the Amazon FSx + * delegated admin user group.

                  */ UserName?: string; @@ -7536,7 +7694,7 @@ export namespace UpdateFileSystemAssociationOutput { export interface UpdateGatewayInformationInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -7582,7 +7740,7 @@ export namespace UpdateGatewayInformationInput { export interface UpdateGatewayInformationOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; @@ -7607,7 +7765,7 @@ export namespace UpdateGatewayInformationOutput { export interface UpdateGatewaySoftwareNowInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; } @@ -7628,7 +7786,7 @@ export namespace UpdateGatewaySoftwareNowInput { export interface UpdateGatewaySoftwareNowOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7671,7 +7829,7 @@ export namespace UpdateGatewaySoftwareNowOutput { export interface UpdateMaintenanceStartTimeInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -7719,7 +7877,7 @@ export namespace UpdateMaintenanceStartTimeInput { export interface UpdateMaintenanceStartTimeOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -7743,8 +7901,9 @@ export interface UpdateNFSFileShareInput { FileShareARN: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -7752,8 +7911,8 @@ export interface UpdateNFSFileShareInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; @@ -7763,8 +7922,8 @@ export interface UpdateNFSFileShareInput { NFSFileShareDefaults?: NFSFileShareDefaults; /** - *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                  + *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 + * File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  * *

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA @@ -7779,8 +7938,8 @@ export interface UpdateNFSFileShareInput { ObjectACL?: ObjectACL | string; /** - *

                  The list of clients that are allowed to access the S3 File Gateway. The list must contain - * either valid IP addresses or valid CIDR blocks.

                  + *

                  The list of clients that are allowed to access the S3 File Gateway. The list must + * contain either valid IP addresses or valid CIDR blocks.

                  */ ClientList?: string[]; @@ -7849,13 +8008,13 @@ export interface UpdateNFSFileShareInput { * *

                  * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                  + * LocationARN, or if an access point or access point alias is used.

                  *
                  */ FileShareName?: string; /** - *

                  specifies refresh cache information for the file share.

                  + *

                  Specifies refresh cache information for the file share.

                  */ CacheAttributes?: CacheAttributes; @@ -7886,6 +8045,11 @@ export interface UpdateNFSFileShareInput { *

                  */ NotificationPolicy?: string; + + /** + *

                  The Amazon Resource Name (ARN) of the storage used for audit logs.

                  + */ + AuditDestinationARN?: string; } export namespace UpdateNFSFileShareInput { @@ -7926,8 +8090,9 @@ export interface UpdateSMBFileShareInput { FileShareARN: string | undefined; /** - *

                  Set to true to use Amazon S3 server-side encryption with your own KMS - * key, or false to use a key managed by Amazon S3. Optional.

                  + *

                  Set to true to use Amazon S3 server-side encryption with your own + * KMS key, or false to use a key managed by Amazon S3. + * Optional.

                  * *

                  Valid Values: true | false *

                  @@ -7935,14 +8100,14 @@ export interface UpdateSMBFileShareInput { KMSEncrypted?: boolean; /** - *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can - * only be set when KMSEncrypted is true. Optional.

                  + *

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This + * value can only be set when KMSEncrypted is true. Optional.

                  */ KMSKey?: string; /** - *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. - * The default value is S3_INTELLIGENT_TIERING. Optional.

                  + *

                  The default storage class for objects put into an Amazon S3 bucket by the S3 + * File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  * *

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING | * S3_STANDARD_IA | S3_ONEZONE_IA @@ -8048,9 +8213,10 @@ export interface UpdateSMBFileShareInput { AuditDestinationARN?: string; /** - *

                  The case of an object name in an Amazon S3 bucket. For ClientSpecified, the - * client determines the case sensitivity. For CaseSensitive, the gateway - * determines the case sensitivity. The default value is ClientSpecified.

                  + *

                  The case of an object name in an Amazon S3 bucket. For + * ClientSpecified, the client determines the case sensitivity. For + * CaseSensitive, the gateway determines the case sensitivity. The default + * value is ClientSpecified.

                  */ CaseSensitivity?: CaseSensitivity | string; @@ -8060,7 +8226,7 @@ export interface UpdateSMBFileShareInput { * *

                  * FileShareName must be set if an S3 prefix name is set in - * LocationARN.

                  + * LocationARN, or if an access point or access point alias is used.

                  *
                  */ FileShareName?: string; @@ -8101,8 +8267,8 @@ export interface UpdateSMBFileShareInput { /** *

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  * - *

                  Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve - * access to files with the same name in different case.

                  + *

                  Enabling opportunistic locking on case-sensitive shares is not recommended for + * workloads that involve access to files with the same name in different case.

                  *
                  *

                  Valid Values: true | false *

                  @@ -8141,7 +8307,7 @@ export namespace UpdateSMBFileShareOutput { export interface UpdateSMBFileShareVisibilityInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -8163,7 +8329,7 @@ export namespace UpdateSMBFileShareVisibilityInput { export interface UpdateSMBFileShareVisibilityOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } @@ -8177,10 +8343,50 @@ export namespace UpdateSMBFileShareVisibilityOutput { }); } +export interface UpdateSMBLocalGroupsInput { + /** + *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  + */ + GatewayARN: string | undefined; + + /** + *

                  A list of Active Directory users and groups that you want to grant special permissions + * for SMB file shares on the gateway.

                  + */ + SMBLocalGroups: SMBLocalGroups | undefined; +} + +export namespace UpdateSMBLocalGroupsInput { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateSMBLocalGroupsInput): any => ({ + ...obj, + }); +} + +export interface UpdateSMBLocalGroupsOutput { + /** + *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  + */ + GatewayARN?: string; +} + +export namespace UpdateSMBLocalGroupsOutput { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateSMBLocalGroupsOutput): any => ({ + ...obj, + }); +} + export interface UpdateSMBSecurityStrategyInput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN: string | undefined; @@ -8189,7 +8395,8 @@ export interface UpdateSMBSecurityStrategyInput { * *

                  ClientSpecified: if you use this option, requests are established based on what is * negotiated by the client. This option is recommended when you want to maximize - * compatibility across different clients in your environment. Supported only in S3 File Gateway.

                  + * compatibility across different clients in your environment. Supported only in S3 File + * Gateway.

                  * *

                  MandatorySigning: if you use this option, file gateway only allows connections from * SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on @@ -8215,7 +8422,7 @@ export namespace UpdateSMBSecurityStrategyInput { export interface UpdateSMBSecurityStrategyOutput { /** *

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways - * operation to return a list of gateways for your account and Region.

                  + * operation to return a list of gateways for your account and Amazon Web Services Region.

                  */ GatewayARN?: string; } diff --git a/clients/client-storage-gateway/src/protocols/Aws_json1_1.ts b/clients/client-storage-gateway/src/protocols/Aws_json1_1.ts index 0e29dbe0966c..004d14f03249 100644 --- a/clients/client-storage-gateway/src/protocols/Aws_json1_1.ts +++ b/clients/client-storage-gateway/src/protocols/Aws_json1_1.ts @@ -245,6 +245,10 @@ import { UpdateSMBFileShareVisibilityCommandInput, UpdateSMBFileShareVisibilityCommandOutput, } from "../commands/UpdateSMBFileShareVisibilityCommand"; +import { + UpdateSMBLocalGroupsCommandInput, + UpdateSMBLocalGroupsCommandOutput, +} from "../commands/UpdateSMBLocalGroupsCommand"; import { UpdateSMBSecurityStrategyCommandInput, UpdateSMBSecurityStrategyCommandOutput, @@ -373,6 +377,7 @@ import { EndpointNetworkConfiguration, FileShareInfo, FileSystemAssociationInfo, + FileSystemAssociationStatusDetail, FileSystemAssociationSummary, GatewayCapacity, GatewayInfo, @@ -426,6 +431,7 @@ import { ShutdownGatewayInput, ShutdownGatewayOutput, SMBFileShareInfo, + SMBLocalGroups, StartAvailabilityMonitorTestInput, StartAvailabilityMonitorTestOutput, StartGatewayInput, @@ -459,6 +465,8 @@ import { UpdateSMBFileShareOutput, UpdateSMBFileShareVisibilityInput, UpdateSMBFileShareVisibilityOutput, + UpdateSMBLocalGroupsInput, + UpdateSMBLocalGroupsOutput, UpdateSMBSecurityStrategyInput, UpdateSMBSecurityStrategyOutput, UpdateSnapshotScheduleInput, @@ -1589,6 +1597,19 @@ export const serializeAws_json1_1UpdateSMBFileShareVisibilityCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateSMBLocalGroupsCommand = async ( + input: UpdateSMBLocalGroupsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "StorageGateway_20130630.UpdateSMBLocalGroups", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateSMBLocalGroupsInput(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateSMBSecurityStrategyCommand = async ( input: UpdateSMBSecurityStrategyCommandInput, context: __SerdeContext @@ -6976,6 +6997,68 @@ const deserializeAws_json1_1UpdateSMBFileShareVisibilityCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1UpdateSMBLocalGroupsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1UpdateSMBLocalGroupsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1UpdateSMBLocalGroupsOutput(data, context); + const response: UpdateSMBLocalGroupsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1UpdateSMBLocalGroupsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.storagegateway#InternalServerError": + response = { + ...(await deserializeAws_json1_1InternalServerErrorResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidGatewayRequestException": + case "com.amazonaws.storagegateway#InvalidGatewayRequestException": + response = { + ...(await deserializeAws_json1_1InvalidGatewayRequestExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1UpdateSMBSecurityStrategyCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -7413,6 +7496,8 @@ const serializeAws_json1_1CreateCachediSCSIVolumeInput = ( const serializeAws_json1_1CreateNFSFileShareInput = (input: CreateNFSFileShareInput, context: __SerdeContext): any => { return { + ...(input.AuditDestinationARN !== undefined && + input.AuditDestinationARN !== null && { AuditDestinationARN: input.AuditDestinationARN }), ...(input.BucketRegion !== undefined && input.BucketRegion !== null && { BucketRegion: input.BucketRegion }), ...(input.CacheAttributes !== undefined && input.CacheAttributes !== null && { @@ -8196,6 +8281,13 @@ const serializeAws_json1_1ShutdownGatewayInput = (input: ShutdownGatewayInput, c }; }; +const serializeAws_json1_1SMBLocalGroups = (input: SMBLocalGroups, context: __SerdeContext): any => { + return { + ...(input.GatewayAdmins !== undefined && + input.GatewayAdmins !== null && { GatewayAdmins: serializeAws_json1_1UserList(input.GatewayAdmins, context) }), + }; +}; + const serializeAws_json1_1StartAvailabilityMonitorTestInput = ( input: StartAvailabilityMonitorTestInput, context: __SerdeContext @@ -8374,6 +8466,8 @@ const serializeAws_json1_1UpdateMaintenanceStartTimeInput = ( const serializeAws_json1_1UpdateNFSFileShareInput = (input: UpdateNFSFileShareInput, context: __SerdeContext): any => { return { + ...(input.AuditDestinationARN !== undefined && + input.AuditDestinationARN !== null && { AuditDestinationARN: input.AuditDestinationARN }), ...(input.CacheAttributes !== undefined && input.CacheAttributes !== null && { CacheAttributes: serializeAws_json1_1CacheAttributes(input.CacheAttributes, context), @@ -8451,6 +8545,19 @@ const serializeAws_json1_1UpdateSMBFileShareVisibilityInput = ( }; }; +const serializeAws_json1_1UpdateSMBLocalGroupsInput = ( + input: UpdateSMBLocalGroupsInput, + context: __SerdeContext +): any => { + return { + ...(input.GatewayARN !== undefined && input.GatewayARN !== null && { GatewayARN: input.GatewayARN }), + ...(input.SMBLocalGroups !== undefined && + input.SMBLocalGroups !== null && { + SMBLocalGroups: serializeAws_json1_1SMBLocalGroups(input.SMBLocalGroups, context), + }), + }; +}; + const serializeAws_json1_1UpdateSMBSecurityStrategyInput = ( input: UpdateSMBSecurityStrategyInput, context: __SerdeContext @@ -9076,6 +9183,10 @@ const deserializeAws_json1_1DescribeSMBSettingsOutput = ( FileSharesVisible: __expectBoolean(output.FileSharesVisible), GatewayARN: __expectString(output.GatewayARN), SMBGuestPasswordSet: __expectBoolean(output.SMBGuestPasswordSet), + SMBLocalGroups: + output.SMBLocalGroups !== undefined && output.SMBLocalGroups !== null + ? deserializeAws_json1_1SMBLocalGroups(output.SMBLocalGroups, context) + : undefined, SMBSecurityStrategy: __expectString(output.SMBSecurityStrategy), } as any; }; @@ -9339,6 +9450,10 @@ const deserializeAws_json1_1FileSystemAssociationInfo = ( : undefined, FileSystemAssociationARN: __expectString(output.FileSystemAssociationARN), FileSystemAssociationStatus: __expectString(output.FileSystemAssociationStatus), + FileSystemAssociationStatusDetails: + output.FileSystemAssociationStatusDetails !== undefined && output.FileSystemAssociationStatusDetails !== null + ? deserializeAws_json1_1FileSystemAssociationStatusDetails(output.FileSystemAssociationStatusDetails, context) + : undefined, GatewayARN: __expectString(output.GatewayARN), LocationARN: __expectString(output.LocationARN), Tags: @@ -9360,6 +9475,29 @@ const deserializeAws_json1_1FileSystemAssociationInfoList = ( }); }; +const deserializeAws_json1_1FileSystemAssociationStatusDetail = ( + output: any, + context: __SerdeContext +): FileSystemAssociationStatusDetail => { + return { + ErrorCode: __expectString(output.ErrorCode), + } as any; +}; + +const deserializeAws_json1_1FileSystemAssociationStatusDetails = ( + output: any, + context: __SerdeContext +): FileSystemAssociationStatusDetail[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1FileSystemAssociationStatusDetail(entry, context); + }); +}; + const deserializeAws_json1_1FileSystemAssociationSummary = ( output: any, context: __SerdeContext @@ -9616,6 +9754,7 @@ const deserializeAws_json1_1NFSFileShareDefaults = (output: any, context: __Serd const deserializeAws_json1_1NFSFileShareInfo = (output: any, context: __SerdeContext): NFSFileShareInfo => { return { + AuditDestinationARN: __expectString(output.AuditDestinationARN), BucketRegion: __expectString(output.BucketRegion), CacheAttributes: output.CacheAttributes !== undefined && output.CacheAttributes !== null @@ -9830,6 +9969,15 @@ const deserializeAws_json1_1SMBFileShareInfoList = (output: any, context: __Serd }); }; +const deserializeAws_json1_1SMBLocalGroups = (output: any, context: __SerdeContext): SMBLocalGroups => { + return { + GatewayAdmins: + output.GatewayAdmins !== undefined && output.GatewayAdmins !== null + ? deserializeAws_json1_1UserList(output.GatewayAdmins, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1StartAvailabilityMonitorTestOutput = ( output: any, context: __SerdeContext @@ -10171,6 +10319,15 @@ const deserializeAws_json1_1UpdateSMBFileShareVisibilityOutput = ( } as any; }; +const deserializeAws_json1_1UpdateSMBLocalGroupsOutput = ( + output: any, + context: __SerdeContext +): UpdateSMBLocalGroupsOutput => { + return { + GatewayARN: __expectString(output.GatewayARN), + } as any; +}; + const deserializeAws_json1_1UpdateSMBSecurityStrategyOutput = ( output: any, context: __SerdeContext diff --git a/clients/client-sts/src/endpoints.ts b/clients/client-sts/src/endpoints.ts index c0655c2fff78..eced92f4df6d 100644 --- a/clients/client-sts/src/endpoints.ts +++ b/clients/client-sts/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "sts.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "sts.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-support/src/endpoints.ts b/clients/client-support/src/endpoints.ts index c9e53a7e4a98..3b5f2747e466 100644 --- a/clients/client-support/src/endpoints.ts +++ b/clients/client-support/src/endpoints.ts @@ -61,7 +61,7 @@ const partitionHash: PartitionHash = { hostname: "support.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["aws-iso-global", "us-iso-east-1"], + regions: ["aws-iso-global", "us-iso-east-1", "us-iso-west-1"], hostname: "support.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-swf/src/endpoints.ts b/clients/client-swf/src/endpoints.ts index 13c0c0dc988a..f560e1e06a82 100644 --- a/clients/client-swf/src/endpoints.ts +++ b/clients/client-swf/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "swf.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "swf.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-synthetics/src/endpoints.ts b/clients/client-synthetics/src/endpoints.ts index 7e6c9b5aaa3a..ed4a9af985de 100644 --- a/clients/client-synthetics/src/endpoints.ts +++ b/clients/client-synthetics/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "synthetics.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "synthetics.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-textract/src/endpoints.ts b/clients/client-textract/src/endpoints.ts index be075f5b3489..a098e4651123 100644 --- a/clients/client-textract/src/endpoints.ts +++ b/clients/client-textract/src/endpoints.ts @@ -1,7 +1,36 @@ import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver"; import { RegionInfoProvider } from "@aws-sdk/types"; -const regionHash: RegionHash = {}; +const regionHash: RegionHash = { + "fips-ca-central-1": { + hostname: "textract-fips.ca-central-1.amazonaws.com", + signingRegion: "ca-central-1", + }, + "fips-us-east-1": { + hostname: "textract-fips.us-east-1.amazonaws.com", + signingRegion: "us-east-1", + }, + "fips-us-east-2": { + hostname: "textract-fips.us-east-2.amazonaws.com", + signingRegion: "us-east-2", + }, + "fips-us-gov-east-1": { + hostname: "textract-fips.us-gov-east-1.amazonaws.com", + signingRegion: "us-gov-east-1", + }, + "fips-us-gov-west-1": { + hostname: "textract-fips.us-gov-west-1.amazonaws.com", + signingRegion: "us-gov-west-1", + }, + "fips-us-west-1": { + hostname: "textract-fips.us-west-1.amazonaws.com", + signingRegion: "us-west-1", + }, + "fips-us-west-2": { + hostname: "textract-fips.us-west-2.amazonaws.com", + signingRegion: "us-west-2", + }, +}; const partitionHash: PartitionHash = { aws: { @@ -21,6 +50,11 @@ const partitionHash: PartitionHash = { "eu-west-1", "eu-west-2", "eu-west-3", + "fips-ca-central-1", + "fips-us-east-1", + "fips-us-east-2", + "fips-us-west-1", + "fips-us-west-2", "me-south-1", "sa-east-1", "us-east-1", @@ -35,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "textract.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "textract.{region}.c2s.ic.gov", }, "aws-iso-b": { @@ -43,7 +77,7 @@ const partitionHash: PartitionHash = { hostname: "textract.{region}.sc2s.sgov.gov", }, "aws-us-gov": { - regions: ["us-gov-east-1", "us-gov-west-1"], + regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"], hostname: "textract.{region}.amazonaws.com", }, }; diff --git a/clients/client-timestream-query/src/endpoints.ts b/clients/client-timestream-query/src/endpoints.ts index 44ace51580f4..c0329365cf72 100644 --- a/clients/client-timestream-query/src/endpoints.ts +++ b/clients/client-timestream-query/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "query.timestream.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "query.timestream.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-timestream-write/src/endpoints.ts b/clients/client-timestream-write/src/endpoints.ts index 5cc2a42dd383..72c092a59ab3 100644 --- a/clients/client-timestream-write/src/endpoints.ts +++ b/clients/client-timestream-write/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "ingest.timestream.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "ingest.timestream.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-transcribe-streaming/src/endpoints.ts b/clients/client-transcribe-streaming/src/endpoints.ts index 5bf82e40c3cb..f6ae1061eab1 100644 --- a/clients/client-transcribe-streaming/src/endpoints.ts +++ b/clients/client-transcribe-streaming/src/endpoints.ts @@ -56,7 +56,7 @@ const partitionHash: PartitionHash = { hostname: "transcribestreaming.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "transcribestreaming.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-transcribe/src/endpoints.ts b/clients/client-transcribe/src/endpoints.ts index e75d9c0d48a6..5adf46d88d3a 100644 --- a/clients/client-transcribe/src/endpoints.ts +++ b/clients/client-transcribe/src/endpoints.ts @@ -72,7 +72,7 @@ const partitionHash: PartitionHash = { hostname: "transcribe.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "transcribe.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-transfer/src/endpoints.ts b/clients/client-transfer/src/endpoints.ts index 2e16477ab20b..ce339f6dac62 100644 --- a/clients/client-transfer/src/endpoints.ts +++ b/clients/client-transfer/src/endpoints.ts @@ -69,7 +69,7 @@ const partitionHash: PartitionHash = { hostname: "transfer.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "transfer.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-translate/src/endpoints.ts b/clients/client-translate/src/endpoints.ts index a40830c9ca22..5b46f16e5b2c 100644 --- a/clients/client-translate/src/endpoints.ts +++ b/clients/client-translate/src/endpoints.ts @@ -55,7 +55,7 @@ const partitionHash: PartitionHash = { hostname: "translate.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "translate.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-voice-id/src/endpoints.ts b/clients/client-voice-id/src/endpoints.ts index f3462094c500..5e442bfcd71e 100644 --- a/clients/client-voice-id/src/endpoints.ts +++ b/clients/client-voice-id/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "voiceid.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "voiceid.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-waf-regional/src/endpoints.ts b/clients/client-waf-regional/src/endpoints.ts index 1b7fe685c511..9bea33ca7d2a 100644 --- a/clients/client-waf-regional/src/endpoints.ts +++ b/clients/client-waf-regional/src/endpoints.ts @@ -257,7 +257,7 @@ const partitionHash: PartitionHash = { hostname: "waf-regional.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "waf-regional.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-waf/src/endpoints.ts b/clients/client-waf/src/endpoints.ts index 7b73578e4dd0..49f56d3674ce 100644 --- a/clients/client-waf/src/endpoints.ts +++ b/clients/client-waf/src/endpoints.ts @@ -46,7 +46,7 @@ const partitionHash: PartitionHash = { hostname: "waf.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "waf.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-wafv2/src/endpoints.ts b/clients/client-wafv2/src/endpoints.ts index 4bff4f9e097f..10184f106fe7 100644 --- a/clients/client-wafv2/src/endpoints.ts +++ b/clients/client-wafv2/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "wafv2.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "wafv2.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-wellarchitected/src/endpoints.ts b/clients/client-wellarchitected/src/endpoints.ts index 1d4035e4ac70..1488c2796f90 100644 --- a/clients/client-wellarchitected/src/endpoints.ts +++ b/clients/client-wellarchitected/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "wellarchitected.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "wellarchitected.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-wisdom/src/endpoints.ts b/clients/client-wisdom/src/endpoints.ts index 774ff3ef8c71..06ad759ddb29 100644 --- a/clients/client-wisdom/src/endpoints.ts +++ b/clients/client-wisdom/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "wisdom.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "wisdom.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-workdocs/src/endpoints.ts b/clients/client-workdocs/src/endpoints.ts index 25200c79936f..795c6c2438ba 100644 --- a/clients/client-workdocs/src/endpoints.ts +++ b/clients/client-workdocs/src/endpoints.ts @@ -46,7 +46,7 @@ const partitionHash: PartitionHash = { hostname: "workdocs.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "workdocs.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-worklink/src/endpoints.ts b/clients/client-worklink/src/endpoints.ts index 9588242fcbf8..5e0af1551a4d 100644 --- a/clients/client-worklink/src/endpoints.ts +++ b/clients/client-worklink/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "worklink.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "worklink.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-workmail/src/WorkMail.ts b/clients/client-workmail/src/WorkMail.ts index 899bc24584c2..7356bd6a289b 100644 --- a/clients/client-workmail/src/WorkMail.ts +++ b/clients/client-workmail/src/WorkMail.ts @@ -76,6 +76,11 @@ import { DeregisterFromWorkMailCommandInput, DeregisterFromWorkMailCommandOutput, } from "./commands/DeregisterFromWorkMailCommand"; +import { + DeregisterMailDomainCommand, + DeregisterMailDomainCommandInput, + DeregisterMailDomainCommandOutput, +} from "./commands/DeregisterMailDomainCommand"; import { DescribeGroupCommand, DescribeGroupCommandInput, @@ -131,6 +136,11 @@ import { GetMailboxDetailsCommandInput, GetMailboxDetailsCommandOutput, } from "./commands/GetMailboxDetailsCommand"; +import { + GetMailDomainCommand, + GetMailDomainCommandInput, + GetMailDomainCommandOutput, +} from "./commands/GetMailDomainCommand"; import { GetMobileDeviceAccessEffectCommand, GetMobileDeviceAccessEffectCommandInput, @@ -163,6 +173,11 @@ import { ListMailboxPermissionsCommandInput, ListMailboxPermissionsCommandOutput, } from "./commands/ListMailboxPermissionsCommand"; +import { + ListMailDomainsCommand, + ListMailDomainsCommandInput, + ListMailDomainsCommandOutput, +} from "./commands/ListMailDomainsCommand"; import { ListMobileDeviceAccessOverridesCommand, ListMobileDeviceAccessOverridesCommandInput, @@ -219,6 +234,11 @@ import { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput, } from "./commands/PutRetentionPolicyCommand"; +import { + RegisterMailDomainCommand, + RegisterMailDomainCommandInput, + RegisterMailDomainCommandOutput, +} from "./commands/RegisterMailDomainCommand"; import { RegisterToWorkMailCommand, RegisterToWorkMailCommandInput, @@ -240,6 +260,11 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput, } from "./commands/UntagResourceCommand"; +import { + UpdateDefaultMailDomainCommand, + UpdateDefaultMailDomainCommandInput, + UpdateDefaultMailDomainCommandOutput, +} from "./commands/UpdateDefaultMailDomainCommand"; import { UpdateMailboxQuotaCommand, UpdateMailboxQuotaCommandInput, @@ -581,6 +606,9 @@ export class WorkMail extends WorkMailClient { /** *

                  Deletes an access control rule for the specified WorkMail organization.

                  + * + *

                  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.

                  + *
                  */ public deleteAccessControlRule( args: DeleteAccessControlRuleCommandInput, @@ -698,6 +726,9 @@ export class WorkMail extends WorkMailClient { /** *

                  Deletes the mobile device access override for the given WorkMail organization, user, and device.

                  + * + *

                  Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

                  + *
                  */ public deleteMobileDeviceAccessOverride( args: DeleteMobileDeviceAccessOverrideCommandInput, @@ -730,6 +761,9 @@ export class WorkMail extends WorkMailClient { /** *

                  Deletes a mobile device access rule for the specified Amazon WorkMail organization.

                  + * + *

                  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.

                  + *
                  */ public deleteMobileDeviceAccessRule( args: DeleteMobileDeviceAccessRuleCommandInput, @@ -921,6 +955,39 @@ export class WorkMail extends WorkMailClient { } } + /** + *

                  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 + * remove any email address used by WorkMail entities before you remove the domain.

                  + */ + public deregisterMailDomain( + args: DeregisterMailDomainCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public deregisterMailDomain( + args: DeregisterMailDomainCommandInput, + cb: (err: any, data?: DeregisterMailDomainCommandOutput) => void + ): void; + public deregisterMailDomain( + args: DeregisterMailDomainCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeregisterMailDomainCommandOutput) => void + ): void; + public deregisterMailDomain( + args: DeregisterMailDomainCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterMailDomainCommandOutput) => void), + cb?: (err: any, data?: DeregisterMailDomainCommandOutput) => void + ): Promise | void { + const command = new DeregisterMailDomainCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Returns the data available for the group.

                  */ @@ -1272,6 +1339,38 @@ export class WorkMail extends WorkMailClient { } } + /** + *

                  Gets details for a mail domain, including domain records required to configure your domain with recommended security.

                  + */ + public getMailDomain( + args: GetMailDomainCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public getMailDomain( + args: GetMailDomainCommandInput, + cb: (err: any, data?: GetMailDomainCommandOutput) => void + ): void; + public getMailDomain( + args: GetMailDomainCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetMailDomainCommandOutput) => void + ): void; + public getMailDomain( + args: GetMailDomainCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetMailDomainCommandOutput) => void), + cb?: (err: any, data?: GetMailDomainCommandOutput) => void + ): Promise | void { + const command = new GetMailDomainCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  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 * rules for the Amazon WorkMail organization for a particular user's attributes.

                  @@ -1521,6 +1620,38 @@ export class WorkMail extends WorkMailClient { } } + /** + *

                  Lists the mail domains in a given Amazon WorkMail organization.

                  + */ + public listMailDomains( + args: ListMailDomainsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public listMailDomains( + args: ListMailDomainsCommandInput, + cb: (err: any, data?: ListMailDomainsCommandOutput) => void + ): void; + public listMailDomains( + args: ListMailDomainsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListMailDomainsCommandOutput) => void + ): void; + public listMailDomains( + args: ListMailDomainsCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListMailDomainsCommandOutput) => void), + cb?: (err: any, data?: ListMailDomainsCommandOutput) => void + ): Promise | void { + const command = new ListMailDomainsCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.

                  */ @@ -1904,6 +2035,39 @@ export class WorkMail extends WorkMailClient { } } + /** + *

                  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 + * permanent permission to use the specified domain for sending your users' emails.

                  + */ + public registerMailDomain( + args: RegisterMailDomainCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public registerMailDomain( + args: RegisterMailDomainCommandInput, + cb: (err: any, data?: RegisterMailDomainCommandOutput) => void + ): void; + public registerMailDomain( + args: RegisterMailDomainCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: RegisterMailDomainCommandOutput) => void + ): void; + public registerMailDomain( + args: RegisterMailDomainCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterMailDomainCommandOutput) => void), + cb?: (err: any, data?: RegisterMailDomainCommandOutput) => void + ): Promise | void { + const command = new RegisterMailDomainCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Registers an existing and disabled user, group, or resource for Amazon WorkMail use by * associating a mailbox and calendaring capabilities. It performs no change if the user, @@ -2069,6 +2233,38 @@ export class WorkMail extends WorkMailClient { } } + /** + *

                  Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

                  + */ + public updateDefaultMailDomain( + args: UpdateDefaultMailDomainCommandInput, + options?: __HttpHandlerOptions + ): Promise; + public updateDefaultMailDomain( + args: UpdateDefaultMailDomainCommandInput, + cb: (err: any, data?: UpdateDefaultMailDomainCommandOutput) => void + ): void; + public updateDefaultMailDomain( + args: UpdateDefaultMailDomainCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateDefaultMailDomainCommandOutput) => void + ): void; + public updateDefaultMailDomain( + args: UpdateDefaultMailDomainCommandInput, + optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDefaultMailDomainCommandOutput) => void), + cb?: (err: any, data?: UpdateDefaultMailDomainCommandOutput) => void + ): Promise | void { + const command = new UpdateDefaultMailDomainCommand(args); + if (typeof optionsOrCb === "function") { + this.send(command, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); + this.send(command, optionsOrCb || {}, cb); + } else { + return this.send(command, optionsOrCb); + } + } + /** *

                  Updates a user's current mailbox quota for a specified organization and * user.

                  diff --git a/clients/client-workmail/src/WorkMailClient.ts b/clients/client-workmail/src/WorkMailClient.ts index 2c1017cbb369..ec335c2a881e 100644 --- a/clients/client-workmail/src/WorkMailClient.ts +++ b/clients/client-workmail/src/WorkMailClient.ts @@ -99,6 +99,10 @@ import { DeregisterFromWorkMailCommandInput, DeregisterFromWorkMailCommandOutput, } from "./commands/DeregisterFromWorkMailCommand"; +import { + DeregisterMailDomainCommandInput, + DeregisterMailDomainCommandOutput, +} from "./commands/DeregisterMailDomainCommand"; import { DescribeGroupCommandInput, DescribeGroupCommandOutput } from "./commands/DescribeGroupCommand"; import { DescribeInboundDmarcSettingsCommandInput, @@ -131,6 +135,7 @@ import { GetDefaultRetentionPolicyCommandOutput, } from "./commands/GetDefaultRetentionPolicyCommand"; import { GetMailboxDetailsCommandInput, GetMailboxDetailsCommandOutput } from "./commands/GetMailboxDetailsCommand"; +import { GetMailDomainCommandInput, GetMailDomainCommandOutput } from "./commands/GetMailDomainCommand"; import { GetMobileDeviceAccessEffectCommandInput, GetMobileDeviceAccessEffectCommandOutput, @@ -154,6 +159,7 @@ import { ListMailboxPermissionsCommandInput, ListMailboxPermissionsCommandOutput, } from "./commands/ListMailboxPermissionsCommand"; +import { ListMailDomainsCommandInput, ListMailDomainsCommandOutput } from "./commands/ListMailDomainsCommand"; import { ListMobileDeviceAccessOverridesCommandInput, ListMobileDeviceAccessOverridesCommandOutput, @@ -190,6 +196,7 @@ import { PutMobileDeviceAccessOverrideCommandOutput, } from "./commands/PutMobileDeviceAccessOverrideCommand"; import { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput } from "./commands/PutRetentionPolicyCommand"; +import { RegisterMailDomainCommandInput, RegisterMailDomainCommandOutput } from "./commands/RegisterMailDomainCommand"; import { RegisterToWorkMailCommandInput, RegisterToWorkMailCommandOutput } from "./commands/RegisterToWorkMailCommand"; import { ResetPasswordCommandInput, ResetPasswordCommandOutput } from "./commands/ResetPasswordCommand"; import { @@ -198,6 +205,10 @@ import { } from "./commands/StartMailboxExportJobCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; +import { + UpdateDefaultMailDomainCommandInput, + UpdateDefaultMailDomainCommandOutput, +} from "./commands/UpdateDefaultMailDomainCommand"; import { UpdateMailboxQuotaCommandInput, UpdateMailboxQuotaCommandOutput } from "./commands/UpdateMailboxQuotaCommand"; import { UpdateMobileDeviceAccessRuleCommandInput, @@ -231,6 +242,7 @@ export type ServiceInputTypes = | DeleteRetentionPolicyCommandInput | DeleteUserCommandInput | DeregisterFromWorkMailCommandInput + | DeregisterMailDomainCommandInput | DescribeGroupCommandInput | DescribeInboundDmarcSettingsCommandInput | DescribeMailboxExportJobCommandInput @@ -241,6 +253,7 @@ export type ServiceInputTypes = | DisassociateMemberFromGroupCommandInput | GetAccessControlEffectCommandInput | GetDefaultRetentionPolicyCommandInput + | GetMailDomainCommandInput | GetMailboxDetailsCommandInput | GetMobileDeviceAccessEffectCommandInput | GetMobileDeviceAccessOverrideCommandInput @@ -248,6 +261,7 @@ export type ServiceInputTypes = | ListAliasesCommandInput | ListGroupMembersCommandInput | ListGroupsCommandInput + | ListMailDomainsCommandInput | ListMailboxExportJobsCommandInput | ListMailboxPermissionsCommandInput | ListMobileDeviceAccessOverridesCommandInput @@ -262,11 +276,13 @@ export type ServiceInputTypes = | PutMailboxPermissionsCommandInput | PutMobileDeviceAccessOverrideCommandInput | PutRetentionPolicyCommandInput + | RegisterMailDomainCommandInput | RegisterToWorkMailCommandInput | ResetPasswordCommandInput | StartMailboxExportJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput + | UpdateDefaultMailDomainCommandInput | UpdateMailboxQuotaCommandInput | UpdateMobileDeviceAccessRuleCommandInput | UpdatePrimaryEmailAddressCommandInput @@ -293,6 +309,7 @@ export type ServiceOutputTypes = | DeleteRetentionPolicyCommandOutput | DeleteUserCommandOutput | DeregisterFromWorkMailCommandOutput + | DeregisterMailDomainCommandOutput | DescribeGroupCommandOutput | DescribeInboundDmarcSettingsCommandOutput | DescribeMailboxExportJobCommandOutput @@ -303,6 +320,7 @@ export type ServiceOutputTypes = | DisassociateMemberFromGroupCommandOutput | GetAccessControlEffectCommandOutput | GetDefaultRetentionPolicyCommandOutput + | GetMailDomainCommandOutput | GetMailboxDetailsCommandOutput | GetMobileDeviceAccessEffectCommandOutput | GetMobileDeviceAccessOverrideCommandOutput @@ -310,6 +328,7 @@ export type ServiceOutputTypes = | ListAliasesCommandOutput | ListGroupMembersCommandOutput | ListGroupsCommandOutput + | ListMailDomainsCommandOutput | ListMailboxExportJobsCommandOutput | ListMailboxPermissionsCommandOutput | ListMobileDeviceAccessOverridesCommandOutput @@ -324,11 +343,13 @@ export type ServiceOutputTypes = | PutMailboxPermissionsCommandOutput | PutMobileDeviceAccessOverrideCommandOutput | PutRetentionPolicyCommandOutput + | RegisterMailDomainCommandOutput | RegisterToWorkMailCommandOutput | ResetPasswordCommandOutput | StartMailboxExportJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput + | UpdateDefaultMailDomainCommandOutput | UpdateMailboxQuotaCommandOutput | UpdateMobileDeviceAccessRuleCommandOutput | UpdatePrimaryEmailAddressCommandOutput diff --git a/clients/client-workmail/src/commands/DeleteAccessControlRuleCommand.ts b/clients/client-workmail/src/commands/DeleteAccessControlRuleCommand.ts index 92bf7a4b7972..c60020f1648f 100644 --- a/clients/client-workmail/src/commands/DeleteAccessControlRuleCommand.ts +++ b/clients/client-workmail/src/commands/DeleteAccessControlRuleCommand.ts @@ -23,6 +23,9 @@ export interface DeleteAccessControlRuleCommandOutput extends DeleteAccessContro /** *

                  Deletes an access control rule for the specified WorkMail organization.

                  + * + *

                  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.

                  + *
                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-workmail/src/commands/DeleteMobileDeviceAccessOverrideCommand.ts b/clients/client-workmail/src/commands/DeleteMobileDeviceAccessOverrideCommand.ts index 6b3692a12e59..74140ee0219a 100644 --- a/clients/client-workmail/src/commands/DeleteMobileDeviceAccessOverrideCommand.ts +++ b/clients/client-workmail/src/commands/DeleteMobileDeviceAccessOverrideCommand.ts @@ -25,6 +25,9 @@ export interface DeleteMobileDeviceAccessOverrideCommandOutput /** *

                  Deletes the mobile device access override for the given WorkMail organization, user, and device.

                  + * + *

                  Deleting already deleted and non-existing overrides does not produce an error. In those cases, the service sends back an HTTP 200 response with an empty HTTP body.

                  + *
                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-workmail/src/commands/DeleteMobileDeviceAccessRuleCommand.ts b/clients/client-workmail/src/commands/DeleteMobileDeviceAccessRuleCommand.ts index 2ee7decc3037..776d4684417d 100644 --- a/clients/client-workmail/src/commands/DeleteMobileDeviceAccessRuleCommand.ts +++ b/clients/client-workmail/src/commands/DeleteMobileDeviceAccessRuleCommand.ts @@ -25,6 +25,9 @@ export interface DeleteMobileDeviceAccessRuleCommandOutput /** *

                  Deletes a mobile device access rule for the specified Amazon WorkMail organization.

                  + * + *

                  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.

                  + *
                  * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript diff --git a/clients/client-workmail/src/commands/DeregisterMailDomainCommand.ts b/clients/client-workmail/src/commands/DeregisterMailDomainCommand.ts new file mode 100644 index 000000000000..59c52ffe2734 --- /dev/null +++ b/clients/client-workmail/src/commands/DeregisterMailDomainCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { DeregisterMailDomainRequest, DeregisterMailDomainResponse } from "../models/models_0"; +import { + deserializeAws_json1_1DeregisterMailDomainCommand, + serializeAws_json1_1DeregisterMailDomainCommand, +} from "../protocols/Aws_json1_1"; +import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient"; + +export interface DeregisterMailDomainCommandInput extends DeregisterMailDomainRequest {} +export interface DeregisterMailDomainCommandOutput extends DeregisterMailDomainResponse, __MetadataBearer {} + +/** + *

                  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 + * remove any email address used by WorkMail entities before you remove the domain.

                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { WorkMailClient, DeregisterMailDomainCommand } from "@aws-sdk/client-workmail"; // ES Modules import + * // const { WorkMailClient, DeregisterMailDomainCommand } = require("@aws-sdk/client-workmail"); // CommonJS import + * const client = new WorkMailClient(config); + * const command = new DeregisterMailDomainCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link DeregisterMailDomainCommandInput} for command's `input` shape. + * @see {@link DeregisterMailDomainCommandOutput} for command's `response` shape. + * @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class DeregisterMailDomainCommand extends $Command< + DeregisterMailDomainCommandInput, + DeregisterMailDomainCommandOutput, + WorkMailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: DeregisterMailDomainCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: WorkMailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "WorkMailClient"; + const commandName = "DeregisterMailDomainCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: DeregisterMailDomainRequest.filterSensitiveLog, + outputFilterSensitiveLog: DeregisterMailDomainResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: DeregisterMailDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1DeregisterMailDomainCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1DeregisterMailDomainCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-workmail/src/commands/GetMailDomainCommand.ts b/clients/client-workmail/src/commands/GetMailDomainCommand.ts new file mode 100644 index 000000000000..7a01f45650b5 --- /dev/null +++ b/clients/client-workmail/src/commands/GetMailDomainCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { GetMailDomainRequest, GetMailDomainResponse } from "../models/models_0"; +import { + deserializeAws_json1_1GetMailDomainCommand, + serializeAws_json1_1GetMailDomainCommand, +} from "../protocols/Aws_json1_1"; +import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient"; + +export interface GetMailDomainCommandInput extends GetMailDomainRequest {} +export interface GetMailDomainCommandOutput extends GetMailDomainResponse, __MetadataBearer {} + +/** + *

                  Gets details for a mail domain, including domain records required to configure your domain with recommended security.

                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { WorkMailClient, GetMailDomainCommand } from "@aws-sdk/client-workmail"; // ES Modules import + * // const { WorkMailClient, GetMailDomainCommand } = require("@aws-sdk/client-workmail"); // CommonJS import + * const client = new WorkMailClient(config); + * const command = new GetMailDomainCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link GetMailDomainCommandInput} for command's `input` shape. + * @see {@link GetMailDomainCommandOutput} for command's `response` shape. + * @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class GetMailDomainCommand extends $Command< + GetMailDomainCommandInput, + GetMailDomainCommandOutput, + WorkMailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: GetMailDomainCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: WorkMailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "WorkMailClient"; + const commandName = "GetMailDomainCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetMailDomainRequest.filterSensitiveLog, + outputFilterSensitiveLog: GetMailDomainResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: GetMailDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1GetMailDomainCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1GetMailDomainCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-workmail/src/commands/ListMailDomainsCommand.ts b/clients/client-workmail/src/commands/ListMailDomainsCommand.ts new file mode 100644 index 000000000000..bccf4b7d5d8d --- /dev/null +++ b/clients/client-workmail/src/commands/ListMailDomainsCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { ListMailDomainsRequest, ListMailDomainsResponse } from "../models/models_0"; +import { + deserializeAws_json1_1ListMailDomainsCommand, + serializeAws_json1_1ListMailDomainsCommand, +} from "../protocols/Aws_json1_1"; +import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient"; + +export interface ListMailDomainsCommandInput extends ListMailDomainsRequest {} +export interface ListMailDomainsCommandOutput extends ListMailDomainsResponse, __MetadataBearer {} + +/** + *

                  Lists the mail domains in a given Amazon WorkMail organization.

                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { WorkMailClient, ListMailDomainsCommand } from "@aws-sdk/client-workmail"; // ES Modules import + * // const { WorkMailClient, ListMailDomainsCommand } = require("@aws-sdk/client-workmail"); // CommonJS import + * const client = new WorkMailClient(config); + * const command = new ListMailDomainsCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link ListMailDomainsCommandInput} for command's `input` shape. + * @see {@link ListMailDomainsCommandOutput} for command's `response` shape. + * @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class ListMailDomainsCommand extends $Command< + ListMailDomainsCommandInput, + ListMailDomainsCommandOutput, + WorkMailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: ListMailDomainsCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: WorkMailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "WorkMailClient"; + const commandName = "ListMailDomainsCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: ListMailDomainsRequest.filterSensitiveLog, + outputFilterSensitiveLog: ListMailDomainsResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: ListMailDomainsCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1ListMailDomainsCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1ListMailDomainsCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-workmail/src/commands/RegisterMailDomainCommand.ts b/clients/client-workmail/src/commands/RegisterMailDomainCommand.ts new file mode 100644 index 000000000000..440497f2ad5c --- /dev/null +++ b/clients/client-workmail/src/commands/RegisterMailDomainCommand.ts @@ -0,0 +1,96 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { RegisterMailDomainRequest, RegisterMailDomainResponse } from "../models/models_0"; +import { + deserializeAws_json1_1RegisterMailDomainCommand, + serializeAws_json1_1RegisterMailDomainCommand, +} from "../protocols/Aws_json1_1"; +import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient"; + +export interface RegisterMailDomainCommandInput extends RegisterMailDomainRequest {} +export interface RegisterMailDomainCommandOutput extends RegisterMailDomainResponse, __MetadataBearer {} + +/** + *

                  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 + * permanent permission to use the specified domain for sending your users' emails.

                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { WorkMailClient, RegisterMailDomainCommand } from "@aws-sdk/client-workmail"; // ES Modules import + * // const { WorkMailClient, RegisterMailDomainCommand } = require("@aws-sdk/client-workmail"); // CommonJS import + * const client = new WorkMailClient(config); + * const command = new RegisterMailDomainCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link RegisterMailDomainCommandInput} for command's `input` shape. + * @see {@link RegisterMailDomainCommandOutput} for command's `response` shape. + * @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class RegisterMailDomainCommand extends $Command< + RegisterMailDomainCommandInput, + RegisterMailDomainCommandOutput, + WorkMailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: RegisterMailDomainCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: WorkMailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "WorkMailClient"; + const commandName = "RegisterMailDomainCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: RegisterMailDomainRequest.filterSensitiveLog, + outputFilterSensitiveLog: RegisterMailDomainResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: RegisterMailDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1RegisterMailDomainCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1RegisterMailDomainCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-workmail/src/commands/UpdateDefaultMailDomainCommand.ts b/clients/client-workmail/src/commands/UpdateDefaultMailDomainCommand.ts new file mode 100644 index 000000000000..b264231a41a9 --- /dev/null +++ b/clients/client-workmail/src/commands/UpdateDefaultMailDomainCommand.ts @@ -0,0 +1,95 @@ +import { getSerdePlugin } from "@aws-sdk/middleware-serde"; +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; +import { Command as $Command } from "@aws-sdk/smithy-client"; +import { + FinalizeHandlerArguments, + Handler, + HandlerExecutionContext, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, + SerdeContext as __SerdeContext, +} from "@aws-sdk/types"; + +import { UpdateDefaultMailDomainRequest, UpdateDefaultMailDomainResponse } from "../models/models_0"; +import { + deserializeAws_json1_1UpdateDefaultMailDomainCommand, + serializeAws_json1_1UpdateDefaultMailDomainCommand, +} from "../protocols/Aws_json1_1"; +import { ServiceInputTypes, ServiceOutputTypes, WorkMailClientResolvedConfig } from "../WorkMailClient"; + +export interface UpdateDefaultMailDomainCommandInput extends UpdateDefaultMailDomainRequest {} +export interface UpdateDefaultMailDomainCommandOutput extends UpdateDefaultMailDomainResponse, __MetadataBearer {} + +/** + *

                  Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

                  + * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { WorkMailClient, UpdateDefaultMailDomainCommand } from "@aws-sdk/client-workmail"; // ES Modules import + * // const { WorkMailClient, UpdateDefaultMailDomainCommand } = require("@aws-sdk/client-workmail"); // CommonJS import + * const client = new WorkMailClient(config); + * const command = new UpdateDefaultMailDomainCommand(input); + * const response = await client.send(command); + * ``` + * + * @see {@link UpdateDefaultMailDomainCommandInput} for command's `input` shape. + * @see {@link UpdateDefaultMailDomainCommandOutput} for command's `response` shape. + * @see {@link WorkMailClientResolvedConfig | config} for command's `input` shape. + * + */ +export class UpdateDefaultMailDomainCommand extends $Command< + UpdateDefaultMailDomainCommandInput, + UpdateDefaultMailDomainCommandOutput, + WorkMailClientResolvedConfig +> { + // Start section: command_properties + // End section: command_properties + + constructor(readonly input: UpdateDefaultMailDomainCommandInput) { + // Start section: command_constructor + super(); + // End section: command_constructor + } + + /** + * @internal + */ + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: WorkMailClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + + const stack = clientStack.concat(this.middlewareStack); + + const { logger } = configuration; + const clientName = "WorkMailClient"; + const commandName = "UpdateDefaultMailDomainCommand"; + const handlerExecutionContext: HandlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateDefaultMailDomainRequest.filterSensitiveLog, + outputFilterSensitiveLog: UpdateDefaultMailDomainResponse.filterSensitiveLog, + }; + const { requestHandler } = configuration; + return stack.resolve( + (request: FinalizeHandlerArguments) => + requestHandler.handle(request.request as __HttpRequest, options || {}), + handlerExecutionContext + ); + } + + private serialize(input: UpdateDefaultMailDomainCommandInput, context: __SerdeContext): Promise<__HttpRequest> { + return serializeAws_json1_1UpdateDefaultMailDomainCommand(input, context); + } + + private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { + return deserializeAws_json1_1UpdateDefaultMailDomainCommand(output, context); + } + + // Start section: command_body_extra + // End section: command_body_extra +} diff --git a/clients/client-workmail/src/endpoints.ts b/clients/client-workmail/src/endpoints.ts index 07382064b95a..436aca5220b0 100644 --- a/clients/client-workmail/src/endpoints.ts +++ b/clients/client-workmail/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "workmail.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "workmail.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-workmail/src/index.ts b/clients/client-workmail/src/index.ts index 5ba6f01a97b3..09aba1c35360 100644 --- a/clients/client-workmail/src/index.ts +++ b/clients/client-workmail/src/index.ts @@ -20,6 +20,7 @@ export * from "./commands/DeleteResourceCommand"; export * from "./commands/DeleteRetentionPolicyCommand"; export * from "./commands/DeleteUserCommand"; export * from "./commands/DeregisterFromWorkMailCommand"; +export * from "./commands/DeregisterMailDomainCommand"; export * from "./commands/DescribeGroupCommand"; export * from "./commands/DescribeInboundDmarcSettingsCommand"; export * from "./commands/DescribeMailboxExportJobCommand"; @@ -31,6 +32,7 @@ export * from "./commands/DisassociateMemberFromGroupCommand"; export * from "./commands/GetAccessControlEffectCommand"; export * from "./commands/GetDefaultRetentionPolicyCommand"; export * from "./commands/GetMailboxDetailsCommand"; +export * from "./commands/GetMailDomainCommand"; export * from "./commands/GetMobileDeviceAccessEffectCommand"; export * from "./commands/GetMobileDeviceAccessOverrideCommand"; export * from "./commands/ListAccessControlRulesCommand"; @@ -44,6 +46,8 @@ export * from "./commands/ListMailboxExportJobsCommand"; export * from "./pagination/ListMailboxExportJobsPaginator"; export * from "./commands/ListMailboxPermissionsCommand"; export * from "./pagination/ListMailboxPermissionsPaginator"; +export * from "./commands/ListMailDomainsCommand"; +export * from "./pagination/ListMailDomainsPaginator"; export * from "./commands/ListMobileDeviceAccessOverridesCommand"; export * from "./pagination/ListMobileDeviceAccessOverridesPaginator"; export * from "./commands/ListMobileDeviceAccessRulesCommand"; @@ -61,11 +65,13 @@ export * from "./commands/PutInboundDmarcSettingsCommand"; export * from "./commands/PutMailboxPermissionsCommand"; export * from "./commands/PutMobileDeviceAccessOverrideCommand"; export * from "./commands/PutRetentionPolicyCommand"; +export * from "./commands/RegisterMailDomainCommand"; export * from "./commands/RegisterToWorkMailCommand"; export * from "./commands/ResetPasswordCommand"; export * from "./commands/StartMailboxExportJobCommand"; export * from "./commands/TagResourceCommand"; export * from "./commands/UntagResourceCommand"; +export * from "./commands/UpdateDefaultMailDomainCommand"; export * from "./commands/UpdateMailboxQuotaCommand"; export * from "./commands/UpdateMobileDeviceAccessRuleCommand"; export * from "./commands/UpdatePrimaryEmailAddressCommand"; diff --git a/clients/client-workmail/src/models/models_0.ts b/clients/client-workmail/src/models/models_0.ts index 47b3578cdce2..baba6917b39a 100644 --- a/clients/client-workmail/src/models/models_0.ts +++ b/clients/client-workmail/src/models/models_0.ts @@ -444,8 +444,7 @@ export namespace LimitExceededException { } /** - *

                  For an email or alias to be created in Amazon WorkMail, the included domain must be defined - * in the organization.

                  + *

                  The domain specified is not found in your organization.

                  */ export interface MailDomainNotFoundException extends __SmithyException, $MetadataBearer { name: "MailDomainNotFoundException"; @@ -1299,6 +1298,75 @@ export namespace DeregisterFromWorkMailResponse { }); } +export interface DeregisterMailDomainRequest { + /** + *

                  The Amazon WorkMail organization for which the domain will be deregistered.

                  + */ + OrganizationId: string | undefined; + + /** + *

                  The domain to deregister in WorkMail and SES.

                  + */ + DomainName: string | undefined; +} + +export namespace DeregisterMailDomainRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeregisterMailDomainRequest): any => ({ + ...obj, + }); +} + +export interface DeregisterMailDomainResponse {} + +export namespace DeregisterMailDomainResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DeregisterMailDomainResponse): any => ({ + ...obj, + }); +} + +/** + *

                  You SES configuration has customizations that Amazon WorkMail cannot save. The error message lists the invalid setting. For examples of invalid settings, refer to + * CreateReceiptRule.

                  + */ +export interface InvalidCustomSesConfigurationException extends __SmithyException, $MetadataBearer { + name: "InvalidCustomSesConfigurationException"; + $fault: "client"; + Message?: string; +} + +export namespace InvalidCustomSesConfigurationException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: InvalidCustomSesConfigurationException): any => ({ + ...obj, + }); +} + +/** + *

                  The domain you're trying to change is in use by another user or organization in your account. See the error message for details.

                  + */ +export interface MailDomainInUseException extends __SmithyException, $MetadataBearer { + name: "MailDomainInUseException"; + $fault: "client"; + Message?: string; +} + +export namespace MailDomainInUseException { + /** + * @internal + */ + export const filterSensitiveLog = (obj: MailDomainInUseException): any => ({ + ...obj, + }); +} + export interface DescribeGroupRequest { /** *

                  The identifier for the organization under which the group exists.

                  @@ -1815,6 +1883,41 @@ export namespace DisassociateMemberFromGroupResponse { }); } +/** + *

                  A DNS record uploaded to your DNS provider.

                  + */ +export interface DnsRecord { + /** + *

                  The RFC 1035 record type. Possible values: CNAME, A, MX.

                  + */ + Type?: string; + + /** + *

                  The DNS hostname.- For example, domain.example.com.

                  + */ + Hostname?: string; + + /** + *

                  The value returned by the DNS for a query to that hostname and record type.

                  + */ + Value?: string; +} + +export namespace DnsRecord { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DnsRecord): any => ({ + ...obj, + }); +} + +export enum DnsRecordVerificationStatus { + FAILED = "FAILED", + PENDING = "PENDING", + VERIFIED = "VERIFIED", +} + /** *

                  The user, group, or resource that you're trying to register is already * registered.

                  @@ -1865,7 +1968,7 @@ export interface FolderConfiguration { Action: RetentionAction | string | undefined; /** - *

                  The period of time at which the folder configuration action is applied.

                  + *

                  The number of days for which the folder-configuration action applies.

                  */ Period?: number; } @@ -2023,6 +2126,64 @@ export namespace GetMailboxDetailsResponse { }); } +export interface GetMailDomainRequest { + /** + *

                  The Amazon WorkMail organization for which the domain is retrieved.

                  + */ + OrganizationId: string | undefined; + + /** + *

                  The domain from which you want to retrieve details.

                  + */ + DomainName: string | undefined; +} + +export namespace GetMailDomainRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetMailDomainRequest): any => ({ + ...obj, + }); +} + +export interface GetMailDomainResponse { + /** + *

                  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 + * email traffic to SES. See admin guide for more details.

                  + */ + Records?: DnsRecord[]; + + /** + *

                  Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.

                  + */ + IsTestDomain?: boolean; + + /** + *

                  Specifies whether the domain is the default domain for your organization.

                  + */ + IsDefault?: boolean; + + /** + *

                  Indicates the status of the domain ownership verification.

                  + */ + OwnershipVerificationStatus?: DnsRecordVerificationStatus | string; + + /** + *

                  Indicates the status of a DKIM verification.

                  + */ + DkimVerificationStatus?: DnsRecordVerificationStatus | string; +} + +export namespace GetMailDomainResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: GetMailDomainResponse): any => ({ + ...obj, + }); +} + export interface GetMobileDeviceAccessEffectRequest { /** *

                  The Amazon WorkMail organization to simulate the access effect for.

                  @@ -2707,6 +2868,77 @@ export namespace ListMailboxPermissionsResponse { }); } +export interface ListMailDomainsRequest { + /** + *

                  The Amazon WorkMail organization for which to list domains.

                  + */ + OrganizationId: string | undefined; + + /** + *

                  The maximum number of results to return in a single call.

                  + */ + MaxResults?: number; + + /** + *

                  The token to use to retrieve the next page of results. The first call does not require a token.

                  + */ + NextToken?: string; +} + +export namespace ListMailDomainsRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListMailDomainsRequest): any => ({ + ...obj, + }); +} + +/** + *

                  The data for a given domain.

                  + */ +export interface MailDomainSummary { + /** + *

                  The domain name.

                  + */ + DomainName?: string; + + /** + *

                  Whether the domain is default or not.

                  + */ + DefaultDomain?: boolean; +} + +export namespace MailDomainSummary { + /** + * @internal + */ + export const filterSensitiveLog = (obj: MailDomainSummary): any => ({ + ...obj, + }); +} + +export interface ListMailDomainsResponse { + /** + *

                  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.

                  + */ + MailDomains?: MailDomainSummary[]; + + /** + *

                  The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

                  + */ + NextToken?: string; +} + +export namespace ListMailDomainsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: ListMailDomainsResponse): any => ({ + ...obj, + }); +} + export interface ListMobileDeviceAccessOverridesRequest { /** *

                  The Amazon WorkMail organization under which to list mobile device access overrides.

                  @@ -3605,6 +3837,43 @@ export namespace PutRetentionPolicyResponse { }); } +export interface RegisterMailDomainRequest { + /** + *

                  Idempotency token used when retrying requests.

                  + */ + ClientToken?: string; + + /** + *

                  The Amazon WorkMail organization under which you're creating the domain.

                  + */ + OrganizationId: string | undefined; + + /** + *

                  The name of the mail domain to create in Amazon WorkMail and SES.

                  + */ + DomainName: string | undefined; +} + +export namespace RegisterMailDomainRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RegisterMailDomainRequest): any => ({ + ...obj, + }); +} + +export interface RegisterMailDomainResponse {} + +export namespace RegisterMailDomainResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: RegisterMailDomainResponse): any => ({ + ...obj, + }); +} + export interface RegisterToWorkMailRequest { /** *

                  The identifier for the organization under which the user, group, or resource @@ -3833,6 +4102,38 @@ export namespace UntagResourceResponse { }); } +export interface UpdateDefaultMailDomainRequest { + /** + *

                  The Amazon WorkMail organization for which to list domains.

                  + */ + OrganizationId: string | undefined; + + /** + *

                  The domain name that will become the default domain.

                  + */ + DomainName: string | undefined; +} + +export namespace UpdateDefaultMailDomainRequest { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateDefaultMailDomainRequest): any => ({ + ...obj, + }); +} + +export interface UpdateDefaultMailDomainResponse {} + +export namespace UpdateDefaultMailDomainResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: UpdateDefaultMailDomainResponse): any => ({ + ...obj, + }); +} + export interface UpdateMailboxQuotaRequest { /** *

                  The identifier for the organization that contains the user for whom to update the diff --git a/clients/client-workmail/src/pagination/ListMailDomainsPaginator.ts b/clients/client-workmail/src/pagination/ListMailDomainsPaginator.ts new file mode 100644 index 000000000000..ceaabd844779 --- /dev/null +++ b/clients/client-workmail/src/pagination/ListMailDomainsPaginator.ts @@ -0,0 +1,59 @@ +import { Paginator } from "@aws-sdk/types"; + +import { + ListMailDomainsCommand, + ListMailDomainsCommandInput, + ListMailDomainsCommandOutput, +} from "../commands/ListMailDomainsCommand"; +import { WorkMail } from "../WorkMail"; +import { WorkMailClient } from "../WorkMailClient"; +import { WorkMailPaginationConfiguration } from "./Interfaces"; + +/** + * @private + */ +const makePagedClientRequest = async ( + client: WorkMailClient, + input: ListMailDomainsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.send(new ListMailDomainsCommand(input), ...args); +}; +/** + * @private + */ +const makePagedRequest = async ( + client: WorkMail, + input: ListMailDomainsCommandInput, + ...args: any +): Promise => { + // @ts-ignore + return await client.listMailDomains(input, ...args); +}; +export async function* paginateListMailDomains( + config: WorkMailPaginationConfiguration, + input: ListMailDomainsCommandInput, + ...additionalArguments: any +): Paginator { + // ToDo: replace with actual type instead of typeof input.NextToken + let token: typeof input.NextToken | undefined = config.startingToken || undefined; + let hasNext = true; + let page: ListMailDomainsCommandOutput; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof WorkMail) { + page = await makePagedRequest(config.client, input, ...additionalArguments); + } else if (config.client instanceof WorkMailClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } else { + throw new Error("Invalid client, expected WorkMail | WorkMailClient"); + } + yield page; + token = page.NextToken; + hasNext = !!token; + } + // @ts-ignore + return undefined; +} diff --git a/clients/client-workmail/src/protocols/Aws_json1_1.ts b/clients/client-workmail/src/protocols/Aws_json1_1.ts index 0a5bdc79aeb7..4413b9dc9127 100644 --- a/clients/client-workmail/src/protocols/Aws_json1_1.ts +++ b/clients/client-workmail/src/protocols/Aws_json1_1.ts @@ -68,6 +68,10 @@ import { DeregisterFromWorkMailCommandInput, DeregisterFromWorkMailCommandOutput, } from "../commands/DeregisterFromWorkMailCommand"; +import { + DeregisterMailDomainCommandInput, + DeregisterMailDomainCommandOutput, +} from "../commands/DeregisterMailDomainCommand"; import { DescribeGroupCommandInput, DescribeGroupCommandOutput } from "../commands/DescribeGroupCommand"; import { DescribeInboundDmarcSettingsCommandInput, @@ -100,6 +104,7 @@ import { GetDefaultRetentionPolicyCommandOutput, } from "../commands/GetDefaultRetentionPolicyCommand"; import { GetMailboxDetailsCommandInput, GetMailboxDetailsCommandOutput } from "../commands/GetMailboxDetailsCommand"; +import { GetMailDomainCommandInput, GetMailDomainCommandOutput } from "../commands/GetMailDomainCommand"; import { GetMobileDeviceAccessEffectCommandInput, GetMobileDeviceAccessEffectCommandOutput, @@ -123,6 +128,7 @@ import { ListMailboxPermissionsCommandInput, ListMailboxPermissionsCommandOutput, } from "../commands/ListMailboxPermissionsCommand"; +import { ListMailDomainsCommandInput, ListMailDomainsCommandOutput } from "../commands/ListMailDomainsCommand"; import { ListMobileDeviceAccessOverridesCommandInput, ListMobileDeviceAccessOverridesCommandOutput, @@ -159,6 +165,7 @@ import { PutMobileDeviceAccessOverrideCommandOutput, } from "../commands/PutMobileDeviceAccessOverrideCommand"; import { PutRetentionPolicyCommandInput, PutRetentionPolicyCommandOutput } from "../commands/PutRetentionPolicyCommand"; +import { RegisterMailDomainCommandInput, RegisterMailDomainCommandOutput } from "../commands/RegisterMailDomainCommand"; import { RegisterToWorkMailCommandInput, RegisterToWorkMailCommandOutput } from "../commands/RegisterToWorkMailCommand"; import { ResetPasswordCommandInput, ResetPasswordCommandOutput } from "../commands/ResetPasswordCommand"; import { @@ -167,6 +174,10 @@ import { } from "../commands/StartMailboxExportJobCommand"; import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; +import { + UpdateDefaultMailDomainCommandInput, + UpdateDefaultMailDomainCommandOutput, +} from "../commands/UpdateDefaultMailDomainCommand"; import { UpdateMailboxQuotaCommandInput, UpdateMailboxQuotaCommandOutput } from "../commands/UpdateMailboxQuotaCommand"; import { UpdateMobileDeviceAccessRuleCommandInput, @@ -221,6 +232,8 @@ import { DeleteUserResponse, DeregisterFromWorkMailRequest, DeregisterFromWorkMailResponse, + DeregisterMailDomainRequest, + DeregisterMailDomainResponse, DescribeGroupRequest, DescribeGroupResponse, DescribeInboundDmarcSettingsRequest, @@ -240,6 +253,7 @@ import { DisassociateDelegateFromResourceResponse, DisassociateMemberFromGroupRequest, DisassociateMemberFromGroupResponse, + DnsRecord, Domain, EmailAddressInUseException, EntityAlreadyRegisteredException, @@ -252,12 +266,15 @@ import { GetDefaultRetentionPolicyResponse, GetMailboxDetailsRequest, GetMailboxDetailsResponse, + GetMailDomainRequest, + GetMailDomainResponse, GetMobileDeviceAccessEffectRequest, GetMobileDeviceAccessEffectResponse, GetMobileDeviceAccessOverrideRequest, GetMobileDeviceAccessOverrideResponse, Group, InvalidConfigurationException, + InvalidCustomSesConfigurationException, InvalidParameterException, InvalidPasswordException, LimitExceededException, @@ -273,6 +290,8 @@ import { ListMailboxExportJobsResponse, ListMailboxPermissionsRequest, ListMailboxPermissionsResponse, + ListMailDomainsRequest, + ListMailDomainsResponse, ListMobileDeviceAccessOverridesRequest, ListMobileDeviceAccessOverridesResponse, ListMobileDeviceAccessRulesRequest, @@ -288,8 +307,10 @@ import { ListUsersRequest, ListUsersResponse, MailboxExportJob, + MailDomainInUseException, MailDomainNotFoundException, MailDomainStateException, + MailDomainSummary, Member, MobileDeviceAccessMatchedRule, MobileDeviceAccessOverride, @@ -310,6 +331,8 @@ import { PutMobileDeviceAccessOverrideResponse, PutRetentionPolicyRequest, PutRetentionPolicyResponse, + RegisterMailDomainRequest, + RegisterMailDomainResponse, RegisterToWorkMailRequest, RegisterToWorkMailResponse, ReservedNameException, @@ -326,6 +349,8 @@ import { UnsupportedOperationException, UntagResourceRequest, UntagResourceResponse, + UpdateDefaultMailDomainRequest, + UpdateDefaultMailDomainResponse, UpdateMailboxQuotaRequest, UpdateMailboxQuotaResponse, UpdateMobileDeviceAccessRuleRequest, @@ -597,6 +622,19 @@ export const serializeAws_json1_1DeregisterFromWorkMailCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1DeregisterMailDomainCommand = async ( + input: DeregisterMailDomainCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "WorkMailService.DeregisterMailDomain", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1DeregisterMailDomainRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1DescribeGroupCommand = async ( input: DescribeGroupCommandInput, context: __SerdeContext @@ -740,6 +778,19 @@ export const serializeAws_json1_1GetMailboxDetailsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1GetMailDomainCommand = async ( + input: GetMailDomainCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "WorkMailService.GetMailDomain", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1GetMailDomainRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1GetMobileDeviceAccessEffectCommand = async ( input: GetMobileDeviceAccessEffectCommandInput, context: __SerdeContext @@ -844,6 +895,19 @@ export const serializeAws_json1_1ListMailboxPermissionsCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1ListMailDomainsCommand = async ( + input: ListMailDomainsCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "WorkMailService.ListMailDomains", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1ListMailDomainsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1ListMobileDeviceAccessOverridesCommand = async ( input: ListMobileDeviceAccessOverridesCommandInput, context: __SerdeContext @@ -1000,6 +1064,19 @@ export const serializeAws_json1_1PutRetentionPolicyCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1RegisterMailDomainCommand = async ( + input: RegisterMailDomainCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "WorkMailService.RegisterMailDomain", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1RegisterMailDomainRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1RegisterToWorkMailCommand = async ( input: RegisterToWorkMailCommandInput, context: __SerdeContext @@ -1065,6 +1142,19 @@ export const serializeAws_json1_1UntagResourceCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; +export const serializeAws_json1_1UpdateDefaultMailDomainCommand = async ( + input: UpdateDefaultMailDomainCommandInput, + context: __SerdeContext +): Promise<__HttpRequest> => { + const headers: __HeaderBag = { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": "WorkMailService.UpdateDefaultMailDomain", + }; + let body: any; + body = JSON.stringify(serializeAws_json1_1UpdateDefaultMailDomainRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; + export const serializeAws_json1_1UpdateMailboxQuotaCommand = async ( input: UpdateMailboxQuotaCommandInput, context: __SerdeContext @@ -2893,6 +2983,92 @@ const deserializeAws_json1_1DeregisterFromWorkMailCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1DeregisterMailDomainCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1DeregisterMailDomainCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1DeregisterMailDomainResponse(data, context); + const response: DeregisterMailDomainCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1DeregisterMailDomainCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidCustomSesConfigurationException": + case "com.amazonaws.workmail#InvalidCustomSesConfigurationException": + response = { + ...(await deserializeAws_json1_1InvalidCustomSesConfigurationExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "InvalidParameterException": + case "com.amazonaws.workmail#InvalidParameterException": + response = { + ...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "MailDomainInUseException": + case "com.amazonaws.workmail#MailDomainInUseException": + response = { + ...(await deserializeAws_json1_1MailDomainInUseExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationNotFoundException": + case "com.amazonaws.workmail#OrganizationNotFoundException": + response = { + ...(await deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationStateException": + case "com.amazonaws.workmail#OrganizationStateException": + response = { + ...(await deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1DescribeGroupCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -3751,6 +3927,84 @@ const deserializeAws_json1_1GetMailboxDetailsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1GetMailDomainCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1GetMailDomainCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1GetMailDomainResponse(data, context); + const response: GetMailDomainCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1GetMailDomainCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidParameterException": + case "com.amazonaws.workmail#InvalidParameterException": + response = { + ...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "MailDomainNotFoundException": + case "com.amazonaws.workmail#MailDomainNotFoundException": + response = { + ...(await deserializeAws_json1_1MailDomainNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationNotFoundException": + case "com.amazonaws.workmail#OrganizationNotFoundException": + response = { + ...(await deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationStateException": + case "com.amazonaws.workmail#OrganizationStateException": + response = { + ...(await deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1GetMobileDeviceAccessEffectCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -4367,6 +4621,76 @@ const deserializeAws_json1_1ListMailboxPermissionsCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1ListMailDomainsCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1ListMailDomainsCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1ListMailDomainsResponse(data, context); + const response: ListMailDomainsCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1ListMailDomainsCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidParameterException": + case "com.amazonaws.workmail#InvalidParameterException": + response = { + ...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationNotFoundException": + case "com.amazonaws.workmail#OrganizationNotFoundException": + response = { + ...(await deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationStateException": + case "com.amazonaws.workmail#OrganizationStateException": + response = { + ...(await deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1ListMobileDeviceAccessOverridesCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5247,10 +5571,96 @@ const deserializeAws_json1_1PutRetentionPolicyCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; -export const deserializeAws_json1_1RegisterToWorkMailCommand = async ( +export const deserializeAws_json1_1RegisterMailDomainCommand = async ( output: __HttpResponse, context: __SerdeContext -): Promise => { +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1RegisterMailDomainCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1RegisterMailDomainResponse(data, context); + const response: RegisterMailDomainCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1RegisterMailDomainCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidParameterException": + case "com.amazonaws.workmail#InvalidParameterException": + response = { + ...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "LimitExceededException": + case "com.amazonaws.workmail#LimitExceededException": + response = { + ...(await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "MailDomainInUseException": + case "com.amazonaws.workmail#MailDomainInUseException": + response = { + ...(await deserializeAws_json1_1MailDomainInUseExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationNotFoundException": + case "com.amazonaws.workmail#OrganizationNotFoundException": + response = { + ...(await deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationStateException": + case "com.amazonaws.workmail#OrganizationStateException": + response = { + ...(await deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + +export const deserializeAws_json1_1RegisterToWorkMailCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { if (output.statusCode >= 300) { return deserializeAws_json1_1RegisterToWorkMailCommandError(output, context); } @@ -5709,6 +6119,92 @@ const deserializeAws_json1_1UntagResourceCommandError = async ( return Promise.reject(Object.assign(new Error(message), response)); }; +export const deserializeAws_json1_1UpdateDefaultMailDomainCommand = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + if (output.statusCode >= 300) { + return deserializeAws_json1_1UpdateDefaultMailDomainCommandError(output, context); + } + const data: any = await parseBody(output.body, context); + let contents: any = {}; + contents = deserializeAws_json1_1UpdateDefaultMailDomainResponse(data, context); + const response: UpdateDefaultMailDomainCommandOutput = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return Promise.resolve(response); +}; + +const deserializeAws_json1_1UpdateDefaultMailDomainCommandError = async ( + output: __HttpResponse, + context: __SerdeContext +): Promise => { + const parsedOutput: any = { + ...output, + body: await parseBody(output.body, context), + }; + let response: __SmithyException & __MetadataBearer & { [key: string]: any }; + let errorCode = "UnknownError"; + errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InvalidParameterException": + case "com.amazonaws.workmail#InvalidParameterException": + response = { + ...(await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "MailDomainNotFoundException": + case "com.amazonaws.workmail#MailDomainNotFoundException": + response = { + ...(await deserializeAws_json1_1MailDomainNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "MailDomainStateException": + case "com.amazonaws.workmail#MailDomainStateException": + response = { + ...(await deserializeAws_json1_1MailDomainStateExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationNotFoundException": + case "com.amazonaws.workmail#OrganizationNotFoundException": + response = { + ...(await deserializeAws_json1_1OrganizationNotFoundExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + case "OrganizationStateException": + case "com.amazonaws.workmail#OrganizationStateException": + response = { + ...(await deserializeAws_json1_1OrganizationStateExceptionResponse(parsedOutput, context)), + name: errorCode, + $metadata: deserializeMetadata(output), + }; + break; + default: + const parsedBody = parsedOutput.body; + errorCode = parsedBody.code || parsedBody.Code || errorCode; + response = { + ...parsedBody, + name: `${errorCode}`, + message: parsedBody.message || parsedBody.Message || errorCode, + $fault: "client", + $metadata: deserializeMetadata(output), + } as any; + } + const message = response.message || response.Message || errorCode; + response.message = message; + delete response.Message; + return Promise.reject(Object.assign(new Error(message), response)); +}; + export const deserializeAws_json1_1UpdateMailboxQuotaCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -6253,6 +6749,21 @@ const deserializeAws_json1_1InvalidConfigurationExceptionResponse = async ( return contents; }; +const deserializeAws_json1_1InvalidCustomSesConfigurationExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_1InvalidCustomSesConfigurationException(body, context); + const contents: InvalidCustomSesConfigurationException = { + name: "InvalidCustomSesConfigurationException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + const deserializeAws_json1_1InvalidParameterExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -6298,6 +6809,21 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async ( return contents; }; +const deserializeAws_json1_1MailDomainInUseExceptionResponse = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = deserializeAws_json1_1MailDomainInUseException(body, context); + const contents: MailDomainInUseException = { + name: "MailDomainInUseException", + $fault: "client", + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }; + return contents; +}; + const deserializeAws_json1_1MailDomainNotFoundExceptionResponse = async ( parsedOutput: any, context: __SerdeContext @@ -6709,6 +7235,17 @@ const serializeAws_json1_1DeregisterFromWorkMailRequest = ( }; }; +const serializeAws_json1_1DeregisterMailDomainRequest = ( + input: DeregisterMailDomainRequest, + context: __SerdeContext +): any => { + return { + ...(input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName }), + ...(input.OrganizationId !== undefined && + input.OrganizationId !== null && { OrganizationId: input.OrganizationId }), + }; +}; + const serializeAws_json1_1DescribeGroupRequest = (input: DescribeGroupRequest, context: __SerdeContext): any => { return { ...(input.GroupId !== undefined && input.GroupId !== null && { GroupId: input.GroupId }), @@ -6903,6 +7440,14 @@ const serializeAws_json1_1GetMailboxDetailsRequest = ( }; }; +const serializeAws_json1_1GetMailDomainRequest = (input: GetMailDomainRequest, context: __SerdeContext): any => { + return { + ...(input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName }), + ...(input.OrganizationId !== undefined && + input.OrganizationId !== null && { OrganizationId: input.OrganizationId }), + }; +}; + const serializeAws_json1_1GetMobileDeviceAccessEffectRequest = ( input: GetMobileDeviceAccessEffectRequest, context: __SerdeContext @@ -7006,6 +7551,15 @@ const serializeAws_json1_1ListMailboxPermissionsRequest = ( }; }; +const serializeAws_json1_1ListMailDomainsRequest = (input: ListMailDomainsRequest, context: __SerdeContext): any => { + return { + ...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }), + ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }), + ...(input.OrganizationId !== undefined && + input.OrganizationId !== null && { OrganizationId: input.OrganizationId }), + }; +}; + const serializeAws_json1_1ListMobileDeviceAccessOverridesRequest = ( input: ListMobileDeviceAccessOverridesRequest, context: __SerdeContext @@ -7174,6 +7728,18 @@ const serializeAws_json1_1PutRetentionPolicyRequest = ( }; }; +const serializeAws_json1_1RegisterMailDomainRequest = ( + input: RegisterMailDomainRequest, + context: __SerdeContext +): any => { + return { + ClientToken: input.ClientToken ?? generateIdempotencyToken(), + ...(input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName }), + ...(input.OrganizationId !== undefined && + input.OrganizationId !== null && { OrganizationId: input.OrganizationId }), + }; +}; + const serializeAws_json1_1RegisterToWorkMailRequest = ( input: RegisterToWorkMailRequest, context: __SerdeContext @@ -7256,6 +7822,17 @@ const serializeAws_json1_1UntagResourceRequest = (input: UntagResourceRequest, c }; }; +const serializeAws_json1_1UpdateDefaultMailDomainRequest = ( + input: UpdateDefaultMailDomainRequest, + context: __SerdeContext +): any => { + return { + ...(input.DomainName !== undefined && input.DomainName !== null && { DomainName: input.DomainName }), + ...(input.OrganizationId !== undefined && + input.OrganizationId !== null && { OrganizationId: input.OrganizationId }), + }; +}; + const serializeAws_json1_1UpdateMailboxQuotaRequest = ( input: UpdateMailboxQuotaRequest, context: __SerdeContext @@ -7580,6 +8157,13 @@ const deserializeAws_json1_1DeregisterFromWorkMailResponse = ( return {} as any; }; +const deserializeAws_json1_1DeregisterMailDomainResponse = ( + output: any, + context: __SerdeContext +): DeregisterMailDomainResponse => { + return {} as any; +}; + const deserializeAws_json1_1DescribeGroupResponse = (output: any, context: __SerdeContext): DescribeGroupResponse => { return { DisabledDate: @@ -7781,6 +8365,25 @@ const deserializeAws_json1_1DisassociateMemberFromGroupResponse = ( return {} as any; }; +const deserializeAws_json1_1DnsRecord = (output: any, context: __SerdeContext): DnsRecord => { + return { + Hostname: __expectString(output.Hostname), + Type: __expectString(output.Type), + Value: __expectString(output.Value), + } as any; +}; + +const deserializeAws_json1_1DnsRecords = (output: any, context: __SerdeContext): DnsRecord[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1DnsRecord(entry, context); + }); +}; + const deserializeAws_json1_1EmailAddressInUseException = ( output: any, context: __SerdeContext @@ -7871,6 +8474,19 @@ const deserializeAws_json1_1GetMailboxDetailsResponse = ( } as any; }; +const deserializeAws_json1_1GetMailDomainResponse = (output: any, context: __SerdeContext): GetMailDomainResponse => { + return { + DkimVerificationStatus: __expectString(output.DkimVerificationStatus), + IsDefault: __expectBoolean(output.IsDefault), + IsTestDomain: __expectBoolean(output.IsTestDomain), + OwnershipVerificationStatus: __expectString(output.OwnershipVerificationStatus), + Records: + output.Records !== undefined && output.Records !== null + ? deserializeAws_json1_1DnsRecords(output.Records, context) + : undefined, + } as any; +}; + const deserializeAws_json1_1GetMobileDeviceAccessEffectResponse = ( output: any, context: __SerdeContext @@ -7941,6 +8557,15 @@ const deserializeAws_json1_1InvalidConfigurationException = ( } as any; }; +const deserializeAws_json1_1InvalidCustomSesConfigurationException = ( + output: any, + context: __SerdeContext +): InvalidCustomSesConfigurationException => { + return { + Message: __expectString(output.Message), + } as any; +}; + const deserializeAws_json1_1InvalidParameterException = ( output: any, context: __SerdeContext @@ -8056,6 +8681,19 @@ const deserializeAws_json1_1ListMailboxPermissionsResponse = ( } as any; }; +const deserializeAws_json1_1ListMailDomainsResponse = ( + output: any, + context: __SerdeContext +): ListMailDomainsResponse => { + return { + MailDomains: + output.MailDomains !== undefined && output.MailDomains !== null + ? deserializeAws_json1_1MailDomains(output.MailDomains, context) + : undefined, + NextToken: __expectString(output.NextToken), + } as any; +}; + const deserializeAws_json1_1ListMobileDeviceAccessOverridesResponse = ( output: any, context: __SerdeContext @@ -8159,6 +8797,15 @@ const deserializeAws_json1_1MailboxExportJob = (output: any, context: __SerdeCon } as any; }; +const deserializeAws_json1_1MailDomainInUseException = ( + output: any, + context: __SerdeContext +): MailDomainInUseException => { + return { + Message: __expectString(output.Message), + } as any; +}; + const deserializeAws_json1_1MailDomainNotFoundException = ( output: any, context: __SerdeContext @@ -8168,6 +8815,17 @@ const deserializeAws_json1_1MailDomainNotFoundException = ( } as any; }; +const deserializeAws_json1_1MailDomains = (output: any, context: __SerdeContext): MailDomainSummary[] => { + return (output || []) + .filter((e: any) => e != null) + .map((entry: any) => { + if (entry === null) { + return null as any; + } + return deserializeAws_json1_1MailDomainSummary(entry, context); + }); +}; + const deserializeAws_json1_1MailDomainStateException = ( output: any, context: __SerdeContext @@ -8177,6 +8835,13 @@ const deserializeAws_json1_1MailDomainStateException = ( } as any; }; +const deserializeAws_json1_1MailDomainSummary = (output: any, context: __SerdeContext): MailDomainSummary => { + return { + DefaultDomain: __expectBoolean(output.DefaultDomain), + DomainName: __expectString(output.DomainName), + } as any; +}; + const deserializeAws_json1_1Member = (output: any, context: __SerdeContext): Member => { return { DisabledDate: @@ -8442,6 +9107,13 @@ const deserializeAws_json1_1PutRetentionPolicyResponse = ( return {} as any; }; +const deserializeAws_json1_1RegisterMailDomainResponse = ( + output: any, + context: __SerdeContext +): RegisterMailDomainResponse => { + return {} as any; +}; + const deserializeAws_json1_1RegisterToWorkMailResponse = ( output: any, context: __SerdeContext @@ -8558,6 +9230,13 @@ const deserializeAws_json1_1UntagResourceResponse = (output: any, context: __Ser return {} as any; }; +const deserializeAws_json1_1UpdateDefaultMailDomainResponse = ( + output: any, + context: __SerdeContext +): UpdateDefaultMailDomainResponse => { + return {} as any; +}; + const deserializeAws_json1_1UpdateMailboxQuotaResponse = ( output: any, context: __SerdeContext diff --git a/clients/client-workmailmessageflow/src/endpoints.ts b/clients/client-workmailmessageflow/src/endpoints.ts index b05b60a444ba..23ca385b6ce9 100644 --- a/clients/client-workmailmessageflow/src/endpoints.ts +++ b/clients/client-workmailmessageflow/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "workmailmessageflow.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "workmailmessageflow.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-workspaces/src/endpoints.ts b/clients/client-workspaces/src/endpoints.ts index 0cdf5b0014cd..9d0c2a60f4ae 100644 --- a/clients/client-workspaces/src/endpoints.ts +++ b/clients/client-workspaces/src/endpoints.ts @@ -50,7 +50,7 @@ const partitionHash: PartitionHash = { hostname: "workspaces.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "workspaces.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/clients/client-xray/src/endpoints.ts b/clients/client-xray/src/endpoints.ts index f937a7a49e4b..98da48a931e7 100644 --- a/clients/client-xray/src/endpoints.ts +++ b/clients/client-xray/src/endpoints.ts @@ -64,7 +64,7 @@ const partitionHash: PartitionHash = { hostname: "xray.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "xray.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json b/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json index 37d05ff0341b..d953b6ea1d4e 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.2011-01-01.json @@ -621,6 +621,12 @@ "traits": { "smithy.api#documentation": "

                  The maximum number of items to return with this call. The default value is\n 50 and the maximum value is 100.

                  " } + }, + "Filters": { + "target": "com.amazonaws.autoscaling#Filters", + "traits": { + "smithy.api#documentation": "

                  One or more filters to limit the results based on specific tags.\n

                  " + } } } }, @@ -966,7 +972,7 @@ "name": "autoscaling" }, "aws.protocols#awsQuery": {}, - "smithy.api#documentation": "Amazon EC2 Auto Scaling\n \n \n \n \n \n\n \n

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

                  \n

                  For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide. For information about granting IAM users required\n permissions for calls to Amazon EC2 Auto Scaling, see Granting\n IAM users required permissions for Amazon EC2 Auto Scaling resources in the\n Amazon EC2 Auto Scaling API Reference.

                  ", + "smithy.api#documentation": "Amazon EC2 Auto Scaling\n \n \n \n \n \n \n \n\n \n

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

                  \n

                  For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide. For information about granting IAM users required\n permissions for calls to Amazon EC2 Auto Scaling, see Granting\n IAM users required permissions for Amazon EC2 Auto Scaling resources in the\n Amazon EC2 Auto Scaling API Reference.

                  ", "smithy.api#title": "Auto Scaling", "smithy.api#xmlNamespace": { "uri": "http://autoscaling.amazonaws.com/doc/2011-01-01/" @@ -1625,7 +1631,7 @@ "EbsOptimized": { "target": "com.amazonaws.autoscaling#EbsOptimized", "traits": { - "smithy.api#documentation": "

                  Specifies whether the launch configuration is optimized for EBS I/O\n (true) or not (false). The optimization provides dedicated\n throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O\n performance. This optimization is not available with all instance types. Additional fees\n are incurred when you enable EBS optimization for an instance type that is not\n EBS-optimized by default. For more information, see Amazon EBS-Optimized\n Instances in the Amazon EC2 User Guide for Linux Instances.

                  \n

                  The default value is false.

                  " + "smithy.api#documentation": "

                  Specifies whether the launch configuration is optimized for EBS I/O\n (true) or not (false). The optimization provides dedicated\n throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O\n performance. This optimization is not available with all instance types. Additional fees\n are incurred when you enable EBS optimization for an instance type that is not\n EBS-optimized by default. For more information, see Amazon EBS-optimized instances in\n the Amazon EC2 User Guide for Linux Instances.

                  \n

                  The default value is false.

                  " } }, "AssociatePublicIpAddress": { @@ -2008,7 +2014,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Describes the current Amazon EC2 Auto Scaling resource quotas for your account.

                  \n

                  When you establish an account, the account has initial quotas on the maximum\n number of Auto Scaling groups and launch configurations that you can create in a given Region.\n For more information, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.

                  " + "smithy.api#documentation": "

                  Describes the current Amazon EC2 Auto Scaling resource quotas for your account.

                  \n

                  When you establish an Amazon Web Services account, the account has initial quotas on the maximum\n number of Auto Scaling groups and launch configurations that you can create in a given Region.\n For more information, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.

                  " } }, "com.amazonaws.autoscaling#DescribeAccountLimitsAnswer": { @@ -2082,7 +2088,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Gets information about the Auto Scaling groups in the account and Region.

                  \n

                  This operation returns information about instances in Auto Scaling groups. To retrieve\n information about the instances in a warm pool, you must call the DescribeWarmPool API.

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

                  Gets information about the Auto Scaling groups in the account and Region.

                  \n

                  If you specify Auto Scaling group names, the output includes information for only the\n specified Auto Scaling groups. If you specify filters, the output includes information for only\n those Auto Scaling groups that meet the filter criteria. If you do not specify group names or\n filters, the output includes information for all Auto Scaling groups.

                  \n

                  This operation also returns information about instances in Auto Scaling groups. To retrieve\n information about the instances in a warm pool, you must call the DescribeWarmPool API.

                  ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -2415,6 +2421,9 @@ "target": "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsResponse" }, "errors": [ + { + "target": "com.amazonaws.autoscaling#InvalidNextToken" + }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } @@ -2473,6 +2482,9 @@ "target": "com.amazonaws.autoscaling#DescribeLoadBalancersResponse" }, "errors": [ + { + "target": "com.amazonaws.autoscaling#InvalidNextToken" + }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } @@ -3173,7 +3185,7 @@ "VolumeType": { "target": "com.amazonaws.autoscaling#BlockDeviceEbsVolumeType", "traits": { - "smithy.api#documentation": "

                  The volume type. For more information, see Amazon EBS Volume Types in\n the Amazon EC2 User Guide for Linux Instances.

                  \n

                  Valid Values: standard | io1 | gp2 |\n st1 | sc1 | gp3\n

                  " + "smithy.api#documentation": "

                  The volume type. For more information, see Amazon EBS volume types in the\n Amazon EC2 User Guide for Linux Instances.

                  \n

                  Valid Values: standard | io1 | gp2 |\n st1 | sc1 | gp3\n

                  " } }, "DeleteOnTermination": { @@ -3191,7 +3203,7 @@ "Encrypted": { "target": "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted", "traits": { - "smithy.api#documentation": "

                  Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be\n attached to instances that support Amazon EBS encryption. For more information, see\n Supported Instance Types. If your AMI uses encrypted volumes, you can also\n only launch it on supported instance types.

                  \n \n

                  If you are creating a volume from a snapshot, you cannot specify an encryption\n value. Volumes that are created from encrypted snapshots are automatically\n encrypted, and volumes that are created from unencrypted snapshots are automatically\n unencrypted. By default, encrypted snapshots use the Amazon Web Services managed CMK that is used\n for EBS encryption, but you can specify a custom CMK when you create the snapshot.\n The ability to encrypt a snapshot during copying also allows you to apply a new CMK\n to an already-encrypted snapshot. Volumes restored from the\n resulting copy are only accessible using the new CMK.

                  \n

                  Enabling encryption by default results in all EBS volumes being encrypted with\n the Amazon Web Services managed CMK or a customer managed CMK, whether or not the snapshot was\n encrypted.

                  \n
                  \n

                  For more information, see Using Encryption with EBS-Backed\n AMIs in the Amazon EC2 User Guide for Linux Instances and Required\n CMK key policy for use with encrypted volumes in the\n Amazon EC2 Auto Scaling User Guide.

                  " + "smithy.api#documentation": "

                  Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be\n attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also\n only launch it on supported instance types.

                  \n \n

                  If you are creating a volume from a snapshot, you cannot create an unencrypted\n volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using\n a launch configuration.

                  \n

                  If you enable encryption by default, the EBS volumes that you create are always\n encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key,\n regardless of whether the snapshot was encrypted.

                  \n

                  For more information, see Using Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the\n Amazon EC2 Auto Scaling User Guide.

                  \n
                  " } }, "Throughput": { @@ -3473,18 +3485,18 @@ "Name": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { - "smithy.api#documentation": "

                  The name of the filter. The valid values are: auto-scaling-group,\n key, value, and propagate-at-launch.

                  " + "smithy.api#documentation": "

                  The name of the filter.

                  \n

                  The valid values for Name depend on the API operation that you are\n including the filter in, DescribeAutoScalingGroups or DescribeTags.

                  \n

                  \n DescribeAutoScalingGroups\n

                  \n

                  Valid values for Name include the following:

                  \n
                    \n
                  • \n

                    \n tag-key - Accepts tag keys. The results will only include\n information about the Auto Scaling groups associated with these tag keys.

                    \n
                  • \n
                  • \n

                    \n tag-value - Accepts tag values. The results will only include\n information about the Auto Scaling groups associated with these tag values.

                    \n
                  • \n
                  • \n

                    \n tag: - Accepts the key/value combination of the tag.\n Use the tag key in the filter name and the tag value as the filter value. The\n results will only include information about the Auto Scaling groups associated with the\n specified key/value combination.

                    \n
                  • \n
                  \n

                  \n DescribeTags\n

                  \n

                  Valid values for Name include the following:

                  \n
                    \n
                  • \n

                    \n auto-scaling-group - Accepts the names of Auto Scaling groups. The\n results will only include information about the tags associated with these Auto Scaling\n groups.

                    \n
                  • \n
                  • \n

                    \n key - Accepts tag keys. The results will only include information\n about the tags associated with these tag keys.

                    \n
                  • \n
                  • \n

                    \n value - Accepts tag values. The results will only include\n information about the tags associated with these tag values.

                    \n
                  • \n
                  • \n

                    \n propagate-at-launch - Accepts a boolean value, which specifies\n whether tags propagate to instances at launch. The results will only include\n information about the tags associated with the specified boolean value.

                    \n
                  • \n
                  " } }, "Values": { "target": "com.amazonaws.autoscaling#Values", "traits": { - "smithy.api#documentation": "

                  One or more filter values. Filter values are case-sensitive.

                  " + "smithy.api#documentation": "

                  One or more filter values. Filter values are case-sensitive.

                  \n

                  If you specify multiple values for a filter, the values are joined with an\n OR, and the request returns all results that match any of the specified\n values. For example, specify \"tag:environment\" for the filter name and\n \"production,development\" for the filter values to find Auto Scaling groups with the tag\n \"environment=production\" or \"environment=development\".

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

                  Describes a filter that is used to return a more specific list of results when\n describing tags.

                  \n

                  For more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.

                  " + "smithy.api#documentation": "

                  Describes a filter that is used to return a more specific list of results from a\n describe operation.

                  \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.

                  \n

                  For more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.

                  " } }, "com.amazonaws.autoscaling#Filters": { diff --git a/codegen/sdk-codegen/aws-models/cloudsearch.2013-01-01.json b/codegen/sdk-codegen/aws-models/cloudsearch.2013-01-01.json index c96662061ef0..9aca840746d1 100644 --- a/codegen/sdk-codegen/aws-models/cloudsearch.2013-01-01.json +++ b/codegen/sdk-codegen/aws-models/cloudsearch.2013-01-01.json @@ -483,6 +483,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -671,6 +674,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -734,6 +740,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -797,6 +806,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -861,6 +873,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -921,6 +936,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -1029,6 +1047,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -1091,6 +1112,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -1153,6 +1177,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -2194,6 +2221,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -3323,6 +3353,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { @@ -3386,6 +3419,9 @@ }, { "target": "com.amazonaws.cloudsearch#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.cloudsearch#ValidationException" } ], "traits": { diff --git a/codegen/sdk-codegen/aws-models/config-service.2014-11-12.json b/codegen/sdk-codegen/aws-models/config-service.2014-11-12.json index 99e97c35b200..2c1b7f82d956 100644 --- a/codegen/sdk-codegen/aws-models/config-service.2014-11-12.json +++ b/codegen/sdk-codegen/aws-models/config-service.2014-11-12.json @@ -10315,6 +10315,10 @@ { "value": "AWS::EKS::Cluster", "name": "EKSCluster" + }, + { + "value": "AWS::OpenSearch::Domain", + "name": "OpenSearchDomain" } ] } diff --git a/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json b/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json index 3754fb0b45c9..105e4fcde0f0 100644 --- a/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json +++ b/codegen/sdk-codegen/aws-models/ec2.2016-11-15.json @@ -596,7 +596,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "NetworkBorderGroup", - "smithy.api#documentation": "

                  The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from\n which AWS advertises IP addresses.

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

                  The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from\n which Amazon Web Services advertises IP addresses.

                  ", "smithy.api#xmlName": "networkBorderGroup" } }, @@ -801,7 +801,7 @@ "NetworkBorderGroup": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS\n advertises IP addresses. Use this parameter to limit the IP address to this location. IP\n addresses cannot move between network border groups.

                  \n

                  Use DescribeAvailabilityZones to view the network border groups.

                  \n \n \n

                  You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

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

                  A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services\n advertises IP addresses. Use this parameter to limit the IP address to this location. IP\n addresses cannot move between network border groups.

                  \n

                  Use DescribeAvailabilityZones to view the network border groups.

                  \n \n

                  You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, \n you receive an InvalidParameterCombination error.

                  " } }, "CustomerOwnedIpv4Pool": { @@ -858,7 +858,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "NetworkBorderGroup", - "smithy.api#documentation": "

                  The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises\n IP addresses.

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

                  The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises\n IP addresses.

                  ", "smithy.api#xmlName": "networkBorderGroup" } }, @@ -3035,6 +3035,10 @@ { "value": "arm64", "name": "arm64" + }, + { + "value": "x86_64_mac", + "name": "x86_64_mac" } ] } @@ -8193,7 +8197,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "AwsAccountId", - "smithy.api#documentation": "

                  The AWS account ID.

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

                  The Amazon Web Services account ID.

                  ", "smithy.api#xmlName": "awsAccountId" } }, @@ -8201,7 +8205,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "AwsService", - "smithy.api#documentation": "

                  The AWS service.

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

                  The Amazon Web Services service.

                  ", "smithy.api#xmlName": "awsService" } }, @@ -8703,7 +8707,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. \n For more information, see Ensuring Idempotency.

                  " + "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. \n For more information, see Ensuring idempotency.

                  " } } } @@ -10154,19 +10158,19 @@ "LogDestinationType": { "target": "com.amazonaws.ec2#LogDestinationType", "traits": { - "smithy.api#documentation": "

                  Specifies the type of destination to which the flow log data is to be published. Flow log data can be \n published to CloudWatch Logs or Amazon S3. To publish flow log data to CloudWatch Logs, specify cloud-watch-logs. To \n publish flow log data to Amazon S3, specify s3.

                  \n

                  If you specify LogDestinationType as s3, do not specify \n DeliverLogsPermissionArn or LogGroupName.

                  \n

                  Default: cloud-watch-logs\n

                  " + "smithy.api#documentation": "

                  The type of destination to which the flow log data is to be published. Flow log data can be \n published to CloudWatch Logs or Amazon S3. To publish flow log data to CloudWatch Logs, specify cloud-watch-logs. To \n publish flow log data to Amazon S3, specify s3.

                  \n

                  If you specify LogDestinationType as s3, do not specify \n DeliverLogsPermissionArn or LogGroupName.

                  \n

                  Default: cloud-watch-logs\n

                  " } }, "LogDestination": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Specifies the destination to which the flow log data is to be published. Flow log data can be published \n to a CloudWatch Logs log group or an Amazon S3 bucket. The value specified for this parameter depends on the value specified\n for LogDestinationType.

                  \n

                  If LogDestinationType is not specified or cloud-watch-logs,\n specify the Amazon Resource Name (ARN) of the CloudWatch Logs log group. For example, to publish\n to a log group called my-logs, specify\n arn:aws:logs:us-east-1:123456789012:log-group:my-logs. Alternatively,\n use LogGroupName instead.

                  \n

                  If LogDestinationType is s3, specify the ARN of the Amazon S3 bucket. You can also specify a \n subfolder in the bucket. To specify a subfolder in the bucket, use the following ARN format: \n bucket_ARN/subfolder_name/. For example, to specify a subfolder named my-logs in a \n bucket named my-bucket, use the following ARN: arn:aws:s3:::my-bucket/my-logs/. You \n cannot use AWSLogs as a subfolder name. This is a reserved term.

                  " + "smithy.api#documentation": "

                  The destination to which the flow log data is to be published. Flow log data can be published \n to a CloudWatch Logs log group or an Amazon S3 bucket. The value specified for this parameter depends on the value specified\n for LogDestinationType.

                  \n

                  If LogDestinationType is not specified or cloud-watch-logs,\n specify the Amazon Resource Name (ARN) of the CloudWatch Logs log group. For example, to publish\n to a log group called my-logs, specify\n arn:aws:logs:us-east-1:123456789012:log-group:my-logs. Alternatively,\n use LogGroupName instead.

                  \n

                  If LogDestinationType is s3, specify the ARN of the Amazon S3 bucket. You can also specify a \n subfolder in the bucket. To specify a subfolder in the bucket, use the following ARN format: \n bucket_ARN/subfolder_name/. For example, to specify a subfolder named my-logs in a \n bucket named my-bucket, use the following ARN: arn:aws:s3:::my-bucket/my-logs/. You \n cannot use AWSLogs as a subfolder name. This is a reserved term.

                  " } }, "LogFormat": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  The fields to include in the flow log record, in the order in which they should\n appear. For a list of available fields, see Flow log records. If you\n omit this parameter, the flow log is created using the default format. If you specify this parameter, \n you must specify at least one field.

                  \n

                  Specify the fields using the ${field-id} format, separated by spaces. For\n the CLI, use single quotation marks (' ') to surround the parameter value.

                  " + "smithy.api#documentation": "

                  The fields to include in the flow log record, in the order in which they should\n appear. For a list of available fields, see Flow log records. If you\n omit this parameter, the flow log is created using the default format. If you specify this parameter, \n you must specify at least one field.

                  \n

                  Specify the fields using the ${field-id} format, separated by spaces. For\n the CLI, surround this parameter value with single quotes on Linux or\n double quotes on Windows.

                  " } }, "TagSpecifications": { @@ -10181,6 +10185,12 @@ "traits": { "smithy.api#documentation": "

                  The maximum interval of time during which a flow of packets is captured and aggregated into a flow log record. You can specify 60 seconds (1 minute) or 600 seconds (10 minutes).

                  \n

                  When a network interface is attached to a Nitro-based\n instance, the aggregation interval is always 60 seconds or less, regardless\n of the value that you specify.

                  \n

                  Default: 600

                  " } + }, + "DestinationOptions": { + "target": "com.amazonaws.ec2#DestinationOptionsRequest", + "traits": { + "smithy.api#documentation": "

                  The destination options.

                  " + } } } }, @@ -10222,7 +10232,7 @@ "target": "com.amazonaws.ec2#CreateFpgaImageResult" }, "traits": { - "smithy.api#documentation": "

                  Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).

                  \n

                  The create operation is asynchronous. To verify that the AFI is ready for use, \n check the output logs.

                  \n

                  An AFI contains the FPGA bitstream that is ready to download to an FPGA. \n You can securely deploy an AFI on multiple FPGA-accelerated instances.\n For more information, see the AWS FPGA Hardware Development Kit.

                  " + "smithy.api#documentation": "

                  Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).

                  \n

                  The create operation is asynchronous. To verify that the AFI is ready for use, \n check the output logs.

                  \n

                  An AFI contains the FPGA bitstream that is ready to download to an FPGA. \n You can securely deploy an AFI on multiple FPGA-accelerated instances.\n For more information, see the Amazon Web Services FPGA Hardware Development Kit.

                  " } }, "com.amazonaws.ec2#CreateFpgaImageRequest": { @@ -10615,7 +10625,7 @@ "target": "com.amazonaws.ec2#CreateLaunchTemplateResult" }, "traits": { - "smithy.api#documentation": "

                  Creates a launch template. A launch template contains the parameters to launch an\n instance. When you launch an instance using RunInstances, you can\n specify a launch template instead of providing the launch parameters in the request. For\n more information, see Launching an instance from a\n launch templatein the Amazon Elastic Compute Cloud User Guide.

                  " + "smithy.api#documentation": "

                  Creates a launch template. A launch template contains the parameters to launch an\n instance. When you launch an instance using RunInstances, you can\n specify a launch template instead of providing the launch parameters in the request. For\n more information, see Launching an instance from a\n launch template in the Amazon Elastic Compute Cloud User Guide.

                  " } }, "com.amazonaws.ec2#CreateLaunchTemplateRequest": { @@ -10793,18 +10803,18 @@ "smithy.api#required": {} } }, - "DryRun": { - "target": "com.amazonaws.ec2#Boolean", - "traits": { - "smithy.api#documentation": "

                  Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

                  " - } - }, "LocalGatewayVirtualInterfaceGroupId": { "target": "com.amazonaws.ec2#LocalGatewayVirtualInterfaceGroupId", "traits": { "smithy.api#documentation": "

                  The ID of the virtual interface group.

                  ", "smithy.api#required": {} } + }, + "DryRun": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

                  Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

                  " + } } } }, @@ -12379,6 +12389,13 @@ "smithy.api#documentation": "

                  The AZ ID or the Local Zone ID of the subnet.

                  " } }, + "CidrBlock": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

                  The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

                  ", + "smithy.api#required": {} + } + }, "Ipv6CidrBlock": { "target": "com.amazonaws.ec2#String", "traits": { @@ -12405,13 +12422,6 @@ "smithy.api#documentation": "

                  Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

                  ", "smithy.api#xmlName": "dryRun" } - }, - "CidrBlock": { - "target": "com.amazonaws.ec2#String", - "traits": { - "smithy.api#documentation": "

                  The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24. We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

                  ", - "smithy.api#required": {} - } } } }, @@ -12503,7 +12513,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#idempotencyToken": {} } } @@ -12524,7 +12534,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "ClientToken", - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#xmlName": "clientToken" } } @@ -12539,7 +12549,7 @@ "target": "com.amazonaws.ec2#CreateTrafficMirrorFilterRuleResult" }, "traits": { - "smithy.api#documentation": "

                  Creates a Traffic Mirror filter rule.

                  \n

                  A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

                  \n

                  You need the Traffic Mirror filter ID when you create the rule.

                  " + "smithy.api#documentation": "

                  Creates a Traffic Mirror filter rule.

                  \n

                  A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

                  \n

                  You need the Traffic Mirror filter ID when you create the rule.

                  " } }, "com.amazonaws.ec2#CreateTrafficMirrorFilterRuleRequest": { @@ -12555,7 +12565,7 @@ "TrafficDirection": { "target": "com.amazonaws.ec2#TrafficDirection", "traits": { - "smithy.api#documentation": "

                  The type of traffic (ingress | egress).

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

                  The type of traffic.

                  ", "smithy.api#required": {} } }, @@ -12569,7 +12579,7 @@ "RuleAction": { "target": "com.amazonaws.ec2#TrafficMirrorRuleAction", "traits": { - "smithy.api#documentation": "

                  The action to take (accept | reject) on the filtered traffic.

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

                  The action to take on the filtered traffic.

                  ", "smithy.api#required": {} } }, @@ -12620,7 +12630,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#idempotencyToken": {} } } @@ -12641,7 +12651,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "ClientToken", - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#xmlName": "clientToken" } } @@ -12724,7 +12734,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#idempotencyToken": {} } } @@ -12745,7 +12755,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "ClientToken", - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#xmlName": "clientToken" } } @@ -12800,7 +12810,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#idempotencyToken": {} } } @@ -12821,7 +12831,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "ClientToken", - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

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

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

                  ", "smithy.api#xmlName": "clientToken" } } @@ -13627,7 +13637,7 @@ "target": "com.amazonaws.ec2#CreateVpcEndpointResult" }, "traits": { - "smithy.api#documentation": "

                  Creates a VPC endpoint for a specified service. An endpoint enables you to create a\n private connection between your VPC and the service. The service may be provided by AWS,\n an AWS Marketplace Partner, or another AWS account. For more information, see VPC Endpoints in\n the Amazon Virtual Private Cloud User Guide.

                  \n

                  A gateway endpoint serves as a target for a route in your route table for\n traffic destined for the AWS service. You can specify an endpoint policy to attach to\n the endpoint, which will control access to the service from your VPC. You can also\n specify the VPC route tables that use the endpoint.

                  \n

                  An interface endpoint is a network interface in your subnet that\n serves as an endpoint for communicating with the specified service. You can specify the\n subnets in which to create an endpoint, and the security groups to associate with the\n endpoint network interface.

                  \n

                  A GatewayLoadBalancer endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.

                  \n

                  Use DescribeVpcEndpointServices to get a list of supported\n services.

                  " + "smithy.api#documentation": "

                  Creates a VPC endpoint for a specified service. An endpoint enables you to create a\n private connection between your VPC and the service. The service may be provided by Amazon Web Services,\n an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information, \n see VPC Endpoints in the\n Amazon Virtual Private Cloud User Guide.

                  \n

                  A gateway endpoint serves as a target for a route in your route table for\n traffic destined for the Amazon Web Service. You can specify an endpoint policy to attach \n to the endpoint, which will control access to the service from your VPC. You can also\n specify the VPC route tables that use the endpoint.

                  \n

                  An interface endpoint is a network interface in your subnet that\n serves as an endpoint for communicating with the specified service. You can specify the\n subnets in which to create an endpoint, and the security groups to associate with the\n endpoint network interface.

                  \n

                  A GatewayLoadBalancer endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.

                  \n

                  Use DescribeVpcEndpointServices to get a list of supported\n services.

                  " } }, "com.amazonaws.ec2#CreateVpcEndpointConnectionNotification": { @@ -13680,7 +13690,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. For more information, see How to Ensure\n Idempotency.

                  " + "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. For more information, see How to ensure\n idempotency.

                  " } } } @@ -13765,7 +13775,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. For more information, see How to Ensure\n Idempotency.

                  " + "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. For more information, see How to ensure\n idempotency.

                  " } }, "PrivateDnsEnabled": { @@ -13819,7 +13829,7 @@ "target": "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationResult" }, "traits": { - "smithy.api#documentation": "

                  Creates a VPC endpoint service configuration to which service consumers (AWS accounts,\n IAM users, and IAM roles) can connect.

                  \n

                  To create an endpoint service configuration, you must first create one of the\n following for your service:

                  \n
                    \n
                  • \n

                    A Network Load Balancer. Service consumers connect to your service using an\n interface endpoint.

                    \n
                  • \n
                  • \n

                    A Gateway Load Balancer. Service consumers connect to your service using a\n Gateway Load Balancer endpoint.

                    \n
                  • \n
                  \n

                  For more information, see VPC Endpoint Services in the\n Amazon Virtual Private Cloud User Guide.

                  \n

                  If you set the private DNS name, you must prove that you own the private DNS domain\n name. For more information, see VPC Endpoint Service\n Private DNS Name Verification in the\n Amazon Virtual Private Cloud User Guide.

                  " + "smithy.api#documentation": "

                  Creates a VPC endpoint service configuration to which service consumers (Amazon Web Services accounts,\n IAM users, and IAM roles) can connect.

                  \n

                  To create an endpoint service configuration, you must first create one of the\n following for your service:

                  \n
                    \n
                  • \n

                    A Network Load Balancer. Service consumers connect to your service using an\n interface endpoint.

                    \n
                  • \n
                  • \n

                    A Gateway Load Balancer. Service consumers connect to your service using a\n Gateway Load Balancer endpoint.

                    \n
                  • \n
                  \n

                  For more information, see VPC Endpoint Services in the\n Amazon Virtual Private Cloud User Guide.

                  \n

                  If you set the private DNS name, you must prove that you own the private DNS domain\n name. For more information, see VPC Endpoint Service\n Private DNS Name Verification in the\n Amazon Virtual Private Cloud User Guide.

                  " } }, "com.amazonaws.ec2#CreateVpcEndpointServiceConfigurationRequest": { @@ -13860,7 +13870,7 @@ "ClientToken": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.\n For more information, see How to Ensure\n Idempotency.

                  " + "smithy.api#documentation": "

                  Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.\n For more information, see How to ensure\n idempotency.

                  " } }, "TagSpecifications": { @@ -17558,7 +17568,7 @@ "target": "com.amazonaws.ec2#DescribeAvailabilityZonesResult" }, "traits": { - "smithy.api#documentation": "

                  Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to\n you. If there is an event impacting a zone, you can use this request to view the state and any\n provided messages for that zone.

                  \n

                  For more information about Availability Zones, Local Zones, and Wavelength Zones, see\n Regions, Zones and\n Outposts in the Amazon Elastic Compute Cloud User Guide.

                  " + "smithy.api#documentation": "

                  Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to\n you. If there is an event impacting a zone, you can use this request to view the state and any\n provided messages for that zone.

                  \n

                  For more information about Availability Zones, Local Zones, and Wavelength Zones, see\n Regions and zones \n in the Amazon Elastic Compute Cloud User Guide.

                  " } }, "com.amazonaws.ec2#DescribeAvailabilityZonesRequest": { @@ -19480,7 +19490,7 @@ "target": "com.amazonaws.ec2#DescribeFleetHistoryResult" }, "traits": { - "smithy.api#documentation": "

                  Describes the events for the specified EC2 Fleet during the specified time.

                  \n

                  EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures\n that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events\n are available for 48 hours.

                  \n

                  For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.

                  " + "smithy.api#documentation": "

                  Describes the events for the specified EC2 Fleet during the specified time.

                  \n

                  EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures\n that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events\n are available for 48 hours.

                  \n

                  For more information, see Monitor fleet events using Amazon EventBridge in the\n Amazon EC2 User Guide.

                  " } }, "com.amazonaws.ec2#DescribeFleetHistoryRequest": { @@ -19925,7 +19935,7 @@ "target": "com.amazonaws.ec2#DescribeFpgaImagesResult" }, "traits": { - "smithy.api#documentation": "

                  Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs,\n\t\t\tprivate AFIs that you own, and AFIs owned by other AWS accounts for which you have load\n\t\t\tpermissions.

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

                  Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs,\n\t\t\tprivate AFIs that you own, and AFIs owned by other Amazon Web Services accounts for which you have load\n\t\t\tpermissions.

                  ", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -19962,14 +19972,14 @@ "Owners": { "target": "com.amazonaws.ec2#OwnerStringList", "traits": { - "smithy.api#documentation": "

                  Filters the AFI by owner. Specify an AWS account ID, self (owner is the sender of the request), or an AWS owner alias (valid values are amazon | aws-marketplace).

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

                  Filters the AFI by owner. Specify an Amazon Web Services account ID, self \n\t\t\t(owner is the sender of the request), or an Amazon Web Services owner alias (valid values are \n\t\t\tamazon | aws-marketplace).

                  ", "smithy.api#xmlName": "Owner" } }, "Filters": { "target": "com.amazonaws.ec2#FilterList", "traits": { - "smithy.api#documentation": "

                  The filters.

                  \n\t\t
                    \n
                  • \n

                    \n create-time - The creation time of the AFI.

                    \n
                  • \n
                  • \n

                    \n fpga-image-id - The FPGA image identifier (AFI ID).

                    \n
                  • \n
                  • \n

                    \n fpga-image-global-id - The global FPGA image identifier (AGFI ID).

                    \n
                  • \n
                  • \n

                    \n name - The name of the AFI.

                    \n
                  • \n
                  • \n

                    \n owner-id - The AWS account ID of the AFI owner.

                    \n
                  • \n
                  • \n

                    \n product-code - The product code.

                    \n
                  • \n
                  • \n

                    \n shell-version - The version of the AWS Shell that was used to create the bitstream.

                    \n
                  • \n
                  • \n

                    \n state - The state of the AFI (pending | failed | available | unavailable).

                    \n
                  • \n
                  • \n

                    \n tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.\n For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                    \n
                  • \n
                  • \n

                    \n tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                    \n
                  • \n
                  • \n

                    \n update-time - The time of the most recent update.

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

                  The filters.

                  \n\t\t
                    \n
                  • \n

                    \n create-time - The creation time of the AFI.

                    \n
                  • \n
                  • \n

                    \n fpga-image-id - The FPGA image identifier (AFI ID).

                    \n
                  • \n
                  • \n

                    \n fpga-image-global-id - The global FPGA image identifier (AGFI ID).

                    \n
                  • \n
                  • \n

                    \n name - The name of the AFI.

                    \n
                  • \n
                  • \n

                    \n owner-id - The Amazon Web Services account ID of the AFI owner.

                    \n
                  • \n
                  • \n

                    \n product-code - The product code.

                    \n
                  • \n
                  • \n

                    \n shell-version - The version of the Amazon Web Services Shell that was used to create the bitstream.

                    \n
                  • \n
                  • \n

                    \n state - The state of the AFI (pending | failed | available | unavailable).

                    \n
                  • \n
                  • \n

                    \n tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value.\n For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

                    \n
                  • \n
                  • \n

                    \n tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

                    \n
                  • \n
                  • \n

                    \n update-time - The time of the most recent update.

                    \n
                  • \n
                  ", "smithy.api#xmlName": "Filter" } }, @@ -20329,7 +20339,7 @@ "target": "com.amazonaws.ec2#DescribeIdFormatResult" }, "traits": { - "smithy.api#documentation": "

                  Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.

                  \n

                  The following resource types support longer IDs: bundle |\n conversion-task | customer-gateway | dhcp-options |\n elastic-ip-allocation | elastic-ip-association |\n export-task | flow-log | image |\n import-task | instance | internet-gateway |\n network-acl | network-acl-association |\n network-interface | network-interface-attachment |\n prefix-list | reservation | route-table |\n route-table-association | security-group |\n snapshot | subnet |\n subnet-cidr-block-association | volume | vpc\n | vpc-cidr-block-association | vpc-endpoint |\n vpc-peering-connection | vpn-connection | vpn-gateway.

                  \n

                  These settings apply to the IAM user who makes the request; they do not apply to the entire\n AWS account. By default, an IAM user defaults to the same settings as the root user, unless\n they explicitly override the settings by running the ModifyIdFormat command. Resources\n created with longer IDs are visible to all IAM users, regardless of these settings and\n provided that they have permission to use the relevant Describe command for the\n resource type.

                  " + "smithy.api#documentation": "

                  Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.

                  \n

                  The following resource types support longer IDs: bundle |\n conversion-task | customer-gateway | dhcp-options |\n elastic-ip-allocation | elastic-ip-association |\n export-task | flow-log | image |\n import-task | instance | internet-gateway |\n network-acl | network-acl-association |\n network-interface | network-interface-attachment |\n prefix-list | reservation | route-table |\n route-table-association | security-group |\n snapshot | subnet |\n subnet-cidr-block-association | volume | vpc\n | vpc-cidr-block-association | vpc-endpoint |\n vpc-peering-connection | vpn-connection | vpn-gateway.

                  \n

                  These settings apply to the IAM user who makes the request; they do not apply to the entire\n Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user, unless\n they explicitly override the settings by running the ModifyIdFormat command. Resources\n created with longer IDs are visible to all IAM users, regardless of these settings and\n provided that they have permission to use the relevant Describe command for the\n resource type.

                  " } }, "com.amazonaws.ec2#DescribeIdFormatRequest": { @@ -21198,7 +21208,7 @@ "Filters": { "target": "com.amazonaws.ec2#FilterList", "traits": { - "smithy.api#documentation": "

                  One or more filters. Filter names and values are case-sensitive.

                  \n
                    \n
                  • \n

                    \n auto-recovery-supported - Indicates whether auto recovery is supported (true | false).

                    \n
                  • \n
                  • \n

                    \n bare-metal - Indicates whether it is a bare metal instance type (true | false).

                    \n
                  • \n
                  • \n

                    \n burstable-performance-supported - Indicates whether it is a burstable\n performance instance type (true | false).

                    \n
                  • \n
                  • \n

                    \n current-generation - Indicates whether this instance type is the latest\n generation instance type of an instance family (true | false).

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline\n bandwidth performance for an EBS-optimized instance type, in Mbps.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage\n operations per second for an EBS-optimized instance type.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline\n throughput performance for an EBS-optimized instance type, in MB/s.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth\n performance for an EBS-optimized instance type, in Mbps.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage\n operations per second for an EBS-optimized instance type.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum\n throughput performance for an EBS-optimized instance type, in MB/s.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-support - Indicates whether the instance type is\n EBS-optimized (supported | unsupported |\n default).

                    \n
                  • \n
                  • \n

                    \n ebs-info.encryption-support - Indicates whether EBS encryption is supported\n (supported | unsupported).

                    \n
                  • \n
                  • \n

                    \n ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe)\n is supported for EBS volumes (required | supported | unsupported).

                    \n
                  • \n
                  • \n

                    \n free-tier-eligible - Indicates whether the instance type is eligible to use\n in the free tier (true | false).

                    \n
                  • \n
                  • \n

                    \n hibernation-supported - Indicates whether On-Demand hibernation is supported (true | false).

                    \n
                  • \n
                  • \n

                    \n hypervisor - The hypervisor (nitro | xen).

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.disk.count - The number of local disks.

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in\n GB.

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.disk.type - The storage technology for the local\n instance storage disks (hdd | ssd).

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.nvme-support - Indicates whether non-volatile memory\n express (NVMe) is supported for instance store (required | supported)\n | unsupported).

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.total-size-in-gb - The total amount of storage available from all local\n instance storage, in GB.

                    \n
                  • \n
                  • \n

                    \n instance-storage-supported - Indicates whether the instance type has local\n instance storage (true | false).

                    \n
                  • \n
                  • \n

                    \n instance-type - The instance type (for example c5.2xlarge or\n c5*).

                    \n
                  • \n
                  • \n

                    \n memory-info.size-in-mib - The memory size.

                    \n
                  • \n
                  • \n

                    \n network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic \n Fabric Adapters (EFAs) per instance.

                    \n
                  • \n
                  • \n

                    \n network-info.efa-supported - Indicates whether the instance type supports\n Elastic Fabric Adapter (EFA) (true | false).

                    \n
                  • \n
                  • \n

                    \n network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is\n supported or required (required | supported |\n unsupported).

                    \n
                  • \n
                  • \n

                    \n network-info.encryption-in-transit-supported - Indicates whether the instance type \n automatically encrypts in-transit traffic between instances (true | false).

                    \n
                  • \n
                  • \n

                    \n network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per\n network interface.

                    \n
                  • \n
                  • \n

                    \n network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per\n network interface.

                    \n
                  • \n
                  • \n

                    \n network-info.ipv6-supported - Indicates whether the instance type supports IPv6 (true | false).

                    \n
                  • \n
                  • \n

                    \n network-info.maximum-network-interfaces - The maximum number of network interfaces per instance.

                    \n
                  • \n
                  • \n

                    \n network-info.network-performance - The network performance (for example, \"25\n Gigabit\").

                    \n
                  • \n
                  • \n

                    \n processor-info.supported-architecture - The CPU architecture\n (arm64 | i386 | x86_64).

                    \n
                  • \n
                  • \n

                    \n processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.

                    \n
                  • \n
                  • \n

                    \n supported-boot-mode - The boot mode (legacy-bios |\n uefi).

                    \n
                  • \n
                  • \n

                    \n supported-root-device-type - The root device type (ebs |\n instance-store).

                    \n
                  • \n
                  • \n

                    \n supported-usage-class - The usage class (on-demand |\n spot).

                    \n
                  • \n
                  • \n

                    \n supported-virtualization-type - The virtualization type (hvm |\n paravirtual).

                    \n
                  • \n
                  • \n

                    \n vcpu-info.default-cores - The default number of cores for the instance type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.default-threads-per-core - The default number of threads per core for the instance\n type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.default-vcpus - The default number of vCPUs for the instance type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.valid-cores - The number of cores that can be configured for the instance type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type.\n For example, \"1\" or \"1,2\".

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

                  One or more filters. Filter names and values are case-sensitive.

                  \n
                    \n
                  • \n

                    \n auto-recovery-supported - Indicates whether auto recovery is supported (true | false).

                    \n
                  • \n
                  • \n

                    \n bare-metal - Indicates whether it is a bare metal instance type (true | false).

                    \n
                  • \n
                  • \n

                    \n burstable-performance-supported - Indicates whether it is a burstable\n performance instance type (true | false).

                    \n
                  • \n
                  • \n

                    \n current-generation - Indicates whether this instance type is the latest\n generation instance type of an instance family (true | false).

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.baseline-bandwidth-in-mbps - The baseline\n bandwidth performance for an EBS-optimized instance type, in Mbps.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.baseline-iops - The baseline input/output storage\n operations per second for an EBS-optimized instance type.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.baseline-throughput-in-mbps - The baseline\n throughput performance for an EBS-optimized instance type, in MB/s.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.maximum-bandwidth-in-mbps - The maximum bandwidth\n performance for an EBS-optimized instance type, in Mbps.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.maximum-iops - The maximum input/output storage\n operations per second for an EBS-optimized instance type.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-info.maximum-throughput-in-mbps - The maximum\n throughput performance for an EBS-optimized instance type, in MB/s.

                    \n
                  • \n
                  • \n

                    \n ebs-info.ebs-optimized-support - Indicates whether the instance type is\n EBS-optimized (supported | unsupported |\n default).

                    \n
                  • \n
                  • \n

                    \n ebs-info.encryption-support - Indicates whether EBS encryption is supported\n (supported | unsupported).

                    \n
                  • \n
                  • \n

                    \n ebs-info.nvme-support - Indicates whether non-volatile memory express (NVMe)\n is supported for EBS volumes (required | supported | unsupported).

                    \n
                  • \n
                  • \n

                    \n free-tier-eligible - Indicates whether the instance type is eligible to use\n in the free tier (true | false).

                    \n
                  • \n
                  • \n

                    \n hibernation-supported - Indicates whether On-Demand hibernation is supported (true | false).

                    \n
                  • \n
                  • \n

                    \n hypervisor - The hypervisor (nitro | xen).

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.disk.count - The number of local disks.

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.disk.size-in-gb - The storage size of each instance storage disk, in\n GB.

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.disk.type - The storage technology for the local\n instance storage disks (hdd | ssd).

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.encryption-supported - Indicates whether data is encrypted at rest \n (required | unsupported).

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.nvme-support - Indicates whether non-volatile memory\n express (NVMe) is supported for instance store (required | supported |\n unsupported).

                    \n
                  • \n
                  • \n

                    \n instance-storage-info.total-size-in-gb - The total amount of storage available from all local\n instance storage, in GB.

                    \n
                  • \n
                  • \n

                    \n instance-storage-supported - Indicates whether the instance type has local\n instance storage (true | false).

                    \n
                  • \n
                  • \n

                    \n instance-type - The instance type (for example c5.2xlarge or\n c5*).

                    \n
                  • \n
                  • \n

                    \n memory-info.size-in-mib - The memory size.

                    \n
                  • \n
                  • \n

                    \n network-info.efa-info.maximum-efa-interfaces - The maximum number of Elastic \n Fabric Adapters (EFAs) per instance.

                    \n
                  • \n
                  • \n

                    \n network-info.efa-supported - Indicates whether the instance type supports\n Elastic Fabric Adapter (EFA) (true | false).

                    \n
                  • \n
                  • \n

                    \n network-info.ena-support - Indicates whether Elastic Network Adapter (ENA) is\n supported or required (required | supported |\n unsupported).

                    \n
                  • \n
                  • \n

                    \n network-info.encryption-in-transit-supported - Indicates whether the instance type \n automatically encrypts in-transit traffic between instances (true | false).

                    \n
                  • \n
                  • \n

                    \n network-info.ipv4-addresses-per-interface - The maximum number of private IPv4 addresses per\n network interface.

                    \n
                  • \n
                  • \n

                    \n network-info.ipv6-addresses-per-interface - The maximum number of private IPv6 addresses per\n network interface.

                    \n
                  • \n
                  • \n

                    \n network-info.ipv6-supported - Indicates whether the instance type supports IPv6 (true | false).

                    \n
                  • \n
                  • \n

                    \n network-info.maximum-network-interfaces - The maximum number of network interfaces per instance.

                    \n
                  • \n
                  • \n

                    \n network-info.network-performance - The network performance (for example, \"25\n Gigabit\").

                    \n
                  • \n
                  • \n

                    \n processor-info.supported-architecture - The CPU architecture\n (arm64 | i386 | x86_64).

                    \n
                  • \n
                  • \n

                    \n processor-info.sustained-clock-speed-in-ghz - The CPU clock speed, in GHz.

                    \n
                  • \n
                  • \n

                    \n supported-boot-mode - The boot mode (legacy-bios |\n uefi).

                    \n
                  • \n
                  • \n

                    \n supported-root-device-type - The root device type (ebs |\n instance-store).

                    \n
                  • \n
                  • \n

                    \n supported-usage-class - The usage class (on-demand |\n spot).

                    \n
                  • \n
                  • \n

                    \n supported-virtualization-type - The virtualization type (hvm |\n paravirtual).

                    \n
                  • \n
                  • \n

                    \n vcpu-info.default-cores - The default number of cores for the instance type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.default-threads-per-core - The default number of threads per core for the instance\n type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.default-vcpus - The default number of vCPUs for the instance type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.valid-cores - The number of cores that can be configured for the instance type.

                    \n
                  • \n
                  • \n

                    \n vcpu-info.valid-threads-per-core - The number of threads per core that can be configured for the instance type.\n For example, \"1\" or \"1,2\".

                    \n
                  • \n
                  ", "smithy.api#xmlName": "Filter" } }, @@ -23512,7 +23522,7 @@ "target": "com.amazonaws.ec2#DescribeRegionsResult" }, "traits": { - "smithy.api#documentation": "

                  Describes the Regions that are enabled for your account, or all Regions.

                  \n

                  For a list of the Regions supported by Amazon EC2, see \n Regions and Endpoints.

                  \n

                  For information about enabling and disabling Regions for your account, see Managing AWS Regions in the AWS General Reference.

                  " + "smithy.api#documentation": "

                  Describes the Regions that are enabled for your account, or all Regions.

                  \n

                  For a list of the Regions supported by Amazon EC2, see \n Amazon Elastic Compute Cloud endpoints and quotas.

                  \n

                  For information about enabling and disabling Regions for your account, see Managing Amazon Web Services Regions in the Amazon Web Services General Reference.

                  " } }, "com.amazonaws.ec2#DescribeRegionsRequest": { @@ -24868,7 +24878,7 @@ "target": "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryResponse" }, "traits": { - "smithy.api#documentation": "

                  Describes the events for the specified Spot Fleet request during the specified\n time.

                  \n

                  Spot Fleet events are delayed by up to 30 seconds before they can be described. This\n ensures that you can query by the last evaluated time and not miss a recorded event.\n Spot Fleet events are available for 48 hours.

                  " + "smithy.api#documentation": "

                  Describes the events for the specified Spot Fleet request during the specified\n time.

                  \n

                  Spot Fleet events are delayed by up to 30 seconds before they can be described. This\n ensures that you can query by the last evaluated time and not miss a recorded event.\n Spot Fleet events are available for 48 hours.

                  \n

                  For more information, see Monitor fleet events using Amazon\n EventBridge in the Amazon EC2 User Guide for Linux Instances.

                  " } }, "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryMaxResults": { @@ -27297,7 +27307,7 @@ "Filters": { "target": "com.amazonaws.ec2#FilterList", "traits": { - "smithy.api#documentation": "

                  One or more filters.

                  \n\t\t
                    \n
                  • \n

                    \n service-id - The ID of the service.

                    \n
                  • \n
                  • \n

                    \n vpc-endpoint-owner - The AWS account number of the owner of the\n endpoint.

                    \n
                  • \n
                  • \n\t\t\t

                    \n vpc-endpoint-state - The state of the endpoint\n\t\t\t (pendingAcceptance | pending |\n\t\t\t available | deleting | deleted |\n\t\t\t rejected | failed).

                    \n\t\t\t
                  • \n
                  • \n\t\t\t\t

                    \n vpc-endpoint-id - The ID of the endpoint.

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

                  One or more filters.

                  \n\t\t
                    \n
                  • \n

                    \n service-id - The ID of the service.

                    \n
                  • \n
                  • \n

                    \n vpc-endpoint-owner - The ID of the Amazon Web Services account ID \n\t\t that owns the endpoint.

                    \n
                  • \n
                  • \n\t\t\t

                    \n vpc-endpoint-state - The state of the endpoint\n\t\t\t (pendingAcceptance | pending |\n\t\t\t available | deleting | deleted |\n\t\t\t rejected | failed).

                    \n\t\t\t
                  • \n
                  • \n\t\t\t\t

                    \n vpc-endpoint-id - The ID of the endpoint.

                    \n\t\t\t
                  • \n
                  ", "smithy.api#xmlName": "Filter" } }, @@ -28082,6 +28092,79 @@ "smithy.api#documentation": "

                  Contains the output of DescribeVpnGateways.

                  " } }, + "com.amazonaws.ec2#DestinationFileFormat": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "plain-text", + "name": "plain_text" + }, + { + "value": "parquet", + "name": "parquet" + } + ] + } + }, + "com.amazonaws.ec2#DestinationOptionsRequest": { + "type": "structure", + "members": { + "FileFormat": { + "target": "com.amazonaws.ec2#DestinationFileFormat", + "traits": { + "smithy.api#documentation": "

                  The format for the flow log. The default is plain-text.

                  " + } + }, + "HiveCompatiblePartitions": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

                  Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.\n The default is false.

                  " + } + }, + "PerHourPartition": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "smithy.api#documentation": "

                  Indicates whether to partition the flow log per hour. This reduces the cost and response \n time for queries. The default is false.

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

                  Describes the destination options for a flow log.

                  " + } + }, + "com.amazonaws.ec2#DestinationOptionsResponse": { + "type": "structure", + "members": { + "FileFormat": { + "target": "com.amazonaws.ec2#DestinationFileFormat", + "traits": { + "aws.protocols#ec2QueryName": "FileFormat", + "smithy.api#documentation": "

                  The format for the flow log.

                  ", + "smithy.api#xmlName": "fileFormat" + } + }, + "HiveCompatiblePartitions": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "aws.protocols#ec2QueryName": "HiveCompatiblePartitions", + "smithy.api#documentation": "

                  Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.

                  ", + "smithy.api#xmlName": "hiveCompatiblePartitions" + } + }, + "PerHourPartition": { + "target": "com.amazonaws.ec2#Boolean", + "traits": { + "aws.protocols#ec2QueryName": "PerHourPartition", + "smithy.api#documentation": "

                  Indicates whether to partition the flow log per hour.

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

                  Describes the destination options for a flow log.

                  " + } + }, "com.amazonaws.ec2#DetachClassicLinkVpc": { "type": "operation", "input": { @@ -29705,7 +29788,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Describes the disk.

                  " + "smithy.api#documentation": "

                  Describes a disk.

                  " } }, "com.amazonaws.ec2#DiskInfoList": { @@ -30312,7 +30395,7 @@ "Type": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  The type of Elastic Graphics accelerator. For more information about the values to specify for\n Type, see Elastic Graphics Basics, specifically the Elastic Graphics accelerator column, in the Amazon Elastic Compute Cloud User Guide for Windows\n Instances.

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

                  The type of Elastic Graphics accelerator. For more information about the values to specify for\n Type, see Elastic Graphics Basics, specifically the Elastic Graphics accelerator column, in the \n Amazon Elastic Compute Cloud User Guide for Windows Instances.

                  ", "smithy.api#required": {} } } @@ -31272,7 +31355,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "EventSubType", - "smithy.api#documentation": "

                  The event.

                  \n\n

                  The following are the error events:

                  \n
                    \n
                  • \n

                    \n iamFleetRoleInvalid - The EC2 Fleet or Spot Fleet did not have the required\n permissions either to launch or terminate an instance.

                    \n
                  • \n
                  • \n

                    \n spotFleetRequestConfigurationInvalid - The configuration is not\n valid. For more information, see the description of the event.

                    \n
                  • \n
                  • \n

                    \n spotInstanceCountLimitExceeded - You've reached the limit on the\n number of Spot Instances that you can launch.

                    \n
                  • \n
                  \n\n

                  The following are the fleetRequestChange events:

                  \n
                    \n
                  • \n

                    \n active - The EC2 Fleet or Spot Fleet request has been validated and Amazon EC2 is\n attempting to maintain the target number of running Spot Instances.

                    \n
                  • \n
                  • \n

                    \n cancelled - The EC2 Fleet or Spot Fleet request is canceled and has no running\n Spot Instances. The EC2 Fleet or Spot Fleet will be deleted two days after its instances\n were terminated.

                    \n
                  • \n
                  • \n

                    \n cancelled_running - The EC2 Fleet or Spot Fleet request is canceled and does\n not launch additional Spot Instances. Existing Spot Instances continue to run\n until they are interrupted or terminated.

                    \n
                  • \n
                  • \n

                    \n cancelled_terminating - The EC2 Fleet or Spot Fleet request is canceled and\n its Spot Instances are terminating.

                    \n
                  • \n
                  • \n

                    \n expired - The EC2 Fleet or Spot Fleet request has expired. A subsequent event\n indicates that the instances were terminated, if the request was created with\n TerminateInstancesWithExpiration set.

                    \n
                  • \n
                  • \n

                    \n modify_in_progress - A request to modify the EC2 Fleet or Spot Fleet request\n was accepted and is in progress.

                    \n
                  • \n
                  • \n

                    \n modify_succeeded - The EC2 Fleet or Spot Fleet request was modified.

                    \n
                  • \n
                  • \n

                    \n submitted - The EC2 Fleet or Spot Fleet request is being evaluated and Amazon EC2\n is preparing to launch the target number of Spot Instances.

                    \n
                  • \n
                  \n\n

                  The following are the instanceChange events:

                  \n
                    \n
                  • \n

                    \n launched - A request was fulfilled and a new instance was\n launched.

                    \n
                  • \n
                  • \n

                    \n terminated - An instance was terminated by the user.

                    \n
                  • \n
                  \n\n

                  The following are the Information events:

                  \n
                    \n
                  • \n

                    \n launchSpecTemporarilyBlacklisted - The configuration is not valid\n and several attempts to launch instances have failed. For more information, see\n the description of the event.

                    \n
                  • \n
                  • \n

                    \n launchSpecUnusable - The price in a launch specification is not\n valid because it is below the Spot price or the Spot price is above the\n On-Demand price.

                    \n
                  • \n
                  • \n

                    \n fleetProgressHalted - The price in every launch specification is\n not valid. A launch specification might become valid if the Spot price\n changes.

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

                  The event.

                  \n \n

                  \n error events:

                  \n
                    \n
                  • \n

                    \n iamFleetRoleInvalid - The EC2 Fleet or Spot Fleet does not have the required\n permissions either to launch or terminate an instance.

                    \n
                  • \n
                  • \n

                    \n allLaunchSpecsTemporarilyBlacklisted - None of the configurations\n are valid, and several attempts to launch instances have failed. For more\n information, see the description of the event.

                    \n
                  • \n
                  • \n

                    \n spotInstanceCountLimitExceeded - You've reached the limit on the\n number of Spot Instances that you can launch.

                    \n
                  • \n
                  • \n

                    \n spotFleetRequestConfigurationInvalid - The configuration is not\n valid. For more information, see the description of the event.

                    \n
                  • \n
                  \n\n

                  \n fleetRequestChange events:

                  \n
                    \n
                  • \n

                    \n active - The EC2 Fleet or Spot Fleet request has been validated and Amazon EC2 is\n attempting to maintain the target number of running instances.

                    \n
                  • \n
                  • \n

                    \n cancelled - The EC2 Fleet or Spot Fleet request is canceled and has no running\n instances. The EC2 Fleet or Spot Fleet will be deleted two days after its instances are\n terminated.

                    \n
                  • \n
                  • \n

                    \n cancelled_running - The EC2 Fleet or Spot Fleet request is canceled and does\n not launch additional instances. Its existing instances continue to run until\n they are interrupted or terminated. The request remains in this state until all\n instances are interrupted or terminated.

                    \n
                  • \n
                  • \n

                    \n cancelled_terminating - The EC2 Fleet or Spot Fleet request is canceled and\n its instances are terminating. The request remains in this state until all\n instances are terminated.

                    \n
                  • \n
                  • \n

                    \n expired - The EC2 Fleet or Spot Fleet request has expired. If the request was\n created with TerminateInstancesWithExpiration set, a subsequent\n terminated event indicates that the instances are\n terminated.

                    \n
                  • \n
                  • \n

                    \n modify_in_progress - The EC2 Fleet or Spot Fleet request is being modified.\n The request remains in this state until the modification is fully\n processed.

                    \n
                  • \n
                  • \n

                    \n modify_succeeded - The EC2 Fleet or Spot Fleet request was modified.

                    \n
                  • \n
                  • \n

                    \n submitted - The EC2 Fleet or Spot Fleet request is being evaluated and Amazon EC2\n is preparing to launch the target number of instances.

                    \n
                  • \n
                  • \n

                    \n progress - The EC2 Fleet or Spot Fleet request is in the process of being fulfilled.

                    \n
                  • \n
                  \n\n

                  \n instanceChange events:

                  \n
                    \n
                  • \n

                    \n launched - A new instance was launched.

                    \n
                  • \n
                  • \n

                    \n terminated - An instance was terminated by the user.

                    \n
                  • \n
                  • \n

                    \n termination_notified - An instance termination notification was\n sent when a Spot Instance was terminated by Amazon EC2 during scale-down, when the target\n capacity of the fleet was modified down, for example, from a target capacity of\n 4 to a target capacity of 3.

                    \n
                  • \n
                  \n\n

                  \n Information events:

                  \n
                    \n
                  • \n

                    \n fleetProgressHalted - The price in every launch specification is\n not valid because it is below the Spot price (all the launch specifications have\n produced launchSpecUnusable events). A launch specification might\n become valid if the Spot price changes.

                    \n
                  • \n
                  • \n

                    \n launchSpecTemporarilyBlacklisted - The configuration is not valid\n and several attempts to launch instances have failed. For more information, see\n the description of the event.

                    \n
                  • \n
                  • \n

                    \n launchSpecUnusable - The price in a launch specification is not\n valid because it is below the Spot price.

                    \n
                  • \n
                  • \n

                    \n registerWithLoadBalancersFailed - An attempt to register\n instances with load balancers failed. For more information, see the description\n of the event.

                    \n
                  • \n
                  ", "smithy.api#xmlName": "eventSubType" } }, @@ -33403,7 +33486,7 @@ "target": "com.amazonaws.ec2#LogDestinationType", "traits": { "aws.protocols#ec2QueryName": "LogDestinationType", - "smithy.api#documentation": "

                  Specifies the type of destination to which the flow log data is published. Flow log data can be \n published to CloudWatch Logs or Amazon S3.

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

                  The type of destination to which the flow log data is published. Flow log data can be \n published to CloudWatch Logs or Amazon S3.

                  ", "smithy.api#xmlName": "logDestinationType" } }, @@ -33411,7 +33494,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "LogDestination", - "smithy.api#documentation": "

                  Specifies the destination to which the flow log data is published. Flow log data can be\n published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs,\n this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which\n the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN\n of the Amazon S3 bucket to which the data is published.

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

                  The destination to which the flow log data is published. Flow log data can be\n published to an CloudWatch Logs log group or an Amazon S3 bucket. If the flow log publishes to CloudWatch Logs,\n this element indicates the Amazon Resource Name (ARN) of the CloudWatch Logs log group to which\n the data is published. If the flow log publishes to Amazon S3, this element indicates the ARN\n of the Amazon S3 bucket to which the data is published.

                  ", "smithy.api#xmlName": "logDestination" } }, @@ -33438,6 +33521,14 @@ "smithy.api#documentation": "

                  The maximum interval of time, in seconds, during which a flow of packets is captured and aggregated into a flow log record.

                  \n

                  When a network interface is attached to a Nitro-based\n instance, the aggregation interval is always 60 seconds (1 minute) or less,\n regardless of the specified value.

                  \n

                  Valid Values: 60 | 600\n

                  ", "smithy.api#xmlName": "maxAggregationInterval" } + }, + "DestinationOptions": { + "target": "com.amazonaws.ec2#DestinationOptionsResponse", + "traits": { + "aws.protocols#ec2QueryName": "DestinationOptions", + "smithy.api#documentation": "

                  The destination options.

                  ", + "smithy.api#xmlName": "destinationOptions" + } } }, "traits": { @@ -33615,7 +33706,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "ShellVersion", - "smithy.api#documentation": "

                  The version of the AWS Shell that was used to create the bitstream.

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

                  The version of the Amazon Web Services Shell that was used to create the bitstream.

                  ", "smithy.api#xmlName": "shellVersion" } }, @@ -33655,7 +33746,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID of the AFI owner.

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

                  The ID of the Amazon Web Services account that owns the AFI.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -35544,7 +35635,7 @@ "target": "com.amazonaws.ec2#GetVpnConnectionDeviceSampleConfigurationResult" }, "traits": { - "smithy.api#documentation": "

                  Download an AWS-provided sample configuration file to be used with the customer\n gateway device specified for your Site-to-Site VPN connection.

                  " + "smithy.api#documentation": "

                  Download an Amazon Web Services-provided sample configuration file to be used with the customer\n gateway device specified for your Site-to-Site VPN connection.

                  " } }, "com.amazonaws.ec2#GetVpnConnectionDeviceSampleConfigurationRequest": { @@ -37420,7 +37511,7 @@ "UsageOperation": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  The usage operation value. For more information, see AMI billing information fields in the Amazon Elastic Compute Cloud User Guide.

                  " + "smithy.api#documentation": "

                  The usage operation value. For more information, see Licensing options in the VM Import/Export User Guide.

                  " } }, "BootMode": { @@ -39940,7 +40031,7 @@ "HttpEndpoint": { "target": "com.amazonaws.ec2#InstanceMetadataEndpointState", "traits": { - "smithy.api#documentation": "

                  This parameter enables or disables the HTTP metadata endpoint on your instances. If\n the parameter is not specified, the default state is enabled.

                  \n \n

                  If you specify a value of disabled, you will not be able to access your\n instance metadata.

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

                  Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not \n specified, the default state is enabled.

                  \n

                  If you specify a value of disabled, you will not be able to access your\n instance metadata.

                  " } }, "HttpProtocolIpv6": { @@ -39985,7 +40076,7 @@ "target": "com.amazonaws.ec2#InstanceMetadataEndpointState", "traits": { "aws.protocols#ec2QueryName": "HttpEndpoint", - "smithy.api#documentation": "

                  This parameter enables or disables the HTTP metadata endpoint on your instances. If\n the parameter is not specified, the default state is enabled.

                  \n \n

                  If you specify a value of disabled, you will not be able to access your\n instance metadata.

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

                  Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.

                  ", "smithy.api#xmlName": "httpEndpoint" } }, @@ -39993,7 +40084,7 @@ "target": "com.amazonaws.ec2#InstanceMetadataProtocolState", "traits": { "aws.protocols#ec2QueryName": "HttpProtocolIpv6", - "smithy.api#documentation": "

                  Whether or not the IPv6 endpoint for the instance metadata service is enabled or disabled.

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

                  Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.

                  ", "smithy.api#xmlName": "httpProtocolIpv6" } } @@ -40846,6 +40937,21 @@ "smithy.api#documentation": "

                  Describes the status of an instance.

                  " } }, + "com.amazonaws.ec2#InstanceStorageEncryptionSupport": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "unsupported", + "name": "unsupported" + }, + { + "value": "required", + "name": "required" + } + ] + } + }, "com.amazonaws.ec2#InstanceStorageFlag": { "type": "boolean", "traits": { @@ -40875,13 +40981,21 @@ "target": "com.amazonaws.ec2#EphemeralNvmeSupport", "traits": { "aws.protocols#ec2QueryName": "NvmeSupport", - "smithy.api#documentation": "

                  Indicates whether non-volatile memory express (NVMe) is supported for instance store.

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

                  Indicates whether non-volatile memory express (NVMe) is supported.

                  ", "smithy.api#xmlName": "nvmeSupport" } + }, + "EncryptionSupport": { + "target": "com.amazonaws.ec2#InstanceStorageEncryptionSupport", + "traits": { + "aws.protocols#ec2QueryName": "EncryptionSupport", + "smithy.api#documentation": "

                  Indicates whether data is encrypted at rest.

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

                  Describes the disks that are available for the instance type.

                  " + "smithy.api#documentation": "

                  Describes the instance store features that are supported by the instance type.

                  " } }, "com.amazonaws.ec2#InstanceTagKeySet": { @@ -45720,7 +45834,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "UserId", - "smithy.api#documentation": "

                  The AWS account ID.

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

                  The Amazon Web Services account ID.

                  ", "smithy.api#xmlName": "userId" } }, @@ -45787,7 +45901,7 @@ "UserId": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  The AWS account ID.

                  " + "smithy.api#documentation": "

                  The Amazon Web Services account ID.

                  " } } }, @@ -45818,7 +45932,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID that owns the local gateway.

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

                  The ID of the Amazon Web Services account that owns the local gateway.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -45919,7 +46033,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID that owns the local gateway route.

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

                  The ID of the Amazon Web Services account that owns the local gateway route.

                  ", "smithy.api#xmlName": "ownerId" } } @@ -46003,7 +46117,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID that owns the local gateway route table.

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

                  The ID of the Amazon Web Services account that owns the local gateway route table.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -46093,7 +46207,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID that owns the local gateway virtual interface group association.

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

                  The ID of the Amazon Web Services account that owns the local gateway virtual interface group association.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -46186,7 +46300,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID that owns the local gateway route table for the association.

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

                  The ID of the Amazon Web Services account that owns the local gateway route table for the association.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -46322,7 +46436,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID that owns the local gateway virtual interface.

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

                  The ID of the Amazon Web Services account that owns the local gateway virtual interface.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -46370,7 +46484,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The AWS account ID that owns the local gateway virtual interface group.

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

                  The ID of the Amazon Web Services account that owns the local gateway virtual interface group.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -46745,7 +46859,7 @@ "OptInStatus": { "target": "com.amazonaws.ec2#ModifyAvailabilityZoneOptInStatus", "traits": { - "smithy.api#documentation": "

                  Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The\n only valid value is opted-in. You must contact AWS Support to opt out of a Local Zone group, or Wavelength Zone group.

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

                  Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The\n only valid value is opted-in. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.

                  ", "smithy.api#required": {} } }, @@ -47221,7 +47335,7 @@ "UserIds": { "target": "com.amazonaws.ec2#UserIdStringList", "traits": { - "smithy.api#documentation": "

                  The AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.

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

                  The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.

                  ", "smithy.api#xmlName": "UserId" } }, @@ -47351,7 +47465,7 @@ "target": "com.amazonaws.ec2#ModifyIdFormatRequest" }, "traits": { - "smithy.api#documentation": "

                  Modifies the ID format for the specified resource on a per-Region basis. You can\n specify that resources should receive longer IDs (17-character IDs) when they are\n created.

                  \n

                  This request can only be used to modify longer ID settings for resource types that\n are within the opt-in period. Resources currently in their opt-in period include:\n bundle | conversion-task | customer-gateway | dhcp-options |\n elastic-ip-allocation | elastic-ip-association |\n export-task | flow-log | image |\n import-task | internet-gateway | network-acl\n | network-acl-association | network-interface |\n network-interface-attachment | prefix-list |\n route-table | route-table-association |\n security-group | subnet |\n subnet-cidr-block-association | vpc |\n vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

                  \n

                  This setting applies to the IAM user who makes the request; it does not apply to the\n entire AWS account. By default, an IAM user defaults to the same settings as the root user. If\n you're using this action as the root user, then these settings apply to the entire account,\n unless an IAM user explicitly overrides these settings for themselves. For more information,\n see Resource IDs \n in the Amazon Elastic Compute Cloud User Guide.

                  \n

                  Resources created with longer IDs are visible to all IAM roles and users, regardless\n of these settings and provided that they have permission to use the relevant\n Describe command for the resource type.

                  " + "smithy.api#documentation": "

                  Modifies the ID format for the specified resource on a per-Region basis. You can\n specify that resources should receive longer IDs (17-character IDs) when they are\n created.

                  \n

                  This request can only be used to modify longer ID settings for resource types that\n are within the opt-in period. Resources currently in their opt-in period include:\n bundle | conversion-task | customer-gateway | dhcp-options |\n elastic-ip-allocation | elastic-ip-association |\n export-task | flow-log | image |\n import-task | internet-gateway | network-acl\n | network-acl-association | network-interface |\n network-interface-attachment | prefix-list |\n route-table | route-table-association |\n security-group | subnet |\n subnet-cidr-block-association | vpc |\n vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

                  \n

                  This setting applies to the IAM user who makes the request; it does not apply to the\n entire Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user. If\n you're using this action as the root user, then these settings apply to the entire account,\n unless an IAM user explicitly overrides these settings for themselves. For more information,\n see Resource IDs \n in the Amazon Elastic Compute Cloud User Guide.

                  \n

                  Resources created with longer IDs are visible to all IAM roles and users, regardless\n of these settings and provided that they have permission to use the relevant\n Describe command for the resource type.

                  " } }, "com.amazonaws.ec2#ModifyIdFormatRequest": { @@ -48528,7 +48642,7 @@ "target": "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServicesResult" }, "traits": { - "smithy.api#documentation": "

                  Allows or restricts mirroring network services.

                  \n

                  By default, Amazon DNS network services are not eligible for Traffic Mirror. Use AddNetworkServices to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored.\n When you no longer want to mirror network services, use RemoveNetworkServices to remove the network services from the Traffic Mirror filter.\n

                  \n

                  For information about filter rule properties, see \n Network Services in the Traffic Mirroring User Guide .

                  " + "smithy.api#documentation": "

                  Allows or restricts mirroring network services.

                  \n

                  By default, Amazon DNS network services are not eligible for Traffic Mirror. Use AddNetworkServices to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored.\n When you no longer want to mirror network services, use RemoveNetworkServices to remove the network services from the Traffic Mirror filter.\n

                  " } }, "com.amazonaws.ec2#ModifyTrafficMirrorFilterNetworkServicesRequest": { @@ -48601,7 +48715,7 @@ "TrafficDirection": { "target": "com.amazonaws.ec2#TrafficDirection", "traits": { - "smithy.api#documentation": "

                  The type of traffic (ingress | egress) to assign to the rule.

                  " + "smithy.api#documentation": "

                  The type of traffic to assign to the rule.

                  " } }, "RuleNumber": { @@ -49433,7 +49547,7 @@ "target": "com.amazonaws.ec2#ModifyVpcEndpointServicePermissionsResult" }, "traits": { - "smithy.api#documentation": "

                  Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (IAM users, \n\t IAM roles, and AWS accounts) to connect to your endpoint service.

                  \n\t

                  If you grant permissions to all principals, the service is public. Any users who know the name of a\n\t public service can send a request to attach an endpoint. If the service does not require manual approval,\n\t attachments are automatically approved.

                  " + "smithy.api#documentation": "

                  Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (IAM users, \n\t IAM roles, and Amazon Web Services accounts) to connect to your endpoint service.

                  \n\t

                  If you grant permissions to all principals, the service is public. Any users who know the name of a\n\t public service can send a request to attach an endpoint. If the service does not require manual approval,\n\t attachments are automatically approved.

                  " } }, "com.amazonaws.ec2#ModifyVpcEndpointServicePermissionsRequest": { @@ -54920,7 +55034,7 @@ "NetworkBorderGroup": { "target": "com.amazonaws.ec2#String", "traits": { - "smithy.api#documentation": "

                  The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises\n IP addresses.

                  \n

                  If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound error. For more information, see Error Codes.

                  \n \n

                  You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

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

                  The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises\n IP addresses.

                  \n

                  If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

                  \n

                  You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you \n receive an InvalidParameterCombination error.

                  " } }, "DryRun": { @@ -60041,6 +60155,13 @@ "smithy.api#required": {} } }, + "Filters": { + "target": "com.amazonaws.ec2#FilterList", + "traits": { + "smithy.api#documentation": "

                  One or more filters.

                  ", + "smithy.api#xmlName": "Filter" + } + }, "MaxResults": { "target": "com.amazonaws.ec2#MaxResults", "traits": { @@ -60058,14 +60179,6 @@ "traits": { "smithy.api#documentation": "

                  Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is DryRunOperation. \n Otherwise, it is UnauthorizedOperation.

                  " } - }, - "Filters": { - "target": "com.amazonaws.ec2#FilterList", - "traits": { - "smithy.api#documentation": "

                  One or more filters.

                  ", - "smithy.api#required": {}, - "smithy.api#xmlName": "Filter" - } } } }, @@ -60742,7 +60855,7 @@ "target": "com.amazonaws.ec2#Boolean", "traits": { "aws.protocols#ec2QueryName": "AcceptanceRequired", - "smithy.api#documentation": "

                  Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.

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

                  Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

                  ", "smithy.api#xmlName": "acceptanceRequired" } }, @@ -60855,7 +60968,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "Owner", - "smithy.api#documentation": "

                  The AWS account ID of the service owner.

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

                  The Amazon Web Services account ID of the service owner.

                  ", "smithy.api#xmlName": "owner" } }, @@ -63893,7 +64006,7 @@ "target": "com.amazonaws.ec2#ResourceType", "traits": { "aws.protocols#ec2QueryName": "ResourceType", - "smithy.api#documentation": "

                  The type of resource to tag on creation. The possible values are: \n \t capacity-reservation | carrier-gateway |\n client-vpn-endpoint | customer-gateway |\n \t dedicated-host | dhcp-options | \n \t egress-only-internet-gateway | elastic-gpu | \n \t elastic-ip | export-image-task |\n export-instance-task | fleet | fpga-image |\n \t host-reservation | image | import-image-task |\n \t import-snapshot-task | instance | instance-event-window |\n internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 |\n \t key-pair | launch-template | local-gateway-route-table-vpc-association |\n \t natgateway | network-acl | network-insights-analysis | \n \t network-insights-path | network-interface | \n \t placement-group | prefix-list | reserved-instances | \n \t route-table | security-group | security-group-rule | \n \t snapshot | spot-fleet-request | spot-instances-request | subnet | \n traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | \n \t transit-gateway | transit-gateway-attachment | \n \t transit-gateway-multicast-domain | transit-gateway-route-table |\n volume | vpc | vpc-endpoint | vpc-endpoint-service | \n \t vpc-flow-log | vpc-peering-connection |\n \t vpn-connection | vpn-gateway.

                  \n

                  To tag a resource after it has been created, see CreateTags.

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

                  The type of resource to tag on creation.

                  ", "smithy.api#xmlName": "resourceType" } }, @@ -69530,7 +69643,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "OwnerId", - "smithy.api#documentation": "

                  The ID of the AWS account that owns the VPC endpoint.

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

                  The ID of the Amazon Web Services account that owns the VPC endpoint.

                  ", "smithy.api#xmlName": "ownerId" } }, @@ -69570,7 +69683,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "VpcEndpointOwner", - "smithy.api#documentation": "

                  The AWS account ID of the owner of the VPC endpoint.

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

                  The ID of the Amazon Web Services account that owns the VPC endpoint.

                  ", "smithy.api#xmlName": "vpcEndpointOwner" } }, @@ -69753,7 +69866,7 @@ "target": "com.amazonaws.ec2#String", "traits": { "aws.protocols#ec2QueryName": "NetworkBorderGroup", - "smithy.api#documentation": "

                  The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from\n which AWS advertises IP addresses, for example, us-east-1-wl1-bos-wlz-1.

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

                  The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from\n which Amazon Web Services advertises IP addresses, for example, us-east-1-wl1-bos-wlz-1.

                  ", "smithy.api#xmlName": "networkBorderGroup" } }, diff --git a/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json b/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json index 16d7c1a39d24..7e9fc17fd676 100644 --- a/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json +++ b/codegen/sdk-codegen/aws-models/ecs.2014-11-13.json @@ -1947,7 +1947,7 @@ "propagateTags": { "target": "com.amazonaws.ecs#PropagateTags", "traits": { - "smithy.api#documentation": "

                  Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttasks in the service. If no value is specified, the tags are not propagated. Tags can\n\t\t\tonly be propagated to the tasks within the service during service creation. To add tags\n\t\t\tto a task after service creation, use the TagResource API\n\t\t\taction.

                  " + "smithy.api#documentation": "

                  Specifies whether to propagate the tags from the task definition or the service to the\n\t\t\ttasks in the service. If no value is specified, the tags are not propagated. Tags can\n\t\t\tonly be propagated to the tasks within the service during service creation. To add tags\n\t\t\tto a task after service creation or task creation, use the TagResource API\n\t\t\taction.

                  " } }, "enableExecuteCommand": { @@ -4114,7 +4114,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Details on a Elastic Inference accelerator. For more information, see Working with\n\t\t\t\tAmazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                  " + "smithy.api#documentation": "

                  Details on a Elastic Inference accelerator. For more information, see Working with\n\t\t\t\tAmazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                  " } }, "com.amazonaws.ecs#InferenceAcceleratorOverride": { @@ -4134,7 +4134,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Details on an Elastic Inference accelerator task override. This parameter is used to\n\t\t\toverride the Elastic Inference accelerator specified in the task definition. For more\n\t\t\tinformation, see Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                  " + "smithy.api#documentation": "

                  Details on an Elastic Inference accelerator task override. This parameter is used to\n\t\t\toverride the Elastic Inference accelerator specified in the task definition. For more\n\t\t\tinformation, see Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide.

                  " } }, "com.amazonaws.ecs#InferenceAcceleratorOverrides": { @@ -6325,7 +6325,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  The type and amount of a resource to assign to a container. The supported resource\n\t\t\ttypes are GPUs and Elastic Inference accelerators. For more information, see Working with\n\t\t\t\tGPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide\n

                  " + "smithy.api#documentation": "

                  The type and amount of a resource to assign to a container. The supported resource\n\t\t\ttypes are GPUs and Elastic Inference accelerators. For more information, see Working with\n\t\t\t\tGPUs on Amazon ECS or Working with Amazon Elastic Inference on Amazon ECS in the\n\t\t\t\tAmazon Elastic Container Service Developer Guide\n

                  " } }, "com.amazonaws.ecs#ResourceRequirements": { @@ -6498,7 +6498,7 @@ "taskDefinition": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                  The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run. If a revision is not specified,\n\t\t\tthe latest ACTIVE revision is used.

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

                  The family and revision (family:revision) or\n\t\t\tfull ARN of the task definition to run. If a revision is not specified,\n\t\t\tthe latest ACTIVE revision is used.

                  \n\t\t

                  The full ARN value must match the value that you specified ias the Resource\n\t\t\tof the IAM principal's permissions policy. For example, if the Resource is\n\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName:*, the\n\t\t\t\ttaskDefinition ARN value must be\n\t\t\t\tarn:aws:ecs:us-east-1:111122223333:task-definition/TaskFamilyName.

                  ", "smithy.api#required": {} } } @@ -8163,7 +8163,7 @@ "executionRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the task execution IAM role override for the task.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the task execution IAM role override for the task. For more information,\n\t\t\tsee Amazon ECS task\n\t\t\t\texecution IAM role in the Amazon Elastic Container Service Developer Guide.

                  " } }, "memory": { @@ -8175,7 +8175,7 @@ "taskRoleArn": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers\n\t\t\tin this task are granted the permissions that are specified in this role.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the IAM role that containers in this task can assume. All containers in\n\t\t\tthis task are granted the permissions that are specified in this role. For more\n\t\t\tinformation, see IAM Role for Tasks\n\t\t\tin the Amazon Elastic Container Service Developer Guide.

                  " } }, "ephemeralStorage": { diff --git a/codegen/sdk-codegen/aws-models/efs.2015-02-01.json b/codegen/sdk-codegen/aws-models/efs.2015-02-01.json index 75272d760c25..a579cf3e90c3 100644 --- a/codegen/sdk-codegen/aws-models/efs.2015-02-01.json +++ b/codegen/sdk-codegen/aws-models/efs.2015-02-01.json @@ -2004,18 +2004,18 @@ "TransitionToIA": { "target": "com.amazonaws.efs#TransitionToIARules", "traits": { - "smithy.api#documentation": "

                  \n Describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata\n operations such as listing the contents of a directory don't count as file access\n events.

                  " + "smithy.api#documentation": "

                  \n Describes the period of time that a file is not accessed, after which it transitions to IA storage. Metadata\n operations such as listing the contents of a directory don't count as file access\n events.

                  " } }, "TransitionToPrimaryStorageClass": { "target": "com.amazonaws.efs#TransitionToPrimaryStorageClassRules", "traits": { - "smithy.api#documentation": "

                  Describes the policy used to transition a file from infequent access storage to primary storage.

                  " + "smithy.api#documentation": "

                  Describes when to transition a file from IA storage to primary storage. Metadata\n operations such as listing the contents of a directory don't count as file access\n events.

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

                  Describes a policy used by EFS lifecycle management to transition files to the Infrequent\n Access (IA) storage class.

                  " + "smithy.api#documentation": "

                  Describes a policy used by EFS lifecycle management and EFS intelligent tiering that specifies when to transition \n files into and out of the file system's Infrequent Access (IA) storage class. For more information, see \n EFS Intelligent‐Tiering and EFS Lifecycle Management.

                  \n \n

                  When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, \n Amazon EFS requires that each LifecyclePolicy \n object have only a single transition. This means that in a request body, LifecyclePolicies needs to be structured as\n an array of LifecyclePolicy objects, one object for each transition, TransitionToIA, \n TransitionToPrimaryStorageClass. For more information, see the request examples in PutLifecycleConfiguration.

                  \n
                  " } }, "com.amazonaws.efs#ListTagsForResource": { @@ -2598,7 +2598,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Use this operation to set the account preference in the current Amazon Web Services Region to use either long 17 character (63 bit) or short 8 character (32 bit) IDs for \n new EFS file systems and mount targets created. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the\n opt-in period as EFS transitions to long resource IDs. For more information, \n see Managing Amazon EFS resource IDs.

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

                  Use this operation to set the account preference in the current Amazon Web Services Region to use long 17 character (63 bit) or short 8 character (32 bit) resource IDs for \n new EFS file system and mount target resources. All existing resource IDs are not affected by any changes you make. You can set the ID preference during the\n opt-in period as EFS transitions to long resource IDs. For more information, \n see Managing Amazon EFS resource IDs.

                  \n \n

                  Starting in October, 2021, you will receive an error if you try to set the account preference to use the short 8 character format resource ID. \n Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.

                  \n
                  ", "smithy.api#http": { "method": "PUT", "uri": "/2015-02-01/account-preferences", @@ -2612,7 +2612,7 @@ "ResourceIdType": { "target": "com.amazonaws.efs#ResourceIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, \n either LONG_ID (17 characters), or SHORT_ID (8 characters).

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

                  Specifies the EFS resource ID preference to set for the user's Amazon Web Services account, in the current Amazon Web Services Region, \n either LONG_ID (17 characters), or SHORT_ID (8 characters).

                  \n \n

                  Starting in October, 2021, you will receive an error when setting the account preference to SHORT_ID. \n Contact Amazon Web Services support if you receive an error and need to use short IDs for file system and mount target resources.

                  \n
                  ", "smithy.api#required": {} } } @@ -2703,7 +2703,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Applies an Amazon EFS FileSystemPolicy to an Amazon EFS file system. \n A file system policy is an IAM resource-based policy and can contain multiple policy statements. \n A file system always has exactly one file system policy, which can be the default policy or \n an explicit policy set or updated using this API operation.\n EFS file system policies have a 20,000 character limit.\n When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see \n Default EFS File System Policy.\n

                  \n

                  EFS file system policies have a 20,000 character limit.

                  \n

                  This operation requires permissions for the elasticfilesystem:PutFileSystemPolicy action.

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

                  Applies an Amazon EFS FileSystemPolicy to an Amazon EFS file system. \n A file system policy is an IAM resource-based policy and can contain multiple policy statements. \n A file system always has exactly one file system policy, which can be the default policy or \n an explicit policy set or updated using this API operation.\n EFS file system policies have a 20,000 character limit.\n When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see \n Default EFS File System Policy.\n

                  \n \n

                  EFS file system policies have a 20,000 character limit.

                  \n
                  \n

                  This operation requires permissions for the elasticfilesystem:PutFileSystemPolicy action.

                  ", "smithy.api#http": { "method": "PUT", "uri": "/2015-02-01/file-systems/{FileSystemId}/policy", @@ -2760,7 +2760,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Enables lifecycle management by creating a new LifecycleConfiguration\n object. A LifecycleConfiguration object defines when files in an Amazon EFS file\n system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.\n To enable EFS Intelligent Tiering, set the value of TransitionToPrimaryStorageClass to AFTER_1_ACCESS.\n For more information, see EFS Lifecycle Management.

                  \n

                  A LifecycleConfiguration applies to all files in a file system.

                  \n

                  Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a\n LifecycleConfiguration object already exists for the specified file system, a\n PutLifecycleConfiguration call modifies the existing configuration. A\n PutLifecycleConfiguration call with an empty LifecyclePolicies\n array in the request body deletes any existing LifecycleConfiguration and\n disables lifecycle management.

                  \n\n \n

                  In the request, specify the following:

                  \n
                    \n
                  • \n

                    The ID for the file system for which you are enabling, disabling, or modifying lifecycle management.

                    \n
                  • \n
                  • \n

                    A LifecyclePolicies array of LifecyclePolicy objects that\n define when files are moved to the IA storage class. The array can contain only one\n LifecyclePolicy item.

                    \n
                  • \n
                  \n\n

                  This operation requires permissions for the\n elasticfilesystem:PutLifecycleConfiguration operation.

                  \n

                  To apply a LifecycleConfiguration object to an encrypted file system, you\n need the same Key Management Service permissions as when you created the encrypted\n file system.

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

                  Enables lifecycle management by creating a new LifecycleConfiguration\n object. A LifecycleConfiguration object defines when files in an Amazon EFS file\n system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class.\n To enable EFS Intelligent Tiering, set the value of TransitionToPrimaryStorageClass to AFTER_1_ACCESS.\n For more information, see EFS Lifecycle Management.

                  \n \n

                  Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a\n LifecycleConfiguration object already exists for the specified file system, a\n PutLifecycleConfiguration call modifies the existing configuration. A\n PutLifecycleConfiguration call with an empty LifecyclePolicies\n array in the request body deletes any existing LifecycleConfiguration and\n turns off lifecycle management for the file system.

                  \n\n \n

                  In the request, specify the following:

                  \n
                    \n
                  • \n

                    The ID for the file system for which you are enabling, disabling, or modifying lifecycle management.

                    \n
                  • \n
                  • \n

                    A LifecyclePolicies array of LifecyclePolicy objects that\n define when files are moved to the IA storage class. Amazon EFS requires that each LifecyclePolicy \n object have only have a single transition, so the LifecyclePolicies array needs to be structured with separate \n LifecyclePolicy objects. See the example requests in the following section for more information.

                    \n
                  • \n
                  \n\n

                  This operation requires permissions for the\n elasticfilesystem:PutLifecycleConfiguration operation.

                  \n

                  To apply a LifecycleConfiguration object to an encrypted file system, you\n need the same Key Management Service permissions as when you created the encrypted\n file system.

                  ", "smithy.api#http": { "method": "PUT", "uri": "/2015-02-01/file-systems/{FileSystemId}/lifecycle-configuration", @@ -2782,7 +2782,7 @@ "LifecyclePolicies": { "target": "com.amazonaws.efs#LifecyclePolicies", "traits": { - "smithy.api#documentation": "

                  An array of LifecyclePolicy objects that define the file system's\n LifecycleConfiguration object. A LifecycleConfiguration object\n tells lifecycle management when to transition files from the Standard storage class to the\n Infrequent Access storage class.

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

                  An array of LifecyclePolicy objects that define the file system's\n LifecycleConfiguration object. A LifecycleConfiguration object\n informs EFS lifecycle management and intelligent tiering of the following:

                  \n
                    \n
                  • \n

                    When to move files in the file system from primary storage to the IA storage class.

                    \n
                  • \n
                  • \n

                    When to move files that are in IA storage to primary storage.

                    \n
                  • \n
                  \n \n

                  When using the put-lifecycle-configuration CLI command or the PutLifecycleConfiguration API action, \n Amazon EFS requires that each LifecyclePolicy \n object have only a single transition. This means that in a request body, LifecyclePolicies needs to be structured as\n an array of LifecyclePolicy objects, one object for each transition, TransitionToIA, TransitionToPrimaryStorageClass. \n See the example requests in the following section for more information.

                  \n
                  ", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json index e9a3abb635f2..37cabed7bee7 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.2015-12-01.json @@ -1189,6 +1189,12 @@ "traits": { "smithy.api#documentation": "

                  The tags to assign to the target group.

                  " } + }, + "IpAddressType": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupIpAddressTypeEnum", + "traits": { + "smithy.api#documentation": "

                  The type of IP address used for this target group. The possible values are\n ipv4 and ipv6. This is an optional parameter. If not specified,\n the IP address type defaults to ipv4.

                  " + } } } }, @@ -1876,6 +1882,12 @@ "traits": { "smithy.api#documentation": "

                  The maximum number of results to return with this call.

                  " } + }, + "LoadBalancerType": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerTypeEnum", + "traits": { + "smithy.api#documentation": "

                  The type of load balancer. The default lists the SSL policies for all load\n balancers.

                  " + } } } }, @@ -2945,7 +2957,7 @@ "Key": { "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerAttributeKey", "traits": { - "smithy.api#documentation": "

                  The name of the attribute.

                  \n\n

                  The following attribute is supported by all load balancers:

                  \n
                    \n
                  • \n

                    \n deletion_protection.enabled - Indicates whether deletion protection is\n enabled. The value is true or false. The default is\n false.

                    \n
                  • \n
                  \n\n

                  The following attributes are supported by both Application Load Balancers and Network Load\n Balancers:

                  \n
                    \n
                  • \n

                    \n access_logs.s3.enabled - Indicates whether access logs are enabled. The\n value is true or false. The default is\n false.

                    \n
                  • \n
                  • \n

                    \n access_logs.s3.bucket - The name of the S3 bucket for the access logs.\n This attribute is required if access logs are enabled. The bucket must exist in the same\n region as the load balancer and have a bucket policy that grants Elastic Load Balancing\n permissions to write to the bucket.

                    \n
                  • \n
                  • \n

                    \n access_logs.s3.prefix - The prefix for the location in the S3 bucket for the\n access logs.

                    \n
                  • \n
                  \n\n

                  The following attributes are supported by only Application Load Balancers:

                  \n
                    \n
                  • \n

                    \n idle_timeout.timeout_seconds - The idle timeout value, in seconds. The\n valid range is 1-4000 seconds. The default is 60 seconds.

                    \n
                  • \n
                  • \n

                    \n routing.http.desync_mitigation_mode - Determines how the load balancer\n handles requests that might pose a security risk to your application. The possible values\n are monitor, defensive, and strictest. The default\n is defensive.

                    \n
                  • \n
                  • \n

                    \n routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP\n headers with invalid header fields are removed by the load balancer (true) or\n routed to targets (false). The default is false.

                    \n
                  • \n
                  • \n

                    \n routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates whether the two headers (x-amzn-tls-version and\n x-amzn-tls-cipher-suite), which contain information about\n the negotiated TLS version and cipher suite, are added to the client request\n before sending it to the target. The x-amzn-tls-version header\n has information about the TLS protocol version negotiated with the client,\n and the x-amzn-tls-cipher-suite header has information about\n the cipher suite negotiated with the client. Both headers are in OpenSSL\n format. The possible values for the attribute are true and\n false. The default is false.

                    \n
                  • \n
                  • \n

                    \n routing.http.xff_client_port.enabled - Indicates whether the\n X-Forwarded-For header should preserve the source port that the client used\n to connect to the load balancer. The possible values are true and\n false. The default is false.

                    \n
                  • \n
                  • \n

                    \n routing.http2.enabled - Indicates whether HTTP/2 is enabled. The possible\n values are true and false. The default is true.\n Elastic Load Balancing requires that message header names contain only alphanumeric\n characters and hyphens.

                    \n
                  • \n
                  • \n

                    \n waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load\n balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true and false. The\n default is false.

                    \n
                  • \n
                  \n\n

                  The following attribute is supported by Network Load Balancers and Gateway Load\n Balancers:

                  \n
                    \n
                  • \n

                    \n load_balancing.cross_zone.enabled - Indicates whether cross-zone load\n balancing is enabled. The possible values are true and false.\n The default is false.

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

                  The name of the attribute.

                  \n\n

                  The following attribute is supported by all load balancers:

                  \n
                    \n
                  • \n

                    \n deletion_protection.enabled - Indicates whether deletion protection is\n enabled. The value is true or false. The default is\n false.

                    \n
                  • \n
                  \n\n

                  The following attributes are supported by both Application Load Balancers and Network Load\n Balancers:

                  \n
                    \n
                  • \n

                    \n access_logs.s3.enabled - Indicates whether access logs are enabled. The\n value is true or false. The default is\n false.

                    \n
                  • \n
                  • \n

                    \n access_logs.s3.bucket - The name of the S3 bucket for the access logs.\n This attribute is required if access logs are enabled. The bucket must exist in the same\n region as the load balancer and have a bucket policy that grants Elastic Load Balancing\n permissions to write to the bucket.

                    \n
                  • \n
                  • \n

                    \n access_logs.s3.prefix - The prefix for the location in the S3 bucket for the\n access logs.

                    \n
                  • \n
                  \n\n

                  The following attributes are supported by only Application Load Balancers:

                  \n
                    \n
                  • \n

                    \n idle_timeout.timeout_seconds - The idle timeout value, in seconds. The\n valid range is 1-4000 seconds. The default is 60 seconds.

                    \n
                  • \n
                  • \n

                    \n routing.http.desync_mitigation_mode - Determines how the load balancer\n handles requests that might pose a security risk to your application. The possible values\n are monitor, defensive, and strictest. The default\n is defensive.

                    \n
                  • \n
                  • \n

                    \n routing.http.drop_invalid_header_fields.enabled - Indicates whether HTTP\n headers with invalid header fields are removed by the load balancer (true) or\n routed to targets (false). The default is false.

                    \n
                  • \n
                  • \n

                    \n routing.http.x_amzn_tls_version_and_cipher_suite.enabled - Indicates\n whether the two headers (x-amzn-tls-version and\n x-amzn-tls-cipher-suite), which contain information about the negotiated\n TLS version and cipher suite, are added to the client request before sending it to the\n target. The x-amzn-tls-version header has information about the TLS protocol\n version negotiated with the client, and the x-amzn-tls-cipher-suite header\n has information about the cipher suite negotiated with the client. Both headers are in\n OpenSSL format. The possible values for the attribute are true and\n false. The default is false.

                    \n
                  • \n
                  • \n

                    \n routing.http.xff_client_port.enabled - Indicates whether the\n X-Forwarded-For header should preserve the source port that the client used\n to connect to the load balancer. The possible values are true and\n false. The default is false.

                    \n
                  • \n
                  • \n

                    \n routing.http2.enabled - Indicates whether HTTP/2 is enabled. The possible\n values are true and false. The default is true.\n Elastic Load Balancing requires that message header names contain only alphanumeric\n characters and hyphens.

                    \n
                  • \n
                  • \n

                    \n waf.fail_open.enabled - Indicates whether to allow a WAF-enabled load\n balancer to route requests to targets if it is unable to forward the request to Amazon Web Services WAF. The possible values are true and false. The\n default is false.

                    \n
                  • \n
                  \n\n

                  The following attribute is supported by Network Load Balancers and Gateway Load\n Balancers:

                  \n
                    \n
                  • \n

                    \n load_balancing.cross_zone.enabled - Indicates whether cross-zone load\n balancing is enabled. The possible values are true and false.\n The default is false.

                    \n
                  • \n
                  " } }, "Value": { @@ -3108,7 +3120,7 @@ "HttpCode": { "target": "com.amazonaws.elasticloadbalancingv2#HttpCode", "traits": { - "smithy.api#documentation": "

                  For Application Load Balancers, you can specify values between 200 and 499, and the\n default value is 200. You can specify multiple values (for example, \"200,202\") or a range of\n values (for example, \"200-299\").

                  \n

                  For Network Load Balancers and Gateway Load Balancers, this must be \"200–399\".

                  " + "smithy.api#documentation": "

                  For Application Load Balancers, you can specify values between 200 and 499, and the\n default value is 200. You can specify multiple values (for example, \"200,202\") or a range of\n values (for example, \"200-299\").

                  \n

                  For Network Load Balancers and Gateway Load Balancers, this must be \"200–399\".

                  \n

                  Note that when using shorthand syntax, some values such as commas need to be\n escaped.

                  " } }, "GrpcCode": { @@ -3119,7 +3131,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  The codes to use when checking for a successful response from a target. If the protocol\n version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

                  " + "smithy.api#documentation": "

                  The codes to use when checking for a successful response from a target. If the protocol\n version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

                  " } }, "com.amazonaws.elasticloadbalancingv2#Max": { @@ -4423,6 +4435,12 @@ "traits": { "smithy.api#documentation": "

                  The name of the policy.

                  " } + }, + "SupportedLoadBalancerTypes": { + "target": "com.amazonaws.elasticloadbalancingv2#ListOfString", + "traits": { + "smithy.api#documentation": "

                  \n The supported load balancers.\n

                  " + } } }, "traits": { @@ -4741,6 +4759,12 @@ "traits": { "smithy.api#documentation": "

                  [HTTP/HTTPS protocol] The protocol version. The possible values are GRPC,\n HTTP1, and HTTP2.

                  " } + }, + "IpAddressType": { + "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupIpAddressTypeEnum", + "traits": { + "smithy.api#documentation": "

                  The type of IP address used for this target group. The possible values are\n ipv4 and ipv6. This is an optional parameter. If not specified,\n the IP address type defaults to ipv4.

                  " + } } }, "traits": { @@ -4812,6 +4836,21 @@ "target": "com.amazonaws.elasticloadbalancingv2#TargetGroupAttribute" } }, + "com.amazonaws.elasticloadbalancingv2#TargetGroupIpAddressTypeEnum": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ipv4", + "name": "IPV4" + }, + { + "value": "ipv6", + "name": "IPV6" + } + ] + } + }, "com.amazonaws.elasticloadbalancingv2#TargetGroupList": { "type": "list", "member": { diff --git a/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json b/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json index 2fb1d34887c3..ccbd6607a377 100644 --- a/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json +++ b/codegen/sdk-codegen/aws-models/frauddetector.2019-11-15.json @@ -39,9 +39,15 @@ { "target": "com.amazonaws.frauddetector#BatchGetVariable" }, + { + "target": "com.amazonaws.frauddetector#CancelBatchImportJob" + }, { "target": "com.amazonaws.frauddetector#CancelBatchPredictionJob" }, + { + "target": "com.amazonaws.frauddetector#CreateBatchImportJob" + }, { "target": "com.amazonaws.frauddetector#CreateBatchPredictionJob" }, @@ -60,6 +66,9 @@ { "target": "com.amazonaws.frauddetector#CreateVariable" }, + { + "target": "com.amazonaws.frauddetector#DeleteBatchImportJob" + }, { "target": "com.amazonaws.frauddetector#DeleteBatchPredictionJob" }, @@ -75,6 +84,9 @@ { "target": "com.amazonaws.frauddetector#DeleteEvent" }, + { + "target": "com.amazonaws.frauddetector#DeleteEventsByEventType" + }, { "target": "com.amazonaws.frauddetector#DeleteEventType" }, @@ -105,9 +117,15 @@ { "target": "com.amazonaws.frauddetector#DescribeModelVersions" }, + { + "target": "com.amazonaws.frauddetector#GetBatchImportJobs" + }, { "target": "com.amazonaws.frauddetector#GetBatchPredictionJobs" }, + { + "target": "com.amazonaws.frauddetector#GetDeleteEventsByEventTypeStatus" + }, { "target": "com.amazonaws.frauddetector#GetDetectors" }, @@ -117,6 +135,9 @@ { "target": "com.amazonaws.frauddetector#GetEntityTypes" }, + { + "target": "com.amazonaws.frauddetector#GetEvent" + }, { "target": "com.amazonaws.frauddetector#GetEventPrediction" }, @@ -171,6 +192,9 @@ { "target": "com.amazonaws.frauddetector#PutOutcome" }, + { + "target": "com.amazonaws.frauddetector#SendEvent" + }, { "target": "com.amazonaws.frauddetector#TagResource" }, @@ -186,6 +210,9 @@ { "target": "com.amazonaws.frauddetector#UpdateDetectorVersionStatus" }, + { + "target": "com.amazonaws.frauddetector#UpdateEventLabel" + }, { "target": "com.amazonaws.frauddetector#UpdateModel" }, @@ -445,6 +472,98 @@ } } }, + "com.amazonaws.frauddetector#BatchImport": { + "type": "structure", + "members": { + "jobId": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The ID of the batch import job.

                  " + } + }, + "status": { + "target": "com.amazonaws.frauddetector#AsyncJobStatus", + "traits": { + "smithy.api#documentation": "

                  The status of the batch import job.

                  " + } + }, + "failureReason": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The reason batch import job failed.

                  " + } + }, + "startTime": { + "target": "com.amazonaws.frauddetector#time", + "traits": { + "smithy.api#documentation": "

                  Timestamp of when the batch import job started.

                  " + } + }, + "completionTime": { + "target": "com.amazonaws.frauddetector#time", + "traits": { + "smithy.api#documentation": "

                  Timestamp of when batch import job completed.

                  " + } + }, + "inputPath": { + "target": "com.amazonaws.frauddetector#s3BucketLocation", + "traits": { + "smithy.api#documentation": "

                  The Amazon S3 location of your data file for batch import.

                  " + } + }, + "outputPath": { + "target": "com.amazonaws.frauddetector#s3BucketLocation", + "traits": { + "smithy.api#documentation": "

                  The Amazon S3 location of your output file.

                  " + } + }, + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The name of the event type.

                  " + } + }, + "iamRoleArn": { + "target": "com.amazonaws.frauddetector#iamRoleArn", + "traits": { + "smithy.api#documentation": "

                  The ARN of the IAM role to use for this job request.

                  " + } + }, + "arn": { + "target": "com.amazonaws.frauddetector#fraudDetectorArn", + "traits": { + "smithy.api#documentation": "

                  The ARN of the batch import job.

                  " + } + }, + "processedRecordsCount": { + "target": "com.amazonaws.frauddetector#Integer", + "traits": { + "smithy.api#documentation": "

                  The number of records processed by batch import job.

                  " + } + }, + "failedRecordsCount": { + "target": "com.amazonaws.frauddetector#Integer", + "traits": { + "smithy.api#documentation": "

                  The number of records that failed to import.

                  " + } + }, + "totalRecordsCount": { + "target": "com.amazonaws.frauddetector#Integer", + "traits": { + "smithy.api#documentation": "

                  The total number of records in the batch import job.

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

                  The batch import job details.

                  " + } + }, + "com.amazonaws.frauddetector#BatchImportList": { + "type": "list", + "member": { + "target": "com.amazonaws.frauddetector#BatchImport" + } + }, "com.amazonaws.frauddetector#BatchPrediction": { "type": "structure", "members": { @@ -475,7 +594,7 @@ "completionTime": { "target": "com.amazonaws.frauddetector#time", "traits": { - "smithy.api#documentation": "

                  Timestamp of when the batch prediction job comleted.

                  " + "smithy.api#documentation": "

                  Timestamp of when the batch prediction job completed.

                  " } }, "lastHeartbeatTime": { @@ -549,6 +668,51 @@ "target": "com.amazonaws.frauddetector#BatchPrediction" } }, + "com.amazonaws.frauddetector#CancelBatchImportJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#CancelBatchImportJobRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#CancelBatchImportJobResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Cancels an in-progress batch import job.

                  " + } + }, + "com.amazonaws.frauddetector#CancelBatchImportJobRequest": { + "type": "structure", + "members": { + "jobId": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The ID of an in-progress batch import job to cancel.

                  \n

                  Amazon Fraud Detector will throw an error if the batch import job is in FAILED, CANCELED, or COMPLETED state.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.frauddetector#CancelBatchImportJobResult": { + "type": "structure", + "members": {} + }, "com.amazonaws.frauddetector#CancelBatchPredictionJob": { "type": "operation", "input": { @@ -605,11 +769,90 @@ } }, "traits": { - "smithy.api#documentation": "

                  An exception indicating there was a conflict during a delete operation. The following delete operations can cause a conflict exception:

                  \n\t
                    \n
                  • \n

                    DeleteDetector: A conflict exception will occur if the detector has associated Rules or DetectorVersions. You can only delete a detector if it has no Rules or DetectorVersions.

                    \n
                  • \n
                  • \n

                    DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion status is ACTIVE.

                    \n
                  • \n
                  • \n

                    DeleteRule: A conflict exception will occur if the RuleVersion is in use by an associated ACTIVE or INACTIVE DetectorVersion.

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

                  An exception indicating there was a conflict during a delete operation.

                  ", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, + "com.amazonaws.frauddetector#CreateBatchImportJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#CreateBatchImportJobRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#CreateBatchImportJobResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Creates a batch import job.

                  " + } + }, + "com.amazonaws.frauddetector#CreateBatchImportJobRequest": { + "type": "structure", + "members": { + "jobId": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The ID of the batch import job. The ID cannot be of a past job, unless the job exists in CREATE_FAILED state.

                  ", + "smithy.api#required": {} + } + }, + "inputPath": { + "target": "com.amazonaws.frauddetector#s3BucketLocation", + "traits": { + "smithy.api#documentation": "

                  The URI that points to the Amazon S3 location of your data file.

                  ", + "smithy.api#required": {} + } + }, + "outputPath": { + "target": "com.amazonaws.frauddetector#s3BucketLocation", + "traits": { + "smithy.api#documentation": "

                  The URI that points to the Amazon S3 location for storing your results.

                  ", + "smithy.api#required": {} + } + }, + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The name of the event type.

                  ", + "smithy.api#required": {} + } + }, + "iamRoleArn": { + "target": "com.amazonaws.frauddetector#iamRoleArn", + "traits": { + "smithy.api#documentation": "

                  The ARN of the IAM role created for Amazon S3 bucket that holds your data file. \n The IAM role must have read and write permissions to both input and output S3 buckets.

                  ", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.frauddetector#tagList", + "traits": { + "smithy.api#documentation": "

                  A collection of key-value pairs associated with this request.

                  " + } + } + } + }, + "com.amazonaws.frauddetector#CreateBatchImportJobResult": { + "type": "structure", + "members": {} + }, "com.amazonaws.frauddetector#CreateBatchPredictionJob": { "type": "operation", "input": { @@ -790,7 +1033,7 @@ } }, "detectorVersionId": { - "target": "com.amazonaws.frauddetector#nonEmptyString", + "target": "com.amazonaws.frauddetector#wholeNumberVersionString", "traits": { "smithy.api#documentation": "

                  The ID for the created detector.

                  " } @@ -934,7 +1177,13 @@ "externalEventsDetail": { "target": "com.amazonaws.frauddetector#ExternalEventsDetail", "traits": { - "smithy.api#documentation": "

                  Details for the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

                  " + "smithy.api#documentation": "

                  Details of the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

                  " + } + }, + "ingestedEventsDetail": { + "target": "com.amazonaws.frauddetector#IngestedEventsDetail", + "traits": { + "smithy.api#documentation": "

                  Details of the ingested events data used for model version training. Required if trainingDataSource is INGESTED_EVENTS.

                  " } }, "tags": { @@ -961,7 +1210,7 @@ } }, "modelVersionNumber": { - "target": "com.amazonaws.frauddetector#nonEmptyString", + "target": "com.amazonaws.frauddetector#floatVersionString", "traits": { "smithy.api#documentation": "

                  The model version number of the model version created.

                  " } @@ -1215,6 +1464,54 @@ "smithy.api#documentation": "

                  The model training validation messages.

                  " } }, + "com.amazonaws.frauddetector#DeleteAuditHistory": { + "type": "boolean", + "traits": { + "smithy.api#box": {} + } + }, + "com.amazonaws.frauddetector#DeleteBatchImportJob": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#DeleteBatchImportJobRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#DeleteBatchImportJobResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Deletes data that was batch imported to Amazon Fraud Detector.

                  " + } + }, + "com.amazonaws.frauddetector#DeleteBatchImportJobRequest": { + "type": "structure", + "members": { + "jobId": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The ID of the batch import job to delete.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.frauddetector#DeleteBatchImportJobResult": { + "type": "structure", + "members": {} + }, "com.amazonaws.frauddetector#DeleteBatchPredictionJob": { "type": "operation", "input": { @@ -1230,9 +1527,6 @@ { "target": "com.amazonaws.frauddetector#InternalServerException" }, - { - "target": "com.amazonaws.frauddetector#ResourceNotFoundException" - }, { "target": "com.amazonaws.frauddetector#ThrottlingException" }, @@ -1447,6 +1741,12 @@ "smithy.api#documentation": "

                  The name of the event type.

                  ", "smithy.api#required": {} } + }, + "deleteAuditHistory": { + "target": "com.amazonaws.frauddetector#DeleteAuditHistory", + "traits": { + "smithy.api#documentation": "

                  Specifies whether or not to delete any predictions associated with the event.

                  " + } } } }, @@ -1480,7 +1780,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Deletes an event type.

                  \n\t

                  You cannot delete an event type that is used in a detector or a model.

                  \n\t

                  When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.

                  " + "smithy.api#documentation": "

                  Deletes an event type.

                  \n\t

                  You cannot delete an event type that is used in a detector or a model.

                  \n\t

                  When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.

                  " } }, "com.amazonaws.frauddetector#DeleteEventTypeRequest": { @@ -1499,13 +1799,13 @@ "type": "structure", "members": {} }, - "com.amazonaws.frauddetector#DeleteExternalModel": { + "com.amazonaws.frauddetector#DeleteEventsByEventType": { "type": "operation", "input": { - "target": "com.amazonaws.frauddetector#DeleteExternalModelRequest" + "target": "com.amazonaws.frauddetector#DeleteEventsByEventTypeRequest" }, "output": { - "target": "com.amazonaws.frauddetector#DeleteExternalModelResult" + "target": "com.amazonaws.frauddetector#DeleteEventsByEventTypeResult" }, "errors": [ { @@ -1518,7 +1818,68 @@ "target": "com.amazonaws.frauddetector#InternalServerException" }, { - "target": "com.amazonaws.frauddetector#ThrottlingException" + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Deletes all events of a particular event type.

                  " + } + }, + "com.amazonaws.frauddetector#DeleteEventsByEventTypeRequest": { + "type": "structure", + "members": { + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The name of the event type.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.frauddetector#DeleteEventsByEventTypeResult": { + "type": "structure", + "members": { + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  Name of event type for which to delete the events.

                  " + } + }, + "eventsDeletionStatus": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The status of the delete request.

                  " + } + } + } + }, + "com.amazonaws.frauddetector#DeleteExternalModel": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#DeleteExternalModelRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#DeleteExternalModelResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#ConflictException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" }, { "target": "com.amazonaws.frauddetector#ValidationException" @@ -2082,7 +2443,7 @@ "type": "structure", "members": { "detectorVersionId": { - "target": "com.amazonaws.frauddetector#nonEmptyString", + "target": "com.amazonaws.frauddetector#wholeNumberVersionString", "traits": { "smithy.api#documentation": "

                  The detector version ID.

                  " } @@ -2137,7 +2498,7 @@ } }, "entityId": { - "target": "com.amazonaws.frauddetector#identifier", + "target": "com.amazonaws.frauddetector#entityRestrictedString", "traits": { "smithy.api#documentation": "

                  The entity ID. If you do not know the entityId, you can pass unknown, which is areserved string literal.

                  ", "smithy.api#required": {} @@ -2187,6 +2548,80 @@ "smithy.api#documentation": "

                  The entity type details.

                  " } }, + "com.amazonaws.frauddetector#Event": { + "type": "structure", + "members": { + "eventId": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The event ID.

                  " + } + }, + "eventTypeName": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The event type.

                  " + } + }, + "eventTimestamp": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

                  " + } + }, + "eventVariables": { + "target": "com.amazonaws.frauddetector#EventAttributeMap", + "traits": { + "smithy.api#documentation": "

                  Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

                  " + } + }, + "currentLabel": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The label associated with the event.

                  " + } + }, + "labelTimestamp": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.

                  " + } + }, + "entities": { + "target": "com.amazonaws.frauddetector#listOfEntities", + "traits": { + "smithy.api#documentation": "

                  The event entities.

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

                  The event details.

                  " + } + }, + "com.amazonaws.frauddetector#EventAttributeMap": { + "type": "map", + "key": { + "target": "com.amazonaws.frauddetector#attributeKey" + }, + "value": { + "target": "com.amazonaws.frauddetector#attributeValue" + } + }, + "com.amazonaws.frauddetector#EventIngestion": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ENABLED", + "name": "ENABLED" + }, + { + "value": "DISABLED", + "name": "DISABLED" + } + ] + } + }, "com.amazonaws.frauddetector#EventType": { "type": "structure", "members": { @@ -2220,6 +2655,18 @@ "smithy.api#documentation": "

                  The event type entity types.

                  " } }, + "eventIngestion": { + "target": "com.amazonaws.frauddetector#EventIngestion", + "traits": { + "smithy.api#documentation": "

                  If Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known as INGESTED_EVENTS, to train your model and improve fraud predictions.

                  " + } + }, + "ingestedEventStatistics": { + "target": "com.amazonaws.frauddetector#IngestedEventStatistics", + "traits": { + "smithy.api#documentation": "

                  Data about the stored events.

                  " + } + }, "lastUpdatedTime": { "target": "com.amazonaws.frauddetector#time", "traits": { @@ -2345,7 +2792,7 @@ "com.amazonaws.frauddetector#ExternalModelEndpointDataBlobMap": { "type": "map", "key": { - "target": "com.amazonaws.frauddetector#string" + "target": "com.amazonaws.frauddetector#sageMakerEndpointIdentifier" }, "value": { "target": "com.amazonaws.frauddetector#ModelEndpointDataBlob" @@ -2483,6 +2930,80 @@ "smithy.api#documentation": "

                  The message details.

                  " } }, + "com.amazonaws.frauddetector#GetBatchImportJobs": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#GetBatchImportJobsRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#GetBatchImportJobsResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults, \n this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. \n To get the next page results, provide the pagination token from the GetBatchImportJobsResponse as part of your request. \n A null pagination token fetches the records from the beginning.

                  ", + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults" + } + } + }, + "com.amazonaws.frauddetector#GetBatchImportJobsRequest": { + "type": "structure", + "members": { + "jobId": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The ID of the batch import job to get.

                  " + } + }, + "maxResults": { + "target": "com.amazonaws.frauddetector#batchImportsMaxPageSize", + "traits": { + "smithy.api#documentation": "

                  The maximum number of objects to return for request.

                  " + } + }, + "nextToken": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The next token from the previous request.

                  " + } + } + } + }, + "com.amazonaws.frauddetector#GetBatchImportJobsResult": { + "type": "structure", + "members": { + "batchImports": { + "target": "com.amazonaws.frauddetector#BatchImportList", + "traits": { + "smithy.api#documentation": "

                  An array containing the details of each batch import job.

                  " + } + }, + "nextToken": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The next token for the subsequent resquest.

                  " + } + } + } + }, "com.amazonaws.frauddetector#GetBatchPredictionJobs": { "type": "operation", "input": { @@ -2557,6 +3078,64 @@ } } }, + "com.amazonaws.frauddetector#GetDeleteEventsByEventTypeStatus": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#GetDeleteEventsByEventTypeStatusRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#GetDeleteEventsByEventTypeStatusResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Retrieves the status of a DeleteEventsByEventType action.

                  " + } + }, + "com.amazonaws.frauddetector#GetDeleteEventsByEventTypeStatusRequest": { + "type": "structure", + "members": { + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  Name of event type for which to get the deletion status.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.frauddetector#GetDeleteEventsByEventTypeStatusResult": { + "type": "structure", + "members": { + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The event type name.

                  " + } + }, + "eventsDeletionStatus": { + "target": "com.amazonaws.frauddetector#AsyncJobStatus", + "traits": { + "smithy.api#documentation": "

                  The deletion status.

                  " + } + } + } + }, "com.amazonaws.frauddetector#GetDetectorVersion": { "type": "operation", "input": { @@ -2824,6 +3403,35 @@ } } }, + "com.amazonaws.frauddetector#GetEvent": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#GetEventRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#GetEventResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.

                  " + } + }, "com.amazonaws.frauddetector#GetEventPrediction": { "type": "operation", "input": { @@ -2899,14 +3507,14 @@ "eventTimestamp": { "target": "com.amazonaws.frauddetector#utcTimestampISO8601", "traits": { - "smithy.api#documentation": "

                  Timestamp that defines when the event under evaluation occurred.

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

                  Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

                  ", "smithy.api#required": {} } }, "eventVariables": { "target": "com.amazonaws.frauddetector#EventVariableMap", "traits": { - "smithy.api#documentation": "

                  Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and \n their corresponding values for the event you are sending for evaluation.

                  \n \n
                    \n
                  • \n

                    You must provide at least one eventVariable

                    \n
                  • \n
                  • \n

                    If detectorVersion is associated with a modelVersion, you must provide at least one associated eventVariable

                    \n
                  • \n
                  \n
                  \n \n

                  To ensure highest possible fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

                  \n \n

                  \n For Amazon Fraud Detector trained models:\n

                  \n

                  If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) \n with calculated default mean/medians for numeric variables and with special values for categorical variables.

                  \n \n

                  \n For External models ( for example, imported SageMaker):\n

                  \n

                  If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules \n will use the default value that is provided for the variable.

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

                  Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and \n their corresponding values for the event you are sending for evaluation.

                  \n \n

                  You must provide at least one eventVariable

                  \n
                  \n \n

                  To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

                  \n \n

                  \n For Amazon Fraud Detector trained models:\n

                  \n

                  If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) \n with calculated default mean/medians for numeric variables and with special values for categorical variables.

                  \n \n

                  \n For imported SageMaker models:\n

                  \n

                  If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules \n will use the default value that is provided for the variable.

                  ", "smithy.api#required": {} } }, @@ -2941,6 +3549,36 @@ } } }, + "com.amazonaws.frauddetector#GetEventRequest": { + "type": "structure", + "members": { + "eventId": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The ID of the event to retrieve.

                  ", + "smithy.api#required": {} + } + }, + "eventTypeName": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The event type of the event to retrieve.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.frauddetector#GetEventResult": { + "type": "structure", + "members": { + "event": { + "target": "com.amazonaws.frauddetector#Event", + "traits": { + "smithy.api#documentation": "

                  The details of the event.

                  " + } + } + } + }, "com.amazonaws.frauddetector#GetEventTypes": { "type": "operation", "input": { @@ -3109,7 +3747,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.

                  " + "smithy.api#documentation": "

                  Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

                  " } }, "com.amazonaws.frauddetector#GetKMSEncryptionKeyResult": { @@ -3288,7 +3926,13 @@ "externalEventsDetail": { "target": "com.amazonaws.frauddetector#ExternalEventsDetail", "traits": { - "smithy.api#documentation": "

                  The event details.

                  " + "smithy.api#documentation": "

                  The details of the external events data used for training the model version. \n This will be populated if the trainingDataSource is EXTERNAL_EVENTS\n

                  " + } + }, + "ingestedEventsDetail": { + "target": "com.amazonaws.frauddetector#IngestedEventsDetail", + "traits": { + "smithy.api#documentation": "

                  The details of the ingested events data used for training the model version. \n This will be populated if the trainingDataSource is INGESTED_EVENTS.

                  " } }, "status": { @@ -3586,38 +4230,113 @@ "name": { "target": "com.amazonaws.frauddetector#string", "traits": { - "smithy.api#documentation": "

                  The name of the variable.

                  " + "smithy.api#documentation": "

                  The name of the variable.

                  " + } + }, + "nextToken": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The next page token of the get variable request.

                  " + } + }, + "maxResults": { + "target": "com.amazonaws.frauddetector#VariablesMaxResults", + "traits": { + "smithy.api#documentation": "

                  The max size per page determined for the get variable request.

                  " + } + } + } + }, + "com.amazonaws.frauddetector#GetVariablesResult": { + "type": "structure", + "members": { + "variables": { + "target": "com.amazonaws.frauddetector#VariableList", + "traits": { + "smithy.api#documentation": "

                  The names of the variables returned.

                  " + } + }, + "nextToken": { + "target": "com.amazonaws.frauddetector#string", + "traits": { + "smithy.api#documentation": "

                  The next page token to be used in subsequent requests.

                  " + } + } + } + }, + "com.amazonaws.frauddetector#IngestedEventStatistics": { + "type": "structure", + "members": { + "numberOfEvents": { + "target": "com.amazonaws.frauddetector#Long", + "traits": { + "smithy.api#documentation": "

                  The number of stored events.

                  " } }, - "nextToken": { - "target": "com.amazonaws.frauddetector#string", + "eventDataSizeInBytes": { + "target": "com.amazonaws.frauddetector#Long", "traits": { - "smithy.api#documentation": "

                  The next page token of the get variable request.

                  " + "smithy.api#documentation": "

                  The total size of the stored events.

                  " } }, - "maxResults": { - "target": "com.amazonaws.frauddetector#VariablesMaxResults", + "leastRecentEvent": { + "target": "com.amazonaws.frauddetector#time", "traits": { - "smithy.api#documentation": "

                  The max size per page determined for the get variable request.

                  " + "smithy.api#documentation": "

                  The oldest stored event.

                  " + } + }, + "mostRecentEvent": { + "target": "com.amazonaws.frauddetector#time", + "traits": { + "smithy.api#documentation": "

                  The newest stored event.

                  " + } + }, + "lastUpdatedTime": { + "target": "com.amazonaws.frauddetector#time", + "traits": { + "smithy.api#documentation": "

                  Timestamp of when the stored event was last updated. \n

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

                  Data about the stored events.

                  " } }, - "com.amazonaws.frauddetector#GetVariablesResult": { + "com.amazonaws.frauddetector#IngestedEventsDetail": { "type": "structure", "members": { - "variables": { - "target": "com.amazonaws.frauddetector#VariableList", + "ingestedEventsTimeWindow": { + "target": "com.amazonaws.frauddetector#IngestedEventsTimeWindow", "traits": { - "smithy.api#documentation": "

                  The names of the variables returned.

                  " + "smithy.api#documentation": "

                  The start and stop time of the ingested events.

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

                  The details of the ingested event.

                  " + } + }, + "com.amazonaws.frauddetector#IngestedEventsTimeWindow": { + "type": "structure", + "members": { + "startTime": { + "target": "com.amazonaws.frauddetector#time", + "traits": { + "smithy.api#documentation": "

                  Timestamp of the first ingensted event.

                  ", + "smithy.api#required": {} } }, - "nextToken": { - "target": "com.amazonaws.frauddetector#string", + "endTime": { + "target": "com.amazonaws.frauddetector#time", "traits": { - "smithy.api#documentation": "

                  The next page token to be used in subsequent requests.

                  " + "smithy.api#documentation": "

                  Timestamp of the final ingested event.

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

                  The start and stop time of the ingested events.

                  " } }, "com.amazonaws.frauddetector#Integer": { @@ -3725,6 +4444,12 @@ "smithy.api#documentation": "

                  The label mapper maps the Amazon Fraud Detector supported model classification labels (FRAUD, LEGIT) to the appropriate event type labels. For example, if \"FRAUD\" and \"LEGIT\" are Amazon Fraud Detector supported labels, this mapper could be: {\"FRAUD\" => [\"0\"], \"LEGIT\" => [\"1\"]} or {\"FRAUD\" => [\"false\"], \"LEGIT\" => [\"true\"]} or {\"FRAUD\" => [\"fraud\", \"abuse\"], \"LEGIT\" => [\"legit\", \"safe\"]}. The value part of the mapper is a list, because you may have multiple label variants from your event type for a single Amazon Fraud Detector label.\n

                  ", "smithy.api#required": {} } + }, + "unlabeledEventsTreatment": { + "target": "com.amazonaws.frauddetector#UnlabeledEventsTreatment", + "traits": { + "smithy.api#documentation": "

                  The action to take for unlabeled events.

                  " + } } }, "traits": { @@ -3879,6 +4604,12 @@ "smithy.api#documentation": "

                  The log odds metric details.

                  " } }, + "com.amazonaws.frauddetector#Long": { + "type": "long", + "traits": { + "smithy.api#box": {} + } + }, "com.amazonaws.frauddetector#MetricDataPoint": { "type": "structure", "members": { @@ -4019,13 +4750,13 @@ } }, "jsonInputTemplate": { - "target": "com.amazonaws.frauddetector#string", + "target": "com.amazonaws.frauddetector#modelInputTemplate", "traits": { "smithy.api#documentation": "

                  Template for constructing the JSON input-data sent to SageMaker. At event-evaluation,\n the placeholders for variable names in the template will be replaced with the variable\n values before being sent to SageMaker.

                  " } }, "csvInputTemplate": { - "target": "com.amazonaws.frauddetector#string", + "target": "com.amazonaws.frauddetector#modelInputTemplate", "traits": { "smithy.api#documentation": "

                  Template for constructing the CSV input-data sent to SageMaker. At event-evaluation,\n the placeholders for variable-names in the template will be replaced with the variable\n values before being sent to SageMaker.

                  " } @@ -4139,6 +4870,10 @@ { "value": "ONLINE_FRAUD_INSIGHTS", "name": "ONLINE_FRAUD_INSIGHTS" + }, + { + "value": "TRANSACTION_FRAUD_INSIGHTS", + "name": "TRANSACTION_FRAUD_INSIGHTS" } ] } @@ -4161,7 +4896,7 @@ } }, "modelVersionNumber": { - "target": "com.amazonaws.frauddetector#nonEmptyString", + "target": "com.amazonaws.frauddetector#floatVersionString", "traits": { "smithy.api#documentation": "

                  The model version number.

                  ", "smithy.api#required": {} @@ -4220,7 +4955,13 @@ "externalEventsDetail": { "target": "com.amazonaws.frauddetector#ExternalEventsDetail", "traits": { - "smithy.api#documentation": "

                  The event details.

                  " + "smithy.api#documentation": "

                  The external events data details. This will be populated if the trainingDataSource for the model version is specified as EXTERNAL_EVENTS.

                  " + } + }, + "ingestedEventsDetail": { + "target": "com.amazonaws.frauddetector#IngestedEventsDetail", + "traits": { + "smithy.api#documentation": "

                  The ingested events data details. This will be populated if the trainingDataSource for the model version is specified as INGESTED_EVENTS.

                  " } }, "trainingResult": { @@ -4534,6 +5275,12 @@ "smithy.api#required": {} } }, + "eventIngestion": { + "target": "com.amazonaws.frauddetector#EventIngestion", + "traits": { + "smithy.api#documentation": "

                  Specifies if ingenstion is enabled or disabled.

                  " + } + }, "tags": { "target": "com.amazonaws.frauddetector#tagList", "traits": { @@ -4661,7 +5408,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.

                  " + "smithy.api#documentation": "

                  Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

                  " } }, "com.amazonaws.frauddetector#PutKMSEncryptionKeyRequest": { @@ -4805,7 +5552,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  An exception indicating the specified resource was not found. This can occur if you submit a request, such as CreateBatchPredictionJob, but the detector name or version does not exist.

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

                  An exception indicating the specified resource was not found.

                  ", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -4818,7 +5565,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  \n An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model. \n

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

                  An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.

                  ", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -4977,6 +5724,94 @@ } } }, + "com.amazonaws.frauddetector#SendEvent": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#SendEventRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#SendEventResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#ConflictException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.

                  " + } + }, + "com.amazonaws.frauddetector#SendEventRequest": { + "type": "structure", + "members": { + "eventId": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The event ID to upload.

                  ", + "smithy.api#required": {} + } + }, + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The event type name of the event.

                  ", + "smithy.api#required": {} + } + }, + "eventTimestamp": { + "target": "com.amazonaws.frauddetector#utcTimestampISO8601", + "traits": { + "smithy.api#documentation": "

                  The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

                  ", + "smithy.api#required": {} + } + }, + "eventVariables": { + "target": "com.amazonaws.frauddetector#EventVariableMap", + "traits": { + "smithy.api#documentation": "

                  Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

                  ", + "smithy.api#required": {} + } + }, + "assignedLabel": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The label to associate with the event. Required if specifying labelTimestamp.

                  " + } + }, + "labelTimestamp": { + "target": "com.amazonaws.frauddetector#utcTimestampISO8601", + "traits": { + "smithy.api#documentation": "

                  The timestamp associated with the label. Required if specifying assignedLabel.

                  " + } + }, + "entities": { + "target": "com.amazonaws.frauddetector#listOfEntities", + "traits": { + "smithy.api#documentation": "

                  An array of entities.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.frauddetector#SendEventResult": { + "type": "structure", + "members": {} + }, "com.amazonaws.frauddetector#Tag": { "type": "structure", "members": { @@ -5102,6 +5937,10 @@ { "value": "EXTERNAL_EVENTS", "name": "EXTERNAL_EVENTS" + }, + { + "value": "INGESTED_EVENTS", + "name": "INGESTED_EVENTS" } ] } @@ -5152,6 +5991,25 @@ "smithy.api#documentation": "

                  The training result details.

                  " } }, + "com.amazonaws.frauddetector#UnlabeledEventsTreatment": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "IGNORE", + "name": "IGNORE" + }, + { + "value": "FRAUD", + "name": "FRAUD" + }, + { + "value": "LEGIT", + "name": "LEGIT" + } + ] + } + }, "com.amazonaws.frauddetector#UntagResource": { "type": "operation", "input": { @@ -5409,6 +6267,75 @@ "type": "structure", "members": {} }, + "com.amazonaws.frauddetector#UpdateEventLabel": { + "type": "operation", + "input": { + "target": "com.amazonaws.frauddetector#UpdateEventLabelRequest" + }, + "output": { + "target": "com.amazonaws.frauddetector#UpdateEventLabelResult" + }, + "errors": [ + { + "target": "com.amazonaws.frauddetector#AccessDeniedException" + }, + { + "target": "com.amazonaws.frauddetector#ConflictException" + }, + { + "target": "com.amazonaws.frauddetector#InternalServerException" + }, + { + "target": "com.amazonaws.frauddetector#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.frauddetector#ThrottlingException" + }, + { + "target": "com.amazonaws.frauddetector#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Updates the specified event with a new label.

                  " + } + }, + "com.amazonaws.frauddetector#UpdateEventLabelRequest": { + "type": "structure", + "members": { + "eventId": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The ID of the event associated with the label to update.

                  ", + "smithy.api#required": {} + } + }, + "eventTypeName": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The event type of the event associated with the label to update.

                  ", + "smithy.api#required": {} + } + }, + "assignedLabel": { + "target": "com.amazonaws.frauddetector#identifier", + "traits": { + "smithy.api#documentation": "

                  The new label to assign to the event.

                  ", + "smithy.api#required": {} + } + }, + "labelTimestamp": { + "target": "com.amazonaws.frauddetector#utcTimestampISO8601", + "traits": { + "smithy.api#documentation": "

                  The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.frauddetector#UpdateEventLabelResult": { + "type": "structure", + "members": {} + }, "com.amazonaws.frauddetector#UpdateModel": { "type": "operation", "input": { @@ -5438,7 +6365,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Updates a model. You can update the description attribute using this action.

                  " + "smithy.api#documentation": "

                  Updates model description.

                  " } }, "com.amazonaws.frauddetector#UpdateModelRequest": { @@ -5529,7 +6456,13 @@ "externalEventsDetail": { "target": "com.amazonaws.frauddetector#ExternalEventsDetail", "traits": { - "smithy.api#documentation": "

                  The event details.

                  " + "smithy.api#documentation": "

                  The details of the external events data used for training the model version. Required if trainingDataSource is EXTERNAL_EVENTS.

                  " + } + }, + "ingestedEventsDetail": { + "target": "com.amazonaws.frauddetector#IngestedEventsDetail", + "traits": { + "smithy.api#documentation": "

                  The details of the ingested event used for training the model version. Required if your trainingDataSource is INGESTED_EVENTS.

                  " } }, "tags": { @@ -5598,7 +6531,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Updates the status of a model version.

                  \n

                  You can perform the following status updates:

                  \n
                    \n
                  1. \n

                    Change the TRAINING_COMPLETE status to ACTIVE.

                    \n
                  2. \n
                  3. \n

                    Change ACTIVEto INACTIVE.

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

                  Updates the status of a model version.

                  \n

                  You can perform the following status updates:

                  \n
                    \n
                  1. \n

                    Change the TRAINING_COMPLETE status to ACTIVE.

                    \n
                  2. \n
                  3. \n

                    Change ACTIVE to INACTIVE.

                    \n
                  4. \n
                  " } }, "com.amazonaws.frauddetector#UpdateModelVersionStatusRequest": { @@ -6017,6 +6950,35 @@ } } }, + "com.amazonaws.frauddetector#attributeKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.frauddetector#attributeValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.frauddetector#batchImportsMaxPageSize": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, "com.amazonaws.frauddetector#batchPredictionsMaxPageSize": { "type": "integer", "traits": { @@ -6048,6 +7010,16 @@ } } }, + "com.amazonaws.frauddetector#entityRestrictedString": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[0-9A-Za-z_.@+-]+$" + } + }, "com.amazonaws.frauddetector#entityTypeList": { "type": "list", "member": { @@ -6185,6 +7157,15 @@ "smithy.api#pattern": "^[0-9a-z_]+$" } }, + "com.amazonaws.frauddetector#modelInputTemplate": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 2000 + } + } + }, "com.amazonaws.frauddetector#modelList": { "type": "list", "member": { @@ -6207,14 +7188,6 @@ } } }, - "com.amazonaws.frauddetector#nonEmptyString": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1 - } - } - }, "com.amazonaws.frauddetector#ruleExpression": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/glue.2017-03-31.json b/codegen/sdk-codegen/aws-models/glue.2017-03-31.json index 1591323bd21c..8c5b314d21ef 100644 --- a/codegen/sdk-codegen/aws-models/glue.2017-03-31.json +++ b/codegen/sdk-codegen/aws-models/glue.2017-03-31.json @@ -7834,6 +7834,9 @@ "smithy.api#documentation": "

                  Batch condition that must be met (specified number of events received or batch time window expired)\n before EventBridge event trigger fires.

                  " } }, + "com.amazonaws.glue#EventQueueArn": { + "type": "string" + }, "com.amazonaws.glue#ExecutionProperty": { "type": "structure", "members": { @@ -15579,6 +15582,10 @@ { "value": "CRAWL_NEW_FOLDERS_ONLY", "name": "CRAWL_NEW_FOLDERS_ONLY" + }, + { + "value": "CRAWL_EVENT_MODE", + "name": "CRAWL_EVENT_MODE" } ] } @@ -15589,7 +15596,7 @@ "RecrawlBehavior": { "target": "com.amazonaws.glue#RecrawlBehavior", "traits": { - "smithy.api#documentation": "

                  Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

                  \n\t\n\t

                  A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

                  \n \n

                  A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

                  " + "smithy.api#documentation": "

                  Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.

                  \n\t\n\t

                  A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.

                  \n \n

                  A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.

                  \n\t\n\t

                  A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.

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

                  Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.

                  " } + }, + "EventQueueArn": { + "target": "com.amazonaws.glue#EventQueueArn", + "traits": { + "smithy.api#documentation": "

                  A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.

                  " + } + }, + "DlqEventQueueArn": { + "target": "com.amazonaws.glue#EventQueueArn", + "traits": { + "smithy.api#documentation": "

                  A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.

                  " + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.2018-05-23.json b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.2018-05-23.json index 0e0d48a51247..adddddca5555 100644 --- a/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.2018-05-23.json +++ b/codegen/sdk-codegen/aws-models/kinesis-analytics-v2.2018-05-23.json @@ -173,7 +173,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application. An input processor pre-processes records \n on the input stream before the\n application's SQL code executes. Currently, the only input processor available is AWS Lambda.

                  " + "smithy.api#documentation": "

                  Adds an InputProcessingConfiguration to a SQL-based Kinesis Data Analytics application. An input processor pre-processes records \n on the input stream before the\n application's SQL code executes. Currently, the only input processor available is Amazon Lambda.

                  " } }, "com.amazonaws.kinesisanalyticsv2#AddApplicationInputProcessingConfigurationRequest": { @@ -313,7 +313,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Adds an external destination to your SQL-based Kinesis Data Analytics application.

                  \n

                  If you want Kinesis Data Analytics to deliver data from an in-application stream within\n your application to an external destination (such as an Kinesis data stream, a Kinesis Data\n Firehose delivery stream, or an AWS Lambda function), you add the relevant configuration to\n your application using this operation. You can configure one or more outputs for your\n application. Each output configuration maps an in-application stream and an external\n destination.

                  \n

                  You can use one of the output configurations to deliver data from your\n in-application error stream to an external destination so that you can analyze the\n errors.

                  \n

                  Any configuration update, including adding a streaming source using this\n operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application\n version.

                  " + "smithy.api#documentation": "

                  Adds an external destination to your SQL-based Kinesis Data Analytics application.

                  \n

                  If you want Kinesis Data Analytics to deliver data from an in-application stream within\n your application to an external destination (such as an Kinesis data stream, a Kinesis Data\n Firehose delivery stream, or an Amazon Lambda function), you add the relevant configuration to\n your application using this operation. You can configure one or more outputs for your\n application. Each output configuration maps an in-application stream and an external\n destination.

                  \n

                  You can use one of the output configurations to deliver data from your\n in-application error stream to an external destination so that you can analyze the\n errors.

                  \n

                  Any configuration update, including adding a streaming source using this\n operation, results in a new version of the application. You can use the DescribeApplication operation to find the current application\n version.

                  " } }, "com.amazonaws.kinesisanalyticsv2#AddApplicationOutputRequest": { @@ -336,7 +336,7 @@ "Output": { "target": "com.amazonaws.kinesisanalyticsv2#Output", "traits": { - "smithy.api#documentation": "

                  An array of objects, each describing one output configuration. In the output\n configuration, you specify the name of an in-application stream, a destination (that is, a\n Kinesis data stream, a Kinesis Data Firehose delivery stream, or an AWS Lambda function), and\n record the formation to use when writing to the destination.

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

                  An array of objects, each describing one output configuration. In the output\n configuration, you specify the name of an in-application stream, a destination (that is, a\n Kinesis data stream, a Kinesis Data Firehose delivery stream, or an Amazon Lambda function), and\n record the formation to use when writing to the destination.

                  ", "smithy.api#required": {} } } @@ -912,7 +912,7 @@ "min": 5, "max": 5 }, - "smithy.api#pattern": "([01][0-9]|2[0-3]):[0-5][0-9]" + "smithy.api#pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$" } }, "com.amazonaws.kinesisanalyticsv2#ApplicationMaintenanceWindowStartTime": { @@ -922,7 +922,7 @@ "min": 5, "max": 5 }, - "smithy.api#pattern": "([01][0-9]|2[0-3]):[0-5][0-9]" + "smithy.api#pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$" } }, "com.amazonaws.kinesisanalyticsv2#ApplicationMode": { @@ -947,7 +947,7 @@ "min": 1, "max": 128 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalyticsv2#ApplicationRestoreConfiguration": { @@ -1071,14 +1071,14 @@ "value": "FORCE_STOPPING", "name": "FORCE_STOPPING" }, - { - "value": "MAINTENANCE", - "name": "MAINTENANCE" - }, { "value": "ROLLING_BACK", "name": "ROLLING_BACK" }, + { + "value": "MAINTENANCE", + "name": "MAINTENANCE" + }, { "value": "ROLLED_BACK", "name": "ROLLED_BACK" @@ -1210,7 +1210,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "[a-zA-Z0-9/!-_.*'()]+" + "smithy.api#pattern": "^[a-zA-Z0-9/!-_.*'()]+$" } }, "com.amazonaws.kinesisanalyticsv2#BooleanObject": { @@ -1226,7 +1226,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalyticsv2#CSVMappingParameters": { @@ -1257,13 +1257,13 @@ "GlueDataCatalogConfiguration": { "target": "com.amazonaws.kinesisanalyticsv2#GlueDataCatalogConfiguration", "traits": { - "smithy.api#documentation": "

                  The configuration parameters for the default AWS Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

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

                  The configuration parameters for the default Amazon Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

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

                  The configuration parameters for the default AWS Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

                  " + "smithy.api#documentation": "

                  The configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

                  " } }, "com.amazonaws.kinesisanalyticsv2#CatalogConfigurationDescription": { @@ -1272,13 +1272,13 @@ "GlueDataCatalogConfigurationDescription": { "target": "com.amazonaws.kinesisanalyticsv2#GlueDataCatalogConfigurationDescription", "traits": { - "smithy.api#documentation": "

                  The configuration parameters for the default AWS Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

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

                  The configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

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

                  The configuration parameters for the default AWS Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

                  " + "smithy.api#documentation": "

                  The configuration parameters for the default Amazon Glue database. You use this database for Apache Flink SQL queries and table API transforms that you write in a Kinesis Data Analytics Studio notebook.

                  " } }, "com.amazonaws.kinesisanalyticsv2#CatalogConfigurationUpdate": { @@ -1287,13 +1287,13 @@ "GlueDataCatalogConfigurationUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#GlueDataCatalogConfigurationUpdate", "traits": { - "smithy.api#documentation": "

                  Updates to the configuration parameters for the default AWS Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

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

                  Updates to the configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

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

                  Updates to

                  " + "smithy.api#documentation": "

                  Updates to the configuration parameters for the default Amazon Glue database. You use this database for SQL queries that you write in a Kinesis Data Analytics Studio notebook.

                  " } }, "com.amazonaws.kinesisanalyticsv2#CheckpointConfiguration": { @@ -1633,7 +1633,7 @@ "min": 1, "max": 512 }, - "smithy.api#pattern": "[a-zA-Z0-9-_+/=]+" + "smithy.api#pattern": "^[a-zA-Z0-9-_+/=]+$" } }, "com.amazonaws.kinesisanalyticsv2#ConfigurationType": { @@ -1680,6 +1680,9 @@ }, { "target": "com.amazonaws.kinesisanalyticsv2#TooManyTagsException" + }, + { + "target": "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException" } ], "traits": { @@ -1949,7 +1952,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalyticsv2#DeleteApplication": { @@ -2457,7 +2460,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state..

                  " + "smithy.api#documentation": "

                  The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.

                  " } }, "com.amazonaws.kinesisanalyticsv2#DeployAsApplicationConfigurationDescription": { @@ -2481,13 +2484,12 @@ "S3ContentLocationUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#S3ContentBaseLocationUpdate", "traits": { - "smithy.api#documentation": "

                  Updates to the location that holds the data required to specify an Amazon Data Analytics application.

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

                  Updates to the location that holds the data required to specify an Amazon Data Analytics application.

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

                  Updates to the configuration information required to deploy an Amazon Data Analytics Studio notebook as an application with durable state..

                  " + "smithy.api#documentation": "

                  Updates to the configuration information required to deploy an Amazon Data Analytics Studio notebook as an application with durable state.

                  " } }, "com.amazonaws.kinesisanalyticsv2#DescribeApplication": { @@ -2685,6 +2687,9 @@ }, { "target": "com.amazonaws.kinesisanalyticsv2#UnableToDetectSchemaException" + }, + { + "target": "com.amazonaws.kinesisanalyticsv2#UnsupportedOperationException" } ], "traits": { @@ -2946,7 +2951,8 @@ "DatabaseARNUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#DatabaseARN", "traits": { - "smithy.api#documentation": "

                  The updated Amazon Resource Name (ARN) of the database.

                  " + "smithy.api#documentation": "

                  The updated Amazon Resource Name (ARN) of the database.

                  ", + "smithy.api#required": {} } } }, @@ -2961,7 +2967,7 @@ "min": 1, "max": 50 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalyticsv2#InAppStreamName": { @@ -2971,7 +2977,7 @@ "min": 1, "max": 32 }, - "smithy.api#pattern": "[^-\\s<>&]*" + "smithy.api#pattern": "^[^-\\s<>&]*$" } }, "com.amazonaws.kinesisanalyticsv2#InAppStreamNames": { @@ -3109,13 +3115,13 @@ "ResourceARN": { "target": "com.amazonaws.kinesisanalyticsv2#ResourceARN", "traits": { - "smithy.api#documentation": "

                  The ARN of the AWS Lambda function that operates on records in the stream.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda\n

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

                  The ARN of the Amazon Lambda function that operates on records in the stream.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda\n

                  \n
                  ", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

                  An object that contains the Amazon Resource Name (ARN) of the AWS Lambda function that is\n used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application.

                  " + "smithy.api#documentation": "

                  An object that contains the Amazon Resource Name (ARN) of the Amazon Lambda function that is\n used to preprocess records in the stream in a SQL-based Kinesis Data Analytics application.

                  " } }, "com.amazonaws.kinesisanalyticsv2#InputLambdaProcessorDescription": { @@ -3124,19 +3130,19 @@ "ResourceARN": { "target": "com.amazonaws.kinesisanalyticsv2#ResourceARN", "traits": { - "smithy.api#documentation": "

                  The ARN of the AWS Lambda function that is used to preprocess the records in the\n stream.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda\n

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

                  The ARN of the Amazon Lambda function that is used to preprocess the records in the\n stream.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda\n

                  \n
                  ", "smithy.api#required": {} } }, "RoleARN": { "target": "com.amazonaws.kinesisanalyticsv2#RoleARN", "traits": { - "smithy.api#documentation": "

                  The ARN of the IAM role that is used to access the AWS Lambda function.

                  \n \n

                  Provided for backward compatibility. Applications that are created with the current API\n version have an application-level service execution role rather than a resource-level\n role.

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

                  The ARN of the IAM role that is used to access the Amazon Lambda function.

                  \n \n

                  Provided for backward compatibility. Applications that are created with the current API\n version have an application-level service execution role rather than a resource-level\n role.

                  \n
                  " } } }, "traits": { - "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application, an object that contains the\n Amazon Resource Name (ARN) of the AWS Lambda function that is used to preprocess records in\n the stream.

                  " + "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application, an object that contains the\n Amazon Resource Name (ARN) of the Amazon Lambda function that is used to preprocess records in\n the stream.

                  " } }, "com.amazonaws.kinesisanalyticsv2#InputLambdaProcessorUpdate": { @@ -3145,7 +3151,7 @@ "ResourceARNUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#ResourceARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the new AWS Lambda function that is used to preprocess\n the records in the stream.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda\n

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

                  The Amazon Resource Name (ARN) of the new Amazon Lambda function that is used to preprocess\n the records in the stream.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda\n

                  \n
                  ", "smithy.api#required": {} } } @@ -3205,7 +3211,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application, describes a processor that is\n used to preprocess the records in the stream before being processed by your application code.\n Currently, the only input processor available is AWS Lambda.

                  " + "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application, describes a processor that is\n used to preprocess the records in the stream before being processed by your application code.\n Currently, the only input processor available is Amazon Lambda.

                  " } }, "com.amazonaws.kinesisanalyticsv2#InputProcessingConfigurationDescription": { @@ -3219,7 +3225,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application, provides the configuration\n information about an input processor. Currently, the only input processor available is AWS Lambda.

                  " + "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application, provides the configuration\n information about an input processor. Currently, the only input processor available is Amazon Lambda.

                  " } }, "com.amazonaws.kinesisanalyticsv2#InputProcessingConfigurationUpdate": { @@ -3420,7 +3426,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalyticsv2#KinesisAnalytics_20180523": { @@ -3750,13 +3756,13 @@ "ResourceARN": { "target": "com.amazonaws.kinesisanalyticsv2#ResourceARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the destination Lambda function to write to.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda\n

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

                  The Amazon Resource Name (ARN) of the destination Lambda function to write to.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda\n

                  \n
                  ", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

                  When you configure a SQL-based Kinesis Data Analytics application's output,\n identifies an AWS Lambda function as the destination. You provide the function Amazon Resource\n Name (ARN) of the Lambda function.

                  " + "smithy.api#documentation": "

                  When you configure a SQL-based Kinesis Data Analytics application's output,\n identifies an Amazon Lambda function as the destination. You provide the function Amazon Resource\n Name (ARN) of the Lambda function.

                  " } }, "com.amazonaws.kinesisanalyticsv2#LambdaOutputDescription": { @@ -3777,7 +3783,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application's output, describes the AWS\n Lambda function that is configured as its destination.

                  " + "smithy.api#documentation": "

                  For a SQL-based Kinesis Data Analytics application's output, describes the Amazon\n Lambda function that is configured as its destination.

                  " } }, "com.amazonaws.kinesisanalyticsv2#LambdaOutputUpdate": { @@ -3786,13 +3792,13 @@ "ResourceARNUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#ResourceARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the destination AWS Lambda function.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: AWS Lambda\n

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

                  The Amazon Resource Name (ARN) of the destination Amazon Lambda function.

                  \n \n

                  To specify an earlier version of the Lambda function than the latest, include the Lambda function version in the Lambda function ARN. For more information about Lambda ARNs, see Example ARNs: Amazon Lambda\n

                  \n
                  ", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

                  When you update an SQL-based Kinesis Data Analytics application's output\n configuration using the UpdateApplication operation, provides information\n about an AWS Lambda function that is configured as the destination.

                  " + "smithy.api#documentation": "

                  When you update an SQL-based Kinesis Data Analytics application's output\n configuration using the UpdateApplication operation, provides information\n about an Amazon Lambda function that is configured as the destination.

                  " } }, "com.amazonaws.kinesisanalyticsv2#LimitExceededException": { @@ -3920,7 +3926,7 @@ "NextToken": { "target": "com.amazonaws.kinesisanalyticsv2#NextToken", "traits": { - "smithy.api#documentation": "

                  If a previous invocation of this operation returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see \n Using the AWS Command Line Interface's Pagination Options.

                  " + "smithy.api#documentation": "

                  If a previous invocation of this operation returned a pagination token, pass it into this value to retrieve the next set of results. For more information about pagination, see \n Using the Amazon Command Line Interface's Pagination Options.

                  " } } } @@ -3937,7 +3943,7 @@ "NextToken": { "target": "com.amazonaws.kinesisanalyticsv2#NextToken", "traits": { - "smithy.api#documentation": "

                  The pagination token for the next set of results, or null if there are no additional results. \n To retrieve the next set of items, pass this token into a subsequent invocation of this operation. For more information about pagination, see \n Using the AWS Command Line Interface's Pagination Options.

                  " + "smithy.api#documentation": "

                  The pagination token for the next set of results, or null if there are no additional results. \n To retrieve the next set of items, pass this token into a subsequent invocation of this operation. For more information about pagination, see \n Using the Amazon Command Line Interface's Pagination Options.

                  " } } } @@ -3981,7 +3987,7 @@ "NextToken": { "target": "com.amazonaws.kinesisanalyticsv2#ApplicationName", "traits": { - "smithy.api#documentation": "

                  If a previous command returned a pagination token, \n pass it into this value to retrieve the next set of results.\n For more information about pagination, see \n Using the AWS Command Line Interface's Pagination Options.

                  " + "smithy.api#documentation": "

                  If a previous command returned a pagination token, \n pass it into this value to retrieve the next set of results.\n For more information about pagination, see \n Using the Amazon Command Line Interface's Pagination Options.

                  " } } } @@ -3999,7 +4005,7 @@ "NextToken": { "target": "com.amazonaws.kinesisanalyticsv2#ApplicationName", "traits": { - "smithy.api#documentation": "

                  The pagination token for the next set of results, or null if there are no additional results.\n Pass this token into a subsequent command to retrieve the next set of items\n For more information about pagination, see \n Using the AWS Command Line Interface's Pagination Options.

                  " + "smithy.api#documentation": "

                  The pagination token for the next set of results, or null if there are no additional results.\n Pass this token into a subsequent command to retrieve the next set of items\n For more information about pagination, see \n Using the Amazon Command Line Interface's Pagination Options.

                  " } } } @@ -4090,7 +4096,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalyticsv2#MappingParameters": { @@ -4120,7 +4126,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalyticsv2#MavenGroupId": { @@ -4130,7 +4136,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalyticsv2#MavenReference": { @@ -4169,7 +4175,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalyticsv2#MetricsLevel": { @@ -4326,7 +4332,7 @@ "LambdaOutput": { "target": "com.amazonaws.kinesisanalyticsv2#LambdaOutput", "traits": { - "smithy.api#documentation": "

                  Identifies an AWS Lambda function as the destination.

                  " + "smithy.api#documentation": "

                  Identifies an Amazon Lambda function as the destination.

                  " } }, "DestinationSchema": { @@ -4422,7 +4428,7 @@ "LambdaOutputUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#LambdaOutputUpdate", "traits": { - "smithy.api#documentation": "

                  Describes an AWS Lambda function as the destination for the output.

                  " + "smithy.api#documentation": "

                  Describes an Amazon Lambda function as the destination for the output.

                  " } }, "DestinationSchemaUpdate": { @@ -4722,7 +4728,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[^-\\s<>&]*" + "smithy.api#pattern": "^[^-\\s<>&]*$" } }, "com.amazonaws.kinesisanalyticsv2#RecordColumnSqlType": { @@ -4753,7 +4759,7 @@ "min": 5, "max": 5 }, - "smithy.api#pattern": "UTF-8" + "smithy.api#pattern": "^UTF-8$" } }, "com.amazonaws.kinesisanalyticsv2#RecordFormat": { @@ -4932,7 +4938,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalyticsv2#ResourceInUseException": { @@ -4978,7 +4984,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "arn:.*" + "smithy.api#pattern": "^arn:" } }, "com.amazonaws.kinesisanalyticsv2#RollbackApplication": { @@ -5122,13 +5128,21 @@ "value": "FLINK-1_8", "name": "FLINK_1_8" }, + { + "value": "ZEPPELIN-FLINK-1_0", + "name": "ZEPPELIN_FLINK_1_0" + }, { "value": "FLINK-1_11", "name": "FLINK_1_11" }, { - "value": "ZEPPELIN-FLINK-1_0", - "name": "ZEPPELIN_FLINK_1_0" + "value": "FLINK-1_13", + "name": "FLINK_1_13" + }, + { + "value": "ZEPPELIN-FLINK-2_0", + "name": "ZEPPELIN_FLINK_2_0" } ] } @@ -5231,8 +5245,7 @@ "BucketARNUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#BucketARN", "traits": { - "smithy.api#documentation": "

                  The updated Amazon Resource Name (ARN) of the S3 bucket.

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

                  The updated Amazon Resource Name (ARN) of the S3 bucket.

                  " } }, "BasePathUpdate": { @@ -5448,7 +5461,7 @@ "min": 1, "max": 256 }, - "smithy.api#pattern": "[a-zA-Z0-9_.-]+" + "smithy.api#pattern": "^[a-zA-Z0-9_.-]+$" } }, "com.amazonaws.kinesisanalyticsv2#SnapshotStatus": { @@ -5752,7 +5765,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  A key-value pair (the value is optional) that you can define and assign to AWS resources. \n If you specify a tag that already exists, the tag value is replaced with the value that you \n specify in the request. Note that \n the maximum number of application tags includes system tags. The maximum number of user-defined \n application tags is 50.\n For more information, see \n Using Tagging.

                  " + "smithy.api#documentation": "

                  A key-value pair (the value is optional) that you can define and assign to Amazon resources. \n If you specify a tag that already exists, the tag value is replaced with the value that you \n specify in the request. Note that \n the maximum number of application tags includes system tags. The maximum number of user-defined \n application tags is 50.\n For more information, see \n Using Tagging.

                  " } }, "com.amazonaws.kinesisanalyticsv2#TagKey": { @@ -6257,13 +6270,13 @@ "CatalogConfiguration": { "target": "com.amazonaws.kinesisanalyticsv2#CatalogConfiguration", "traits": { - "smithy.api#documentation": "

                  The AWS Glue Data Catalog that you use in queries in a Kinesis Data Analytics Studio notebook.

                  " + "smithy.api#documentation": "

                  The Amazon Glue Data Catalog that you use in queries in a Kinesis Data Analytics Studio notebook.

                  " } }, "DeployAsApplicationConfiguration": { "target": "com.amazonaws.kinesisanalyticsv2#DeployAsApplicationConfiguration", "traits": { - "smithy.api#documentation": "

                  The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state..

                  " + "smithy.api#documentation": "

                  The information required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.

                  " } }, "CustomArtifactsConfiguration": { @@ -6290,13 +6303,13 @@ "CatalogConfigurationDescription": { "target": "com.amazonaws.kinesisanalyticsv2#CatalogConfigurationDescription", "traits": { - "smithy.api#documentation": "

                  The AWS Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

                  " + "smithy.api#documentation": "

                  The Amazon Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

                  " } }, "DeployAsApplicationConfigurationDescription": { "target": "com.amazonaws.kinesisanalyticsv2#DeployAsApplicationConfigurationDescription", "traits": { - "smithy.api#documentation": "

                  The parameters required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state..

                  " + "smithy.api#documentation": "

                  The parameters required to deploy a Kinesis Data Analytics Studio notebook as an application with durable state.

                  " } }, "CustomArtifactsConfigurationDescription": { @@ -6322,7 +6335,7 @@ "CatalogConfigurationUpdate": { "target": "com.amazonaws.kinesisanalyticsv2#CatalogConfigurationUpdate", "traits": { - "smithy.api#documentation": "

                  Updates to the configuration of the AWS Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

                  " + "smithy.api#documentation": "

                  Updates to the configuration of the Amazon Glue Data Catalog that is associated with the Kinesis Data Analytics Studio notebook.

                  " } }, "DeployAsApplicationConfigurationUpdate": { diff --git a/codegen/sdk-codegen/aws-models/lex-models-v2.2020-08-07.json b/codegen/sdk-codegen/aws-models/lex-models-v2.2020-08-07.json index 74a9c47aadee..7dba9d9c8205 100644 --- a/codegen/sdk-codegen/aws-models/lex-models-v2.2020-08-07.json +++ b/codegen/sdk-codegen/aws-models/lex-models-v2.2020-08-07.json @@ -1814,7 +1814,7 @@ "nluIntentConfidenceThreshold": { "target": "com.amazonaws.lexmodelsv2#ConfidenceThreshold", "traits": { - "smithy.api#documentation": "

                  Determines the threshold where Amazon Lex will insert the\n AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning\n alternative intents. AMAZON.FallbackIntent and\n AMAZON.KendraSearchIntent are only inserted if they are\n configured for the bot.

                  \n

                  For example, suppose a bot is configured with the confidence\n threshold of 0.80 and the AMAZON.FallbackIntent. Amazon Lex\n returns three alternative intents with the following confidence scores:\n IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the\n PostText operation would be:

                  \n
                    \n
                  • \n

                    AMAZON.FallbackIntent

                    \n
                  • \n
                  • \n

                    IntentA

                    \n
                  • \n
                  • \n

                    IntentB

                    \n
                  • \n
                  • \n

                    IntentC

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

                  Determines the threshold where Amazon Lex will insert the\n AMAZON.FallbackIntent,\n AMAZON.KendraSearchIntent, or both when returning\n alternative intents. AMAZON.FallbackIntent and\n AMAZON.KendraSearchIntent are only inserted if they are\n configured for the bot.

                  \n

                  For example, suppose a bot is configured with the confidence\n threshold of 0.80 and the AMAZON.FallbackIntent. Amazon Lex\n returns three alternative intents with the following confidence scores:\n IntentA (0.70), IntentB (0.60), IntentC (0.50). The response from the\n RecognizeText operation would be:

                  \n
                    \n
                  • \n

                    AMAZON.FallbackIntent

                    \n
                  • \n
                  • \n

                    IntentA

                    \n
                  • \n
                  • \n

                    IntentB

                    \n
                  • \n
                  • \n

                    IntentC

                    \n
                  • \n
                  ", "smithy.api#required": {} } }, @@ -5034,7 +5034,7 @@ "failureReasons": { "target": "com.amazonaws.lexmodelsv2#FailureReasons", "traits": { - "smithy.api#documentation": "

                  If the importStatus field is Failed, this\n provides one or more reasons for the failture.

                  " + "smithy.api#documentation": "

                  If the importStatus field is Failed, this\n provides one or more reasons for the failure.

                  " } }, "creationDateTime": { @@ -5668,7 +5668,7 @@ "values": { "target": "com.amazonaws.lexmodelsv2#FilterValues", "traits": { - "smithy.api#documentation": "

                  The values to use to fileter the response.

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

                  The values to use to filter the response.

                  ", "smithy.api#required": {} } }, @@ -5681,7 +5681,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Filtes the response form the \n operation

                  " + "smithy.api#documentation": "

                  Filters the response form the \n operation

                  " } }, "com.amazonaws.lexmodelsv2#ExportFilterName": { @@ -5888,12 +5888,143 @@ "smithy.api#documentation": "

                  Indicates whether a Lambda function should be invoked to fulfill a\n specific intent.

                  ", "smithy.api#required": {} } + }, + "postFulfillmentStatusSpecification": { + "target": "com.amazonaws.lexmodelsv2#PostFulfillmentStatusSpecification", + "traits": { + "smithy.api#documentation": "

                  Provides settings for messages sent to the user for after the Lambda\n fulfillment function completes. Post-fulfillment messages can be sent\n for both streaming and non-streaming conversations.

                  " + } + }, + "fulfillmentUpdatesSpecification": { + "target": "com.amazonaws.lexmodelsv2#FulfillmentUpdatesSpecification", + "traits": { + "smithy.api#documentation": "

                  Provides settings for update messages sent to the user for\n long-running Lambda fulfillment functions. Fulfillment updates can be\n used only with streaming conversations.

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

                  Determines if a Lambda function should be invoked for a specific\n intent.

                  " } }, + "com.amazonaws.lexmodelsv2#FulfillmentStartResponseDelay": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 900 + } + } + }, + "com.amazonaws.lexmodelsv2#FulfillmentStartResponseSpecification": { + "type": "structure", + "members": { + "delayInSeconds": { + "target": "com.amazonaws.lexmodelsv2#FulfillmentStartResponseDelay", + "traits": { + "smithy.api#documentation": "

                  The delay between when the Lambda fulfillment function starts running\n and the start message is played. If the Lambda function returns before\n the delay is over, the start message isn't played.

                  ", + "smithy.api#required": {} + } + }, + "messageGroups": { + "target": "com.amazonaws.lexmodelsv2#MessageGroupsList", + "traits": { + "smithy.api#documentation": "

                  One to 5 message groups that contain start messages. Amazon Lex chooses\n one of the messages to play to the user.

                  ", + "smithy.api#required": {} + } + }, + "allowInterrupt": { + "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", + "traits": { + "smithy.api#documentation": "

                  Determines whether the user can interrupt the start message while it\n is playing.

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

                  Provides settings for a message that is sent to the user when a\n fulfillment Lambda function starts running.

                  " + } + }, + "com.amazonaws.lexmodelsv2#FulfillmentTimeout": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 900 + } + } + }, + "com.amazonaws.lexmodelsv2#FulfillmentUpdateResponseFrequency": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 900 + } + } + }, + "com.amazonaws.lexmodelsv2#FulfillmentUpdateResponseSpecification": { + "type": "structure", + "members": { + "frequencyInSeconds": { + "target": "com.amazonaws.lexmodelsv2#FulfillmentUpdateResponseFrequency", + "traits": { + "smithy.api#documentation": "

                  The frequency that a message is sent to the user. When the period\n ends, Amazon Lex chooses a message from the message groups and plays it to\n the user. If the fulfillment Lambda returns before the first period\n ends, an update message is not played to the user.

                  ", + "smithy.api#required": {} + } + }, + "messageGroups": { + "target": "com.amazonaws.lexmodelsv2#MessageGroupsList", + "traits": { + "smithy.api#documentation": "

                  One to 5 message groups that contain update messages. Amazon Lex chooses\n one of the messages to play to the user.

                  ", + "smithy.api#required": {} + } + }, + "allowInterrupt": { + "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", + "traits": { + "smithy.api#documentation": "

                  Determines whether the user can interrupt an update message while it\n is playing.

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

                  Provides settings for a message that is sent periodically to the\n user while a fulfillment Lambda function is running.

                  " + } + }, + "com.amazonaws.lexmodelsv2#FulfillmentUpdatesSpecification": { + "type": "structure", + "members": { + "active": { + "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", + "traits": { + "smithy.api#documentation": "

                  Determines whether fulfillment updates are sent to the user. When\n this field is true, updates are sent.

                  \n

                  If the active field is set to true, the\n startResponse, updateResponse, and\n timeoutInSeconds fields are required.

                  ", + "smithy.api#required": {} + } + }, + "startResponse": { + "target": "com.amazonaws.lexmodelsv2#FulfillmentStartResponseSpecification", + "traits": { + "smithy.api#documentation": "

                  Provides configuration information for the message sent to users\n when the fulfillment Lambda functions starts running.

                  " + } + }, + "updateResponse": { + "target": "com.amazonaws.lexmodelsv2#FulfillmentUpdateResponseSpecification", + "traits": { + "smithy.api#documentation": "

                  Provides configuration information for messages sent periodically to\n the user while the fulfillment Lambda function is running.

                  " + } + }, + "timeoutInSeconds": { + "target": "com.amazonaws.lexmodelsv2#FulfillmentTimeout", + "traits": { + "smithy.api#documentation": "

                  The length of time that the fulfillment Lambda function should run\n before it times out.

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

                  Provides information for updating the user on the progress of\n fulfilling an intent.

                  " + } + }, "com.amazonaws.lexmodelsv2#HitCount": { "type": "integer", "traits": { @@ -6048,7 +6179,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Provides information about the bot or bot locale that you want to\n import. You can sepcifiy the botImportSpecification or the\n botLocaleImportSpecification, but not both.

                  " + "smithy.api#documentation": "

                  Provides information about the bot or bot locale that you want to\n import. You can specify the botImportSpecification or the\n botLocaleImportSpecification, but not both.

                  " } }, "com.amazonaws.lexmodelsv2#ImportSortAttribute": { @@ -6213,7 +6344,7 @@ "active": { "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", "traits": { - "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 and no\n closing input from the user is used. If the active field\n isn't specified, the default is 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.

                  " } } }, @@ -6241,7 +6372,7 @@ "active": { "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", "traits": { - "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 and processing continues as if the responses aren't present. If\n the active field isn't specified, the default is\n 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.

                  " } } }, @@ -6501,7 +6632,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Specifies a Lambda function that verifies requests to a bot or\n fulfilles the user's request to a bot.

                  " + "smithy.api#documentation": "

                  Specifies a Lambda function that verifies requests to a bot or\n fulfills the user's request to a bot.

                  " } }, "com.amazonaws.lexmodelsv2#LexModelBuildingServiceV2": { @@ -7478,7 +7609,7 @@ "nextToken": { "target": "com.amazonaws.lexmodelsv2#NextToken", "traits": { - "smithy.api#documentation": "

                  If the response from the ListExports operation contans\n more results that specified in the maxResults parameter, a\n token is returned in the response. Use that token in the\n nextToken parameter to return the next page of\n results.

                  " + "smithy.api#documentation": "

                  If the response from the ListExports operation contains\n more results that specified in the maxResults parameter, a\n token is returned in the response. Use that token in the\n nextToken parameter to return the next page of\n results.

                  " } } } @@ -8335,6 +8466,23 @@ } } }, + "com.amazonaws.lexmodelsv2#PostFulfillmentStatusSpecification": { + "type": "structure", + "members": { + "successResponse": { + "target": "com.amazonaws.lexmodelsv2#ResponseSpecification" + }, + "failureResponse": { + "target": "com.amazonaws.lexmodelsv2#ResponseSpecification" + }, + "timeoutResponse": { + "target": "com.amazonaws.lexmodelsv2#ResponseSpecification" + } + }, + "traits": { + "smithy.api#documentation": "

                  Provides a setting that determines whether the post-fulfillment\n response is sent to the user. For more information, see https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete\n

                  " + } + }, "com.amazonaws.lexmodelsv2#PreconditionFailedException": { "type": "structure", "members": { @@ -8426,7 +8574,7 @@ "maxRetries": { "target": "com.amazonaws.lexmodelsv2#PromptMaxRetries", "traits": { - "smithy.api#documentation": "

                  The maximum number of times the bot tries to elicit a resonse from\n the user using this prompt.

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

                  The maximum number of times the bot tries to elicit a response from\n the user using this prompt.

                  ", "smithy.api#required": {} } }, @@ -9120,7 +9268,7 @@ "synonyms": { "target": "com.amazonaws.lexmodelsv2#SynonymList", "traits": { - "smithy.api#documentation": "

                  Additional values releated to the slot type entry.

                  " + "smithy.api#documentation": "

                  Additional values related to the slot type entry.

                  " } } }, @@ -9146,7 +9294,7 @@ "defaultValueSpecification": { "target": "com.amazonaws.lexmodelsv2#SlotDefaultValueSpecification", "traits": { - "smithy.api#documentation": "

                  A list of default values for a slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot. You can specify default\n values from context variables, sesion attributes, and defined\n values.

                  " + "smithy.api#documentation": "

                  A list of default values for a slot. Default values are used when\n Amazon Lex hasn't determined a value for a slot. You can specify default\n values from context variables, session attributes, and defined\n values.

                  " } }, "slotConstraint": { @@ -9182,7 +9330,7 @@ "pattern": { "target": "com.amazonaws.lexmodelsv2#RegexPattern", "traits": { - "smithy.api#documentation": "

                  A regular expression used to validate the value of a slot.

                  \n

                  Use a standard regular expression. Amazon Lex supports the\n following characters in the regular expression:

                  \n
                    \n
                  • \n

                    A-Z, a-z

                    \n
                  • \n
                  • \n

                    0-9

                    \n
                  • \n
                  • \n

                    Unicode characters (\"\\ u\")

                    \n
                  • \n
                  \n

                  Represent Unicode characters with four digits, for example \"\\u0041\"\n or \"\\u005A\".

                  \n

                  The following regular expression operators are not supported:

                  \n
                    \n
                  • \n

                    Infinite repeaters: *, +, or {x,} with no upper bound.

                    \n
                  • \n
                  • \n

                    Wild card (.)

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

                  A regular expression used to validate the value of a slot.

                  \n

                  Use a standard regular expression. Amazon Lex supports the following\n characters in the regular expression:

                  \n
                    \n
                  • \n

                    A-Z, a-z

                    \n
                  • \n
                  • \n

                    0-9

                    \n
                  • \n
                  • \n

                    Unicode characters (\"\\ u\")

                    \n
                  • \n
                  \n

                  Represent Unicode characters with four digits, for example \"\\u0041\"\n or \"\\u005A\".

                  \n

                  The following regular expression operators are not supported:

                  \n
                    \n
                  • \n

                    Infinite repeaters: *, +, or {x,} with no upper bound.

                    \n
                  • \n
                  • \n

                    Wild card (.)

                    \n
                  • \n
                  ", "smithy.api#required": {} } } @@ -11029,7 +11177,7 @@ "active": { "target": "com.amazonaws.lexmodelsv2#BoxedBoolean", "traits": { - "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 and\n the bot expects an appropriate response within the configured timeout.\n If the active field isn't specified, the default is\n 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-codegen/aws-models/lex-runtime-v2.2020-08-07.json b/codegen/sdk-codegen/aws-models/lex-runtime-v2.2020-08-07.json index 2e3378693135..69686119dd62 100644 --- a/codegen/sdk-codegen/aws-models/lex-runtime-v2.2020-08-07.json +++ b/codegen/sdk-codegen/aws-models/lex-runtime-v2.2020-08-07.json @@ -104,7 +104,7 @@ "contextAttributes": { "target": "com.amazonaws.lexruntimev2#ActiveContextParametersMap", "traits": { - "smithy.api#documentation": "

                  A lis tof contexts active for the request. A context can be\n activated when a previous intent is fulfilled, or by including the\n context in the request.

                  \n

                  If you don't specify a list of contexts, Amazon Lex will use the\n current list of contexts for the session. If you specify an empty list,\n all contexts for the session are cleared.

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

                  A list of contexts active for the request. A context can be\n activated when a previous intent is fulfilled, or by including the\n context in the request.

                  \n

                  If you don't specify a list of contexts, Amazon Lex V2 will use the current\n list of contexts for the session. If you specify an empty list, all\n contexts for the session are cleared.

                  ", "smithy.api#required": {} } } @@ -404,7 +404,7 @@ "disablePlayback": { "target": "com.amazonaws.lexruntimev2#Boolean", "traits": { - "smithy.api#documentation": "

                  Determines whether Amazon Lex V2 should send audio responses to the client\n application. When this parameter if false, the client\n application needs to create responses for the user. \n

                  " + "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.

                  " } }, "eventId": { @@ -675,6 +675,10 @@ { "value": "ElicitSlot", "name": "ELICIT_SLOT" + }, + { + "value": "None", + "name": "NONE" } ] } @@ -978,6 +982,10 @@ { "value": "Waiting", "name": "WAITING" + }, + { + "value": "FulfillmentInProgress", + "name": "FULFILLMENT_IN_PROGRESS" } ] } @@ -1373,7 +1381,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Sends user input to Amazon Lex V2. Client applications use this API to send\n requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input\n using the machine learning model that it build for the bot.

                  \n

                  In response, Amazon Lex V2 returns the next message to convey to the user\n and an optional response card to display.

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

                  Sends user input to Amazon Lex V2. Client applications use this API to send\n requests to Amazon Lex V2 at runtime. Amazon Lex V2 then interprets the user input\n using the machine learning model that it build for the bot.

                  \n

                  In response, Amazon Lex V2 returns the next message to convey to the user\n and an optional response card to display.

                  \n

                  If the optional post-fulfillment response is specified, the messages\n are returned as follows. For more information, see PostFulfillmentStatusSpecification.

                  \n
                    \n
                  • \n

                    \n Success message - Returned if\n the Lambda function completes successfully and the intent state is\n fulfilled or ready fulfillment if the message is present.

                    \n
                  • \n
                  • \n

                    \n Failed message - The failed\n message is returned if the Lambda function throws an exception or\n if the Lambda function returns a failed intent state without a\n message.

                    \n
                  • \n
                  • \n

                    \n Timeout message - If you\n don't configure a timeout message and a timeout, and the Lambda\n function doesn't return within 30 seconds, the timeout message is\n returned. If you configure a timeout, the timeout message is\n returned when the period times out.

                    \n
                  • \n
                  \n

                  For more information, see Completion message.

                  ", "smithy.api#http": { "method": "POST", "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/text", @@ -1509,7 +1517,7 @@ "traits": { "aws.auth#unsignedPayload": {}, "smithy.api#auth": ["aws.auth#sigv4"], - "smithy.api#documentation": "

                  Sends user input to Amazon Lex V2. You can send text or speech. Clients use\n this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2\n interprets the user input using the machine learning model built for\n the bot.

                  \n

                  The following request fields must be compressed with gzip and then\n base64 encoded before you send them to Amazon Lex V2.

                  \n
                    \n
                  • \n

                    requestAttributes

                    \n
                  • \n
                  • \n

                    sessionState

                    \n
                  • \n
                  \n

                  The following response fields are compressed using gzip and then\n base64 encoded by Amazon Lex V2. Before you can use these fields, you must\n decode and decompress them.

                  \n
                    \n
                  • \n

                    inputTranscript

                    \n
                  • \n
                  • \n

                    interpretations

                    \n
                  • \n
                  • \n

                    messages

                    \n
                  • \n
                  • \n

                    requestAttributes

                    \n
                  • \n
                  • \n

                    sessionState

                    \n
                  • \n
                  \n

                  The example contains a Java application that compresses and encodes\n a Java object to send to Amazon Lex V2, and a second that decodes and\n decompresses a response from Amazon Lex V2.

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

                  Sends user input to Amazon Lex V2. You can send text or speech. Clients use\n this API to send text and audio requests to Amazon Lex V2 at runtime. Amazon Lex V2\n interprets the user input using the machine learning model built for\n the bot.

                  \n

                  The following request fields must be compressed with gzip and then\n base64 encoded before you send them to Amazon Lex V2.

                  \n
                    \n
                  • \n

                    requestAttributes

                    \n
                  • \n
                  • \n

                    sessionState

                    \n
                  • \n
                  \n

                  The following response fields are compressed using gzip and then\n base64 encoded by Amazon Lex V2. Before you can use these fields, you must\n decode and decompress them.

                  \n
                    \n
                  • \n

                    inputTranscript

                    \n
                  • \n
                  • \n

                    interpretations

                    \n
                  • \n
                  • \n

                    messages

                    \n
                  • \n
                  • \n

                    requestAttributes

                    \n
                  • \n
                  • \n

                    sessionState

                    \n
                  • \n
                  \n

                  The example contains a Java application that compresses and encodes\n a Java object to send to Amazon Lex V2, and a second that decodes and\n decompresses a response from Amazon Lex V2.

                  \n

                  If the optional post-fulfillment response is specified, the messages\n are returned as follows. For more information, see PostFulfillmentStatusSpecification.

                  \n
                    \n
                  • \n

                    \n Success message - Returned if\n the Lambda function completes successfully and the intent state is\n fulfilled or ready fulfillment if the message is present.

                    \n
                  • \n
                  • \n

                    \n Failed message - The failed\n message is returned if the Lambda function throws an exception or\n if the Lambda function returns a failed intent state without a\n message.

                    \n
                  • \n
                  • \n

                    \n Timeout message - If you\n don't configure a timeout message and a timeout, and the Lambda\n function doesn't return within 30 seconds, the timeout message is\n returned. If you configure a timeout, the timeout message is\n returned when the period times out.

                    \n
                  • \n
                  \n

                  For more information, see Completion message.

                  ", "smithy.api#http": { "method": "POST", "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/utterance", @@ -1833,7 +1841,7 @@ "values": { "target": "com.amazonaws.lexruntimev2#Values", "traits": { - "smithy.api#documentation": "

                  A list of one or more values that the user provided for the slot.\n For example, if a for a slot that elicits pizza toppings, the values might\n be \"pepperoni\" and \"pineapple.\"

                  " + "smithy.api#documentation": "

                  A list of one or more values that the user provided for the slot.\n For example, if a for a slot that elicits pizza toppings, the values\n might be \"pepperoni\" and \"pineapple.\"

                  " } } }, @@ -1873,7 +1881,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Starts an HTTP/2 bidirectional event stream that enables you to send\n audio, text, or DTMF input in real time. After your application starts\n a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2\n processes the incoming events and responds with streaming text or audio\n events. \n

                  \n

                  Audio input must be in the following format: audio/lpcm\n sample-rate=8000 sample-size-bits=16 channel-count=1;\n is-big-endian=false.

                  \n

                  The StartConversation operation is supported only in\n the following SDKs:

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

                  Starts an HTTP/2 bidirectional event stream that enables you to send\n audio, text, or DTMF input in real time. After your application starts\n a conversation, users send input to Amazon Lex V2 as a stream of events. Amazon Lex V2\n processes the incoming events and responds with streaming text or audio\n events. \n

                  \n

                  Audio input must be in the following format: audio/lpcm\n sample-rate=8000 sample-size-bits=16 channel-count=1;\n is-big-endian=false.

                  \n

                  If the optional post-fulfillment response is specified, the messages\n are returned as follows. For more information, see PostFulfillmentStatusSpecification.

                  \n
                    \n
                  • \n

                    \n Success message - Returned if\n the Lambda function completes successfully and the intent state is\n fulfilled or ready fulfillment if the message is present.

                    \n
                  • \n
                  • \n

                    \n Failed message - The failed\n message is returned if the Lambda function throws an exception or\n if the Lambda function returns a failed intent state without a\n message.

                    \n
                  • \n
                  • \n

                    \n Timeout message - If you\n don't configure a timeout message and a timeout, and the Lambda\n function doesn't return within 30 seconds, the timeout message is\n returned. If you configure a timeout, the timeout message is\n returned when the period times out.

                    \n
                  • \n
                  \n

                  For more information, see Completion message.

                  \n

                  If the optional update message is configured, it is played at the\n specified frequency while the Lambda function is running and the update\n message state is active. If the fulfillment update message is not\n active, the Lambda function runs with a 30 second timeout.

                  \n

                  For more information, see Update message \n

                  \n

                  The StartConversation operation is supported only in\n the following SDKs:

                  \n ", "smithy.api#http": { "method": "POST", "uri": "/bots/{botId}/botAliases/{botAliasId}/botLocales/{localeId}/sessions/{sessionId}/conversation", diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json b/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json index dc37a31c4377..a17b5d90acad 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.2017-08-29.json @@ -4830,6 +4830,51 @@ "type": "structure", "members": {} }, + "com.amazonaws.mediaconvert#DeletePolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.mediaconvert#DeletePolicyRequest" + }, + "output": { + "target": "com.amazonaws.mediaconvert#DeletePolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.mediaconvert#BadRequestException" + }, + { + "target": "com.amazonaws.mediaconvert#ConflictException" + }, + { + "target": "com.amazonaws.mediaconvert#ForbiddenException" + }, + { + "target": "com.amazonaws.mediaconvert#InternalServerErrorException" + }, + { + "target": "com.amazonaws.mediaconvert#NotFoundException" + }, + { + "target": "com.amazonaws.mediaconvert#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Permanently delete a policy that you created.", + "smithy.api#http": { + "method": "DELETE", + "uri": "/2017-08-29/policy", + "code": 200 + } + } + }, + "com.amazonaws.mediaconvert#DeletePolicyRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.mediaconvert#DeletePolicyResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.mediaconvert#DeletePreset": { "type": "operation", "input": { @@ -7042,6 +7087,59 @@ } } }, + "com.amazonaws.mediaconvert#GetPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.mediaconvert#GetPolicyRequest" + }, + "output": { + "target": "com.amazonaws.mediaconvert#GetPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.mediaconvert#BadRequestException" + }, + { + "target": "com.amazonaws.mediaconvert#ConflictException" + }, + { + "target": "com.amazonaws.mediaconvert#ForbiddenException" + }, + { + "target": "com.amazonaws.mediaconvert#InternalServerErrorException" + }, + { + "target": "com.amazonaws.mediaconvert#NotFoundException" + }, + { + "target": "com.amazonaws.mediaconvert#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieve the JSON for your policy.", + "smithy.api#http": { + "method": "GET", + "uri": "/2017-08-29/policy", + "code": 200 + } + } + }, + "com.amazonaws.mediaconvert#GetPolicyRequest": { + "type": "structure", + "members": {} + }, + "com.amazonaws.mediaconvert#GetPolicyResponse": { + "type": "structure", + "members": { + "Policy": { + "target": "com.amazonaws.mediaconvert#Policy", + "traits": { + "smithy.api#documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html", + "smithy.api#jsonName": "policy" + } + } + } + }, "com.amazonaws.mediaconvert#GetPreset": { "type": "operation", "input": { @@ -10201,6 +10299,22 @@ ] } }, + "com.amazonaws.mediaconvert#InputPolicy": { + "type": "string", + "traits": { + "smithy.api#documentation": "An input policy allows or disallows a job you submit to run based on the conditions that you specify.", + "smithy.api#enum": [ + { + "value": "ALLOWED", + "name": "ALLOWED" + }, + { + "value": "DISALLOWED", + "name": "DISALLOWED" + } + ] + } + }, "com.amazonaws.mediaconvert#InputPsiControl": { "type": "string", "traits": { @@ -13198,6 +13312,9 @@ { "target": "com.amazonaws.mediaconvert#DeleteJobTemplate" }, + { + "target": "com.amazonaws.mediaconvert#DeletePolicy" + }, { "target": "com.amazonaws.mediaconvert#DeletePreset" }, @@ -13216,6 +13333,9 @@ { "target": "com.amazonaws.mediaconvert#GetJobTemplate" }, + { + "target": "com.amazonaws.mediaconvert#GetPolicy" + }, { "target": "com.amazonaws.mediaconvert#GetPreset" }, @@ -13237,6 +13357,9 @@ { "target": "com.amazonaws.mediaconvert#ListTagsForResource" }, + { + "target": "com.amazonaws.mediaconvert#PutPolicy" + }, { "target": "com.amazonaws.mediaconvert#TagResource" }, @@ -15401,6 +15524,35 @@ "smithy.api#documentation": "If you work with a third party video watermarking partner, use the group of settings that correspond with your watermarking partner to include watermarks in your output." } }, + "com.amazonaws.mediaconvert#Policy": { + "type": "structure", + "members": { + "HttpInputs": { + "target": "com.amazonaws.mediaconvert#InputPolicy", + "traits": { + "smithy.api#documentation": "Allow or disallow jobs that specify HTTP inputs.", + "smithy.api#jsonName": "httpInputs" + } + }, + "HttpsInputs": { + "target": "com.amazonaws.mediaconvert#InputPolicy", + "traits": { + "smithy.api#documentation": "Allow or disallow jobs that specify HTTPS inputs.", + "smithy.api#jsonName": "httpsInputs" + } + }, + "S3Inputs": { + "target": "com.amazonaws.mediaconvert#InputPolicy", + "traits": { + "smithy.api#documentation": "Allow or disallow jobs that specify Amazon S3 inputs.", + "smithy.api#jsonName": "s3Inputs" + } + } + }, + "traits": { + "smithy.api#documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html" + } + }, "com.amazonaws.mediaconvert#Preset": { "type": "structure", "members": { @@ -15814,6 +15966,68 @@ ] } }, + "com.amazonaws.mediaconvert#PutPolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.mediaconvert#PutPolicyRequest" + }, + "output": { + "target": "com.amazonaws.mediaconvert#PutPolicyResponse" + }, + "errors": [ + { + "target": "com.amazonaws.mediaconvert#BadRequestException" + }, + { + "target": "com.amazonaws.mediaconvert#ConflictException" + }, + { + "target": "com.amazonaws.mediaconvert#ForbiddenException" + }, + { + "target": "com.amazonaws.mediaconvert#InternalServerErrorException" + }, + { + "target": "com.amazonaws.mediaconvert#NotFoundException" + }, + { + "target": "com.amazonaws.mediaconvert#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html", + "smithy.api#http": { + "method": "PUT", + "uri": "/2017-08-29/policy", + "code": 200 + } + } + }, + "com.amazonaws.mediaconvert#PutPolicyRequest": { + "type": "structure", + "members": { + "Policy": { + "target": "com.amazonaws.mediaconvert#Policy", + "traits": { + "smithy.api#documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html", + "smithy.api#jsonName": "policy", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.mediaconvert#PutPolicyResponse": { + "type": "structure", + "members": { + "Policy": { + "target": "com.amazonaws.mediaconvert#Policy", + "traits": { + "smithy.api#documentation": "A policy configures behavior that you allow or disallow for your account. For information about MediaConvert policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html", + "smithy.api#jsonName": "policy" + } + } + } + }, "com.amazonaws.mediaconvert#Queue": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/medialive.2017-10-14.json b/codegen/sdk-codegen/aws-models/medialive.2017-10-14.json index a1f991c971e4..c63d8b7f8b82 100644 --- a/codegen/sdk-codegen/aws-models/medialive.2017-10-14.json +++ b/codegen/sdk-codegen/aws-models/medialive.2017-10-14.json @@ -744,6 +744,13 @@ "smithy.api#jsonName": "audioTypeControl" } }, + "AudioWatermarkingSettings": { + "target": "com.amazonaws.medialive#AudioWatermarkSettings", + "traits": { + "smithy.api#documentation": "Settings to configure one or more solutions that insert audio watermarks in the audio encode", + "smithy.api#jsonName": "audioWatermarkingSettings" + } + }, "CodecSettings": { "target": "com.amazonaws.medialive#AudioCodecSettings", "traits": { @@ -1170,6 +1177,21 @@ ] } }, + "com.amazonaws.medialive#AudioWatermarkSettings": { + "type": "structure", + "members": { + "NielsenWatermarksSettings": { + "target": "com.amazonaws.medialive#NielsenWatermarksSettings", + "traits": { + "smithy.api#documentation": "Settings to configure Nielsen Watermarks in the audio encode", + "smithy.api#jsonName": "nielsenWatermarksSettings" + } + } + }, + "traits": { + "smithy.api#documentation": "Audio Watermark Settings" + } + }, "com.amazonaws.medialive#AuthenticationScheme": { "type": "string", "traits": { @@ -2871,7 +2893,7 @@ "Vpc": { "target": "com.amazonaws.medialive#VpcOutputSettingsDescription", "traits": { - "smithy.api#documentation": "Settings for VPC output", + "smithy.api#documentation": "Settings for any VPC outputs.", "smithy.api#jsonName": "vpc" } } @@ -2880,6 +2902,71 @@ "smithy.api#documentation": "Placeholder documentation for ChannelSummary" } }, + "com.amazonaws.medialive#ClaimDevice": { + "type": "operation", + "input": { + "target": "com.amazonaws.medialive#ClaimDeviceRequest" + }, + "output": { + "target": "com.amazonaws.medialive#ClaimDeviceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.medialive#BadGatewayException" + }, + { + "target": "com.amazonaws.medialive#BadRequestException" + }, + { + "target": "com.amazonaws.medialive#ForbiddenException" + }, + { + "target": "com.amazonaws.medialive#GatewayTimeoutException" + }, + { + "target": "com.amazonaws.medialive#InternalServerErrorException" + }, + { + "target": "com.amazonaws.medialive#NotFoundException" + }, + { + "target": "com.amazonaws.medialive#TooManyRequestsException" + }, + { + "target": "com.amazonaws.medialive#UnprocessableEntityException" + } + ], + "traits": { + "smithy.api#documentation": "Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device.", + "smithy.api#http": { + "method": "POST", + "uri": "/prod/claimDevice", + "code": 200 + } + } + }, + "com.amazonaws.medialive#ClaimDeviceRequest": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.medialive#__string", + "traits": { + "smithy.api#documentation": "The id of the device you want to claim.", + "smithy.api#jsonName": "id" + } + } + }, + "traits": { + "smithy.api#documentation": "A request to claim an AWS Elemental device that you have purchased from a third-party vendor." + } + }, + "com.amazonaws.medialive#ClaimDeviceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "Placeholder documentation for ClaimDeviceResponse" + } + }, "com.amazonaws.medialive#ColorSpacePassthroughSettings": { "type": "structure", "members": {}, @@ -3048,7 +3135,7 @@ "Vpc": { "target": "com.amazonaws.medialive#VpcOutputSettings", "traits": { - "smithy.api#documentation": "Settings for VPC output", + "smithy.api#documentation": "Settings for the VPC outputs", "smithy.api#jsonName": "vpc" } } @@ -5278,7 +5365,7 @@ "InputSourceType": { "target": "com.amazonaws.medialive#InputSourceType", "traits": { - "smithy.api#documentation": "Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes\nduring input switch actions. Presently, this functionality only works with MP4_FILE inputs.", + "smithy.api#documentation": "Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes\nduring input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.", "smithy.api#jsonName": "inputSourceType" } }, @@ -10476,7 +10563,7 @@ "InputSourceType": { "target": "com.amazonaws.medialive#InputSourceType", "traits": { - "smithy.api#documentation": "Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes\nduring input switch actions. Presently, this functionality only works with MP4_FILE inputs.", + "smithy.api#documentation": "Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes\nduring input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.", "smithy.api#jsonName": "inputSourceType" } }, @@ -11725,7 +11812,7 @@ "com.amazonaws.medialive#InputSourceType": { "type": "string", "traits": { - "smithy.api#documentation": "There are two types of input sources, static and dynamic. If an input source is dynamic you can\nchange the source url of the input dynamically using an input switch action. However, the only input type\nto support a dynamic url at this time is MP4_FILE. By default all input sources are static.", + "smithy.api#documentation": "There are two types of input sources, static and dynamic. If an input source is dynamic you can\nchange the source url of the input dynamically using an input switch action. Currently, two input types\nsupport a dynamic url at this time, MP4_FILE and TS_FILE. By default all input sources are static.", "smithy.api#enum": [ { "value": "STATIC", @@ -11844,7 +11931,7 @@ "com.amazonaws.medialive#InputType": { "type": "string", "traits": { - "smithy.api#documentation": "Placeholder documentation for InputType", + "smithy.api#documentation": "The different types of inputs that AWS Elemental MediaLive supports.", "smithy.api#enum": [ { "value": "UDP_PUSH", @@ -11881,6 +11968,10 @@ { "value": "AWS_CDI", "name": "AWS_CDI" + }, + { + "value": "TS_FILE", + "name": "TS_FILE" } ] } @@ -13893,6 +13984,9 @@ { "target": "com.amazonaws.medialive#CancelInputDeviceTransfer" }, + { + "target": "com.amazonaws.medialive#ClaimDevice" + }, { "target": "com.amazonaws.medialive#CreateChannel" }, @@ -15338,6 +15432,38 @@ "smithy.api#documentation": "Network source to transcode. Must be accessible to the Elemental Live node that is running the live event through a network connection." } }, + "com.amazonaws.medialive#NielsenCBET": { + "type": "structure", + "members": { + "CbetCheckDigitString": { + "target": "com.amazonaws.medialive#__stringMin2Max2", + "traits": { + "smithy.api#documentation": "Enter the CBET check digits to use in the watermark.", + "smithy.api#jsonName": "cbetCheckDigitString", + "smithy.api#required": {} + } + }, + "CbetStepaside": { + "target": "com.amazonaws.medialive#NielsenWatermarksCbetStepaside", + "traits": { + "smithy.api#documentation": "Determines the method of CBET insertion mode when prior encoding is detected on the same layer.", + "smithy.api#jsonName": "cbetStepaside", + "smithy.api#required": {} + } + }, + "Csid": { + "target": "com.amazonaws.medialive#__stringMin1Max7", + "traits": { + "smithy.api#documentation": "Enter the CBET Source ID (CSID) to use in the watermark", + "smithy.api#jsonName": "csid", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Nielsen CBET" + } + }, "com.amazonaws.medialive#NielsenConfiguration": { "type": "structure", "members": { @@ -15360,6 +15486,30 @@ "smithy.api#documentation": "Nielsen Configuration" } }, + "com.amazonaws.medialive#NielsenNaesIiNw": { + "type": "structure", + "members": { + "CheckDigitString": { + "target": "com.amazonaws.medialive#__stringMin2Max2", + "traits": { + "smithy.api#documentation": "Enter the check digit string for the watermark", + "smithy.api#jsonName": "checkDigitString", + "smithy.api#required": {} + } + }, + "Sid": { + "target": "com.amazonaws.medialive#__doubleMin1Max65535", + "traits": { + "smithy.api#documentation": "Enter the Nielsen Source ID (SID) to include in the watermark", + "smithy.api#jsonName": "sid", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Nielsen Naes Ii Nw" + } + }, "com.amazonaws.medialive#NielsenPcmToId3TaggingState": { "type": "string", "traits": { @@ -15376,6 +15526,67 @@ ] } }, + "com.amazonaws.medialive#NielsenWatermarksCbetStepaside": { + "type": "string", + "traits": { + "smithy.api#documentation": "Nielsen Watermarks Cbet Stepaside", + "smithy.api#enum": [ + { + "value": "DISABLED", + "name": "DISABLED" + }, + { + "value": "ENABLED", + "name": "ENABLED" + } + ] + } + }, + "com.amazonaws.medialive#NielsenWatermarksDistributionTypes": { + "type": "string", + "traits": { + "smithy.api#documentation": "Nielsen Watermarks Distribution Types", + "smithy.api#enum": [ + { + "value": "FINAL_DISTRIBUTOR", + "name": "FINAL_DISTRIBUTOR" + }, + { + "value": "PROGRAM_CONTENT", + "name": "PROGRAM_CONTENT" + } + ] + } + }, + "com.amazonaws.medialive#NielsenWatermarksSettings": { + "type": "structure", + "members": { + "NielsenCbetSettings": { + "target": "com.amazonaws.medialive#NielsenCBET", + "traits": { + "smithy.api#documentation": "Complete these fields only if you want to insert watermarks of type Nielsen CBET", + "smithy.api#jsonName": "nielsenCbetSettings" + } + }, + "NielsenDistributionType": { + "target": "com.amazonaws.medialive#NielsenWatermarksDistributionTypes", + "traits": { + "smithy.api#documentation": "Choose the distribution types that you want to assign to the watermarks:\n- PROGRAM_CONTENT\n- FINAL_DISTRIBUTOR", + "smithy.api#jsonName": "nielsenDistributionType" + } + }, + "NielsenNaesIiNwSettings": { + "target": "com.amazonaws.medialive#NielsenNaesIiNw", + "traits": { + "smithy.api#documentation": "Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW).", + "smithy.api#jsonName": "nielsenNaesIiNwSettings" + } + } + }, + "traits": { + "smithy.api#documentation": "Nielsen Watermarks Settings" + } + }, "com.amazonaws.medialive#NotFoundException": { "type": "structure", "members": { @@ -20194,6 +20405,12 @@ "smithy.api#documentation": "Placeholder documentation for __doubleMin1" } }, + "com.amazonaws.medialive#__doubleMin1Max65535": { + "type": "double", + "traits": { + "smithy.api#documentation": "Placeholder documentation for __doubleMin1Max65535" + } + }, "com.amazonaws.medialive#__doubleMinNegative59Max0": { "type": "double", "traits": { @@ -21262,6 +21479,26 @@ } } }, + "com.amazonaws.medialive#__stringMin1Max7": { + "type": "string", + "traits": { + "smithy.api#documentation": "Placeholder documentation for __stringMin1Max7", + "smithy.api#length": { + "min": 1, + "max": 7 + } + } + }, + "com.amazonaws.medialive#__stringMin2Max2": { + "type": "string", + "traits": { + "smithy.api#documentation": "Placeholder documentation for __stringMin2Max2", + "smithy.api#length": { + "min": 2, + "max": 2 + } + } + }, "com.amazonaws.medialive#__stringMin32Max32": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/mediatailor.2018-04-23.json b/codegen/sdk-codegen/aws-models/mediatailor.2018-04-23.json index 5aa70ff965b9..1e50890880e3 100644 --- a/codegen/sdk-codegen/aws-models/mediatailor.2018-04-23.json +++ b/codegen/sdk-codegen/aws-models/mediatailor.2018-04-23.json @@ -153,6 +153,28 @@ "smithy.api#documentation": "

                  Alert configuration parameters.

                  " } }, + "com.amazonaws.mediatailor#AvailMatchingCriteria": { + "type": "structure", + "members": { + "DynamicVariable": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The dynamic variable(s) that MediaTailor should use as avail matching criteria. MediaTailor only places the prefetched ads into the avail if the avail matches the criteria defined by the dynamic variable. For information about dynamic variables, see Using dynamic ad variables in the MediaTailor User Guide.

                  You can include up to 100 dynamic variables.

                  ", + "smithy.api#required": {} + } + }, + "Operator": { + "target": "com.amazonaws.mediatailor#Operator", + "traits": { + "smithy.api#documentation": "

                  For the DynamicVariable specified in AvailMatchingCriteria, the Operator that is used for the comparison.

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

                  MediaTailor only places (consumes) prefetched ads if the ad break meets the criteria defined by the dynamic variables. This gives you granular control over which ad break to place the prefetched ads into.

                  As an example, let's say that you set DynamicVariable to scte.event_id and Operator to EQUALS, and your playback configuration has an ADS URL of https://my.ads.server.com/path?&podId=[scte.avail_num]&event=[scte.event_id]&duration=[session.avail_duration_secs]. And the prefetch request to the ADS contains these values https://my.ads.server.com/path?&podId=3&event=my-awesome-event&duration=30. MediaTailor will only insert the prefetched ads into the ad break if has a SCTE marker with an event id of my-awesome-event, since it must match the event id that MediaTailor uses to query the ADS.

                  You can specify up to five AvailMatchingCriteria. If you specify multiple AvailMatchingCriteria, MediaTailor combines them to match using a logical AND. You can model logical OR combinations by creating multiple prefetch schedules.

                  " + } + }, "com.amazonaws.mediatailor#AvailSuppression": { "type": "structure", "members": { @@ -518,6 +540,105 @@ } } }, + "com.amazonaws.mediatailor#CreatePrefetchSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.mediatailor#CreatePrefetchScheduleRequest" + }, + "output": { + "target": "com.amazonaws.mediatailor#CreatePrefetchScheduleResponse" + }, + "traits": { + "smithy.api#documentation": "

                  Creates a new prefetch schedule for the specified playback configuration.

                  ", + "smithy.api#http": { + "method": "POST", + "uri": "/prefetchSchedule/{PlaybackConfigurationName}/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.mediatailor#CreatePrefetchScheduleRequest": { + "type": "structure", + "members": { + "Consumption": { + "target": "com.amazonaws.mediatailor#PrefetchConsumption", + "traits": { + "smithy.api#documentation": "

                  The configuration settings for MediaTailor's consumption of the prefetched ads from the ad decision server. Each consumption configuration contains an end time and an optional start time that define the consumption window. Prefetch schedules automatically expire no earlier than seven days after the end time.

                  ", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The identifier for the playback configuration.

                  ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "PlaybackConfigurationName": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the playback configuration.

                  ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "Retrieval": { + "target": "com.amazonaws.mediatailor#PrefetchRetrieval", + "traits": { + "smithy.api#documentation": "

                  The configuration settings for retrieval of prefetched ads from the ad decision server. Only one set of prefetched ads will be retrieved and subsequently consumed for each ad break.

                  ", + "smithy.api#required": {} + } + }, + "StreamId": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  An optional stream identifier that MediaTailor uses to prefetch ads for multiple streams that use the same playback configuration. If StreamId is specified, MediaTailor returns all of the prefetch schedules with an exact match on StreamId. If not specified, MediaTailor returns all of the prefetch schedules for the playback configuration, regardless of StreamId.

                  " + } + } + } + }, + "com.amazonaws.mediatailor#CreatePrefetchScheduleResponse": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the prefetch schedule.

                  " + } + }, + "Consumption": { + "target": "com.amazonaws.mediatailor#PrefetchConsumption", + "traits": { + "smithy.api#documentation": "

                  Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

                  " + } + }, + "Name": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

                  " + } + }, + "PlaybackConfigurationName": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the playback configuration to create the prefetch schedule for.

                  " + } + }, + "Retrieval": { + "target": "com.amazonaws.mediatailor#PrefetchRetrieval", + "traits": { + "smithy.api#documentation": "

                  A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

                  " + } + }, + "StreamId": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

                  " + } + } + } + }, "com.amazonaws.mediatailor#CreateProgram": { "type": "operation", "input": { @@ -1040,6 +1161,48 @@ "type": "structure", "members": {} }, + "com.amazonaws.mediatailor#DeletePrefetchSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.mediatailor#DeletePrefetchScheduleRequest" + }, + "output": { + "target": "com.amazonaws.mediatailor#DeletePrefetchScheduleResponse" + }, + "traits": { + "smithy.api#documentation": "

                  Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

                  ", + "smithy.api#http": { + "method": "DELETE", + "uri": "/prefetchSchedule/{PlaybackConfigurationName}/{Name}", + "code": 204 + } + } + }, + "com.amazonaws.mediatailor#DeletePrefetchScheduleRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The identifier for the playback configuration.

                  ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "PlaybackConfigurationName": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the playback configuration.

                  ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.mediatailor#DeletePrefetchScheduleResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.mediatailor#DeleteProgram": { "type": "operation", "input": { @@ -1774,6 +1937,85 @@ } } }, + "com.amazonaws.mediatailor#GetPrefetchSchedule": { + "type": "operation", + "input": { + "target": "com.amazonaws.mediatailor#GetPrefetchScheduleRequest" + }, + "output": { + "target": "com.amazonaws.mediatailor#GetPrefetchScheduleResponse" + }, + "traits": { + "smithy.api#documentation": "

                  Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.

                  ", + "smithy.api#http": { + "method": "GET", + "uri": "/prefetchSchedule/{PlaybackConfigurationName}/{Name}", + "code": 200 + } + } + }, + "com.amazonaws.mediatailor#GetPrefetchScheduleRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The identifier for the playback configuration.

                  ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "PlaybackConfigurationName": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the playback configuration.

                  ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.mediatailor#GetPrefetchScheduleResponse": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the prefetch schedule.

                  " + } + }, + "Consumption": { + "target": "com.amazonaws.mediatailor#PrefetchConsumption", + "traits": { + "smithy.api#documentation": "

                  Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

                  " + } + }, + "Name": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

                  " + } + }, + "PlaybackConfigurationName": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the playback configuration to create the prefetch schedule for.

                  " + } + }, + "Retrieval": { + "target": "com.amazonaws.mediatailor#PrefetchRetrieval", + "traits": { + "smithy.api#documentation": "

                  A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

                  " + } + }, + "StreamId": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

                  " + } + } + } + }, "com.amazonaws.mediatailor#HlsConfiguration": { "type": "structure", "members": { @@ -2040,6 +2282,77 @@ } } }, + "com.amazonaws.mediatailor#ListPrefetchSchedules": { + "type": "operation", + "input": { + "target": "com.amazonaws.mediatailor#ListPrefetchSchedulesRequest" + }, + "output": { + "target": "com.amazonaws.mediatailor#ListPrefetchSchedulesResponse" + }, + "traits": { + "smithy.api#documentation": "

                  Creates a new prefetch schedule.

                  ", + "smithy.api#http": { + "method": "POST", + "uri": "/prefetchSchedule/{PlaybackConfigurationName}", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "items": "Items", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.mediatailor#ListPrefetchSchedulesRequest": { + "type": "structure", + "members": { + "MaxResults": { + "target": "com.amazonaws.mediatailor#__integerMin1Max100", + "traits": { + "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.

                  " + } + }, + "NextToken": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  (Optional) If the playback configuration has more than MaxResults prefetch schedules, use NextToken to get the second and subsequent pages of results.

                  For the first ListPrefetchSchedulesRequest request, omit this value.

                  For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

                  If the previous response didn't include a NextToken element, there are no more prefetch schedules to get.

                  " + } + }, + "PlaybackConfigurationName": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the playback configuration.

                  ", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "StreamId": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  An optional filtering parameter whereby MediaTailor filters the prefetch schedules to include only specific streams.

                  " + } + } + } + }, + "com.amazonaws.mediatailor#ListPrefetchSchedulesResponse": { + "type": "structure", + "members": { + "Items": { + "target": "com.amazonaws.mediatailor#__listOfPrefetchSchedule", + "traits": { + "smithy.api#documentation": "

                  Lists the prefetch schedules. An empty Items list doesn't mean there aren't more items to fetch, just that that page was empty.

                  " + } + }, + "NextToken": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The value that you will use forNextToken in the next ListPrefetchSchedulesRequest request.

                  " + } + } + } + }, "com.amazonaws.mediatailor#ListSourceLocations": { "type": "operation", "input": { @@ -2281,6 +2594,9 @@ { "target": "com.amazonaws.mediatailor#CreateChannel" }, + { + "target": "com.amazonaws.mediatailor#CreatePrefetchSchedule" + }, { "target": "com.amazonaws.mediatailor#CreateProgram" }, @@ -2299,6 +2615,9 @@ { "target": "com.amazonaws.mediatailor#DeletePlaybackConfiguration" }, + { + "target": "com.amazonaws.mediatailor#DeletePrefetchSchedule" + }, { "target": "com.amazonaws.mediatailor#DeleteProgram" }, @@ -2329,6 +2648,9 @@ { "target": "com.amazonaws.mediatailor#GetPlaybackConfiguration" }, + { + "target": "com.amazonaws.mediatailor#GetPrefetchSchedule" + }, { "target": "com.amazonaws.mediatailor#ListAlerts" }, @@ -2338,6 +2660,9 @@ { "target": "com.amazonaws.mediatailor#ListPlaybackConfigurations" }, + { + "target": "com.amazonaws.mediatailor#ListPrefetchSchedules" + }, { "target": "com.amazonaws.mediatailor#ListSourceLocations" }, @@ -2417,6 +2742,17 @@ ] } }, + "com.amazonaws.mediatailor#Operator": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "EQUALS", + "name": "EQUALS" + } + ] + } + }, "com.amazonaws.mediatailor#OriginManifestType": { "type": "string", "traits": { @@ -2570,6 +2906,109 @@ ] } }, + "com.amazonaws.mediatailor#PrefetchConsumption": { + "type": "structure", + "members": { + "AvailMatchingCriteria": { + "target": "com.amazonaws.mediatailor#__listOfAvailMatchingCriteria", + "traits": { + "smithy.api#documentation": "

                  If you only want MediaTailor to insert prefetched ads into avails (ad breaks) that match specific dynamic variables, such as scte.event_id, set the avail matching criteria.

                  " + } + }, + "EndTime": { + "target": "com.amazonaws.mediatailor#__timestampUnix", + "traits": { + "smithy.api#documentation": "

                  The time when MediaTailor no longer considers the prefetched ads for use in an ad break. MediaTailor automatically deletes prefetch schedules no less than seven days after the end time. If you'd like to manually delete the prefetch schedule, you can call DeletePrefetchSchedule.

                  ", + "smithy.api#required": {} + } + }, + "StartTime": { + "target": "com.amazonaws.mediatailor#__timestampUnix", + "traits": { + "smithy.api#documentation": "

                  The time when prefetched ads are considered for use in an ad break. If you don't specify StartTime, the prefetched ads are available after MediaTailor retrives them from the ad decision server.

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

                  A complex type that contains settings that determine how and when that MediaTailor places prefetched ads into upcoming ad breaks.

                  " + } + }, + "com.amazonaws.mediatailor#PrefetchRetrieval": { + "type": "structure", + "members": { + "DynamicVariables": { + "target": "com.amazonaws.mediatailor#__mapOf__string", + "traits": { + "smithy.api#documentation": "

                  The dynamic variables to use for substitution during prefetch requests to the ad decision server (ADS).

                  You intially configure dynamic variables for the ADS URL when you set up your playback configuration. When you specify DynamicVariables for prefetch retrieval, MediaTailor includes the dynamic variables in the request to the ADS.

                  " + } + }, + "EndTime": { + "target": "com.amazonaws.mediatailor#__timestampUnix", + "traits": { + "smithy.api#documentation": "

                  The time when prefetch retrieval ends for the ad break. Prefetching will be attempted for manifest requests that occur at or before this time.

                  ", + "smithy.api#required": {} + } + }, + "StartTime": { + "target": "com.amazonaws.mediatailor#__timestampUnix", + "traits": { + "smithy.api#documentation": "

                  The time when prefetch retrievals can start for this break. Ad prefetching will be attempted for manifest requests that occur at or after this time. Defaults to the current time. If not specified, the prefetch retrieval starts as soon as possible.

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

                  A complex type that contains settings governing when MediaTailor prefetches ads, and which dynamic variables that MediaTailor includes in the request to the ad decision server.

                  " + } + }, + "com.amazonaws.mediatailor#PrefetchSchedule": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the prefetch schedule.

                  ", + "smithy.api#required": {} + } + }, + "Consumption": { + "target": "com.amazonaws.mediatailor#PrefetchConsumption", + "traits": { + "smithy.api#documentation": "

                  Consumption settings determine how, and when, MediaTailor places the prefetched ads into ad breaks. Ad consumption occurs within a span of time that you define, called a consumption window. You can designate which ad breaks that MediaTailor fills with prefetch ads by setting avail matching criteria.

                  ", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the prefetch schedule. The name must be unique among all prefetch schedules that are associated with the specified playback configuration.

                  ", + "smithy.api#required": {} + } + }, + "PlaybackConfigurationName": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  The name of the playback configuration to create the prefetch schedule for.

                  ", + "smithy.api#required": {} + } + }, + "Retrieval": { + "target": "com.amazonaws.mediatailor#PrefetchRetrieval", + "traits": { + "smithy.api#documentation": "

                  A complex type that contains settings for prefetch retrieval from the ad decision server (ADS).

                  ", + "smithy.api#required": {} + } + }, + "StreamId": { + "target": "com.amazonaws.mediatailor#__string", + "traits": { + "smithy.api#documentation": "

                  An optional stream identifier that you can specify in order to prefetch for multiple streams that use the same playback configuration.

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

                  A complex type that contains prefetch schedule information.

                  " + } + }, "com.amazonaws.mediatailor#PutChannelPolicy": { "type": "operation", "input": { @@ -3769,6 +4208,15 @@ } } }, + "com.amazonaws.mediatailor#__integerMin1Max100": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, "com.amazonaws.mediatailor#__listOfAdBreak": { "type": "list", "member": { @@ -3781,6 +4229,12 @@ "target": "com.amazonaws.mediatailor#Alert" } }, + "com.amazonaws.mediatailor#__listOfAvailMatchingCriteria": { + "type": "list", + "member": { + "target": "com.amazonaws.mediatailor#AvailMatchingCriteria" + } + }, "com.amazonaws.mediatailor#__listOfChannel": { "type": "list", "member": { @@ -3793,6 +4247,12 @@ "target": "com.amazonaws.mediatailor#PlaybackConfiguration" } }, + "com.amazonaws.mediatailor#__listOfPrefetchSchedule": { + "type": "list", + "member": { + "target": "com.amazonaws.mediatailor#PrefetchSchedule" + } + }, "com.amazonaws.mediatailor#__listOfScheduleAdBreak": { "type": "list", "member": { diff --git a/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json b/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json index b2250d89a9a5..2d2c07357641 100644 --- a/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json +++ b/codegen/sdk-codegen/aws-models/robomaker.2018-06-29.json @@ -471,13 +471,31 @@ "smithy.api#pattern": "^[a-zA-Z0-9_.\\-]*$" } }, + "com.amazonaws.robomaker#CommandList": { + "type": "list", + "member": { + "target": "com.amazonaws.robomaker#NonEmptyString" + } + }, "com.amazonaws.robomaker#Compute": { "type": "structure", "members": { "simulationUnitLimit": { "target": "com.amazonaws.robomaker#SimulationUnit", "traits": { - "smithy.api#documentation": "

                  The simulation unit limit. Your simulation is allocated CPU and memory proportional to\n the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are\n only billed for the SU utilization you consume up to the maximim value provided. The\n default is 15.

                  " + "smithy.api#documentation": "

                  The simulation unit limit. Your simulation is allocated CPU and memory proportional to\n the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are\n only billed for the SU utilization you consume up to the maximum value provided. The\n default is 15.

                  " + } + }, + "computeType": { + "target": "com.amazonaws.robomaker#ComputeType", + "traits": { + "smithy.api#documentation": "

                  Compute type information for the simulation job.

                  " + } + }, + "gpuUnitLimit": { + "target": "com.amazonaws.robomaker#GPUUnit", + "traits": { + "smithy.api#documentation": "

                  Compute GPU unit limit for the simulation job. It is the same as the number of GPUs\n allocated to the SimulationJob.

                  " } } }, @@ -491,7 +509,19 @@ "simulationUnitLimit": { "target": "com.amazonaws.robomaker#SimulationUnit", "traits": { - "smithy.api#documentation": "

                  The simulation unit limit. Your simulation is allocated CPU and memory proportional to\n the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are\n only billed for the SU utilization you consume up to the maximim value provided. The\n default is 15.

                  " + "smithy.api#documentation": "

                  The simulation unit limit. Your simulation is allocated CPU and memory proportional to\n the supplied simulation unit limit. A simulation unit is 1 vcpu and 2GB of memory. You are\n only billed for the SU utilization you consume up to the maximum value provided. The\n default is 15.

                  " + } + }, + "computeType": { + "target": "com.amazonaws.robomaker#ComputeType", + "traits": { + "smithy.api#documentation": "

                  Compute type response information for the simulation job.

                  " + } + }, + "gpuUnitLimit": { + "target": "com.amazonaws.robomaker#GPUUnit", + "traits": { + "smithy.api#documentation": "

                  Compute GPU unit limit for the simulation job. It is the same as the number of GPUs\n allocated to the SimulationJob.

                  " } } }, @@ -499,6 +529,21 @@ "smithy.api#documentation": "

                  Compute information for the simulation job

                  " } }, + "com.amazonaws.robomaker#ComputeType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CPU", + "name": "CPU" + }, + { + "value": "GPU_AND_CPU", + "name": "GPU_AND_CPU" + } + ] + } + }, "com.amazonaws.robomaker#ConcurrentDeploymentException": { "type": "structure", "members": { @@ -831,7 +876,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains that URI of the Docker image that you use for your robot application.

                  " + "smithy.api#documentation": "

                  The object that contains that URI of the Docker image that you use for your robot\n application.

                  " } } } @@ -890,7 +935,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  An object that contains the Docker image URI used to a create your robot application.

                  " + "smithy.api#documentation": "

                  An object that contains the Docker image URI used to a create your robot\n application.

                  " } } } @@ -948,7 +993,7 @@ "s3Etags": { "target": "com.amazonaws.robomaker#S3Etags", "traits": { - "smithy.api#documentation": "

                  The Amazon S3 identifier for the zip file bundle that you use for your robot application.

                  " + "smithy.api#documentation": "

                  The Amazon S3 identifier for the zip file bundle that you use for your robot\n application.

                  " } }, "imageDigest": { @@ -1007,7 +1052,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create your robot application.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create your robot\n application.

                  " } } } @@ -1167,7 +1212,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create your simulation application.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create your simulation\n application.

                  " } } } @@ -1238,7 +1283,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI that you used to create your simulation application.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI that you used to create your simulation\n application.

                  " } } } @@ -1296,13 +1341,13 @@ "s3Etags": { "target": "com.amazonaws.robomaker#S3Etags", "traits": { - "smithy.api#documentation": "

                  The Amazon S3 eTag identifier for the zip file bundle that you use to create the simulation application.

                  " + "smithy.api#documentation": "

                  The Amazon S3 eTag identifier for the zip file bundle that you use to create the\n simulation application.

                  " } }, "imageDigest": { "target": "com.amazonaws.robomaker#ImageDigest", "traits": { - "smithy.api#documentation": "

                  The SHA256 digest used to identify the Docker image URI used to created the simulation application.

                  " + "smithy.api#documentation": "

                  The SHA256 digest used to identify the Docker image URI used to created the simulation\n application.

                  " } } } @@ -1367,7 +1412,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create the simulation application.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create the simulation\n application.

                  " } } } @@ -1451,7 +1496,7 @@ "failureBehavior": { "target": "com.amazonaws.robomaker#FailureBehavior", "traits": { - "smithy.api#documentation": "

                  The failure behavior the simulation job.

                  \n
                  \n
                  Continue
                  \n
                  \n

                  Leaves the instance running for its maximum timeout duration after a 4XX error code.

                  \n
                  \n
                  Fail
                  \n
                  \n

                  Stop the simulation job and terminate the instance.

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

                  The failure behavior the simulation job.

                  \n
                  \n
                  Continue
                  \n
                  \n

                  Leaves the instance running for its maximum timeout duration after a\n 4XX error code.

                  \n
                  \n
                  Fail
                  \n
                  \n

                  Stop the simulation job and terminate the instance.

                  \n
                  \n
                  " } }, "robotApplications": { @@ -2009,6 +2054,18 @@ "traits": { "smithy.api#documentation": "

                  The list of S3 keys identifying the data source files.

                  " } + }, + "type": { + "target": "com.amazonaws.robomaker#DataSourceType", + "traits": { + "smithy.api#documentation": "

                  The data type for the data source that you're using for your container image or\n simulation job. You can use this field to specify whether your data source is an Archive,\n an Amazon S3 prefix, or a file.

                  \n

                  If you don't specify a field, the default value is File.

                  " + } + }, + "destination": { + "target": "com.amazonaws.robomaker#Path", + "traits": { + "smithy.api#documentation": "

                  The location where your files are mounted in the container image.

                  \n

                  If you've specified the type of the data source as an Archive,\n you must provide an Amazon S3 object key to your archive. The object key must point to\n either a .zip or .tar.gz file.

                  \n

                  If you've specified the type of the data source as a Prefix,\n you provide the Amazon S3 prefix that points to the files that you are using for your data\n source.

                  \n

                  If you've specified the type of the data source as a File, you\n provide the Amazon S3 path to the file that you're using as your data source.

                  " + } } }, "traits": { @@ -2033,11 +2090,23 @@ } }, "s3Keys": { - "target": "com.amazonaws.robomaker#S3Keys", + "target": "com.amazonaws.robomaker#S3KeysOrPrefixes", "traits": { "smithy.api#documentation": "

                  The list of S3 keys identifying the data source files.

                  ", "smithy.api#required": {} } + }, + "type": { + "target": "com.amazonaws.robomaker#DataSourceType", + "traits": { + "smithy.api#documentation": "

                  The data type for the data source that you're using for your container image or\n simulation job. You can use this field to specify whether your data source is an Archive,\n an Amazon S3 prefix, or a file.

                  \n

                  If you don't specify a field, the default value is File.

                  " + } + }, + "destination": { + "target": "com.amazonaws.robomaker#Path", + "traits": { + "smithy.api#documentation": "

                  The location where your files are mounted in the container image.

                  \n

                  If you've specified the type of the data source as an Archive,\n you must provide an Amazon S3 object key to your archive. The object key must point to\n either a .zip or .tar.gz file.

                  \n

                  If you've specified the type of the data source as a Prefix,\n you provide the Amazon S3 prefix that points to the files that you are using for your data\n source.

                  \n

                  If you've specified the type of the data source as a File, you\n provide the Amazon S3 path to the file that you're using as your data source.

                  " + } } }, "traits": { @@ -2062,6 +2131,25 @@ "target": "com.amazonaws.robomaker#Name" } }, + "com.amazonaws.robomaker#DataSourceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "Prefix", + "name": "Prefix" + }, + { + "value": "Archive", + "name": "Archive" + }, + { + "value": "File", + "name": "File" + } + ] + } + }, "com.amazonaws.robomaker#DataSources": { "type": "list", "member": { @@ -3039,7 +3127,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create the robot application.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create the robot\n application.

                  " } }, "imageDigest": { @@ -3242,13 +3330,13 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create the simulation application.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI used to create the simulation\n application.

                  " } }, "imageDigest": { "target": "com.amazonaws.robomaker#ImageDigest", "traits": { - "smithy.api#documentation": "

                  A SHA256 identifier for the Docker image that you use for your simulation application.

                  " + "smithy.api#documentation": "

                  A SHA256 identifier for the Docker image that you use for your simulation\n application.

                  " } } } @@ -3948,7 +4036,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI for either your robot or simulation applications.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI for either your robot or simulation\n applications.

                  " } }, "com.amazonaws.robomaker#EnvironmentVariableKey": { @@ -4209,6 +4297,16 @@ "smithy.api#box": {} } }, + "com.amazonaws.robomaker#GPUUnit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0, + "max": 1 + } + } + }, "com.amazonaws.robomaker#GenericInteger": { "type": "integer", "traits": { @@ -4387,15 +4485,13 @@ "packageName": { "target": "com.amazonaws.robomaker#Command", "traits": { - "smithy.api#documentation": "

                  The package name.

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

                  The package name.

                  " } }, "launchFile": { "target": "com.amazonaws.robomaker#Command", "traits": { - "smithy.api#documentation": "

                  The launch file name.

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

                  The launch file name.

                  " } }, "environmentVariables": { @@ -4415,6 +4511,12 @@ "traits": { "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.

                  " } + }, + "command": { + "target": "com.amazonaws.robomaker#CommandList", + "traits": { + "smithy.api#documentation": "

                  If you've specified General as the value for your RobotSoftwareSuite, you can use this field to specify a list of commands for your container image.

                  \n

                  If you've specified SimulationRuntime as the value for your SimulationSoftwareSuite, you can use this field to specify a list of commands for your container image.

                  " + } } }, "traits": { @@ -5857,7 +5959,7 @@ "useDefaultTools": { "target": "com.amazonaws.robomaker#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                  A Boolean indicating whether to use default robot application tools. \n The default tools are rviz, rqt, terminal and rosbag record. \n The default is False.\n

                  " + "smithy.api#documentation": "

                  A Boolean indicating whether to use default robot application tools. The default tools\n are rviz, rqt, terminal and rosbag record. The default is False.

                  " } } }, @@ -6055,6 +6157,10 @@ { "value": "ROS2", "name": "ROS2" + }, + { + "value": "General", + "name": "General" } ] } @@ -6158,11 +6264,21 @@ "smithy.api#pattern": ".*" } }, + "com.amazonaws.robomaker#S3KeyOrPrefix": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1024 + }, + "smithy.api#pattern": ".*" + } + }, "com.amazonaws.robomaker#S3KeyOutput": { "type": "structure", "members": { "s3Key": { - "target": "com.amazonaws.robomaker#S3Key", + "target": "com.amazonaws.robomaker#S3KeyOrPrefix", "traits": { "smithy.api#documentation": "

                  The S3 key.

                  " } @@ -6184,10 +6300,10 @@ "target": "com.amazonaws.robomaker#S3KeyOutput" } }, - "com.amazonaws.robomaker#S3Keys": { + "com.amazonaws.robomaker#S3KeysOrPrefixes": { "type": "list", "member": { - "target": "com.amazonaws.robomaker#S3Key" + "target": "com.amazonaws.robomaker#S3KeyOrPrefix" }, "traits": { "smithy.api#length": { @@ -6299,7 +6415,7 @@ "useDefaultTools": { "target": "com.amazonaws.robomaker#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                  A Boolean indicating whether to use default simulation application tools. \n The default tools are rviz, rqt, terminal and rosbag record.\n The default is False.\n

                  " + "smithy.api#documentation": "

                  A Boolean indicating whether to use default simulation application tools. The default\n tools are rviz, rqt, terminal and rosbag record. The default is False.

                  " } } }, @@ -6417,7 +6533,7 @@ "failureBehavior": { "target": "com.amazonaws.robomaker#FailureBehavior", "traits": { - "smithy.api#documentation": "

                  The failure behavior the simulation job.

                  \n
                  \n
                  Continue
                  \n
                  \n

                  Leaves the host running for its maximum timeout duration after a 4XX error code.

                  \n
                  \n
                  Fail
                  \n
                  \n

                  Stop the simulation job and terminate the instance.

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

                  The failure behavior the simulation job.

                  \n
                  \n
                  Continue
                  \n
                  \n

                  Leaves the host running for its maximum timeout duration after a\n 4XX error code.

                  \n
                  \n
                  Fail
                  \n
                  \n

                  Stop the simulation job and terminate the instance.

                  \n
                  \n
                  " } }, "failureCode": { @@ -6781,7 +6897,7 @@ "failureBehavior": { "target": "com.amazonaws.robomaker#FailureBehavior", "traits": { - "smithy.api#documentation": "

                  The failure behavior the simulation job.

                  \n
                  \n
                  Continue
                  \n
                  \n

                  Leaves the host running for its maximum timeout duration after a 4XX error code.

                  \n
                  \n
                  Fail
                  \n
                  \n

                  Stop the simulation job and terminate the instance.

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

                  The failure behavior the simulation job.

                  \n
                  \n
                  Continue
                  \n
                  \n

                  Leaves the host running for its maximum timeout duration after a\n 4XX error code.

                  \n
                  \n
                  Fail
                  \n
                  \n

                  Stop the simulation job and terminate the instance.

                  \n
                  \n
                  " } }, "useDefaultApplications": { @@ -6931,6 +7047,12 @@ "traits": { "smithy.api#documentation": "

                  The names of the data sources.

                  " } + }, + "computeType": { + "target": "com.amazonaws.robomaker#ComputeType", + "traits": { + "smithy.api#documentation": "

                  The compute type for the simulation job summary.

                  " + } } }, "traits": { @@ -6974,6 +7096,10 @@ { "value": "RosbagPlay", "name": "RosbagPlay" + }, + { + "value": "SimulationRuntime", + "name": "SimulationRuntime" } ] } @@ -7523,7 +7649,7 @@ "streamUI": { "target": "com.amazonaws.robomaker#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                  Boolean indicating whether a streaming session will be configured for the tool.\n If True, AWS RoboMaker will configure a connection so you can interact with\n the tool as it is running in the simulation. It must have a graphical user interface. \n The default is False.\n

                  " + "smithy.api#documentation": "

                  Boolean indicating whether a streaming session will be configured for the tool. If\n True, AWS RoboMaker will configure a connection so you can interact with\n the tool as it is running in the simulation. It must have a graphical user interface. The\n default is False.

                  " } }, "name": { @@ -7543,13 +7669,13 @@ "streamOutputToCloudWatch": { "target": "com.amazonaws.robomaker#BoxedBoolean", "traits": { - "smithy.api#documentation": "

                  Boolean indicating whether logs will be recorded in CloudWatch for the tool.\n The default is False.\n

                  " + "smithy.api#documentation": "

                  Boolean indicating whether logs will be recorded in CloudWatch for the tool. The default\n is False.

                  " } }, "exitBehavior": { "target": "com.amazonaws.robomaker#ExitBehavior", "traits": { - "smithy.api#documentation": "

                  Exit behavior determines what happens when your tool quits running. \n RESTART will cause your tool to be restarted. FAIL\n will cause your job to exit. The default is RESTART.\n

                  " + "smithy.api#documentation": "

                  Exit behavior determines what happens when your tool quits running. RESTART\n will cause your tool to be restarted. FAIL will cause your job to exit. The\n default is RESTART.

                  " } } }, @@ -7903,7 +8029,7 @@ "environment": { "target": "com.amazonaws.robomaker#Environment", "traits": { - "smithy.api#documentation": "

                  The object that contains the Docker image URI used for your simulation application.

                  " + "smithy.api#documentation": "

                  The object that contains the Docker image URI used for your simulation\n application.

                  " } } } @@ -8019,7 +8145,7 @@ "name": { "target": "com.amazonaws.robomaker#Name", "traits": { - "smithy.api#documentation": "

                  A prefix that specifies where files will be uploaded in Amazon S3. \n It is appended to the simulation output location to determine the final path.\n

                  \n

                  \n For example, if your simulation output location is s3://my-bucket and your upload \n configuration name is robot-test, your files will be uploaded to \n s3://my-bucket///robot-test.\n

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

                  A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the\n simulation output location to determine the final path.

                  \n

                  For example, if your simulation output location is s3://my-bucket and your\n upload configuration name is robot-test, your files will be uploaded to\n s3://my-bucket///robot-test.

                  ", "smithy.api#required": {} } }, diff --git a/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json b/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json index 95f0d01b701f..ee2825a5ead8 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.2017-07-24.json @@ -6709,7 +6709,7 @@ "ServiceCatalogProvisioningDetails": { "target": "com.amazonaws.sagemaker#ServiceCatalogProvisioningDetails", "traits": { - "smithy.api#documentation": "

                  The product ID and provisioning artifact ID to provision a service catalog. For\n information, see What is Amazon Web Services Service\n Catalog.

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

                  The product ID and provisioning artifact ID to provision a service catalog. The provisioning \n artifact ID will default to the latest provisioning artifact ID of the product, if you don't \n provide the provisioning artifact ID. For more information, see What is Amazon Web Services Service\n Catalog.

                  ", "smithy.api#required": {} } }, @@ -25169,7 +25169,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Provides information about the location that is configured for storing model\n artifacts.

                  \n

                  Model artifacts are the output that results from training a model, and typically\n consist of trained parameters, a model defintion that describes how to compute\n inferences, and other metadata.

                  " + "smithy.api#documentation": "

                  Provides information about the location that is configured for storing model\n artifacts.

                  \n

                  Model artifacts are the output that results from training a model, and typically\n consist of trained parameters, a model definition that describes how to compute\n inferences, and other metadata.

                  " } }, "com.amazonaws.sagemaker#ModelBiasAppSpecification": { @@ -32986,8 +32986,7 @@ "ProvisioningArtifactId": { "target": "com.amazonaws.sagemaker#ServiceCatalogEntityId", "traits": { - "smithy.api#documentation": "

                  The ID of the provisioning artifact.

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

                  The ID of the provisioning artifact.

                  " } }, "PathId": { diff --git a/codegen/sdk-codegen/aws-models/secrets-manager.2017-10-17.json b/codegen/sdk-codegen/aws-models/secrets-manager.2017-10-17.json index 95c2ff4ade42..dd143ac9ed40 100644 --- a/codegen/sdk-codegen/aws-models/secrets-manager.2017-10-17.json +++ b/codegen/sdk-codegen/aws-models/secrets-manager.2017-10-17.json @@ -84,7 +84,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret to cancel a rotation request. You can specify either the Amazon\n Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret to cancel a rotation request. You can specify either the Amazon\n Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } } @@ -201,7 +201,7 @@ "SecretString": { "target": "com.amazonaws.secretsmanager#SecretStringType", "traits": { - "smithy.api#documentation": "

                  (Optional) Specifies text data that you want to encrypt and store in this new version of\n the secret.

                  \n

                  Either SecretString or SecretBinary must have a value, but not\n both. They cannot both be empty.

                  \n

                  If you create a secret by using the Secrets Manager console then Secrets Manager puts the protected\n secret text in only the SecretString parameter. The Secrets Manager console stores the\n information as a JSON structure of key/value pairs that the Lambda rotation function knows how\n to parse.

                  \n

                  For storing multiple values, we recommend that you use a JSON text string argument and\n specify key/value pairs. For information on how to format a JSON parameter for the various\n command line tool environments, see Using JSON for\n Parameters in the CLI User Guide. For example:

                  \n

                  \n {\"username\":\"bob\",\"password\":\"abc123xyz456\"}\n

                  \n

                  If your command-line tool or SDK requires quotation marks around the parameter, you should\n use single quotes to avoid confusion with the double quotes required in the JSON text.

                  " + "smithy.api#documentation": "

                  (Optional) Specifies text data that you want to encrypt and store in this new version of\n the secret.

                  \n

                  Either SecretString or SecretBinary must have a value, but not\n both. They cannot both be empty.

                  \n

                  If you create a secret by using the Secrets Manager console then Secrets Manager puts the protected\n secret text in only the SecretString parameter. The Secrets Manager console stores the\n information as a JSON structure of key/value pairs that the Lambda rotation function knows how\n to parse.

                  \n

                  For storing multiple values, we recommend that you use a JSON text \n string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI\n in the Amazon Web Services CLI User Guide.

                  " } }, "Tags": { @@ -300,7 +300,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret that you want to delete the attached resource-based policy for. You\n can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret that you want to delete the attached resource-based policy for. You\n can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } } @@ -355,7 +355,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret to delete. You can specify either the Amazon Resource Name (ARN) or\n the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret to delete. You can specify either the Amazon Resource Name (ARN) or\n the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -433,7 +433,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  The identifier of the secret whose details you want to retrieve. You can specify either\n the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  The identifier of the secret whose details you want to retrieve. You can specify either\n the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } } @@ -482,7 +482,7 @@ "RotationRules": { "target": "com.amazonaws.secretsmanager#RotationRulesType", "traits": { - "smithy.api#documentation": "

                  A structure with the rotation configuration for this secret.

                  " + "smithy.api#documentation": "

                  A structure with the rotation configuration for this secret. This field is only populated \n if rotation is configured.

                  " } }, "LastRotatedDate": { @@ -803,7 +803,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret that you want to retrieve the attached resource-based policy for. You\n can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret that you want to retrieve the attached resource-based policy for. You\n can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } } @@ -867,7 +867,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret containing the version that you want to retrieve. You can specify\n either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret containing the version that you want to retrieve. You can specify\n either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -1056,7 +1056,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  The identifier for the secret containing the versions you want to list. You can specify\n either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  The identifier for the secret containing the versions you want to list. You can specify\n either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -1314,7 +1314,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret that you want to attach the resource-based policy. You can specify\n either the ARN or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret that you want to attach the resource-based policy. You can specify\n either the ARN or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -1383,7 +1383,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Stores a new encrypted secret value in the specified secret. To do this, the operation\n creates a new version and attaches it to the secret. The version can contain a new\n SecretString value or a new SecretBinary value. You can also\n specify the staging labels that are initially attached to the new version.

                  \n \n

                  The Secrets Manager console uses only the SecretString field. To add binary data to a\n secret with the SecretBinary field you must use the Amazon Web Services CLI or one of the\n Amazon Web Services SDKs.

                  \n
                  \n
                    \n
                  • \n

                    If this operation creates the first version for the secret then Secrets Manager\n automatically attaches the staging label AWSCURRENT to the new version.

                    \n
                  • \n
                  • \n

                    If you do not specify a value for VersionStages then Secrets Manager automatically\n moves the staging label AWSCURRENT to this new version.

                    \n
                  • \n
                  • \n

                    If this operation moves the staging label AWSCURRENT from another version to this\n version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to\n the version that AWSCURRENT was removed from.

                    \n
                  • \n
                  • \n

                    This operation is idempotent. If a version with a VersionId with the same\n value as the ClientRequestToken parameter already exists and you specify the\n same secret data, the operation succeeds but does nothing. However, if the secret data is\n different, then the operation fails because you cannot modify an existing version; you can\n only create new ones.

                    \n
                  • \n
                  \n \n
                    \n
                  • \n

                    If you call an operation to encrypt or decrypt the SecretString \n or SecretBinary for a secret in the same account as the calling user and that \n secret doesn't specify a Amazon Web Services KMS encryption key, Secrets Manager uses the account's default \n Amazon Web Services managed customer master key (CMK) with the alias aws/secretsmanager. If this key \n doesn't already exist in your account then Secrets Manager creates it for you automatically. All\n users and roles in the same Amazon Web Services account automatically have access to use the default CMK. \n Note that if an Secrets Manager API call results in Amazon Web Services creating the account's \n Amazon Web Services-managed CMK, it can result in a one-time significant delay in returning the \n result.

                    \n
                  • \n
                  • \n

                    If the secret resides in a different Amazon Web Services account from the credentials calling an API that \n requires encryption or decryption of the secret value then you must create and use a custom \n Amazon Web Services KMS CMK because you can't access the default CMK for the account using credentials \n from a different Amazon Web Services account. Store the ARN of the CMK in the secret when you create the \n secret or when you update it by including it in the KMSKeyId. If you call an \n API that must encrypt or decrypt SecretString or SecretBinary \n using credentials from a different account then the Amazon Web Services KMS key policy must grant cross-account\n access to that other account's user or role for both the kms:GenerateDataKey and \n kms:Decrypt operations.

                    \n
                  • \n
                  \n
                  \n

                  \n Minimum permissions\n

                  \n

                  To run this command, you must have the following permissions:

                  \n
                    \n
                  • \n

                    secretsmanager:PutSecretValue

                    \n
                  • \n
                  • \n

                    kms:GenerateDataKey - needed only if you use a customer-managed Amazon Web Services KMS key to encrypt\n the secret. You do not need this permission to use the account's default Amazon Web Services managed CMK\n for Secrets Manager.

                    \n
                  • \n
                  \n

                  \n Related operations\n

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

                  Stores a new encrypted secret value in the specified secret. To do this, the operation\n creates a new version and attaches it to the secret. The version can contain a new\n SecretString value or a new SecretBinary value. You can also\n specify the staging labels that are initially attached to the new version.

                  \n

                  We recommend you avoid calling PutSecretValue at a sustained rate of more than \n once every 10 minutes. When you update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you call PutSecretValue more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.

                  \n
                    \n
                  • \n

                    If this operation creates the first version for the secret then Secrets Manager\n automatically attaches the staging label AWSCURRENT to the new version.

                    \n
                  • \n
                  • \n

                    If you do not specify a value for VersionStages then Secrets Manager automatically\n moves the staging label AWSCURRENT to this new version.

                    \n
                  • \n
                  • \n

                    If this operation moves the staging label AWSCURRENT from another version to this\n version, then Secrets Manager also automatically moves the staging label AWSPREVIOUS to\n the version that AWSCURRENT was removed from.

                    \n
                  • \n
                  • \n

                    This operation is idempotent. If a version with a VersionId with the same\n value as the ClientRequestToken parameter already exists and you specify the\n same secret data, the operation succeeds but does nothing. However, if the secret data is\n different, then the operation fails because you cannot modify an existing version; you can\n only create new ones.

                    \n
                  • \n
                  \n \n
                    \n
                  • \n

                    If you call an operation to encrypt or decrypt the SecretString \n or SecretBinary for a secret in the same account as the calling user and that \n secret doesn't specify a Amazon Web Services KMS encryption key, Secrets Manager uses the account's default \n Amazon Web Services managed customer master key (CMK) with the alias aws/secretsmanager. If this key \n doesn't already exist in your account then Secrets Manager creates it for you automatically. All\n users and roles in the same Amazon Web Services account automatically have access to use the default CMK. \n Note that if an Secrets Manager API call results in Amazon Web Services creating the account's \n Amazon Web Services-managed CMK, it can result in a one-time significant delay in returning the \n result.

                    \n
                  • \n
                  • \n

                    If the secret resides in a different Amazon Web Services account from the credentials calling an API that \n requires encryption or decryption of the secret value then you must create and use a custom \n Amazon Web Services KMS CMK because you can't access the default CMK for the account using credentials \n from a different Amazon Web Services account. Store the ARN of the CMK in the secret when you create the \n secret or when you update it by including it in the KMSKeyId. If you call an \n API that must encrypt or decrypt SecretString or SecretBinary \n using credentials from a different account then the Amazon Web Services KMS key policy must grant cross-account\n access to that other account's user or role for both the kms:GenerateDataKey and \n kms:Decrypt operations.

                    \n
                  • \n
                  \n
                  \n

                  \n Minimum permissions\n

                  \n

                  To run this command, you must have the following permissions:

                  \n
                    \n
                  • \n

                    secretsmanager:PutSecretValue

                    \n
                  • \n
                  • \n

                    kms:GenerateDataKey - needed only if you use a customer-managed Amazon Web Services KMS key to encrypt\n the secret. You do not need this permission to use the account's default Amazon Web Services managed CMK\n for Secrets Manager.

                    \n
                  • \n
                  \n

                  \n Related operations\n

                  \n " } }, "com.amazonaws.secretsmanager#PutSecretValueRequest": { @@ -1392,7 +1392,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret to which you want to add a new version. You can specify either the\n Amazon Resource Name (ARN) or the friendly name of the secret. The secret must already\n exist.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret to which you want to add a new version. You can specify either the\n Amazon Resource Name (ARN) or the friendly name of the secret. The secret must already\n exist.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -1412,7 +1412,7 @@ "SecretString": { "target": "com.amazonaws.secretsmanager#SecretStringType", "traits": { - "smithy.api#documentation": "

                  (Optional) Specifies text data that you want to encrypt and store in this new version of\n the secret. Either SecretString or SecretBinary must have a value,\n but not both. They cannot both be empty.

                  \n \n

                  If you create this secret by using the Secrets Manager console then Secrets Manager puts the\n protected secret text in only the SecretString parameter. The Secrets Manager console\n stores the information as a JSON structure of key/value pairs that the default Lambda rotation\n function knows how to parse.

                  \n

                  For storing multiple values, we recommend that you use a JSON text string argument and\n specify key/value pairs. For information on how to format a JSON parameter for the various\n command line tool environments, see Using JSON for\n Parameters in the CLI User Guide.

                  \n

                  For example:

                  \n

                  \n [{\"username\":\"bob\"},{\"password\":\"abc123xyz456\"}]\n

                  \n

                  If your command-line tool or SDK requires quotation marks around the parameter, you should\n use single quotes to avoid confusion with the double quotes required in the JSON text.

                  " + "smithy.api#documentation": "

                  (Optional) Specifies text data that you want to encrypt and store in this new version of\n the secret. Either SecretString or SecretBinary must have a value,\n but not both. They cannot both be empty.

                  \n \n

                  If you create this secret by using the Secrets Manager console then Secrets Manager puts the\n protected secret text in only the SecretString parameter. The Secrets Manager console\n stores the information as a JSON structure of key/value pairs that the default Lambda rotation\n function knows how to parse.

                  \n

                  For storing multiple values, we recommend that you use a JSON text \n string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI\n in the Amazon Web Services CLI User Guide.

                  " } }, "VersionStages": { @@ -1739,7 +1739,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret that you want to restore from a previously scheduled deletion. You\n can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret that you want to restore from a previously scheduled deletion. You\n can specify either the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } } @@ -1794,7 +1794,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret that you want to rotate. You can specify either the Amazon Resource\n Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret that you want to rotate. You can specify either the Amazon Resource\n Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -2272,14 +2272,14 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  The identifier for the secret that you want to attach tags to. You can specify either the\n Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  The identifier for the secret that you want to attach tags to. You can specify either the\n Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.secretsmanager#TagListType", "traits": { - "smithy.api#documentation": "

                  The tags to attach to the secret. Each element in the list consists of a Key\n and a Value.

                  \n

                  This parameter to the API requires a JSON text string argument. For information on how to\n format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide. For the\n CLI, you can also use the syntax: --Tags Key=\"Key1\",Value=\"Value1\"\n Key=\"Key2\",Value=\"Value2\"[,…]\n

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

                  The tags to attach to the secret. Each element in the list consists of a Key\n and a Value.

                  \n

                  This parameter to the API requires a JSON text string argument.

                  \n

                  For storing multiple values, we recommend that you use a JSON text \n string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI\n in the Amazon Web Services CLI User Guide.

                  ", "smithy.api#required": {} } } @@ -2326,14 +2326,14 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  The identifier for the secret that you want to remove tags from. You can specify either\n the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  The identifier for the secret that you want to remove tags from. You can specify either\n the Amazon Resource Name (ARN) or the friendly name of the secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.secretsmanager#TagKeyListType", "traits": { - "smithy.api#documentation": "

                  A list of tag key names to remove from the secret. You don't specify the value. Both the\n key and its associated value are removed.

                  \n

                  This parameter to the API requires a JSON text string argument. For information on how to\n format a JSON parameter for the various command line tool environments, see Using JSON for Parameters in the CLI User Guide.

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

                  A list of tag key names to remove from the secret. You don't specify the value. Both the\n key and its associated value are removed.

                  \n

                  This parameter to the API requires a JSON text string argument.

                  \n

                  For storing multiple values, we recommend that you use a JSON text \n string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI\n in the Amazon Web Services CLI User Guide.

                  ", "smithy.api#required": {} } } @@ -2377,7 +2377,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Modifies many of the details of the specified secret. If you include a\n ClientRequestToken and either\n SecretString or SecretBinary then it also creates a new version\n attached to the secret.

                  \n

                  To modify the rotation configuration of a secret, use RotateSecret\n instead.

                  \n \n

                  The Secrets Manager console uses only the SecretString parameter and therefore limits\n you to encrypting and storing only a text string. To encrypt and store binary data as part\n of the version of a secret, you must use either the Amazon Web Services CLI or one of the Amazon Web Services\n SDKs.

                  \n
                  \n
                    \n
                  • \n

                    If a version with a VersionId with the same value as the\n ClientRequestToken parameter already exists, the operation results in an\n error. You cannot modify an existing version, you can only create a new version.

                    \n
                  • \n
                  • \n

                    If you include SecretString or SecretBinary to create a new\n secret version, Secrets Manager automatically attaches the staging label AWSCURRENT to the new\n version.

                    \n
                  • \n
                  \n \n
                    \n
                  • \n

                    If you call an operation to encrypt or decrypt the SecretString \n or SecretBinary for a secret in the same account as the calling user and that \n secret doesn't specify a Amazon Web Services KMS encryption key, Secrets Manager uses the account's default \n Amazon Web Services managed customer master key (CMK) with the alias aws/secretsmanager. If this key \n doesn't already exist in your account then Secrets Manager creates it for you automatically. All\n users and roles in the same Amazon Web Services account automatically have access to use the default CMK. \n Note that if an Secrets Manager API call results in Amazon Web Services creating the account's \n Amazon Web Services-managed CMK, it can result in a one-time significant delay in returning the \n result.

                    \n
                  • \n
                  • \n

                    If the secret resides in a different Amazon Web Services account from the credentials calling an API that \n requires encryption or decryption of the secret value then you must create and use a custom \n Amazon Web Services KMS CMK because you can't access the default CMK for the account using credentials \n from a different Amazon Web Services account. Store the ARN of the CMK in the secret when you create the \n secret or when you update it by including it in the KMSKeyId. If you call an \n API that must encrypt or decrypt SecretString or SecretBinary \n using credentials from a different account then the Amazon Web Services KMS key policy must grant cross-account\n access to that other account's user or role for both the kms:GenerateDataKey and \n kms:Decrypt operations.

                    \n
                  • \n
                  \n
                  \n

                  \n Minimum permissions\n

                  \n

                  To run this command, you must have the following permissions:

                  \n
                    \n
                  • \n

                    secretsmanager:UpdateSecret

                    \n
                  • \n
                  • \n

                    kms:GenerateDataKey - needed only if you use a custom Amazon Web Services KMS key to encrypt the secret.\n You do not need this permission to use the account's Amazon Web Services managed CMK for\n Secrets Manager.

                    \n
                  • \n
                  • \n

                    kms:Decrypt - needed only if you use a custom Amazon Web Services KMS key to encrypt the secret. You do\n not need this permission to use the account's Amazon Web Services managed CMK for Secrets Manager.

                    \n
                  • \n
                  \n

                  \n Related operations\n

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

                  Modifies many of the details of the specified secret.

                  \n

                  To change the secret value, you can also use PutSecretValue.

                  \n

                  To change the rotation configuration of a secret, use RotateSecret\n instead.

                  \n \n

                  We recommend you avoid calling UpdateSecret at a sustained rate of more than \n once every 10 minutes. When you call UpdateSecret to update the secret value, Secrets Manager creates a new version \n of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n remove versions created less than 24 hours ago. If you update the secret value more \n than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n the quota for secret versions.

                  \n \n

                  The Secrets Manager console uses only the SecretString parameter and therefore limits\n you to encrypting and storing only a text string. To encrypt and store binary data as part\n of the version of a secret, you must use either the Amazon Web Services CLI or one of the Amazon Web Services\n SDKs.

                  \n
                  \n
                    \n
                  • \n

                    If a version with a VersionId with the same value as the\n ClientRequestToken parameter already exists, the operation results in an\n error. You cannot modify an existing version, you can only create a new version.

                    \n
                  • \n
                  • \n

                    If you include SecretString or SecretBinary to create a new\n secret version, Secrets Manager automatically attaches the staging label AWSCURRENT to the new\n version.

                    \n
                  • \n
                  \n \n
                    \n
                  • \n

                    If you call an operation to encrypt or decrypt the SecretString \n or SecretBinary for a secret in the same account as the calling user and that \n secret doesn't specify a Amazon Web Services KMS encryption key, Secrets Manager uses the account's default \n Amazon Web Services managed customer master key (CMK) with the alias aws/secretsmanager. If this key \n doesn't already exist in your account then Secrets Manager creates it for you automatically. All\n users and roles in the same Amazon Web Services account automatically have access to use the default CMK. \n Note that if an Secrets Manager API call results in Amazon Web Services creating the account's \n Amazon Web Services-managed CMK, it can result in a one-time significant delay in returning the \n result.

                    \n
                  • \n
                  • \n

                    If the secret resides in a different Amazon Web Services account from the credentials calling an API that \n requires encryption or decryption of the secret value then you must create and use a custom \n Amazon Web Services KMS CMK because you can't access the default CMK for the account using credentials \n from a different Amazon Web Services account. Store the ARN of the CMK in the secret when you create the \n secret or when you update it by including it in the KMSKeyId. If you call an \n API that must encrypt or decrypt SecretString or SecretBinary \n using credentials from a different account then the Amazon Web Services KMS key policy must grant cross-account\n access to that other account's user or role for both the kms:GenerateDataKey and \n kms:Decrypt operations.

                    \n
                  • \n
                  \n
                  \n

                  \n Minimum permissions\n

                  \n

                  To run this command, you must have the following permissions:

                  \n
                    \n
                  • \n

                    secretsmanager:UpdateSecret

                    \n
                  • \n
                  • \n

                    kms:GenerateDataKey - needed only if you use a custom Amazon Web Services KMS key to encrypt the secret.\n You do not need this permission to use the account's Amazon Web Services managed CMK for\n Secrets Manager.

                    \n
                  • \n
                  • \n

                    kms:Decrypt - needed only if you use a custom Amazon Web Services KMS key to encrypt the secret. You do\n not need this permission to use the account's Amazon Web Services managed CMK for Secrets Manager.

                    \n
                  • \n
                  \n

                  \n Related operations\n

                  \n " } }, "com.amazonaws.secretsmanager#UpdateSecretRequest": { @@ -2386,7 +2386,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret that you want to modify or to which you want to add a new version.\n You can specify either the Amazon Resource Name (ARN) or the friendly name of the\n secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret that you want to modify or to which you want to add a new version.\n You can specify either the Amazon Resource Name (ARN) or the friendly name of the\n secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -2406,7 +2406,7 @@ "KmsKeyId": { "target": "com.amazonaws.secretsmanager#KmsKeyIdType", "traits": { - "smithy.api#documentation": "

                  (Optional) Specifies an updated ARN or alias of the Amazon Web Services KMS customer master key (CMK) to be\n used to encrypt the protected text in new versions of this secret.

                  \n \n

                  You can only use the account's default CMK to encrypt and decrypt if you call this\n operation using credentials from the same account that owns the secret. If the secret is in\n a different account, then you must create a custom CMK and provide the ARN of that CMK in\n this field. The user making the call must have permissions to both the secret and the CMK in\n their respective accounts.

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

                  (Optional) Specifies an updated ARN or alias of the Amazon Web Services KMS customer master key (CMK) that Secrets Manager \n uses to encrypt the protected text in new versions of this secret as well as any existing versions of this secret that have the staging labels AWSCURRENT, AWSPENDING, or AWSPREVIOUS. For more information about staging labels, see Staging\n Labels in the Amazon Web Services Secrets Manager User Guide.

                  \n \n

                  You can only use the account's default CMK to encrypt and decrypt if you call this\n operation using credentials from the same account that owns the secret. If the secret is in\n a different account, then you must create a custom CMK and provide the ARN of that CMK in\n this field. The user making the call must have permissions to both the secret and the CMK in\n their respective accounts.

                  \n
                  " } }, "SecretBinary": { @@ -2418,7 +2418,7 @@ "SecretString": { "target": "com.amazonaws.secretsmanager#SecretStringType", "traits": { - "smithy.api#documentation": "

                  (Optional) Specifies updated text data that you want to encrypt and store in this new\n version of the secret. Either SecretBinary or SecretString must have\n a value, but not both. They cannot both be empty.

                  \n

                  If you create this secret by using the Secrets Manager console then Secrets Manager puts the\n protected secret text in only the SecretString parameter. The Secrets Manager console\n stores the information as a JSON structure of key/value pairs that the default Lambda rotation\n function knows how to parse.

                  \n

                  For storing multiple values, we recommend that you use a JSON text string argument and\n specify key/value pairs. For information on how to format a JSON parameter for the various\n command line tool environments, see Using JSON for\n Parameters in the CLI User Guide. For example:

                  \n

                  \n [{\"username\":\"bob\"},{\"password\":\"abc123xyz456\"}]\n

                  \n

                  If your command-line tool or SDK requires quotation marks around the parameter, you should\n use single quotes to avoid confusion with the double quotes required in the JSON text. You can\n also 'escape' the double quote character in the embedded JSON text by prefacing each with a\n backslash. For example, the following string is surrounded by double-quotes. All of the\n embedded double quotes are escaped:

                  \n

                  \n \"[{\\\"username\\\":\\\"bob\\\"},{\\\"password\\\":\\\"abc123xyz456\\\"}]\"\n

                  " + "smithy.api#documentation": "

                  (Optional) Specifies updated text data that you want to encrypt and store in this new\n version of the secret. Either SecretBinary or SecretString must have\n a value, but not both. They cannot both be empty.

                  \n

                  If you create this secret by using the Secrets Manager console then Secrets Manager puts the\n protected secret text in only the SecretString parameter. The Secrets Manager console\n stores the information as a JSON structure of key/value pairs that the default Lambda rotation\n function knows how to parse.

                  \n

                  For storing multiple values, we recommend that you use a JSON text \n string argument and specify key/value pairs. For more information, see Specifying parameter values for the Amazon Web Services CLI\n in the Amazon Web Services CLI User Guide.

                  " } } } @@ -2481,7 +2481,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  Specifies the secret with the version with the list of staging labels you want to modify.\n You can specify either the Amazon Resource Name (ARN) or the friendly name of the\n secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  Specifies the secret with the version with the list of staging labels you want to modify.\n You can specify either the Amazon Resource Name (ARN) or the friendly name of the\n secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  ", "smithy.api#required": {} } }, @@ -2558,7 +2558,7 @@ "SecretId": { "target": "com.amazonaws.secretsmanager#SecretIdType", "traits": { - "smithy.api#documentation": "

                  (Optional) The identifier of the secret with the resource-based policy you want to\n validate. You can specify either the Amazon Resource Name (ARN) or the friendly name of the\n secret.

                  \n \n

                  If you specify an ARN, we generally recommend that you specify a complete ARN. You can \n specify a partial ARN too—for example, if you don’t include the final hyphen and six random \n characters that Secrets Manager adds at the end of the ARN when you created the secret. A partial ARN \n match can work as long as it uniquely matches only one secret. However, if your secret has a \n name that ends in a hyphen followed by six characters (before Secrets Manager adds the hyphen and six \n characters to the ARN) and you try to use that as a partial ARN, then those characters cause \n Secrets Manager to assume that you’re specifying a complete ARN. This confusion can cause unexpected \n results. To avoid this situation, we recommend that you don’t create secret names ending \n with a hyphen followed by six characters.

                  \n

                  If you specify an incomplete ARN without the random suffix, and instead provide the \n 'friendly name', you must not include the random suffix. If you do include the random suffix added by Secrets Manager, \n you receive either a ResourceNotFoundException or an AccessDeniedException error, depending on your permissions.

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

                  (Optional) The identifier of the secret with the resource-based policy you want to\n validate. You can specify either the Amazon Resource Name (ARN) or the friendly name of the\n secret.

                  \n

                  For an ARN, we recommend that you specify a complete ARN rather \n than a partial ARN.

                  " } }, "ResourcePolicy": { diff --git a/codegen/sdk-codegen/aws-models/securityhub.2018-10-26.json b/codegen/sdk-codegen/aws-models/securityhub.2018-10-26.json index 5cc5bd7fd11e..b0c41a12f966 100644 --- a/codegen/sdk-codegen/aws-models/securityhub.2018-10-26.json +++ b/codegen/sdk-codegen/aws-models/securityhub.2018-10-26.json @@ -1720,6 +1720,12 @@ "smithy.api#documentation": "

                  Provides information about the origin groups in the distribution.

                  " } }, + "ViewerCertificate": { + "target": "com.amazonaws.securityhub#AwsCloudFrontDistributionViewerCertificate", + "traits": { + "smithy.api#documentation": "

                  Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.

                  " + } + }, "Status": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { @@ -1909,6 +1915,56 @@ "smithy.api#documentation": "

                  A complex type that contains information about origins and origin groups for this distribution.

                  " } }, + "com.amazonaws.securityhub#AwsCloudFrontDistributionViewerCertificate": { + "type": "structure", + "members": { + "AcmCertificateArn": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN of the ACM certificate. Used if the certificate is stored in ACM. If you provide an ACM certificate ARN, you must also provide MinimumCertificateVersion and SslSupportMethod.

                  " + } + }, + "Certificate": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The identifier of the certificate. Note that in CloudFront, this attribute is deprecated.

                  " + } + }, + "CertificateSource": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The source of the certificate identified by Certificate. Note that in CloudFront, this attribute is deprecated.

                  " + } + }, + "CloudFrontDefaultCertificate": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether the distribution uses the CloudFront domain name. If set to false, then you provide either AcmCertificateArn or IamCertificateId.

                  " + } + }, + "IamCertificateId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The identifier of the IAM certificate. Used if the certificate is stored in IAM. If you provide IamCertificateId, then you also must provide MinimumProtocolVersion and SslSupportMethod.

                  " + } + }, + "MinimumProtocolVersion": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The security policy that CloudFront uses for HTTPS connections with viewers. If SslSupportMethod is sni-only, then MinimumProtocolVersion must be TLSv1 or higher.

                  " + } + }, + "SslSupportMethod": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The viewers that the distribution accepts HTTPS connections from.

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

                  Provides information about the TLS/SSL configuration that the distribution uses to communicate with viewers.

                  " + } + }, "com.amazonaws.securityhub#AwsCloudTrailTrailDetails": { "type": "structure", "members": { @@ -2007,6 +2063,74 @@ "smithy.api#documentation": "

                  Provides details about a CloudTrail trail.

                  " } }, + "com.amazonaws.securityhub#AwsCodeBuildProjectArtifactsDetails": { + "type": "structure", + "members": { + "ArtifactIdentifier": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  An identifier for the artifact definition.

                  " + } + }, + "EncryptionDisabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Indicates whether to disable encryption on the artifact. Only valid when Type is S3.

                  " + } + }, + "Location": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  Only used when Type is S3. The name of the S3 bucket where the artifact is located.

                  " + } + }, + "Name": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  Only used when Type is S3. The name of the artifact. Used with NamepaceType and Path to determine the pattern for storing the artifact.

                  " + } + }, + "NamespaceType": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  Only used when Type is S3. The value to use for the namespace. Used with Name and Path to determine the pattern for storing the artifact.

                  " + } + }, + "OverrideArtifactName": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether the name specified in the buildspec file overrides the artifact name.

                  " + } + }, + "Packaging": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  Only used when Type is S3. The type of output artifact to create.

                  " + } + }, + "Path": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  Only used when Type is S3. The path to the artifact. Used with Name and NamespaceType to determine the pattern for storing the artifact.

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

                  The type of build artifact.

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

                  Information about the build artifacts for the CodeBuild project.

                  " + } + }, + "com.amazonaws.securityhub#AwsCodeBuildProjectArtifactsList": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsCodeBuildProjectArtifactsDetails" + } + }, "com.amazonaws.securityhub#AwsCodeBuildProjectDetails": { "type": "structure", "members": { @@ -2016,6 +2140,12 @@ "smithy.api#documentation": "

                  The KMS key used to encrypt the\n build output artifacts.

                  \n

                  You can specify either the ARN of the KMS key or, if available, the\n KMS key alias (using the format alias/alias-name).

                  " } }, + "Artifacts": { + "target": "com.amazonaws.securityhub#AwsCodeBuildProjectArtifactsList", + "traits": { + "smithy.api#documentation": "

                  Information about the build artifacts for the CodeBuild project.

                  " + } + }, "Environment": { "target": "com.amazonaws.securityhub#AwsCodeBuildProjectEnvironment", "traits": { @@ -2040,6 +2170,12 @@ "smithy.api#documentation": "

                  The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services\n services on behalf of the Amazon Web Services account.

                  " } }, + "LogsConfig": { + "target": "com.amazonaws.securityhub#AwsCodeBuildProjectLogsConfigDetails", + "traits": { + "smithy.api#documentation": "

                  Information about logs for the build project.

                  " + } + }, "VpcConfig": { "target": "com.amazonaws.securityhub#AwsCodeBuildProjectVpcConfig", "traits": { @@ -2060,6 +2196,18 @@ "smithy.api#documentation": "

                  The certificate to use with this build project.

                  " } }, + "EnvironmentVariables": { + "target": "com.amazonaws.securityhub#AwsCodeBuildProjectEnvironmentEnvironmentVariablesList", + "traits": { + "smithy.api#documentation": "

                  A set of environment variables to make available to builds for the build project.

                  " + } + }, + "PrivilegedMode": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "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.

                  " + } + }, "ImagePullCredentialsType": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { @@ -2083,6 +2231,38 @@ "smithy.api#documentation": "

                  Information about the build environment for this build project.

                  " } }, + "com.amazonaws.securityhub#AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the environment variable.

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

                  The type of environment variable.

                  " + } + }, + "Value": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The value of the environment variable.

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

                  Information about an environment variable that is available to builds for the build project.

                  " + } + }, + "com.amazonaws.securityhub#AwsCodeBuildProjectEnvironmentEnvironmentVariablesList": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsCodeBuildProjectEnvironmentEnvironmentVariablesDetails" + } + }, "com.amazonaws.securityhub#AwsCodeBuildProjectEnvironmentRegistryCredential": { "type": "structure", "members": { @@ -2103,6 +2283,78 @@ "smithy.api#documentation": "

                  The credentials for access to a private registry.

                  " } }, + "com.amazonaws.securityhub#AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails": { + "type": "structure", + "members": { + "GroupName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The group name of the logs in CloudWatch Logs.

                  " + } + }, + "Status": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The current status of the logs in CloudWatch Logs for a build project.

                  " + } + }, + "StreamName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The prefix of the stream name of the CloudWatch Logs.

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

                  Information about CloudWatch Logs for the build project.

                  " + } + }, + "com.amazonaws.securityhub#AwsCodeBuildProjectLogsConfigDetails": { + "type": "structure", + "members": { + "CloudWatchLogs": { + "target": "com.amazonaws.securityhub#AwsCodeBuildProjectLogsConfigCloudWatchLogsDetails", + "traits": { + "smithy.api#documentation": "

                  Information about CloudWatch Logs for the build project.

                  " + } + }, + "S3Logs": { + "target": "com.amazonaws.securityhub#AwsCodeBuildProjectLogsConfigS3LogsDetails", + "traits": { + "smithy.api#documentation": "

                  Information about logs built to an S3 bucket for a build project.

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

                  Information about logs for the build project.

                  " + } + }, + "com.amazonaws.securityhub#AwsCodeBuildProjectLogsConfigS3LogsDetails": { + "type": "structure", + "members": { + "EncryptionDisabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether to disable encryption of the S3 build log output.

                  " + } + }, + "Location": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN of the S3 bucket and the path prefix for S3 logs.

                  " + } + }, + "Status": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The current status of the S3 build logs.

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

                  Information about logs built to an S3 bucket for a build project.

                  " + } + }, "com.amazonaws.securityhub#AwsCodeBuildProjectSource": { "type": "structure", "members": { @@ -3625,6 +3877,100 @@ "smithy.api#documentation": "

                  Details about an EC2 VPC.

                  " } }, + "com.amazonaws.securityhub#AwsEc2VpcEndpointServiceDetails": { + "type": "structure", + "members": { + "AcceptanceRequired": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

                  " + } + }, + "AvailabilityZones": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  The Availability Zones where the service is available.

                  " + } + }, + "BaseEndpointDnsNames": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  The DNS names for the service.

                  " + } + }, + "ManagesVpcEndpoints": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether the service manages its VPC endpoints.

                  " + } + }, + "GatewayLoadBalancerArns": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  The ARNs of the Gateway Load Balancers for the service.

                  " + } + }, + "NetworkLoadBalancerArns": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  The ARNs of the Network Load Balancers for the service.

                  " + } + }, + "PrivateDnsName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The private DNS name for the service.

                  " + } + }, + "ServiceId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The identifier of the service.

                  " + } + }, + "ServiceName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the service.

                  " + } + }, + "ServiceState": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The current state of the service.

                  " + } + }, + "ServiceType": { + "target": "com.amazonaws.securityhub#AwsEc2VpcEndpointServiceServiceTypeList", + "traits": { + "smithy.api#documentation": "

                  The types for the service.

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

                  Contains details about the service configuration for a VPC endpoint service.

                  " + } + }, + "com.amazonaws.securityhub#AwsEc2VpcEndpointServiceServiceTypeDetails": { + "type": "structure", + "members": { + "ServiceType": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The type of service.

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

                  The service type information for a VPC endpoint service.

                  " + } + }, + "com.amazonaws.securityhub#AwsEc2VpcEndpointServiceServiceTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsEc2VpcEndpointServiceServiceTypeDetails" + } + }, "com.amazonaws.securityhub#AwsEc2VpnConnectionDetails": { "type": "structure", "members": { @@ -3949,19 +4295,97 @@ "smithy.api#documentation": "

                  Information about an Amazon ECR image.

                  " } }, - "com.amazonaws.securityhub#AwsEcsClusterClusterSettingsDetails": { + "com.amazonaws.securityhub#AwsEcrRepositoryDetails": { "type": "structure", "members": { - "Name": { + "Arn": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  The name of the setting.

                  " + "smithy.api#documentation": "

                  The ARN of the repository.

                  " } }, - "Value": { + "ImageScanningConfiguration": { + "target": "com.amazonaws.securityhub#AwsEcrRepositoryImageScanningConfigurationDetails", + "traits": { + "smithy.api#documentation": "

                  The image scanning configuration for a repository.

                  " + } + }, + "ImageTagMutability": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  The value of the setting.

                  " + "smithy.api#documentation": "

                  The tag mutability setting for the repository.

                  " + } + }, + "LifecyclePolicy": { + "target": "com.amazonaws.securityhub#AwsEcrRepositoryLifecyclePolicyDetails", + "traits": { + "smithy.api#documentation": "

                  Information about the lifecycle policy for the repository.

                  " + } + }, + "RepositoryName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the repository.

                  " + } + }, + "RepositoryPolicyText": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The text of the repository policy.

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

                  Provides information about an Amazon Elastic Container Registry repository.

                  " + } + }, + "com.amazonaws.securityhub#AwsEcrRepositoryImageScanningConfigurationDetails": { + "type": "structure", + "members": { + "ScanOnPush": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether to scan images after they are pushed to a repository.

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

                  The image scanning configuration for a repository.

                  " + } + }, + "com.amazonaws.securityhub#AwsEcrRepositoryLifecyclePolicyDetails": { + "type": "structure", + "members": { + "LifecyclePolicyText": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The text of the lifecycle policy.

                  " + } + }, + "RegistryId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The Amazon Web Services account identifier that is associated with the registry that contains the repository.

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

                  Information about the lifecycle policy for the repository.

                  " + } + }, + "com.amazonaws.securityhub#AwsEcsClusterClusterSettingsDetails": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the setting.

                  " + } + }, + "Value": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The value of the setting.

                  " } } }, @@ -5671,6 +6095,128 @@ "target": "com.amazonaws.securityhub#AwsEcsTaskDefinitionVolumesDetails" } }, + "com.amazonaws.securityhub#AwsEksClusterDetails": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN of the cluster.

                  " + } + }, + "CertificateAuthorityData": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The certificate authority data for the cluster.

                  " + } + }, + "ClusterStatus": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The status of the cluster.

                  " + } + }, + "Endpoint": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The endpoint for the Amazon EKS API server.

                  " + } + }, + "Name": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the cluster.

                  " + } + }, + "ResourcesVpcConfig": { + "target": "com.amazonaws.securityhub#AwsEksClusterResourcesVpcConfigDetails", + "traits": { + "smithy.api#documentation": "

                  The VPC configuration used by the cluster control plane.

                  " + } + }, + "RoleArn": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN of the IAM role that provides permissions for the Amazon EKS control plane to make calls to Amazon Web Services API operations on your behalf.

                  " + } + }, + "Version": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The Amazon EKS server version for the cluster.

                  " + } + }, + "Logging": { + "target": "com.amazonaws.securityhub#AwsEksClusterLoggingDetails", + "traits": { + "smithy.api#documentation": "

                  The logging configuration for the cluster.

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

                  Provides details about an Amazon EKS cluster.

                  " + } + }, + "com.amazonaws.securityhub#AwsEksClusterLoggingClusterLoggingDetails": { + "type": "structure", + "members": { + "Enabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether the logging types that are listed in Types are enabled.

                  " + } + }, + "Types": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  A list of logging types.

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

                  Details for a cluster logging configuration.

                  " + } + }, + "com.amazonaws.securityhub#AwsEksClusterLoggingClusterLoggingList": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsEksClusterLoggingClusterLoggingDetails" + } + }, + "com.amazonaws.securityhub#AwsEksClusterLoggingDetails": { + "type": "structure", + "members": { + "ClusterLogging": { + "target": "com.amazonaws.securityhub#AwsEksClusterLoggingClusterLoggingList", + "traits": { + "smithy.api#documentation": "

                  Cluster logging configurations.

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

                  The logging configuration for an Amazon EKS cluster.

                  " + } + }, + "com.amazonaws.securityhub#AwsEksClusterResourcesVpcConfigDetails": { + "type": "structure", + "members": { + "SecurityGroupIds": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  The security groups that are associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Amazon EKS control plane.

                  " + } + }, + "SubnetIds": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  The subnets that are associated with the cluster.

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

                  Information about the VPC configuration used by the cluster control plane.

                  " + } + }, "com.amazonaws.securityhub#AwsElasticBeanstalkEnvironmentDetails": { "type": "structure", "members": { @@ -5907,13 +6453,13 @@ "ElasticsearchVersion": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  Elasticsearch version.

                  " + "smithy.api#documentation": "

                  OpenSearch version.

                  " } }, "ElasticsearchClusterConfig": { "target": "com.amazonaws.securityhub#AwsElasticsearchDomainElasticsearchClusterConfigDetails", "traits": { - "smithy.api#documentation": "

                  Information about an Elasticsearch cluster configuration.

                  " + "smithy.api#documentation": "

                  Information about an OpenSearch cluster configuration.

                  " } }, "EncryptionAtRestOptions": { @@ -5943,12 +6489,12 @@ "VPCOptions": { "target": "com.amazonaws.securityhub#AwsElasticsearchDomainVPCOptions", "traits": { - "smithy.api#documentation": "

                  Information that Elasticsearch derives based on VPCOptions for the\n domain.

                  " + "smithy.api#documentation": "

                  Information that OpenSearch derives based on VPCOptions for the\n domain.

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

                  Information about an Amazon Elasticsearch Service domain.

                  " + "smithy.api#documentation": "

                  Information about an Elasticsearch domain.

                  " } }, "com.amazonaws.securityhub#AwsElasticsearchDomainDomainEndpointOptions": { @@ -5963,7 +6509,7 @@ "TLSSecurityPolicy": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  The TLS security policy to apply to the HTTPS endpoint of the Elasticsearch\n domain.

                  \n

                  Valid values:

                  \n
                    \n
                  • \n

                    \n Policy-Min-TLS-1-0-2019-07, which supports TLSv1.0 and higher

                    \n
                  • \n
                  • \n

                    \n Policy-Min-TLS-1-2-2019-07, which only supports TLSv1.2

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

                  The TLS security policy to apply to the HTTPS endpoint of the OpenSearch\n domain.

                  \n

                  Valid values:

                  \n
                    \n
                  • \n

                    \n Policy-Min-TLS-1-0-2019-07, which supports TLSv1.0 and higher

                    \n
                  • \n
                  • \n

                    \n Policy-Min-TLS-1-2-2019-07, which only supports TLSv1.2

                    \n
                  • \n
                  " } } }, @@ -6013,12 +6559,12 @@ "ZoneAwarenessEnabled": { "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#documentation": "

                  Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, Elasticsearch 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.

                  " + "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.

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

                  details about the configuration of an Elasticsearch cluster.

                  " + "smithy.api#documentation": "

                  details about the configuration of an OpenSearch cluster.

                  " } }, "com.amazonaws.securityhub#AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails": { @@ -6061,13 +6607,13 @@ "IndexSlowLogs": { "target": "com.amazonaws.securityhub#AwsElasticsearchDomainLogPublishingOptionsLogConfig", "traits": { - "smithy.api#documentation": "

                  Configures the Elasticsearch index logs\n publishing.

                  " + "smithy.api#documentation": "

                  Configures the OpenSearch index logs\n publishing.

                  " } }, "SearchSlowLogs": { "target": "com.amazonaws.securityhub#AwsElasticsearchDomainLogPublishingOptionsLogConfig", "traits": { - "smithy.api#documentation": "

                  Configures the Elasticsearch search slow log\n publishing.

                  " + "smithy.api#documentation": "

                  Configures the OpenSearch search slow log\n publishing.

                  " } }, "AuditLogs": { @@ -6118,7 +6664,7 @@ "AutomatedUpdateDate": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  The epoch time when the deployment window closes for required updates. After this time,\n Amazon Elasticsearch Service schedules the software upgrade automatically.

                  " + "smithy.api#documentation": "

                  The epoch time when the deployment window closes for required updates. After this time,\n Amazon OpenSearch Service schedules the software upgrade automatically.

                  " } }, "Cancellable": { @@ -6191,7 +6737,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Information that Elasticsearch derives based on VPCOptions for the\n domain.

                  " + "smithy.api#documentation": "

                  Information that OpenSearch derives based on VPCOptions for the\n domain.

                  " } }, "com.amazonaws.securityhub#AwsElbAppCookieStickinessPolicies": { @@ -6662,6 +7208,32 @@ "smithy.api#documentation": "

                  Contains information about the security group for the load balancer.

                  " } }, + "com.amazonaws.securityhub#AwsElbv2LoadBalancerAttribute": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the load balancer attribute.

                  " + } + }, + "Value": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The value of the load balancer attribute.

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

                  A load balancer attribute.

                  " + } + }, + "com.amazonaws.securityhub#AwsElbv2LoadBalancerAttributes": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsElbv2LoadBalancerAttribute" + } + }, "com.amazonaws.securityhub#AwsElbv2LoadBalancerDetails": { "type": "structure", "members": { @@ -6724,6 +7296,12 @@ "traits": { "smithy.api#documentation": "

                  The ID of the VPC for the load balancer.

                  " } + }, + "LoadBalancerAttributes": { + "target": "com.amazonaws.securityhub#AwsElbv2LoadBalancerAttributes", + "traits": { + "smithy.api#documentation": "

                  Attributes of the load balancer.

                  " + } } }, "traits": { @@ -7619,115 +8197,483 @@ "ErrorCode": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  The error code.

                  " + "smithy.api#documentation": "

                  The error code.

                  " + } + }, + "Message": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The error message.

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

                  Error messages for environment variables that could not be applied.

                  " + } + }, + "com.amazonaws.securityhub#AwsLambdaFunctionLayer": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN of the function layer.

                  " + } + }, + "CodeSize": { + "target": "com.amazonaws.securityhub#Integer", + "traits": { + "smithy.api#documentation": "

                  The size of the layer archive in bytes.

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

                  An Lambda layer.

                  " + } + }, + "com.amazonaws.securityhub#AwsLambdaFunctionLayerList": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsLambdaFunctionLayer" + } + }, + "com.amazonaws.securityhub#AwsLambdaFunctionTracingConfig": { + "type": "structure", + "members": { + "Mode": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The tracing mode.

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

                  The function's X-Ray tracing configuration.

                  " + } + }, + "com.amazonaws.securityhub#AwsLambdaFunctionVpcConfig": { + "type": "structure", + "members": { + "SecurityGroupIds": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  A list of VPC security groups IDs.

                  " + } + }, + "SubnetIds": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  A list of VPC subnet IDs.

                  " + } + }, + "VpcId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ID of the VPC.

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

                  The VPC security groups and subnets that are attached to a Lambda function.

                  " + } + }, + "com.amazonaws.securityhub#AwsLambdaLayerVersionDetails": { + "type": "structure", + "members": { + "Version": { + "target": "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber", + "traits": { + "smithy.api#documentation": "

                  The version number.

                  " + } + }, + "CompatibleRuntimes": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", + "traits": { + "smithy.api#documentation": "

                  The layer's compatible runtimes. Maximum number of five items.

                  \n

                  Valid values: nodejs10.x | nodejs12.x | java8 |\n java11 | python2.7 | python3.6 |\n python3.7 | python3.8 | dotnetcore1.0 |\n dotnetcore2.1 | go1.x | ruby2.5 |\n provided\n

                  " + } + }, + "CreatedDate": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  Indicates when the version 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.

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

                  Details about a Lambda layer version.

                  " + } + }, + "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber": { + "type": "long" + }, + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainClusterConfigDetails": { + "type": "structure", + "members": { + "InstanceCount": { + "target": "com.amazonaws.securityhub#Integer", + "traits": { + "smithy.api#documentation": "

                  The number of data nodes to use in the OpenSearch domain.

                  " + } + }, + "WarmEnabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether UltraWarm is enabled.

                  " + } + }, + "WarmCount": { + "target": "com.amazonaws.securityhub#Integer", + "traits": { + "smithy.api#documentation": "

                  The number of UltraWarm instances.

                  " + } + }, + "DedicatedMasterEnabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "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.

                  " + } + }, + "ZoneAwarenessConfig": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails", + "traits": { + "smithy.api#documentation": "

                  Configuration options for zone awareness. Provided if ZoneAwarenessEnabled is true.

                  " + } + }, + "DedicatedMasterCount": { + "target": "com.amazonaws.securityhub#Integer", + "traits": { + "smithy.api#documentation": "

                  The number of instances to use for the master node. If this attribute is specified, then DedicatedMasterEnabled must be true.

                  " + } + }, + "InstanceType": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The instance type for your data nodes.

                  " + } + }, + "WarmType": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The type of UltraWarm instance.

                  " + } + }, + "ZoneAwarenessEnabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "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.

                  " + } + }, + "DedicatedMasterType": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The hardware configuration of the computer that hosts the dedicated master node.

                  \n

                  If this attribute is specified, then DedicatedMasterEnabled must be true.\n

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

                  Details about the configuration of an OpenSearch cluster.

                  " + } + }, + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainClusterConfigZoneAwarenessConfigDetails": { + "type": "structure", + "members": { + "AvailabilityZoneCount": { + "target": "com.amazonaws.securityhub#Integer", + "traits": { + "smithy.api#documentation": "

                  The number of Availability Zones that the domain uses. Valid values are 2 and 3. The default is 2.

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

                  Configuration options for zone awareness.

                  " + } + }, + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainDetails": { + "type": "structure", + "members": { + "Arn": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN of the OpenSearch Service domain.

                  " + } + }, + "AccessPolicies": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  IAM policy document that specifies the access policies for the OpenSearch Service domain.

                  " + } + }, + "DomainName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the endpoint.

                  " + } + }, + "Id": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The identifier of the domain.

                  " + } + }, + "DomainEndpoint": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The domain endpoint.

                  " + } + }, + "EngineVersion": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The version of the domain engine.

                  " + } + }, + "EncryptionAtRestOptions": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails", + "traits": { + "smithy.api#documentation": "

                  Details about the configuration for encryption at rest.

                  " + } + }, + "NodeToNodeEncryptionOptions": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails", + "traits": { + "smithy.api#documentation": "

                  Details about the configuration for node-to-node encryption.

                  " + } + }, + "ServiceSoftwareOptions": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails", + "traits": { + "smithy.api#documentation": "

                  Information about the status of a domain relative to the latest service software.

                  " + } + }, + "ClusterConfig": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainClusterConfigDetails", + "traits": { + "smithy.api#documentation": "

                  Details about the configuration of an OpenSearch cluster.

                  " + } + }, + "DomainEndpointOptions": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainDomainEndpointOptionsDetails", + "traits": { + "smithy.api#documentation": "

                  Additional options for the domain endpoint.

                  " + } + }, + "VpcOptions": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainVpcOptionsDetails", + "traits": { + "smithy.api#documentation": "

                  Information that OpenSearch Service derives based on VPCOptions for the domain.

                  " + } + }, + "LogPublishingOptions": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainLogPublishingOptionsDetails", + "traits": { + "smithy.api#documentation": "

                  Configures the CloudWatch Logs to publish for the OpenSearch domain.

                  " + } + }, + "DomainEndpoints": { + "target": "com.amazonaws.securityhub#FieldMap", + "traits": { + "smithy.api#documentation": "

                  The domain endpoints. Used if the OpenSearch domain resides in a VPC.

                  \n

                  This is a map of key-value pairs. The key is always vpc. The value is the endpoint.

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

                  Information about an Amazon OpenSearch Service domain.

                  " + } + }, + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainDomainEndpointOptionsDetails": { + "type": "structure", + "members": { + "CustomEndpointCertificateArn": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN for the security certificate. The certificate is managed in ACM.

                  " + } + }, + "CustomEndpointEnabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether to enable a custom endpoint for the domain.

                  " + } + }, + "EnforceHTTPS": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether to require that all traffic to the domain arrive over HTTPS.

                  " + } + }, + "CustomEndpoint": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The fully qualified URL for the custom endpoint.

                  " + } + }, + "TLSSecurityPolicy": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The TLS security policy to apply to the HTTPS endpoint of the OpenSearch domain.

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

                  Information about additional options for the domain endpoint.

                  " + } + }, + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails": { + "type": "structure", + "members": { + "Enabled": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether encryption at rest is enabled.

                  " + } + }, + "KmsKeyId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The KMS key ID.

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

                  Details about the configuration for encryption at rest for the OpenSearch domain.

                  " + } + }, + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainLogPublishingOption": { + "type": "structure", + "members": { + "CloudWatchLogsLogGroupArn": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The ARN of the CloudWatch Logs group to publish the logs to.

                  " } }, - "Message": { - "target": "com.amazonaws.securityhub#NonEmptyString", + "Enabled": { + "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#documentation": "

                  The error message.

                  " + "smithy.api#documentation": "

                  Whether the log publishing is enabled.

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

                  Error messages for environment variables that could not be applied.

                  " + "smithy.api#documentation": "

                  Configuration details for a log publishing option.

                  " } }, - "com.amazonaws.securityhub#AwsLambdaFunctionLayer": { + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainLogPublishingOptionsDetails": { "type": "structure", "members": { - "Arn": { - "target": "com.amazonaws.securityhub#NonEmptyString", + "IndexSlowLogs": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainLogPublishingOption", "traits": { - "smithy.api#documentation": "

                  The ARN of the function layer.

                  " + "smithy.api#documentation": "

                  Configures the OpenSearch index logs publishing.

                  " } }, - "CodeSize": { - "target": "com.amazonaws.securityhub#Integer", + "SearchSlowLogs": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainLogPublishingOption", "traits": { - "smithy.api#documentation": "

                  The size of the layer archive in bytes.

                  " + "smithy.api#documentation": "

                  Configures the OpenSearch search slow log publishing.

                  " + } + }, + "AuditLogs": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainLogPublishingOption", + "traits": { + "smithy.api#documentation": "

                  Configures the OpenSearch audit logs publishing.

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

                  An Lambda layer.

                  " + "smithy.api#documentation": "

                  Configures the CloudWatch Logs to publish for the OpenSearch domain.

                  " } }, - "com.amazonaws.securityhub#AwsLambdaFunctionLayerList": { - "type": "list", - "member": { - "target": "com.amazonaws.securityhub#AwsLambdaFunctionLayer" - } - }, - "com.amazonaws.securityhub#AwsLambdaFunctionTracingConfig": { + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails": { "type": "structure", "members": { - "Mode": { - "target": "com.amazonaws.securityhub#NonEmptyString", + "Enabled": { + "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#documentation": "

                  The tracing mode.

                  " + "smithy.api#documentation": "

                  Whether node-to-node encryption is enabled.

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

                  The function's X-Ray tracing configuration.

                  " + "smithy.api#documentation": "

                  Provides details about the configuration for node-to-node encryption.

                  " } }, - "com.amazonaws.securityhub#AwsLambdaFunctionVpcConfig": { + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails": { "type": "structure", "members": { - "SecurityGroupIds": { - "target": "com.amazonaws.securityhub#NonEmptyStringList", + "AutomatedUpdateDate": { + "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  A list of VPC security groups IDs.

                  " + "smithy.api#documentation": "

                  The epoch time when the deployment window closes for required updates. After this time, OpenSearch Service schedules the software upgrade automatically.

                  " } }, - "SubnetIds": { - "target": "com.amazonaws.securityhub#NonEmptyStringList", + "Cancellable": { + "target": "com.amazonaws.securityhub#Boolean", "traits": { - "smithy.api#documentation": "

                  A list of VPC subnet IDs.

                  " + "smithy.api#documentation": "

                  Whether a request to update the domain can be canceled.

                  " } }, - "VpcId": { + "CurrentVersion": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { - "smithy.api#documentation": "

                  The ID of the VPC.

                  " + "smithy.api#documentation": "

                  The version of the service software that is currently installed on the domain.

                  " + } + }, + "Description": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  A more detailed description of the service software status.

                  " + } + }, + "NewVersion": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The most recent version of the service software.

                  " + } + }, + "UpdateAvailable": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether a service software update is available for the domain.

                  " + } + }, + "UpdateStatus": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The status of the service software update.

                  " + } + }, + "OptionalDeployment": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether the service software update is optional.

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

                  The VPC security groups and subnets that are attached to a Lambda function.

                  " + "smithy.api#documentation": "

                  Provides information about the state of the domain relative to the latest service software.

                  " } }, - "com.amazonaws.securityhub#AwsLambdaLayerVersionDetails": { + "com.amazonaws.securityhub#AwsOpenSearchServiceDomainVpcOptionsDetails": { "type": "structure", "members": { - "Version": { - "target": "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber", - "traits": { - "smithy.api#documentation": "

                  The version number.

                  " - } - }, - "CompatibleRuntimes": { + "SecurityGroupIds": { "target": "com.amazonaws.securityhub#NonEmptyStringList", "traits": { - "smithy.api#documentation": "

                  The layer's compatible runtimes. Maximum number of five items.

                  \n

                  Valid values: nodejs10.x | nodejs12.x | java8 |\n java11 | python2.7 | python3.6 |\n python3.7 | python3.8 | dotnetcore1.0 |\n dotnetcore2.1 | go1.x | ruby2.5 |\n provided\n

                  " + "smithy.api#documentation": "

                  The list of security group IDs that are associated with the VPC endpoints for the domain.

                  " } }, - "CreatedDate": { - "target": "com.amazonaws.securityhub#NonEmptyString", + "SubnetIds": { + "target": "com.amazonaws.securityhub#NonEmptyStringList", "traits": { - "smithy.api#documentation": "

                  Indicates when the version 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.

                  " + "smithy.api#documentation": "

                  A list of subnet IDs that are associated with the VPC endpoints for the domain.

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

                  Details about a Lambda layer version.

                  " + "smithy.api#documentation": "

                  Contains information that OpenSearch Service derives based on the VPCOptions for the domain.

                  " } }, - "com.amazonaws.securityhub#AwsLambdaLayerVersionNumber": { - "type": "long" - }, "com.amazonaws.securityhub#AwsRdsDbClusterAssociatedRole": { "type": "structure", "members": { @@ -10234,6 +11180,12 @@ "smithy.api#documentation": "

                  The display name of the owner of the S3 bucket.

                  " } }, + "OwnerAccountId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The Amazon Web Services account identifier of the account that owns the S3 bucket.

                  " + } + }, "CreatedAt": { "target": "com.amazonaws.securityhub#NonEmptyString", "traits": { @@ -11842,6 +12794,158 @@ "smithy.api#documentation": "

                  Provides information about the state of a patch on an instance based on the patch\n baseline that was used to patch the instance.

                  " } }, + "com.amazonaws.securityhub#AwsWafRateBasedRuleDetails": { + "type": "structure", + "members": { + "MetricName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the metrics for the rate-based rule.

                  " + } + }, + "Name": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the rate-based rule.

                  " + } + }, + "RateKey": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.

                  " + } + }, + "RateLimit": { + "target": "com.amazonaws.securityhub#Long", + "traits": { + "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.

                  " + } + }, + "RuleId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The unique identifier for the rate-based rule.

                  " + } + }, + "MatchPredicates": { + "target": "com.amazonaws.securityhub#AwsWafRateBasedRuleMatchPredicateList", + "traits": { + "smithy.api#documentation": "

                  The predicates to include in the rate-based rule.

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

                  Details about a rate-based rule for global resources. A rate-based rule provides settings to indicate when to allow, block, or count a request. Rate-based rules include the number of requests that arrive over a specified period of time.

                  " + } + }, + "com.amazonaws.securityhub#AwsWafRateBasedRuleMatchPredicate": { + "type": "structure", + "members": { + "DataId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The unique identifier for the predicate.

                  " + } + }, + "Negated": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "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

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

                  The type of predicate.

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

                  A match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.

                  " + } + }, + "com.amazonaws.securityhub#AwsWafRateBasedRuleMatchPredicateList": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsWafRateBasedRuleMatchPredicate" + } + }, + "com.amazonaws.securityhub#AwsWafRegionalRateBasedRuleDetails": { + "type": "structure", + "members": { + "MetricName": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the metrics for the rate-based rule.

                  " + } + }, + "Name": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The name of the rate-based rule.

                  " + } + }, + "RateKey": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The field that WAF uses to determine whether requests are likely arriving from single source and are subject to rate monitoring.

                  " + } + }, + "RateLimit": { + "target": "com.amazonaws.securityhub#Long", + "traits": { + "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.

                  " + } + }, + "RuleId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The unique identifier for the rate-based rule.

                  " + } + }, + "MatchPredicates": { + "target": "com.amazonaws.securityhub#AwsWafRegionalRateBasedRuleMatchPredicateList", + "traits": { + "smithy.api#documentation": "

                  The predicates to include in the rate-based rule.

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

                  contains details about a rate-based rule for Regional resources. A rate-based rule provides settings to indicate when to allow, block, or count a request. Rate-based rules include the number of requests that arrive over a specified period of time.

                  " + } + }, + "com.amazonaws.securityhub#AwsWafRegionalRateBasedRuleMatchPredicate": { + "type": "structure", + "members": { + "DataId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The unique identifier for the predicate.

                  " + } + }, + "Negated": { + "target": "com.amazonaws.securityhub#Boolean", + "traits": { + "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.

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

                  The type of predicate.

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

                  Details for a match predicate. A predicate might look for characteristics such as specific IP addresses, geographic locations, or sizes.

                  " + } + }, + "com.amazonaws.securityhub#AwsWafRegionalRateBasedRuleMatchPredicateList": { + "type": "list", + "member": { + "target": "com.amazonaws.securityhub#AwsWafRegionalRateBasedRuleMatchPredicate" + } + }, "com.amazonaws.securityhub#AwsWafWebAclDetails": { "type": "structure", "members": { @@ -11924,6 +13028,32 @@ "target": "com.amazonaws.securityhub#AwsWafWebAclRule" } }, + "com.amazonaws.securityhub#AwsXrayEncryptionConfigDetails": { + "type": "structure", + "members": { + "KeyId": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The identifier of the KMS key that is used for encryption. Provided if Type is KMS.

                  " + } + }, + "Status": { + "target": "com.amazonaws.securityhub#NonEmptyString", + "traits": { + "smithy.api#documentation": "

                  The current status of the encryption configuration. When Status is UPDATING, X-Ray might use both the old and new encryption.

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

                  The type of encryption. KMS indicates that the encryption uses KMS keys. NONE indicates to use the default encryption.

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

                  Information about the encryption configuration for X-Ray.

                  " + } + }, "com.amazonaws.securityhub#BatchDisableStandards": { "type": "operation", "input": { @@ -12703,7 +13833,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Creates a member association in Security Hub between the specified accounts and the account\n used to make the request, which is the administrator account. If you are integrated with\n Organizations, then the administrator account is designated by the organization management account.

                  \n

                  \n CreateMembers is always used to add accounts that are not organization\n members.

                  \n

                  For accounts that are managed using Organizations, CreateMembers is only used\n in the following cases:

                  \n
                    \n
                  • \n

                    Security Hub is not configured to automatically add new organization accounts.

                    \n
                  • \n
                  • \n

                    The account was disassociated or deleted in Security Hub.

                    \n
                  • \n
                  \n

                  This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you\n can use the EnableSecurityHub operation.

                  \n

                  For accounts that are not organization members, you create the account association and\n then send an invitation to the member account. To send the invitation, you use the\n InviteMembers operation. If the account owner accepts\n the invitation, the account becomes a member account in Security Hub.

                  \n

                  Accounts that are managed using Organizations do not receive an invitation. They\n automatically become a member account in Security Hub, and Security Hub is automatically enabled for those accounts. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.

                  \n

                  A permissions policy is added that permits the administrator account to view the findings\n generated in the member account. When Security Hub is enabled in a member account, the member account findings are\n also visible to the administrator account.

                  \n

                  To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

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

                  Creates a member association in Security Hub between the specified accounts and the account\n used to make the request, which is the administrator account. If you are integrated with\n Organizations, then the administrator account is designated by the organization management account.

                  \n

                  \n CreateMembers is always used to add accounts that are not organization\n members.

                  \n

                  For accounts that are managed using Organizations, CreateMembers is only used\n in the following cases:

                  \n
                    \n
                  • \n

                    Security Hub is not configured to automatically add new organization accounts.

                    \n
                  • \n
                  • \n

                    The account was disassociated or deleted in Security Hub.

                    \n
                  • \n
                  \n

                  This action can only be used by an account that has Security Hub enabled. To enable Security Hub, you\n can use the EnableSecurityHub operation.

                  \n

                  For accounts that are not organization members, you create the account association and\n then send an invitation to the member account. To send the invitation, you use the\n InviteMembers operation. If the account owner accepts\n the invitation, the account becomes a member account in Security Hub.

                  \n

                  Accounts that are managed using Organizations do not receive an invitation. They\n automatically become a member account in Security Hub.

                  \n
                    \n
                  • \n

                    If the organization account does not have Security Hub enabled, then Security Hub and the default standards are automatically enabled. Note that Security Hub cannot be enabled automatically for the organization management account. The organization management account must enable Security Hub before the administrator account enables it as a member account.

                    \n
                  • \n
                  • \n

                    For organization accounts that already have Security Hub enabled, Security Hub does not make any other changes to those accounts. It does not change their enabled standards or controls.

                    \n
                  • \n
                  \n \n

                  A permissions policy is added that permits the administrator account to view the findings\n generated in the member account.

                  \n

                  To remove the association between the administrator and member accounts, use the DisassociateFromMasterAccount or DisassociateMembers operation.

                  ", "smithy.api#http": { "method": "POST", "uri": "/members", @@ -16994,7 +18124,49 @@ "AwsEcrContainerImage": { "target": "com.amazonaws.securityhub#AwsEcrContainerImageDetails", "traits": { - "smithy.api#documentation": "

                  information about an Amazon ECR image.

                  " + "smithy.api#documentation": "

                  Information about an Amazon ECR image.

                  " + } + }, + "AwsOpenSearchServiceDomain": { + "target": "com.amazonaws.securityhub#AwsOpenSearchServiceDomainDetails", + "traits": { + "smithy.api#documentation": "

                  Details about an Amazon OpenSearch Service domain.

                  " + } + }, + "AwsEc2VpcEndpointService": { + "target": "com.amazonaws.securityhub#AwsEc2VpcEndpointServiceDetails", + "traits": { + "smithy.api#documentation": "

                  Details about the service configuration for a VPC endpoint service.

                  " + } + }, + "AwsXrayEncryptionConfig": { + "target": "com.amazonaws.securityhub#AwsXrayEncryptionConfigDetails", + "traits": { + "smithy.api#documentation": "

                  Information about the encryption configuration for X-Ray.

                  " + } + }, + "AwsWafRateBasedRule": { + "target": "com.amazonaws.securityhub#AwsWafRateBasedRuleDetails", + "traits": { + "smithy.api#documentation": "

                  Details about a rate-based rule for global resources.

                  " + } + }, + "AwsWafRegionalRateBasedRule": { + "target": "com.amazonaws.securityhub#AwsWafRegionalRateBasedRuleDetails", + "traits": { + "smithy.api#documentation": "

                  Details about a rate-based rule for Regional resources.

                  " + } + }, + "AwsEcrRepository": { + "target": "com.amazonaws.securityhub#AwsEcrRepositoryDetails", + "traits": { + "smithy.api#documentation": "

                  Information about an Amazon Elastic Container Registry repository.

                  " + } + }, + "AwsEksCluster": { + "target": "com.amazonaws.securityhub#AwsEksClusterDetails", + "traits": { + "smithy.api#documentation": "

                  Details about an Amazon EKS cluster.

                  " } } }, diff --git a/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json b/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json index ca307b2a98e4..0d97cd040aa4 100644 --- a/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json +++ b/codegen/sdk-codegen/aws-models/storage-gateway.2013-06-30.json @@ -46,7 +46,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Activates the gateway you previously deployed on your host. In the activation process,\n you specify information such as the Region that you want to use for storing snapshots\n or tapes, the time zone for scheduled snapshots the gateway snapshot schedule window, an\n activation key, and a name for your gateway. The activation process also associates your\n gateway with your account. For more information, see UpdateGatewayInformation.

                  \n \n

                  You must turn on the gateway VM before you can activate your gateway.

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

                  Activates the gateway you previously deployed on your host. In the activation process,\n you specify information such as the Amazon Web Services Region that you want to use for\n storing snapshots or tapes, the time zone for scheduled snapshots the gateway snapshot\n schedule window, an activation key, and a name for your gateway. The activation process\n also associates your gateway with your account. For more information, see UpdateGatewayInformation.

                  \n \n

                  You must turn on the gateway VM before you can activate your gateway.

                  \n
                  " } }, "com.amazonaws.storagegateway#ActivateGatewayInput": { @@ -55,7 +55,7 @@ "ActivationKey": { "target": "com.amazonaws.storagegateway#ActivationKey", "traits": { - "smithy.api#documentation": "

                  Your gateway activation key. You can obtain the activation key by sending an HTTP GET\n request with redirects enabled to the gateway IP address (port 80). The redirect URL\n returned in the response provides you the activation key for your gateway in the query\n string parameter activationKey. It may also include other activation-related\n parameters, however, these are merely defaults -- the arguments you pass to the\n ActivateGateway API call determine the actual configuration of your\n gateway.

                  \n\n \n\n

                  For more information, see Getting activation\n key in the Storage Gateway User Guide.

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

                  Your gateway activation key. You can obtain the activation key by sending an HTTP GET\n request with redirects enabled to the gateway IP address (port 80). The redirect URL\n returned in the response provides you the activation key for your gateway in the query\n string parameter activationKey. It may also include other activation-related\n parameters, however, these are merely defaults -- the arguments you pass to the\n ActivateGateway API call determine the actual configuration of your\n gateway.

                  \n\n \n\n

                  For more information, see Getting activation\n key in the Storage Gateway User Guide.

                  ", "smithy.api#required": {} } }, @@ -76,14 +76,14 @@ "GatewayRegion": { "target": "com.amazonaws.storagegateway#RegionId", "traits": { - "smithy.api#documentation": "

                  A value that indicates the Region where you want to store your data. \n The gateway Region specified must be the same Region \n as the Region in your Host\n header in the request. For more information about available Regions and endpoints for\n Storage Gateway, see \n Storage Gateway endpoints and quotas in the Amazon Web Services General\n Reference.

                  \n\n

                  Valid Values: See \n Storage Gateway endpoints and quotas in the Amazon Web Services General\n Reference.\n \n

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

                  A value that indicates the Amazon Web Services Region where you want to store your data.\n The gateway Amazon Web Services Region specified must be the same Amazon Web Services Region\n as the Amazon Web Services Region in your Host header in the request. For more\n information about available Amazon Web Services Regions and endpoints for Storage Gateway, see \n Storage Gateway endpoints and quotas in the Amazon Web Services\n General Reference.

                  \n\n

                  Valid Values: See \n Storage Gateway endpoints and quotas in the Amazon Web Services\n General Reference.\n \n

                  ", "smithy.api#required": {} } }, "GatewayType": { "target": "com.amazonaws.storagegateway#GatewayType", "traits": { - "smithy.api#documentation": "

                  A value that defines the type of gateway to activate. The type specified is critical to\n all later functions of the gateway and cannot be changed after activation. The default\n value is CACHED.

                  \n\n

                  Valid Values: STORED | CACHED | VTL |\n FILE_S3 | FILE_FSX_SMB|\n

                  " + "smithy.api#documentation": "

                  A value that defines the type of gateway to activate. The type specified is critical to\n all later functions of the gateway and cannot be changed after activation. The default\n value is CACHED.

                  \n\n

                  Valid Values: STORED | CACHED | VTL |\n FILE_S3 | FILE_FSX_SMB|\n

                  " } }, "TapeDriveType": { @@ -117,7 +117,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Storage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It\n is a string made of information such as your account, gateway name, and Region. This\n ARN is used to reference the gateway in other API operations as well as resource-based\n authorization.

                  \n\n \n

                  For gateways activated prior to September 02, 2015, the gateway ARN contains the\n gateway name rather than the gateway ID. Changing the name of the gateway has no effect\n on the gateway ARN.

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

                  Storage Gateway returns the Amazon Resource Name (ARN) of the activated gateway. It\n is a string made of information such as your account, gateway name, and Amazon Web Services Region. This ARN is used to reference the gateway in other API operations as\n well as resource-based authorization.

                  \n\n \n

                  For gateways activated prior to September 02, 2015, the gateway ARN contains the\n gateway name rather than the gateway ID. Changing the name of the gateway has no effect\n on the gateway ARN.

                  \n
                  " } }, "com.amazonaws.storagegateway#ActivationKey": { @@ -437,7 +437,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Associate an Amazon FSx file system with the FSx File Gateway. After the\n association process is complete, the file shares on the Amazon FSx file system are\n available for access through the gateway. This operation only supports the FSx File\n Gateway type.

                  " + "smithy.api#documentation": "

                  Associate an Amazon FSx file system with the FSx File Gateway. After the\n association process is complete, the file shares on the Amazon FSx file system are\n available for access through the gateway. This operation only supports the FSx File Gateway\n type.

                  " } }, "com.amazonaws.storagegateway#AssociateFileSystemInput": { @@ -446,7 +446,7 @@ "UserName": { "target": "com.amazonaws.storagegateway#DomainUserName", "traits": { - "smithy.api#documentation": "

                  The user name of the user credential that has permission to access the root share D$ of\n the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin\n user group.

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

                  The user name of the user credential that has permission to access the root share D$ of\n the Amazon FSx file system. The user account must belong to the Amazon FSx\n delegated admin user group.

                  ", "smithy.api#required": {} } }, @@ -473,14 +473,14 @@ "LocationARN": { "target": "com.amazonaws.storagegateway#FileSystemLocationARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the\n FSx File Gateway.

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

                  The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with\n the FSx File Gateway.

                  ", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

                  A list of up to 50 tags that can be assigned to the file system association. Each tag is a key-value pair.

                  " + "smithy.api#documentation": "

                  A list of up to 50 tags that can be assigned to the file system association. Each tag is\n a key-value pair.

                  " } }, "AuditDestinationARN": { @@ -495,7 +495,7 @@ "EndpointNetworkConfiguration": { "target": "com.amazonaws.storagegateway#EndpointNetworkConfiguration", "traits": { - "smithy.api#documentation": "

                  Specifies the network configuration information for the gateway associated with the Amazon FSx file system.

                  \n \n

                  If multiple file systems are associated with this gateway, this parameter's IpAddresses field is required.

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

                  Specifies the network configuration information for the gateway associated with the\n Amazon FSx file system.

                  \n \n

                  If multiple file systems are associated with this gateway, this parameter's\n IpAddresses field is required.

                  \n
                  " } } } @@ -647,7 +647,7 @@ "PoolId": { "target": "com.amazonaws.storagegateway#PoolId", "traits": { - "smithy.api#documentation": "

                  The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the Amazon S3 storage class that is associated with the pool. When you\n use your backup application to eject the tape, the tape is archived directly into the\n storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.

                  \n\n

                  Valid Values: GLACIER | DEEP_ARCHIVE\n

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

                  The ID of the pool that you want to add your tape to for archiving. The tape in this\n pool is archived in the Amazon S3 storage class that is associated with the pool.\n When you use your backup application to eject the tape, the tape is archived directly into\n the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the\n pool.

                  \n\n

                  Valid Values: GLACIER | DEEP_ARCHIVE\n

                  ", "smithy.api#required": {} } }, @@ -722,28 +722,28 @@ "StartHourOfDay": { "target": "com.amazonaws.storagegateway#HourOfDay", "traits": { - "smithy.api#documentation": "

                  \n The hour of the day to start the bandwidth rate limit interval.\n

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

                  The hour of the day to start the bandwidth rate limit interval.

                  ", "smithy.api#required": {} } }, "StartMinuteOfHour": { "target": "com.amazonaws.storagegateway#MinuteOfHour", "traits": { - "smithy.api#documentation": "

                  \n The minute of the hour to start the bandwidth rate limit interval.\n The interval begins at the start of that minute. To begin an interval exactly at \n the start of the hour, use the value 0.\n

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

                  The minute of the hour to start the bandwidth rate limit interval. The interval begins\n at the start of that minute. To begin an interval exactly at the start of the hour, use the\n value 0.

                  ", "smithy.api#required": {} } }, "EndHourOfDay": { "target": "com.amazonaws.storagegateway#HourOfDay", "traits": { - "smithy.api#documentation": "

                  \n The hour of the day to end the bandwidth rate limit interval.\n

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

                  The hour of the day to end the bandwidth rate limit interval.

                  ", "smithy.api#required": {} } }, "EndMinuteOfHour": { "target": "com.amazonaws.storagegateway#MinuteOfHour", "traits": { - "smithy.api#documentation": "

                  \n The minute of the hour to end the bandwidth rate limit interval.\n

                  \n \n \n

                  \n The bandwidth rate limit interval ends at the end of the minute. To end an interval\n at the end of an hour, use the value 59.\n

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

                  The minute of the hour to end the bandwidth rate limit interval.

                  \n\n \n

                  The bandwidth rate limit interval ends at the end of the minute. To end an interval\n at the end of an hour, use the value 59.

                  \n
                  ", "smithy.api#required": {} } }, @@ -757,18 +757,18 @@ "AverageUploadRateLimitInBitsPerSec": { "target": "com.amazonaws.storagegateway#BandwidthUploadRateLimit", "traits": { - "smithy.api#documentation": "

                  \n The average upload rate limit component of the bandwidth rate limit interval,\n in bits per second. This field does not appear in the response if the upload rate limit is not set. \n

                  " + "smithy.api#documentation": "

                  The average upload rate limit component of the bandwidth rate limit interval, in bits\n per second. This field does not appear in the response if the upload rate limit is not set.\n

                  " } }, "AverageDownloadRateLimitInBitsPerSec": { "target": "com.amazonaws.storagegateway#BandwidthDownloadRateLimit", "traits": { - "smithy.api#documentation": "

                  \n The average download rate limit component of the bandwidth rate limit interval, \n in bits per second. This field does not appear in the response if the download rate limit is not set. \n

                  " + "smithy.api#documentation": "

                  The average download rate limit component of the bandwidth rate limit interval, in bits\n per second. This field does not appear in the response if the download rate limit is not\n set.

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

                  \n Describes a bandwidth rate limit interval for a gateway. A bandwidth\n rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit\n interval defines a period of time on one or more days of the week, during which bandwidth rate \n limits are specified for uploading, downloading, or both. \n

                  " + "smithy.api#documentation": "

                  Describes a bandwidth rate limit interval for a gateway. A bandwidth rate limit\n schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit\n interval defines a period of time on one or more days of the week, during which bandwidth\n rate limits are specified for uploading, downloading, or both.

                  " } }, "com.amazonaws.storagegateway#BandwidthRateLimitIntervals": { @@ -816,7 +816,7 @@ "CacheStaleTimeoutInSeconds": { "target": "com.amazonaws.storagegateway#CacheStaleTimeoutInSeconds", "traits": { - "smithy.api#documentation": "

                  Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of\n time since the last refresh after which access to the directory would cause the file\n gateway to first refresh that directory's contents from the Amazon S3 bucket or Amazon FSx file system. The TTL\n duration is in seconds.

                  \n\n

                  Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)

                  " + "smithy.api#documentation": "

                  Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of\n time since the last refresh after which access to the directory would cause the file\n gateway to first refresh that directory's contents from the Amazon S3 bucket\n or Amazon FSx file system. The TTL duration is in seconds.

                  \n\n

                  Valid Values:0, 300 to 2,592,000 seconds (5 minutes to 30 days)

                  " } } }, @@ -1182,13 +1182,13 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "Tags": { @@ -1233,7 +1233,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Creates a Network File System (NFS) file share on an existing S3 File Gateway. In Storage\n Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage.\n Storage Gateway exposes file shares using an NFS interface. This operation is only\n supported for S3 File Gateways.

                  \n\n \n

                  S3 File gateway requires Security Token Service (STS) to be activated to enable\n you to create a file share. Make sure STS is activated in the Region you are\n creating your S3 File Gateway in. If STS is not activated in the Region, activate\n it. For information about how to activate STS, see Activating and\n deactivating STS in an Region in the \n Identity and Access Management User Guide.

                  \n\n

                  S3 File Gateways do not support creating hard or symbolic links on a file share.

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

                  Creates a Network File System (NFS) file share on an existing S3 File Gateway. In\n Storage Gateway, a file share is a file system mount point backed by Amazon S3\n cloud storage. Storage Gateway exposes file shares using an NFS interface. This operation\n is only supported for S3 File Gateways.

                  \n\n \n

                  S3 File gateway requires Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure Amazon Web Services STS is\n activated in the Amazon Web Services Region you are creating your S3 File Gateway in. If\n Amazon Web Services STS is not activated in the Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.

                  \n\n

                  S3 File Gateways do not support creating hard or symbolic links on a file\n share.

                  \n
                  " } }, "com.amazonaws.storagegateway#CreateNFSFileShareInput": { @@ -1242,7 +1242,7 @@ "ClientToken": { "target": "com.amazonaws.storagegateway#ClientToken", "traits": { - "smithy.api#documentation": "

                  A unique string value that you supply that is used by S3 File Gateway to ensure idempotent\n file share creation.

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

                  A unique string value that you supply that is used by S3 File Gateway to ensure\n idempotent file share creation.

                  ", "smithy.api#required": {} } }, @@ -1262,33 +1262,33 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "Role": { "target": "com.amazonaws.storagegateway#Role", "traits": { - "smithy.api#documentation": "

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes\n when it accesses the underlying storage.

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

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes when it\n accesses the underlying storage.

                  ", "smithy.api#required": {} } }, "LocationARN": { "target": "com.amazonaws.storagegateway#LocationARN", "traits": { - "smithy.api#documentation": "

                  The ARN of the backend storage used for storing file data. A prefix name can be added to\n the S3 bucket name. It must end with a \"/\".

                  \n \n

                  You can specify a bucket attached to an access point using a complete ARN that includes the\n bucket region as shown:

                  \n

                  \n arn:aws:s3:region:account-id:accesspoint/access-point-name\n \n

                  \n

                  If you specify a bucket attached to an access point, the bucket policy must be\n configured to delegate access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

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

                  A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).

                  \n \n

                  You can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.

                  \n\n

                  Bucket ARN:

                  \n

                  \n arn:aws:s3:::my-bucket/prefix/\n

                  \n\n

                  Access point ARN:

                  \n

                  \n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/\n

                  \n\n

                  If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  \n\n

                  Access point alias:

                  \n

                  \n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias\n

                  \n
                  ", "smithy.api#required": {} } }, "DefaultStorageClass": { "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " + "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " } }, "ObjectACL": { @@ -1300,7 +1300,7 @@ "ClientList": { "target": "com.amazonaws.storagegateway#FileShareClientList", "traits": { - "smithy.api#documentation": "

                  The list of clients that are allowed to access the S3 File Gateway. The list must contain\n either valid IP addresses or valid CIDR blocks.

                  " + "smithy.api#documentation": "

                  The list of clients that are allowed to access the S3 File Gateway. The list must\n contain either valid IP addresses or valid CIDR blocks.

                  " } }, "Squash": { @@ -1336,7 +1336,7 @@ "FileShareName": { "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

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

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN, or if an access point or access point alias is used.

                  \n
                  " } }, "CacheAttributes": { @@ -1354,13 +1354,19 @@ "VPCEndpointDNSName": { "target": "com.amazonaws.storagegateway#DNSHostName", "traits": { - "smithy.api#documentation": "

                  Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to \n Amazon S3.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

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

                  Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to\n Amazon S3.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " } }, "BucketRegion": { "target": "com.amazonaws.storagegateway#RegionId", "traits": { - "smithy.api#documentation": "

                  Specifies the Region of the S3 bucket where the NFS file share stores files.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

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

                  Specifies the Region of the S3 bucket where the NFS file share stores files.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " + } + }, + "AuditDestinationARN": { + "target": "com.amazonaws.storagegateway#AuditDestinationARN", + "traits": { + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the storage used for audit logs.

                  " } } }, @@ -1399,7 +1405,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Creates a Server Message Block (SMB) file share on an existing S3 File Gateway. In Storage\n Gateway, a file share is a file system mount point backed by Amazon S3 cloud storage.\n Storage Gateway exposes file shares using an SMB interface. This operation is only\n supported for S3 File Gateways.

                  \n\n \n

                  S3 File Gateways require Security Token Service (STS) to be activated to enable\n you to create a file share. Make sure that STS is activated in the Region you\n are creating your S3 File Gateway in. If STS is not activated in this Region,\n activate it. For information about how to activate STS, see Activating and\n deactivating STS in an Region in the \n Identity and Access Management User Guide.

                  \n\n

                  File gateways don't support creating hard or symbolic links on a file\n share.

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

                  Creates a Server Message Block (SMB) file share on an existing S3 File Gateway. In\n Storage Gateway, a file share is a file system mount point backed by Amazon S3\n cloud storage. Storage Gateway exposes file shares using an SMB interface. This operation\n is only supported for S3 File Gateways.

                  \n\n \n

                  S3 File Gateways require Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure that Amazon Web Services STS\n is activated in the Amazon Web Services Region you are creating your S3 File Gateway in.\n If Amazon Web Services STS is not activated in this Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.

                  \n\n

                  File gateways don't support creating hard or symbolic links on a file\n share.

                  \n
                  " } }, "com.amazonaws.storagegateway#CreateSMBFileShareInput": { @@ -1408,7 +1414,7 @@ "ClientToken": { "target": "com.amazonaws.storagegateway#ClientToken", "traits": { - "smithy.api#documentation": "

                  A unique string value that you supply that is used by S3 File Gateway to ensure idempotent\n file share creation.

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

                  A unique string value that you supply that is used by S3 File Gateway to ensure\n idempotent file share creation.

                  ", "smithy.api#required": {} } }, @@ -1422,33 +1428,33 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "Role": { "target": "com.amazonaws.storagegateway#Role", "traits": { - "smithy.api#documentation": "

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes\n when it accesses the underlying storage.

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

                  The ARN of the Identity and Access Management (IAM) role that an S3 File Gateway assumes when it\n accesses the underlying storage.

                  ", "smithy.api#required": {} } }, "LocationARN": { "target": "com.amazonaws.storagegateway#LocationARN", "traits": { - "smithy.api#documentation": "

                  The ARN of the backend storage used for storing file data. A prefix name can be added to\n the S3 bucket name. It must end with a \"/\".

                  \n \n

                  You can specify a bucket attached to an access point using a complete ARN that includes the\n bucket region as shown:

                  \n

                  \n arn:aws:s3:region:account-id:accesspoint/access-point-name\n \n

                  \n

                  If you specify a bucket attached to an access point, the bucket policy must be\n configured to delegate access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

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

                  A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).

                  \n \n

                  You can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.

                  \n\n

                  Bucket ARN:

                  \n

                  \n arn:aws:s3:::my-bucket/prefix/\n

                  \n\n

                  Access point ARN:

                  \n

                  \n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/\n

                  \n\n

                  If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  \n\n

                  Access point alias:

                  \n

                  \n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias\n

                  \n
                  ", "smithy.api#required": {} } }, "DefaultStorageClass": { "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " + "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " } }, "ObjectACL": { @@ -1520,7 +1526,7 @@ "CaseSensitivity": { "target": "com.amazonaws.storagegateway#CaseSensitivity", "traits": { - "smithy.api#documentation": "

                  The case of an object name in an Amazon S3 bucket. For ClientSpecified, the\n client determines the case sensitivity. For CaseSensitive, the gateway\n determines the case sensitivity. The default value is ClientSpecified.

                  " + "smithy.api#documentation": "

                  The case of an object name in an Amazon S3 bucket. For\n ClientSpecified, the client determines the case sensitivity. For\n CaseSensitive, the gateway determines the case sensitivity. The default\n value is ClientSpecified.

                  " } }, "Tags": { @@ -1532,7 +1538,7 @@ "FileShareName": { "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

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

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN, or if an access point or access point alias is used.

                  \n
                  " } }, "CacheAttributes": { @@ -1550,19 +1556,19 @@ "VPCEndpointDNSName": { "target": "com.amazonaws.storagegateway#DNSHostName", "traits": { - "smithy.api#documentation": "

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to Amazon S3.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

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

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to\n Amazon S3.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " } }, "BucketRegion": { "target": "com.amazonaws.storagegateway#RegionId", "traits": { - "smithy.api#documentation": "

                  Specifies the Region of the S3 bucket where the SMB file share stores files.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

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

                  Specifies the Region of the S3 bucket where the SMB file share stores files.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " } }, "OplocksEnabled": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  \n \n

                  Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve \n access to files with the same name in different case.

                  \n
                  \n

                  Valid Values: true | false\n

                  " + "smithy.api#documentation": "

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  \n \n

                  Enabling opportunistic locking on case-sensitive shares is not recommended for\n workloads that involve access to files with the same name in different case.

                  \n
                  \n

                  Valid Values: true | false\n

                  " } } }, @@ -1604,7 +1610,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Initiates a snapshot of a volume.

                  \n\n

                  Storage Gateway provides the ability to back up point-in-time snapshots of your data\n to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also import the\n data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2).\n You can take snapshots of your gateway volume on a scheduled or ad hoc basis. This API\n enables you to take an ad hoc snapshot. For more information, see Editing a\n snapshot schedule.

                  \n\n

                  In the CreateSnapshot request, you identify the volume by providing its\n Amazon Resource Name (ARN). You must also provide description for the snapshot. When \n Storage Gateway takes the snapshot of specified volume, the snapshot and description\n appears in the Storage Gateway console. In response, Storage Gateway returns you a\n snapshot ID. You can use this snapshot ID to check the snapshot progress or later use it\n when you want to create a volume from a snapshot. This operation is only supported in\n stored and cached volume gateway type.

                  \n\n \n

                  To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n see DescribeSnapshots\n or DeleteSnapshot in the Amazon Elastic Compute Cloud API\n Reference.

                  \n
                  \n\n \n

                  Volume and snapshot IDs are changing to a longer length ID format. For more\n information, see the important note on the Welcome page.

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

                  Initiates a snapshot of a volume.

                  \n\n

                  Storage Gateway provides the ability to back up point-in-time snapshots of your\n data to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also\n import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute\n Cloud (EC2). You can take snapshots of your gateway volume on a scheduled or ad hoc basis.\n This API enables you to take an ad hoc snapshot. For more information, see Editing a\n snapshot schedule.

                  \n\n

                  In the CreateSnapshot request, you identify the volume by providing its\n Amazon Resource Name (ARN). You must also provide description for the snapshot. When\n Storage Gateway takes the snapshot of specified volume, the snapshot and\n description appears in the Storage Gateway console. In response, Storage Gateway\n returns you a snapshot ID. You can use this snapshot ID to check the snapshot progress or\n later use it when you want to create a volume from a snapshot. This operation is only\n supported in stored and cached volume gateway type.

                  \n\n \n

                  To list or delete a snapshot, you must use the Amazon EC2 API. For more information,\n see DescribeSnapshots\n or DeleteSnapshot in the Amazon Elastic Compute Cloud API\n Reference.

                  \n
                  \n\n \n

                  Volume and snapshot IDs are changing to a longer length ID format. For more\n information, see the important note on the Welcome page.

                  \n
                  " } }, "com.amazonaws.storagegateway#CreateSnapshotFromVolumeRecoveryPoint": { @@ -1792,13 +1798,13 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "Tags": { @@ -1878,7 +1884,7 @@ "RetentionLockType": { "target": "com.amazonaws.storagegateway#RetentionLockType", "traits": { - "smithy.api#documentation": "

                  Tape retention lock can be configured in two modes. When configured in governance mode,\n accounts with specific IAM permissions are authorized to remove the tape retention lock\n from archived virtual tapes. When configured in compliance mode, the tape retention lock\n cannot be removed by any user, including the root account.

                  " + "smithy.api#documentation": "

                  Tape retention lock can be configured in two modes. When configured in governance mode,\n Amazon Web Services accounts with specific IAM permissions are authorized to remove the\n tape retention lock from archived virtual tapes. When configured in compliance mode, the\n tape retention lock cannot be removed by any user, including the root Amazon Web Services account.

                  " } }, "RetentionLockTimeInDays": { @@ -1901,7 +1907,7 @@ "PoolARN": { "target": "com.amazonaws.storagegateway#PoolARN", "traits": { - "smithy.api#documentation": "

                  The unique Amazon Resource Name (ARN) that represents the custom tape pool. Use the\n ListTapePools operation to return a list of tape pools for your\n account and Region.

                  " + "smithy.api#documentation": "

                  The unique Amazon Resource Name (ARN) that represents the custom tape pool. Use the\n ListTapePools operation to return a list of tape pools for your\n account and Amazon Web Services Region.

                  " } } } @@ -1932,7 +1938,7 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

                  The unique Amazon Resource Name (ARN) that represents the gateway to associate the\n virtual tape with. Use the ListGateways operation to return a list of\n gateways for your account and Region.

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

                  The unique Amazon Resource Name (ARN) that represents the gateway to associate the\n virtual tape with. Use the ListGateways operation to return a list of\n gateways for your account and Amazon Web Services Region.

                  ", "smithy.api#required": {} } }, @@ -1953,13 +1959,13 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "PoolId": { @@ -2025,7 +2031,7 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

                  The unique Amazon Resource Name (ARN) that represents the gateway to associate the\n virtual tapes with. Use the ListGateways operation to return a list of\n gateways for your account and Region.

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

                  The unique Amazon Resource Name (ARN) that represents the gateway to associate the\n virtual tapes with. Use the ListGateways operation to return a list of\n gateways for your account and Amazon Web Services Region.

                  ", "smithy.api#required": {} } }, @@ -2060,13 +2066,13 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "PoolId": { @@ -2321,7 +2327,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Deletes a file share from an S3 File Gateway. This operation is only supported for S3 File\n Gateways.

                  " + "smithy.api#documentation": "

                  Deletes a file share from an S3 File Gateway. This operation is only supported for S3\n File Gateways.

                  " } }, "com.amazonaws.storagegateway#DeleteFileShareInput": { @@ -2337,7 +2343,7 @@ "ForceDelete": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "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 not deleted\n until all data is uploaded to Amazon Web Services. This process aborts the data upload process, and the\n file share enters the FORCE_DELETING status.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } } }, @@ -2528,7 +2534,7 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

                  The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is\n associated with. Use the ListGateways operation to return a list of\n gateways for your account and Region.

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

                  The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is\n associated with. Use the ListGateways operation to return a list of\n gateways for your account and Amazon Web Services Region.

                  ", "smithy.api#required": {} } }, @@ -2790,7 +2796,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  \n Returns information about the bandwidth rate limit schedule of a gateway. By default, gateways do \n not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. This \n operation is supported only in the volume and tape gateway types.\n

                  \n \n

                  This operation returns information about a gateway's bandwidth rate limit schedule. A bandwidth\n rate limit schedule consists of one or more bandwidth rate limit intervals. A bandwidth rate limit\n interval defines a period of time on one or more days of the week, during which bandwidth rate \n limits are specified for uploading, downloading, or both. \n

                  \n \n

                  \n A bandwidth rate limit interval consists of one or more days of the week, a start hour and minute, \n an ending hour and minute, and bandwidth rate limits for uploading and downloading\n

                  \n \n

                  \n If no bandwidth rate limit schedule intervals are set for the gateway, this operation returns an \n empty response. To specify which gateway to describe, use the Amazon Resource Name (ARN)\n of the gateway in your request.

                  " + "smithy.api#documentation": "

                  Returns information about the bandwidth rate limit schedule of a gateway. By default,\n gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting\n is in effect. This operation is supported only in the volume and tape gateway types.

                  \n\n

                  This operation returns information about a gateway's bandwidth rate limit schedule. A\n bandwidth rate limit schedule consists of one or more bandwidth rate limit intervals. A\n bandwidth rate limit interval defines a period of time on one or more days of the week,\n during which bandwidth rate limits are specified for uploading, downloading, or both.

                  \n\n

                  A bandwidth rate limit interval consists of one or more days of the week, a start hour\n and minute, an ending hour and minute, and bandwidth rate limits for uploading and\n downloading

                  \n\n

                  If no bandwidth rate limit schedule intervals are set for the gateway, this operation\n returns an empty response. To specify which gateway to describe, use the Amazon Resource\n Name (ARN) of the gateway in your request.

                  " } }, "com.amazonaws.storagegateway#DescribeBandwidthRateLimitScheduleInput": { @@ -2813,7 +2819,7 @@ "BandwidthRateLimitIntervals": { "target": "com.amazonaws.storagegateway#BandwidthRateLimitIntervals", "traits": { - "smithy.api#documentation": "

                  \n An array that contains the bandwidth rate limit intervals for a tape or volume gateway.\n

                  " + "smithy.api#documentation": "

                  An array that contains the bandwidth rate limit intervals for a tape or volume gateway.

                  " } } } @@ -2876,7 +2882,7 @@ "CacheDirtyPercentage": { "target": "com.amazonaws.storagegateway#double", "traits": { - "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 reporting\n period.

                  " + "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": { @@ -2910,7 +2916,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Returns a description of the gateway volumes specified in the request. This operation is\n only supported in the cached volume gateway types.

                  \n\n

                  The list of gateway volumes in the request must be from one gateway. In the response,\n Storage Gateway returns volume information sorted by volume Amazon Resource Name\n (ARN).

                  " + "smithy.api#documentation": "

                  Returns a description of the gateway volumes specified in the request. This operation is\n only supported in the cached volume gateway types.

                  \n\n

                  The list of gateway volumes in the request must be from one gateway. In the response,\n Storage Gateway returns volume information sorted by volume Amazon Resource Name\n (ARN).

                  " } }, "com.amazonaws.storagegateway#DescribeCachediSCSIVolumesInput": { @@ -3005,7 +3011,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Gets the file system association information. This operation is only supported for\n FSx File Gateways.

                  " + "smithy.api#documentation": "

                  Gets the file system association information. This operation is only supported for FSx\n File Gateways.

                  " } }, "com.amazonaws.storagegateway#DescribeFileSystemAssociationsInput": { @@ -3014,7 +3020,7 @@ "FileSystemAssociationARNList": { "target": "com.amazonaws.storagegateway#FileSystemAssociationARNList", "traits": { - "smithy.api#documentation": "

                  An array containing the Amazon Resource Name (ARN) of each file system association to be described.

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

                  An array containing the Amazon Resource Name (ARN) of each file system association to be\n described.

                  ", "smithy.api#required": {} } } @@ -3026,7 +3032,7 @@ "FileSystemAssociationInfoList": { "target": "com.amazonaws.storagegateway#FileSystemAssociationInfoList", "traits": { - "smithy.api#documentation": "

                  An array containing the FileSystemAssociationInfo data type of each file system association to be described. \n

                  " + "smithy.api#documentation": "

                  An array containing the FileSystemAssociationInfo data type of each file\n system association to be described.\n

                  " } } } @@ -3128,7 +3134,7 @@ "Ec2InstanceRegion": { "target": "com.amazonaws.storagegateway#Ec2InstanceRegion", "traits": { - "smithy.api#documentation": "

                  The Region where the Amazon EC2 instance is located.

                  " + "smithy.api#documentation": "

                  The Amazon Web Services Region where the Amazon EC2 instance is located.

                  " } }, "Tags": { @@ -3182,7 +3188,7 @@ "SupportedGatewayCapacities": { "target": "com.amazonaws.storagegateway#SupportedGatewayCapacities", "traits": { - "smithy.api#documentation": "

                  A list of the metadata cache sizes that the gateway can support based on its current hardware specifications.

                  " + "smithy.api#documentation": "

                  A list of the metadata cache sizes that the gateway can support based on its current\n hardware specifications.

                  " } } }, @@ -3421,13 +3427,19 @@ "SMBSecurityStrategy": { "target": "com.amazonaws.storagegateway#SMBSecurityStrategy", "traits": { - "smithy.api#documentation": "

                  The type of security strategy that was specified for file gateway.

                  \n\n
                    \n
                  • \n

                    \n ClientSpecified: If you use this option, requests are established\n based on what is negotiated by the client. This option is recommended when you want\n to maximize compatibility across different clients in your environment. Only supported for S3 File Gateways.

                    \n
                  • \n
                  • \n

                    \n MandatorySigning: If you use this option, file gateway only allows\n connections from SMBv2 or SMBv3 clients that have signing enabled. This option works\n with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

                    \n
                  • \n
                  • \n

                    \n MandatoryEncryption: If you use this option, file gateway only allows\n connections from SMBv3 clients that have encryption enabled. This option is highly\n recommended for environments that handle sensitive data. This option works with SMB\n clients on Microsoft Windows 8, Windows Server 2012 or newer.

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

                  The type of security strategy that was specified for file gateway.

                  \n\n
                    \n
                  • \n

                    \n ClientSpecified: If you use this option, requests are established\n based on what is negotiated by the client. This option is recommended when you want\n to maximize compatibility across different clients in your environment. Only\n supported for S3 File Gateways.

                    \n
                  • \n
                  • \n

                    \n MandatorySigning: If you use this option, file gateway only allows\n connections from SMBv2 or SMBv3 clients that have signing enabled. This option works\n with SMB clients on Microsoft Windows Vista, Windows Server 2008 or newer.

                    \n
                  • \n
                  • \n

                    \n MandatoryEncryption: If you use this option, file gateway only allows\n connections from SMBv3 clients that have encryption enabled. This option is highly\n recommended for environments that handle sensitive data. This option works with SMB\n clients on Microsoft Windows 8, Windows Server 2012 or newer.

                    \n
                  • \n
                  " } }, "FileSharesVisible": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  The shares on this gateway appear when listing shares. Only supported for S3 File Gateways.

                  " + "smithy.api#documentation": "

                  The shares on this gateway appear when listing shares. Only supported for S3 File\n Gateways.

                  " + } + }, + "SMBLocalGroups": { + "target": "com.amazonaws.storagegateway#SMBLocalGroups", + "traits": { + "smithy.api#documentation": "

                  A list of Active Directory users and groups that have special permissions for SMB file\n shares on the gateway.

                  " } } } @@ -3525,7 +3537,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Returns the description of the gateway volumes specified in the request. The list of\n gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only supported\n in stored volume gateway type.

                  " + "smithy.api#documentation": "

                  Returns the description of the gateway volumes specified in the request. The list of\n gateway volumes in the request must be from one gateway. In the response, Storage Gateway returns volume information sorted by volume ARNs. This operation is only\n supported in stored volume gateway type.

                  " } }, "com.amazonaws.storagegateway#DescribeStorediSCSIVolumesInput": { @@ -4150,7 +4162,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Disassociates an Amazon FSx file system from the specified gateway. After the\n disassociation process finishes, the gateway can no longer access the Amazon FSx file\n system. This operation is only supported in the FSx File Gateway type.

                  " + "smithy.api#documentation": "

                  Disassociates an Amazon FSx file system from the specified gateway. After the\n disassociation process finishes, the gateway can no longer access the Amazon FSx\n file system. This operation is only supported in the FSx File Gateway type.

                  " } }, "com.amazonaws.storagegateway#DisassociateFileSystemInput": { @@ -4166,7 +4178,7 @@ "ForceDelete": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

                  If this value is set to true, the operation disassociates an Amazon FSx file system\n immediately. It ends all data uploads to the file system, and the file system association\n enters the FORCE_DELETING status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.

                  " + "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.

                  " } } } @@ -4292,7 +4304,7 @@ "min": 1, "max": 1024 }, - "smithy.api#pattern": "^([a-z0-9]+(-[a-z0-9]+)*\\.)+[a-z]{2,}$" + "smithy.api#pattern": "^([a-zA-Z0-9]+[\\\\.-])+([a-zA-Z0-9])+$" } }, "com.amazonaws.storagegateway#DomainUserName": { @@ -4334,12 +4346,12 @@ "IpAddresses": { "target": "com.amazonaws.storagegateway#IpAddressList", "traits": { - "smithy.api#documentation": "

                  A list of gateway IP addresses on which the associated Amazon FSx file system is available.

                  \n \n

                  If multiple file systems are associated with this gateway, this field is required.

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

                  A list of gateway IP addresses on which the associated Amazon FSx file system is\n available.

                  \n \n

                  If multiple file systems are associated with this gateway, this field is\n required.

                  \n
                  " } } }, "traits": { - "smithy.api#documentation": "

                  Specifies network configuration information for the gateway associated with the \n Amazon FSx file system.

                  " + "smithy.api#documentation": "

                  Specifies network configuration information for the gateway associated with the Amazon FSx file system.

                  " } }, "com.amazonaws.storagegateway#EndpointType": { @@ -4634,7 +4646,7 @@ "target": "com.amazonaws.storagegateway#IPV4AddressCIDR" }, "traits": { - "smithy.api#documentation": "

                  The list of clients that are allowed to access the S3 File Gateway. The list must contain\n either valid IP addresses or valid CIDR blocks.

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

                  The list of clients that are allowed to access the S3 File Gateway. The list must\n contain either valid IP addresses or valid CIDR blocks.

                  ", "smithy.api#length": { "min": 1, "max": 100 @@ -4757,13 +4769,13 @@ "LocationARN": { "target": "com.amazonaws.storagegateway#FileSystemLocationARN", "traits": { - "smithy.api#documentation": "

                  The ARN of the backend Amazon FSx file system used for storing file data. For\n information, see FileSystem in the Amazon FSx\n API Reference.

                  " + "smithy.api#documentation": "

                  The ARN of the backend Amazon FSx file system used for storing file data. For\n information, see FileSystem in the\n Amazon FSx API Reference.

                  " } }, "FileSystemAssociationStatus": { "target": "com.amazonaws.storagegateway#FileSystemAssociationStatus", "traits": { - "smithy.api#documentation": "

                  The status of the file system association. \n Valid Values: AVAILABLE | CREATING | DELETING | \n FORCE_DELETING | UPDATING | ERROR\n

                  " + "smithy.api#documentation": "

                  The status of the file system association. Valid Values: AVAILABLE |\n CREATING | DELETING | FORCE_DELETING |\n UPDATING | ERROR\n

                  " } }, "AuditDestinationARN": { @@ -4778,7 +4790,7 @@ "Tags": { "target": "com.amazonaws.storagegateway#Tags", "traits": { - "smithy.api#documentation": "

                  A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key name. Each tag is a key-value pair.

                  " + "smithy.api#documentation": "

                  A list of up to 50 tags assigned to the SMB file share, sorted alphabetically by key\n name. Each tag is a key-value pair.

                  " } }, "CacheAttributes": { @@ -4787,7 +4799,13 @@ "EndpointNetworkConfiguration": { "target": "com.amazonaws.storagegateway#EndpointNetworkConfiguration", "traits": { - "smithy.api#documentation": "

                  Specifies network configuration information for the gateway associated with the \n Amazon FSx file system.

                  \n \n

                  If multiple file systems are associated with this gateway, this parameter's IpAddresses \n field is required.

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

                  Specifies network configuration information for the gateway associated with the Amazon FSx file system.

                  \n \n

                  If multiple file systems are associated with this gateway, this parameter's\n IpAddresses field is required.

                  \n
                  " + } + }, + "FileSystemAssociationStatusDetails": { + "target": "com.amazonaws.storagegateway#FileSystemAssociationStatusDetails", + "traits": { + "smithy.api#documentation": "

                  An array containing the FileSystemAssociationStatusDetail data type, which provides\n detailed information on file system association status.

                  " } } }, @@ -4810,6 +4828,26 @@ } } }, + "com.amazonaws.storagegateway#FileSystemAssociationStatusDetail": { + "type": "structure", + "members": { + "ErrorCode": { + "target": "com.amazonaws.storagegateway#FileSystemAssociationSyncErrorCode", + "traits": { + "smithy.api#documentation": "

                  The error code for a given file system association status.

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

                  Detailed information on file system association status.

                  " + } + }, + "com.amazonaws.storagegateway#FileSystemAssociationStatusDetails": { + "type": "list", + "member": { + "target": "com.amazonaws.storagegateway#FileSystemAssociationStatusDetail" + } + }, "com.amazonaws.storagegateway#FileSystemAssociationSummary": { "type": "structure", "members": { @@ -4828,7 +4866,7 @@ "FileSystemAssociationStatus": { "target": "com.amazonaws.storagegateway#FileSystemAssociationStatus", "traits": { - "smithy.api#documentation": "

                  The status of the file share. Valid Values: AVAILABLE | CREATING | DELETING | \n FORCE_DELETING | UPDATING | ERROR\n

                  " + "smithy.api#documentation": "

                  The status of the file share. Valid Values: AVAILABLE |\n CREATING | DELETING | FORCE_DELETING |\n UPDATING | ERROR\n

                  " } }, "GatewayARN": { @@ -4845,6 +4883,9 @@ "target": "com.amazonaws.storagegateway#FileSystemAssociationSummary" } }, + "com.amazonaws.storagegateway#FileSystemAssociationSyncErrorCode": { + "type": "string" + }, "com.amazonaws.storagegateway#FileSystemLocationARN": { "type": "string", "traits": { @@ -4878,7 +4919,7 @@ "com.amazonaws.storagegateway#GatewayARN": { "type": "string", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Region.

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

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Amazon Web Services Region.

                  ", "smithy.api#length": { "min": 50, "max": 500 @@ -4925,7 +4966,7 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Region.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Amazon Web Services Region.

                  " } }, "GatewayType": { @@ -4955,7 +4996,7 @@ "Ec2InstanceRegion": { "target": "com.amazonaws.storagegateway#Ec2InstanceRegion", "traits": { - "smithy.api#documentation": "

                  The Region where the Amazon EC2 instance is located.

                  " + "smithy.api#documentation": "

                  The Amazon Web Services Region where the Amazon EC2 instance is located.

                  " } } }, @@ -5198,7 +5239,7 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Region.

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

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Amazon Web Services Region.

                  ", "smithy.api#required": {} } }, @@ -5269,7 +5310,7 @@ "com.amazonaws.storagegateway#KMSKey": { "type": "string", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

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

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  ", "smithy.api#length": { "min": 7, "max": 2048 @@ -5342,7 +5383,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Gets a list of the file shares for a specific S3 File Gateway, or the list of file shares\n that belong to the calling user account. This operation is only supported for S3 File Gateways.

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

                  Gets a list of the file shares for a specific S3 File Gateway, or the list of file\n shares that belong to the calling user account. This operation is only supported for S3\n File Gateways.

                  ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "NextMarker", @@ -5438,13 +5479,13 @@ "Limit": { "target": "com.amazonaws.storagegateway#PositiveIntObject", "traits": { - "smithy.api#documentation": "

                  The maximum number of file system associations to return in the response. If present, Limit must be an integer with a value greater than zero. Optional.

                  " + "smithy.api#documentation": "

                  The maximum number of file system associations to return in the response. If present,\n Limit must be an integer with a value greater than zero. Optional.

                  " } }, "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#documentation": "

                  Opaque pagination token returned from a previous ListFileSystemAssociations operation. If present, Marker specifies where to continue the list from after a previous call to ListFileSystemAssociations. Optional.

                  " + "smithy.api#documentation": "

                  Opaque pagination token returned from a previous ListFileSystemAssociations\n operation. If present, Marker specifies where to continue the list from after\n a previous call to ListFileSystemAssociations. Optional.

                  " } } } @@ -5455,19 +5496,19 @@ "Marker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#documentation": "

                  If the request includes Marker, the response returns that value in this field.

                  " + "smithy.api#documentation": "

                  If the request includes Marker, the response returns that value in this\n field.

                  " } }, "NextMarker": { "target": "com.amazonaws.storagegateway#Marker", "traits": { - "smithy.api#documentation": "

                  If a value is present, there are more file system associations to return. \n In a subsequent request, use NextMarker as the value for Marker to retrieve the next set of file system associations.

                  " + "smithy.api#documentation": "

                  If a value is present, there are more file system associations to return. In a\n subsequent request, use NextMarker as the value for Marker to\n retrieve the next set of file system associations.

                  " } }, "FileSystemAssociationSummaryList": { "target": "com.amazonaws.storagegateway#FileSystemAssociationSummaryList", "traits": { - "smithy.api#documentation": "

                  An array of information about the Amazon FSx gateway's file system associations.

                  " + "smithy.api#documentation": "

                  An array of information about the Amazon FSx gateway's file system\n associations.

                  " } } } @@ -5489,7 +5530,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Lists gateways owned by an account in an Region specified in the request. The\n returned list is ordered by gateway Amazon Resource Name (ARN).

                  \n\n

                  By default, the operation returns a maximum of 100 gateways. This operation supports\n pagination that allows you to optionally reduce the number of gateways returned in a\n response.

                  \n\n

                  If you have more gateways than are returned in a response (that is, the response returns\n only a truncated list of your gateways), the response contains a marker that you can\n specify in your next request to fetch the next page of gateways.

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

                  Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region\n specified in the request. The returned list is ordered by gateway Amazon Resource Name\n (ARN).

                  \n\n

                  By default, the operation returns a maximum of 100 gateways. This operation supports\n pagination that allows you to optionally reduce the number of gateways returned in a\n response.

                  \n\n

                  If you have more gateways than are returned in a response (that is, the response returns\n only a truncated list of your gateways), the response contains a marker that you can\n specify in your next request to fetch the next page of gateways.

                  ", "smithy.api#paginated": { "inputToken": "Marker", "outputToken": "Marker", @@ -5974,7 +6015,7 @@ "com.amazonaws.storagegateway#LocationARN": { "type": "string", "traits": { - "smithy.api#documentation": "

                  The ARN of the backend storage used for storing file data. A prefix name can be added to\n the S3 bucket name. It must end with a \"/\".

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

                  A custom ARN for the backend storage used for storing data for file shares. It includes\n a resource ARN with an optional prefix concatenation. The prefix must end with a forward\n slash (/).

                  \n \n

                  You can specify LocationARN as a bucket ARN, access point ARN or access point alias,\n as shown in the following examples.

                  \n\n

                  Bucket ARN:

                  \n

                  \n arn:aws:s3:::my-bucket/prefix/\n

                  \n\n

                  Access point ARN:

                  \n

                  \n arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/\n

                  \n\n

                  If you specify an access point, the bucket policy must be configured to delegate\n access control to the access point. For information, see Delegating access control to access points in the Amazon S3 User Guide.

                  \n\n

                  Access point alias:

                  \n

                  \n test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias\n

                  \n
                  ", "smithy.api#length": { "min": 16, "max": 1400 @@ -6048,7 +6089,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  Describes Network File System (NFS) file share default values. Files and folders stored\n as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions\n assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that\n represent files and folders are assigned these default Unix permissions. This operation is\n only supported for S3 File Gateways.

                  " + "smithy.api#documentation": "

                  Describes Network File System (NFS) file share default values. Files and folders stored\n as Amazon S3 objects in S3 buckets don't, by default, have Unix file\n permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3\n objects that represent files and folders are assigned these default Unix permissions. This\n operation is only supported for S3 File Gateways.

                  " } }, "com.amazonaws.storagegateway#NFSFileShareInfo": { @@ -6072,7 +6113,7 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { @@ -6090,7 +6131,7 @@ "DefaultStorageClass": { "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " + "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " } }, "ObjectACL": { @@ -6129,7 +6170,7 @@ "FileShareName": { "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

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

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN, or if an access point or access point alias is used.

                  \n
                  " } }, "CacheAttributes": { @@ -6147,18 +6188,24 @@ "VPCEndpointDNSName": { "target": "com.amazonaws.storagegateway#DNSHostName", "traits": { - "smithy.api#documentation": "

                  Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a \n VPC access point.

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

                  Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to\n Amazon S3.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " } }, "BucketRegion": { "target": "com.amazonaws.storagegateway#RegionId", "traits": { - "smithy.api#documentation": "

                  Specifies the Region of the S3 bucket where the NFS file share stores files.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a \n VPC access point.

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

                  Specifies the Region of the S3 bucket where the NFS file share stores files.

                  \n \n

                  This parameter is required for NFS file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " + } + }, + "AuditDestinationARN": { + "target": "com.amazonaws.storagegateway#AuditDestinationARN", + "traits": { + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the storage used for audit logs.

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

                  The Unix file permissions and ownership information assigned, by default, to native S3\n objects when an S3 File Gateway discovers them in S3 buckets. This operation is only supported in\n S3 File Gateways.

                  " + "smithy.api#documentation": "

                  The Unix file permissions and ownership information assigned, by default, to native S3\n objects when an S3 File Gateway discovers them in S3 buckets. This operation is only\n supported in S3 File Gateways.

                  " } }, "com.amazonaws.storagegateway#NFSFileShareInfoList": { @@ -6245,7 +6292,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Sends you notification through CloudWatch Events when all files written to your file\n share have been uploaded to Amazon S3.

                  \n\n

                  Storage Gateway can send a notification through Amazon CloudWatch Events when all\n files written to your file share up to that point in time have been uploaded to Amazon S3.\n These files include files written to the file share up to the time that you make a request\n for notification. When the upload is done, Storage Gateway sends you notification through\n an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification\n through event targets such as Amazon SNS or Lambda function. \n This operation is only supported for S3 File Gateways.

                  \n\n \n\n

                  For more information, see Getting file upload notification in the Storage Gateway User\n Guide.

                  " + "smithy.api#documentation": "

                  Sends you notification through CloudWatch Events when all files written to your file\n share have been uploaded to Amazon S3.

                  \n\n

                  Storage Gateway can send a notification through Amazon CloudWatch Events when all\n files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the file share up to the time that you\n make a request for notification. When the upload is done, Storage Gateway sends you\n notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to\n send the notification through event targets such as Amazon SNS or Lambda function. This operation is only supported for S3 File Gateways.

                  \n\n \n\n

                  For more information, see Getting file upload notification in the Storage Gateway User\n Guide.

                  " } }, "com.amazonaws.storagegateway#NotifyWhenUploadedInput": { @@ -6283,7 +6330,7 @@ "com.amazonaws.storagegateway#ObjectACL": { "type": "string", "traits": { - "smithy.api#documentation": "

                  A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that an S3 File Gateway puts objects into. The default value is private.

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

                  A value that sets the access control list (ACL) permission for objects in the S3 bucket\n that an S3 File Gateway puts objects into. The default value is\n private.

                  ", "smithy.api#enum": [ { "value": "private", @@ -6381,7 +6428,7 @@ "PoolARN": { "target": "com.amazonaws.storagegateway#PoolARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your\n account and Region.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the custom tape pool. Use the ListTapePools operation to return a list of custom tape pools for your\n account and Amazon Web Services Region.

                  " } }, "PoolName": { @@ -6399,7 +6446,7 @@ "RetentionLockType": { "target": "com.amazonaws.storagegateway#RetentionLockType", "traits": { - "smithy.api#documentation": "

                  Tape retention lock type, which can be configured in two modes. When configured in\n governance mode, accounts with specific IAM permissions are authorized to remove the\n tape retention lock from archived virtual tapes. When configured in compliance mode, the\n tape retention lock cannot be removed by any user, including the root account.

                  " + "smithy.api#documentation": "

                  Tape retention lock type, which can be configured in two modes. When configured in\n governance mode, Amazon Web Services accounts with specific IAM permissions are authorized\n to remove the tape retention lock from archived virtual tapes. When configured in\n compliance mode, the tape retention lock cannot be removed by any user, including the root\n Amazon Web Services account.

                  " } }, "RetentionLockTimeInDays": { @@ -6486,7 +6533,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Refreshes the cached inventory of objects for the specified file share. This operation\n finds objects in the Amazon S3 bucket that were added, removed, or replaced since the\n gateway last listed the bucket's contents and cached the results. This operation does\n not import files into the S3 File Gateway cache storage. It only updates the cached inventory\n to reflect changes in the inventory of the objects in the S3 bucket. This operation is only\n supported in the S3 File Gateway types.

                  \n

                  You can subscribe to be notified through an Amazon\n CloudWatch event when your RefreshCache operation completes. For more\n information, see Getting notified about file operations in the Storage Gateway\n User Guide. This operation is Only supported for S3 File Gateways.

                  \n\n

                  When this API is called, it only initiates the refresh operation. When the API call\n completes and returns a success code, it doesn't necessarily mean that the file\n refresh has completed. You should use the refresh-complete notification to determine that\n the operation has completed before you check for new files on the gateway file share. You\n can subscribe to be notified through a CloudWatch event when your RefreshCache\n operation completes.

                  \n\n

                  Throttle limit: This API is asynchronous, so the gateway will accept no more than two\n refreshes at any time. We recommend using the refresh-complete CloudWatch event\n notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway\n User Guide.

                  \n\n

                  If you invoke the RefreshCache API when two requests are already being processed, any\n new request will cause an InvalidGatewayRequestException error because too\n many requests were sent to the server.

                  \n\n \n\n

                  For more information, see Getting notified about file operations in the Storage Gateway\n User Guide.

                  " + "smithy.api#documentation": "

                  Refreshes the cached inventory of objects for the specified file share. This operation\n finds objects in the Amazon S3 bucket that were added, removed, or replaced since\n the gateway last listed the bucket's contents and cached the results. This operation\n does not import files into the S3 File Gateway cache storage. It only updates the cached\n inventory to reflect changes in the inventory of the objects in the S3 bucket. This\n operation is only supported in the S3 File Gateway types.

                  \n

                  You can subscribe to be notified through an Amazon CloudWatch event when your\n RefreshCache operation completes. For more information, see Getting notified about file operations in the Storage Gateway\n User Guide. This operation is Only supported for S3 File Gateways.

                  \n\n

                  When this API is called, it only initiates the refresh operation. When the API call\n completes and returns a success code, it doesn't necessarily mean that the file\n refresh has completed. You should use the refresh-complete notification to determine that\n the operation has completed before you check for new files on the gateway file share. You\n can subscribe to be notified through a CloudWatch event when your RefreshCache\n operation completes.

                  \n\n

                  Throttle limit: This API is asynchronous, so the gateway will accept no more than two\n refreshes at any time. We recommend using the refresh-complete CloudWatch event\n notification before issuing additional requests. For more information, see Getting notified about file operations in the Storage Gateway\n User Guide.

                  \n\n

                  If you invoke the RefreshCache API when two requests are already being processed, any\n new request will cause an InvalidGatewayRequestException error because too\n many requests were sent to the server.

                  \n\n \n\n

                  For more information, see Getting notified about file operations in the Storage Gateway\n User Guide.

                  " } }, "com.amazonaws.storagegateway#RefreshCacheInput": { @@ -6502,7 +6549,7 @@ "FolderList": { "target": "com.amazonaws.storagegateway#FolderList", "traits": { - "smithy.api#documentation": "

                  A comma-separated list of the paths of folders to refresh in the cache. The default is\n [\"/\"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3 bucket that\n the file share has access to is refreshed.

                  " + "smithy.api#documentation": "

                  A comma-separated list of the paths of folders to refresh in the cache. The default is\n [\"/\"]. The default refreshes objects and folders at the root of the Amazon S3 bucket. If Recursive is set to true, the entire S3\n bucket that the file share has access to is refreshed.

                  " } }, "Recursive": { @@ -6612,7 +6659,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Resets all cache disks that have encountered an error and makes the disks available for\n reconfiguration as cache storage. If your cache disk encounters an error, the gateway\n prevents read and write operations on virtual tapes in the gateway. For example, an error\n can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the\n gateway loses its cache storage. At this point, you can reconfigure the disks as cache\n disks. This operation is only supported in the cached volume and tape types.

                  \n\n \n

                  If the cache disk you are resetting contains data that has not been uploaded to\n Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no\n configured cache disks left in the gateway, so you must configure at least one new cache\n disk for your gateway to function properly.

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

                  Resets all cache disks that have encountered an error and makes the disks available for\n reconfiguration as cache storage. If your cache disk encounters an error, the gateway\n prevents read and write operations on virtual tapes in the gateway. For example, an error\n can occur when a disk is corrupted or removed from the gateway. When a cache is reset, the\n gateway loses its cache storage. At this point, you can reconfigure the disks as cache\n disks. This operation is only supported in the cached volume and tape types.

                  \n\n \n

                  If the cache disk you are resetting contains data that has not been uploaded to\n Amazon S3 yet, that data can be lost. After you reset cache disks, there will\n be no configured cache disks left in the gateway, so you must configure at least one new\n cache disk for your gateway to function properly.

                  \n
                  " } }, "com.amazonaws.storagegateway#ResetCacheInput": { @@ -6705,7 +6752,7 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to.\n Use the ListGateways operation to return a list of gateways for your\n account and Region.

                  \n\n

                  You retrieve archived virtual tapes to only one gateway and the gateway must be a tape\n gateway.

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

                  The Amazon Resource Name (ARN) of the gateway you want to retrieve the virtual tape to.\n Use the ListGateways operation to return a list of gateways for your\n account and Amazon Web Services Region.

                  \n\n

                  You retrieve archived virtual tapes to only one gateway and the gateway must be a tape\n gateway.

                  ", "smithy.api#required": {} } } @@ -6812,7 +6859,7 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean2", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { @@ -6833,7 +6880,7 @@ "DefaultStorageClass": { "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " + "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " } }, "ObjectACL": { @@ -6899,7 +6946,7 @@ "CaseSensitivity": { "target": "com.amazonaws.storagegateway#CaseSensitivity", "traits": { - "smithy.api#documentation": "

                  The case of an object name in an Amazon S3 bucket. For ClientSpecified, the\n client determines the case sensitivity. For CaseSensitive, the gateway\n determines the case sensitivity. The default value is ClientSpecified.

                  " + "smithy.api#documentation": "

                  The case of an object name in an Amazon S3 bucket. For\n ClientSpecified, the client determines the case sensitivity. For\n CaseSensitive, the gateway determines the case sensitivity. The default\n value is ClientSpecified.

                  " } }, "Tags": { @@ -6911,7 +6958,7 @@ "FileShareName": { "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

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

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN, or if an access point or access point alias is used.

                  \n
                  " } }, "CacheAttributes": { @@ -6929,24 +6976,24 @@ "VPCEndpointDNSName": { "target": "com.amazonaws.storagegateway#DNSHostName", "traits": { - "smithy.api#documentation": "

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to Amazon S3.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

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

                  Specifies the DNS name for the VPC endpoint that the SMB file share uses to connect to\n Amazon S3.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " } }, "BucketRegion": { "target": "com.amazonaws.storagegateway#RegionId", "traits": { - "smithy.api#documentation": "

                  Specifies the Region of the S3 bucket where the SMB file share stores files.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3 \n through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.

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

                  Specifies the Region of the S3 bucket where the SMB file share stores files.

                  \n \n

                  This parameter is required for SMB file shares that connect to Amazon S3\n through a VPC endpoint, a VPC access point, or an access point alias that points to a\n VPC access point.

                  \n
                  " } }, "OplocksEnabled": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  \n \n

                  Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve \n access to files with the same name in different case.

                  \n
                  \n

                  Valid Values: true | false\n

                  " + "smithy.api#documentation": "

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  \n \n

                  Enabling opportunistic locking on case-sensitive shares is not recommended for\n workloads that involve access to files with the same name in different case.

                  \n
                  \n

                  Valid Values: true | false\n

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

                  The Windows file permissions and ownership information assigned, by default, to native\n S3 objects when S3 File Gateway discovers them in S3 buckets. This operation is only supported\n for S3 File Gateways.

                  " + "smithy.api#documentation": "

                  The Windows file permissions and ownership information assigned, by default, to native\n S3 objects when S3 File Gateway discovers them in S3 buckets. This operation is only\n supported for S3 File Gateways.

                  " } }, "com.amazonaws.storagegateway#SMBFileShareInfoList": { @@ -6966,6 +7013,20 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.storagegateway#SMBLocalGroups": { + "type": "structure", + "members": { + "GatewayAdmins": { + "target": "com.amazonaws.storagegateway#UserList", + "traits": { + "smithy.api#documentation": "

                  A list of Active Directory users and groups that have local Gateway Admin permissions.\n Acceptable formats include: DOMAIN\\User1, user1,\n DOMAIN\\group1, and group1.

                  \n

                  Gateway Admins can use the Shared Folders Microsoft Management Console snap-in to\n force-close files that are open and locked.

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

                  A list of Active Directory users and groups that have special permissions for SMB file\n shares on the gateway.

                  " + } + }, "com.amazonaws.storagegateway#SMBSecurityStrategy": { "type": "string", "traits": { @@ -7073,7 +7134,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Sets the password for the guest user smbguest. The smbguest\n user is the user when the authentication method for the file share is set to\n GuestAccess. This operation only supported for S3 File Gateways

                  " + "smithy.api#documentation": "

                  Sets the password for the guest user smbguest. The smbguest\n user is the user when the authentication method for the file share is set to\n GuestAccess. This operation only supported for S3 File Gateways

                  " } }, "com.amazonaws.storagegateway#SetSMBGuestPasswordInput": { @@ -7561,6 +7622,9 @@ { "target": "com.amazonaws.storagegateway#UpdateSMBFileShareVisibility" }, + { + "target": "com.amazonaws.storagegateway#UpdateSMBLocalGroups" + }, { "target": "com.amazonaws.storagegateway#UpdateSMBSecurityStrategy" }, @@ -7583,7 +7647,7 @@ "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 with\n cloud-based storage to provide seamless and secure integration between an\n organization's on-premises IT environment and the Amazon Web Services storage infrastructure. The\n service enables you to securely upload data to the Cloud for cost effective backup and\n rapid disaster recovery.

                  \n\n

                  Use the following links to get started using the Storage Gateway Service\n API Reference:

                  \n\n
                    \n
                  • \n

                    \n Storage Gateway required request headers: Describes the required\n headers that you must send with every POST request to Storage Gateway.

                    \n
                  • \n
                  • \n

                    \n Signing requests: Storage Gateway requires that you authenticate\n every request you send; this topic describes how sign such a request.

                    \n
                  • \n
                  • \n

                    \n Error responses: Provides reference information about Storage Gateway\n errors.

                    \n
                  • \n
                  • \n

                    \n Operations in \n Storage Gateway: Contains detailed descriptions of all Storage Gateway\n operations, their request parameters, response elements, possible errors, and\n examples of requests and responses.

                    \n
                  • \n
                  • \n

                    \n Storage Gateway\n endpoints and quotas: Provides a list of each Region and the endpoints\n available for use with Storage Gateway.

                    \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 your\n resource ID to lowercase to use it with the EC2 API. For example, in Storage Gateway the\n ID for a volume might be vol-AA22BB012345DAF670. When you use this ID with\n the EC2 API, you must change it to vol-aa22bb012345daf670. Otherwise, the\n EC2 API might not behave as expected.

                  \n
                  \n\n \n

                  IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes\n 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#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 required request headers: Describes the required\n headers that you must send with every POST request to Storage Gateway.

                    \n
                  • \n
                  • \n

                    \n Signing requests: Storage Gateway requires that you authenticate\n every request you send; this topic describes how sign such a request.

                    \n
                  • \n
                  • \n

                    \n Error responses: Provides reference information about Storage Gateway errors.

                    \n
                  • \n
                  • \n

                    \n Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and\n examples of requests and responses.

                    \n
                  • \n
                  • \n

                    \n Storage Gateway\n endpoints and quotas: Provides a list of each Amazon Web Services Region\n and the endpoints available for use with Storage Gateway.

                    \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" @@ -8003,7 +8067,7 @@ "GatewayARN": { "target": "com.amazonaws.storagegateway#GatewayARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Region.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the gateway. Use the ListGateways\n operation to return a list of gateways for your account and Amazon Web Services Region.

                  " } }, "PoolId": { @@ -8267,7 +8331,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  \n Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways do \n not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect.\n Use this to initiate or update a gateway's bandwidth rate limit schedule.\n This operation is supported in the volume and tape gateway types.\n

                  " + "smithy.api#documentation": "

                  Updates the bandwidth rate limit schedule for a specified gateway. By default, gateways\n do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in\n effect. Use this to initiate or update a gateway's bandwidth rate limit schedule. This\n operation is supported in the volume and tape gateway types.

                  " } }, "com.amazonaws.storagegateway#UpdateBandwidthRateLimitScheduleInput": { @@ -8282,7 +8346,7 @@ "BandwidthRateLimitIntervals": { "target": "com.amazonaws.storagegateway#BandwidthRateLimitIntervals", "traits": { - "smithy.api#documentation": "

                  \n An array containing bandwidth rate limit schedule intervals for a gateway. \n When no bandwidth rate limit intervals have been scheduled, the array is empty.\n

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

                  An array containing bandwidth rate limit schedule intervals for a gateway. When no\n bandwidth rate limit intervals have been scheduled, the array is empty.

                  ", "smithy.api#required": {} } } @@ -8388,7 +8452,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Updates a file system association. This operation is only supported in the FSx File Gateways.

                  " + "smithy.api#documentation": "

                  Updates a file system association. This operation is only supported in the FSx File\n Gateways.

                  " } }, "com.amazonaws.storagegateway#UpdateFileSystemAssociationInput": { @@ -8397,14 +8461,14 @@ "FileSystemAssociationARN": { "target": "com.amazonaws.storagegateway#FileSystemAssociationARN", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the file system association that you want to update.

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

                  The Amazon Resource Name (ARN) of the file system association that you want to\n update.

                  ", "smithy.api#required": {} } }, "UserName": { "target": "com.amazonaws.storagegateway#DomainUserName", "traits": { - "smithy.api#documentation": "

                  The user name of the user credential that has permission to access the root share D$ of\n the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin\n user group.

                  " + "smithy.api#documentation": "

                  The user name of the user credential that has permission to access the root share D$ of\n the Amazon FSx file system. The user account must belong to the Amazon FSx\n delegated admin user group.

                  " } }, "Password": { @@ -8637,7 +8701,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Updates a Network File System (NFS) file share. This operation is only supported in S3 File Gateways.

                  \n\n \n

                  To leave a file share field unchanged, set the corresponding input field to\n null.

                  \n
                  \n\n

                  Updates the following file share settings:

                  \n\n
                    \n
                  • \n

                    Default storage class for your S3 bucket

                    \n
                  • \n
                  • \n

                    Metadata defaults for your S3 bucket

                    \n
                  • \n
                  • \n

                    Allowed NFS clients for your file share

                    \n
                  • \n
                  • \n

                    Squash settings

                    \n
                  • \n
                  • \n

                    Write status of your file share

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

                  Updates a Network File System (NFS) file share. This operation is only supported in S3\n File Gateways.

                  \n\n \n

                  To leave a file share field unchanged, set the corresponding input field to\n null.

                  \n
                  \n\n

                  Updates the following file share settings:

                  \n\n
                    \n
                  • \n

                    Default storage class for your S3 bucket

                    \n
                  • \n
                  • \n

                    Metadata defaults for your S3 bucket

                    \n
                  • \n
                  • \n

                    Allowed NFS clients for your file share

                    \n
                  • \n
                  • \n

                    Squash settings

                    \n
                  • \n
                  • \n

                    Write status of your file share

                    \n
                  • \n
                  " } }, "com.amazonaws.storagegateway#UpdateNFSFileShareInput": { @@ -8653,13 +8717,13 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "NFSFileShareDefaults": { @@ -8671,7 +8735,7 @@ "DefaultStorageClass": { "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " + "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " } }, "ObjectACL": { @@ -8683,7 +8747,7 @@ "ClientList": { "target": "com.amazonaws.storagegateway#FileShareClientList", "traits": { - "smithy.api#documentation": "

                  The list of clients that are allowed to access the S3 File Gateway. The list must contain\n either valid IP addresses or valid CIDR blocks.

                  " + "smithy.api#documentation": "

                  The list of clients that are allowed to access the S3 File Gateway. The list must\n contain either valid IP addresses or valid CIDR blocks.

                  " } }, "Squash": { @@ -8713,13 +8777,13 @@ "FileShareName": { "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

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

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN, or if an access point or access point alias is used.

                  \n
                  " } }, "CacheAttributes": { "target": "com.amazonaws.storagegateway#CacheAttributes", "traits": { - "smithy.api#documentation": "

                  specifies refresh cache information for the file share.

                  " + "smithy.api#documentation": "

                  Specifies refresh cache information for the file share.

                  " } }, "NotificationPolicy": { @@ -8727,6 +8791,12 @@ "traits": { "smithy.api#documentation": "

                  The notification policy of the file share. SettlingTimeInSeconds controls\n the number of seconds to wait after the last point in time a client wrote to a file before\n generating an ObjectUploaded notification. Because clients can make many small\n writes to files, it's best to set this parameter for as long as possible to avoid\n generating multiple notifications for the same file in a small time period.

                  \n\n \n

                  \n SettlingTimeInSeconds has no effect on the timing of the object\n uploading to Amazon S3, only the timing of the notification.

                  \n
                  \n\n

                  The following example sets NotificationPolicy on with\n SettlingTimeInSeconds set to 60.

                  \n\n

                  \n {\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}\n

                  \n\n

                  The following example sets NotificationPolicy off.

                  \n\n

                  \n {}\n

                  " } + }, + "AuditDestinationARN": { + "target": "com.amazonaws.storagegateway#AuditDestinationARN", + "traits": { + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of the storage used for audit logs.

                  " + } } }, "traits": { @@ -8764,7 +8834,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Updates a Server Message Block (SMB) file share. This operation is only supported for\n S3 File Gateways.

                  \n\n \n

                  To leave a file share field unchanged, set the corresponding input field to\n null.

                  \n
                  \n\n \n

                  File gateways require Security Token Service (STS) to be activated to enable\n you to create a file share. Make sure that STS is activated in the Region you\n are creating your file gateway in. If STS is not activated in this Region,\n activate it. For information about how to activate STS, see Activating and\n deactivating STS in an Region in the Identity and Access Management\n User Guide.

                  \n\n

                  File gateways don't support creating hard or symbolic links on a file\n share.

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

                  Updates a Server Message Block (SMB) file share. This operation is only supported for S3\n File Gateways.

                  \n\n \n

                  To leave a file share field unchanged, set the corresponding input field to\n null.

                  \n
                  \n\n \n

                  File gateways require Security Token Service (Amazon Web Services STS) to be\n activated to enable you to create a file share. Make sure that Amazon Web Services STS\n is activated in the Amazon Web Services Region you are creating your file gateway in. If\n Amazon Web Services STS is not activated in this Amazon Web Services Region, activate\n it. For information about how to activate Amazon Web Services STS, see Activating and\n deactivating Amazon Web Services STS in an Amazon Web Services Region in the\n Identity and Access Management User Guide.

                  \n\n

                  File gateways don't support creating hard or symbolic links on a file\n share.

                  \n
                  " } }, "com.amazonaws.storagegateway#UpdateSMBFileShareInput": { @@ -8780,19 +8850,19 @@ "KMSEncrypted": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Set to true to use Amazon S3 server-side encryption with your own KMS\n key, or false to use a key managed by Amazon S3. Optional.

                  \n\n

                  Valid Values: true | false\n

                  " + "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

                  " } }, "KMSKey": { "target": "com.amazonaws.storagegateway#KMSKey", "traits": { - "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can\n only be set when KMSEncrypted is true. Optional.

                  " + "smithy.api#documentation": "

                  The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This\n value can only be set when KMSEncrypted is true. Optional.

                  " } }, "DefaultStorageClass": { "target": "com.amazonaws.storagegateway#StorageClass", "traits": { - "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.\n The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " + "smithy.api#documentation": "

                  The default storage class for objects put into an Amazon S3 bucket by the S3\n File Gateway. The default value is S3_INTELLIGENT_TIERING. Optional.

                  \n\n

                  Valid Values: S3_STANDARD | S3_INTELLIGENT_TIERING |\n S3_STANDARD_IA | S3_ONEZONE_IA\n

                  " } }, "ObjectACL": { @@ -8858,13 +8928,13 @@ "CaseSensitivity": { "target": "com.amazonaws.storagegateway#CaseSensitivity", "traits": { - "smithy.api#documentation": "

                  The case of an object name in an Amazon S3 bucket. For ClientSpecified, the\n client determines the case sensitivity. For CaseSensitive, the gateway\n determines the case sensitivity. The default value is ClientSpecified.

                  " + "smithy.api#documentation": "

                  The case of an object name in an Amazon S3 bucket. For\n ClientSpecified, the client determines the case sensitivity. For\n CaseSensitive, the gateway determines the case sensitivity. The default\n value is ClientSpecified.

                  " } }, "FileShareName": { "target": "com.amazonaws.storagegateway#FileShareName", "traits": { - "smithy.api#documentation": "

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN.

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

                  The name of the file share. Optional.

                  \n\n \n

                  \n FileShareName must be set if an S3 prefix name is set in\n LocationARN, or if an access point or access point alias is used.

                  \n
                  " } }, "CacheAttributes": { @@ -8882,7 +8952,7 @@ "OplocksEnabled": { "target": "com.amazonaws.storagegateway#Boolean", "traits": { - "smithy.api#documentation": "

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  \n \n

                  Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve \n access to files with the same name in different case.

                  \n
                  \n

                  Valid Values: true | false\n

                  " + "smithy.api#documentation": "

                  Specifies whether opportunistic locking is enabled for the SMB file share.

                  \n \n

                  Enabling opportunistic locking on case-sensitive shares is not recommended for\n workloads that involve access to files with the same name in different case.

                  \n
                  \n

                  Valid Values: true | false\n

                  " } } }, @@ -8950,6 +9020,52 @@ } } }, + "com.amazonaws.storagegateway#UpdateSMBLocalGroups": { + "type": "operation", + "input": { + "target": "com.amazonaws.storagegateway#UpdateSMBLocalGroupsInput" + }, + "output": { + "target": "com.amazonaws.storagegateway#UpdateSMBLocalGroupsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.storagegateway#InternalServerError" + }, + { + "target": "com.amazonaws.storagegateway#InvalidGatewayRequestException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Updates the list of Active Directory users and groups that have special permissions for\n SMB file shares on the gateway.

                  " + } + }, + "com.amazonaws.storagegateway#UpdateSMBLocalGroupsInput": { + "type": "structure", + "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN", + "traits": { + "smithy.api#required": {} + } + }, + "SMBLocalGroups": { + "target": "com.amazonaws.storagegateway#SMBLocalGroups", + "traits": { + "smithy.api#documentation": "

                  A list of Active Directory users and groups that you want to grant special permissions\n for SMB file shares on the gateway.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.storagegateway#UpdateSMBLocalGroupsOutput": { + "type": "structure", + "members": { + "GatewayARN": { + "target": "com.amazonaws.storagegateway#GatewayARN" + } + } + }, "com.amazonaws.storagegateway#UpdateSMBSecurityStrategy": { "type": "operation", "input": { @@ -8982,7 +9098,7 @@ "SMBSecurityStrategy": { "target": "com.amazonaws.storagegateway#SMBSecurityStrategy", "traits": { - "smithy.api#documentation": "

                  Specifies the type of security strategy.

                  \n\n

                  ClientSpecified: if you use this option, requests are established based on what is\n negotiated by the client. This option is recommended when you want to maximize\n compatibility across different clients in your environment. Supported only in S3 File Gateway.

                  \n\n

                  MandatorySigning: if you use this option, file gateway only allows connections from\n SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on\n Microsoft Windows Vista, Windows Server 2008 or newer.

                  \n\n

                  MandatoryEncryption: if you use this option, file gateway only allows connections from\n SMBv3 clients that have encryption enabled. This option is highly recommended for\n environments that handle sensitive data. This option works with SMB clients on Microsoft\n Windows 8, Windows Server 2012 or newer.

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

                  Specifies the type of security strategy.

                  \n\n

                  ClientSpecified: if you use this option, requests are established based on what is\n negotiated by the client. This option is recommended when you want to maximize\n compatibility across different clients in your environment. Supported only in S3 File\n Gateway.

                  \n\n

                  MandatorySigning: if you use this option, file gateway only allows connections from\n SMBv2 or SMBv3 clients that have signing enabled. This option works with SMB clients on\n Microsoft Windows Vista, Windows Server 2008 or newer.

                  \n\n

                  MandatoryEncryption: if you use this option, file gateway only allows connections from\n SMBv3 clients that have encryption enabled. This option is highly recommended for\n environments that handle sensitive data. This option works with SMB clients on Microsoft\n Windows 8, Windows Server 2012 or newer.

                  ", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json b/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json index adb26b8acd9f..1e1810ec068d 100644 --- a/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json +++ b/codegen/sdk-codegen/aws-models/workmail.2017-10-01.json @@ -968,7 +968,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Deletes an access control rule for the specified WorkMail organization.

                  " + "smithy.api#documentation": "

                  Deletes an access control 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#DeleteAccessControlRuleRequest": { @@ -1196,7 +1196,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Deletes the mobile device access override for the given WorkMail organization, user, and device.

                  " + "smithy.api#documentation": "

                  Deletes the mobile device access override for the given WorkMail organization, user, and device.

                  \n \n

                  Deleting already deleted and non-existing overrides 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#DeleteMobileDeviceAccessOverrideRequest": { @@ -1249,7 +1249,7 @@ } ], "traits": { - "smithy.api#documentation": "

                  Deletes a mobile device access rule for the specified Amazon WorkMail organization.

                  " + "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
                  " } }, "com.amazonaws.workmail#DeleteMobileDeviceAccessRuleRequest": { @@ -1551,6 +1551,59 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#DeregisterMailDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#DeregisterMailDomainRequest" + }, + "output": { + "target": "com.amazonaws.workmail#DeregisterMailDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidCustomSesConfigurationException" + }, + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#MailDomainInUseException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "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#idempotent": {} + } + }, + "com.amazonaws.workmail#DeregisterMailDomainRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

                  The Amazon 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#required": {} + } + } + } + }, + "com.amazonaws.workmail#DeregisterMailDomainResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#DescribeGroup": { "type": "operation", "input": { @@ -2378,6 +2431,57 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#DnsRecord": { + "type": "structure", + "members": { + "Type": { + "target": "com.amazonaws.workmail#String", + "traits": { + "smithy.api#documentation": "

                  The RFC 1035 record type. Possible values: CNAME, A, MX.

                  " + } + }, + "Hostname": { + "target": "com.amazonaws.workmail#String", + "traits": { + "smithy.api#documentation": "

                  The DNS hostname.- For example, domain.example.com.

                  " + } + }, + "Value": { + "target": "com.amazonaws.workmail#String", + "traits": { + "smithy.api#documentation": "

                  The value returned by the DNS for a query to that hostname and record type.

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

                  A DNS record uploaded to your DNS provider.

                  " + } + }, + "com.amazonaws.workmail#DnsRecordVerificationStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "PENDING", + "name": "PENDING" + }, + { + "value": "VERIFIED", + "name": "VERIFIED" + }, + { + "value": "FAILED", + "name": "FAILED" + } + ] + } + }, + "com.amazonaws.workmail#DnsRecords": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#DnsRecord" + } + }, "com.amazonaws.workmail#Domain": { "type": "structure", "members": { @@ -2527,7 +2631,7 @@ "Period": { "target": "com.amazonaws.workmail#RetentionPeriod", "traits": { - "smithy.api#documentation": "

                  The period of time at which the folder configuration action is applied.

                  " + "smithy.api#documentation": "

                  The number of days for which the folder-configuration action applies.

                  " } } }, @@ -2712,6 +2816,87 @@ } } }, + "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 Amazon WorkMail organization for which the domain is retrieved.

                  ", + "smithy.api#required": {} + } + }, + "DomainName": { + "target": "com.amazonaws.workmail#WorkMailDomainName", + "traits": { + "smithy.api#documentation": "

                  The domain from which you want to retrieve details.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#GetMailDomainResponse": { + "type": "structure", + "members": { + "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.

                  " + } + }, + "IsTestDomain": { + "target": "com.amazonaws.workmail#Boolean", + "traits": { + "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#documentation": "

                  Specifies whether the domain is the default domain for your organization.

                  " + } + }, + "OwnershipVerificationStatus": { + "target": "com.amazonaws.workmail#DnsRecordVerificationStatus", + "traits": { + "smithy.api#documentation": "

                  Indicates the status of the domain ownership verification.

                  " + } + }, + "DkimVerificationStatus": { + "target": "com.amazonaws.workmail#DnsRecordVerificationStatus", + "traits": { + "smithy.api#documentation": "

                  Indicates the status of a DKIM verification.

                  " + } + } + } + }, "com.amazonaws.workmail#GetMailboxDetails": { "type": "operation", "input": { @@ -3036,6 +3221,18 @@ "smithy.api#error": "client" } }, + "com.amazonaws.workmail#InvalidCustomSesConfigurationException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.workmail#String" + } + }, + "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#error": "client" + } + }, "com.amazonaws.workmail#InvalidParameterException": { "type": "structure", "members": { @@ -3402,6 +3599,76 @@ } } }, + "com.amazonaws.workmail#ListMailDomains": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#ListMailDomainsRequest" + }, + "output": { + "target": "com.amazonaws.workmail#ListMailDomainsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Lists the mail domains in a given Amazon WorkMail organization.

                  ", + "smithy.api#idempotent": {}, + "smithy.api#paginated": { + "inputToken": "NextToken", + "outputToken": "NextToken", + "pageSize": "MaxResults" + } + } + }, + "com.amazonaws.workmail#ListMailDomainsRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

                  The Amazon WorkMail organization for which to list domains.

                  ", + "smithy.api#required": {} + } + }, + "MaxResults": { + "target": "com.amazonaws.workmail#MaxResults", + "traits": { + "smithy.api#documentation": "

                  The maximum number of results to return in a single call.

                  " + } + }, + "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 require a token.

                  " + } + } + } + }, + "com.amazonaws.workmail#ListMailDomainsResponse": { + "type": "structure", + "members": { + "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.

                  " + } + }, + "NextToken": { + "target": "com.amazonaws.workmail#NextToken", + "traits": { + "smithy.api#documentation": "

                  The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

                  " + } + } + } + }, "com.amazonaws.workmail#ListMailboxExportJobs": { "type": "operation", "input": { @@ -4002,6 +4269,18 @@ } } }, + "com.amazonaws.workmail#MailDomainInUseException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.workmail#String" + } + }, + "traits": { + "smithy.api#documentation": "

                  The domain you're trying to change is in use by another user or organization in your account. See the error message for details.

                  ", + "smithy.api#error": "client" + } + }, "com.amazonaws.workmail#MailDomainNotFoundException": { "type": "structure", "members": { @@ -4010,7 +4289,7 @@ } }, "traits": { - "smithy.api#documentation": "

                  For an email or alias to be created in Amazon WorkMail, the included domain must be defined\n in the organization.

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

                  The domain specified is not found in your organization.

                  ", "smithy.api#error": "client" } }, @@ -4026,6 +4305,32 @@ "smithy.api#error": "client" } }, + "com.amazonaws.workmail#MailDomainSummary": { + "type": "structure", + "members": { + "DomainName": { + "target": "com.amazonaws.workmail#DomainName", + "traits": { + "smithy.api#documentation": "

                  The domain name.

                  " + } + }, + "DefaultDomain": { + "target": "com.amazonaws.workmail#Boolean", + "traits": { + "smithy.api#documentation": "

                  Whether the domain is default or not.

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

                  The data for a given domain.

                  " + } + }, + "com.amazonaws.workmail#MailDomains": { + "type": "list", + "member": { + "target": "com.amazonaws.workmail#MailDomainSummary" + } + }, "com.amazonaws.workmail#MailboxExportErrorInfo": { "type": "string", "traits": { @@ -5009,6 +5314,66 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#RegisterMailDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#RegisterMailDomainRequest" + }, + "output": { + "target": "com.amazonaws.workmail#RegisterMailDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#LimitExceededException" + }, + { + "target": "com.amazonaws.workmail#MailDomainInUseException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "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#idempotent": {} + } + }, + "com.amazonaws.workmail#RegisterMailDomainRequest": { + "type": "structure", + "members": { + "ClientToken": { + "target": "com.amazonaws.workmail#IdempotencyClientToken", + "traits": { + "smithy.api#documentation": "

                  Idempotency token used when retrying requests.

                  ", + "smithy.api#idempotencyToken": {} + } + }, + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

                  The Amazon 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#required": {} + } + } + } + }, + "com.amazonaws.workmail#RegisterMailDomainResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#RegisterToWorkMail": { "type": "operation", "input": { @@ -5638,6 +6003,59 @@ "type": "structure", "members": {} }, + "com.amazonaws.workmail#UpdateDefaultMailDomain": { + "type": "operation", + "input": { + "target": "com.amazonaws.workmail#UpdateDefaultMailDomainRequest" + }, + "output": { + "target": "com.amazonaws.workmail#UpdateDefaultMailDomainResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workmail#InvalidParameterException" + }, + { + "target": "com.amazonaws.workmail#MailDomainNotFoundException" + }, + { + "target": "com.amazonaws.workmail#MailDomainStateException" + }, + { + "target": "com.amazonaws.workmail#OrganizationNotFoundException" + }, + { + "target": "com.amazonaws.workmail#OrganizationStateException" + } + ], + "traits": { + "smithy.api#documentation": "

                  Updates the default mail domain for an organization. The default mail domain is used by the WorkMail AWS Console to suggest an email address when enabling a mail user. You can only have one default domain.

                  ", + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workmail#UpdateDefaultMailDomainRequest": { + "type": "structure", + "members": { + "OrganizationId": { + "target": "com.amazonaws.workmail#OrganizationId", + "traits": { + "smithy.api#documentation": "

                  The Amazon WorkMail organization for which to list domains.

                  ", + "smithy.api#required": {} + } + }, + "DomainName": { + "target": "com.amazonaws.workmail#WorkMailDomainName", + "traits": { + "smithy.api#documentation": "

                  The domain name that will become the default domain.

                  ", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.workmail#UpdateDefaultMailDomainResponse": { + "type": "structure", + "members": {} + }, "com.amazonaws.workmail#UpdateMailboxQuota": { "type": "operation", "input": { @@ -6076,6 +6494,16 @@ "target": "com.amazonaws.workmail#User" } }, + "com.amazonaws.workmail#WorkMailDomainName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 3, + "max": 209 + }, + "smithy.api#pattern": "^[a-zA-Z0-9.-]+\\.[a-zA-Z-]{2,}$" + } + }, "com.amazonaws.workmail#WorkMailIdentifier": { "type": "string", "traits": { @@ -6149,6 +6577,9 @@ { "target": "com.amazonaws.workmail#DeregisterFromWorkMail" }, + { + "target": "com.amazonaws.workmail#DeregisterMailDomain" + }, { "target": "com.amazonaws.workmail#DescribeGroup" }, @@ -6182,6 +6613,9 @@ { "target": "com.amazonaws.workmail#GetMailboxDetails" }, + { + "target": "com.amazonaws.workmail#GetMailDomain" + }, { "target": "com.amazonaws.workmail#GetMobileDeviceAccessEffect" }, @@ -6206,6 +6640,9 @@ { "target": "com.amazonaws.workmail#ListMailboxPermissions" }, + { + "target": "com.amazonaws.workmail#ListMailDomains" + }, { "target": "com.amazonaws.workmail#ListMobileDeviceAccessOverrides" }, @@ -6242,6 +6679,9 @@ { "target": "com.amazonaws.workmail#PutRetentionPolicy" }, + { + "target": "com.amazonaws.workmail#RegisterMailDomain" + }, { "target": "com.amazonaws.workmail#RegisterToWorkMail" }, @@ -6257,6 +6697,9 @@ { "target": "com.amazonaws.workmail#UntagResource" }, + { + "target": "com.amazonaws.workmail#UpdateDefaultMailDomain" + }, { "target": "com.amazonaws.workmail#UpdateMailboxQuota" }, diff --git a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json index f0ac9505dc2d..0482609bf2cb 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json +++ b/codegen/smithy-aws-typescript-codegen/src/main/resources/software/amazon/smithy/aws/typescript/codegen/endpoints.json @@ -7444,6 +7444,53 @@ "us-west-2": {} } }, + "textract": { + "endpoints": { + "ap-northeast-2": {}, + "ap-south-1": {}, + "ap-southeast-1": {}, + "ap-southeast-2": {}, + "ca-central-1": {}, + "eu-central-1": {}, + "eu-west-1": {}, + "eu-west-2": {}, + "eu-west-3": {}, + "fips-ca-central-1": { + "credentialScope": { + "region": "ca-central-1" + }, + "hostname": "textract-fips.ca-central-1.amazonaws.com" + }, + "fips-us-east-1": { + "credentialScope": { + "region": "us-east-1" + }, + "hostname": "textract-fips.us-east-1.amazonaws.com" + }, + "fips-us-east-2": { + "credentialScope": { + "region": "us-east-2" + }, + "hostname": "textract-fips.us-east-2.amazonaws.com" + }, + "fips-us-west-1": { + "credentialScope": { + "region": "us-west-1" + }, + "hostname": "textract-fips.us-west-1.amazonaws.com" + }, + "fips-us-west-2": { + "credentialScope": { + "region": "us-west-2" + }, + "hostname": "textract-fips.us-west-2.amazonaws.com" + }, + "us-east-1": {}, + "us-east-2": {}, + "us-west-1": {}, + "us-west-2": {} + } + }, "transcribe": { "defaults": { "protocols": ["https"] @@ -9972,6 +10019,11 @@ "us-gov-west-1": {} } }, + "kendra": { + "endpoints": { + "us-gov-west-1": {} + } + }, "kinesis": { "endpoints": { "us-gov-east-1": { @@ -10786,6 +10838,24 @@ "us-gov-west-1": {} } }, + "textract": { + "endpoints": { + "fips-us-gov-east-1": { + "credentialScope": { + "region": "us-gov-east-1" + }, + "hostname": "textract-fips.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1": { + "credentialScope": { + "region": "us-gov-west-1" + }, + "hostname": "textract-fips.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1": {}, + "us-gov-west-1": {} + } + }, "transcribe": { "defaults": { "protocols": ["https"] @@ -10911,6 +10981,9 @@ "regions": { "us-iso-east-1": { "description": "US ISO East" + }, + "us-iso-west-1": { + "description": "US ISO WEST" } }, "services": { @@ -10921,6 +10994,12 @@ "region": "us-iso-east-1" }, "hostname": "api.ecr.us-iso-east-1.c2s.ic.gov" + }, + "us-iso-west-1": { + "credentialScope": { + "region": "us-iso-west-1" + }, + "hostname": "api.ecr.us-iso-west-1.c2s.ic.gov" } } }, @@ -10939,29 +11018,34 @@ "protocols": ["http", "https"] }, "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "autoscaling": { "endpoints": { "us-iso-east-1": { "protocols": ["http", "https"] - } + }, + "us-iso-west-1": {} } }, "cloudformation": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "cloudtrail": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "codedeploy": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "comprehend": { @@ -10974,7 +11058,8 @@ }, "config": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "datapipeline": { @@ -10984,7 +11069,8 @@ }, "directconnect": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "dms": { @@ -11007,22 +11093,26 @@ "endpoints": { "us-iso-east-1": { "protocols": ["http", "https"] - } + }, + "us-iso-west-1": {} } }, "ec2": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "ecs": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "elasticache": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "elasticfilesystem": { @@ -11040,14 +11130,16 @@ "endpoints": { "us-iso-east-1": { "protocols": ["http", "https"] - } + }, + "us-iso-west-1": {} } }, "elasticmapreduce": { "endpoints": { "us-iso-east-1": { "protocols": ["https"] - } + }, + "us-iso-west-1": {} } }, "es": { @@ -11057,7 +11149,8 @@ }, "events": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "firehose": { @@ -11069,7 +11162,8 @@ "endpoints": { "us-iso-east-1": { "protocols": ["http", "https"] - } + }, + "us-iso-west-1": {} } }, "health": { @@ -11091,7 +11185,8 @@ }, "kinesis": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "kms": { @@ -11102,12 +11197,14 @@ }, "hostname": "kms-fips.us-iso-east-1.c2s.ic.gov" }, - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "lambda": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "license-manager": { @@ -11117,7 +11214,8 @@ }, "logs": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "medialive": { @@ -11132,7 +11230,8 @@ }, "monitoring": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "outposts": { @@ -11147,12 +11246,14 @@ }, "rds": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "redshift": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "route53": { @@ -11202,14 +11303,16 @@ "endpoints": { "us-iso-east-1": { "protocols": ["http", "https"] - } + }, + "us-iso-west-1": {} } }, "sqs": { "endpoints": { "us-iso-east-1": { "protocols": ["http", "https"] - } + }, + "us-iso-west-1": {} } }, "ssm": { @@ -11219,7 +11322,8 @@ }, "states": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "streams.dynamodb": { @@ -11237,7 +11341,8 @@ }, "sts": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "support": { @@ -11253,7 +11358,8 @@ }, "swf": { "endpoints": { - "us-iso-east-1": {} + "us-iso-east-1": {}, + "us-iso-west-1": {} } }, "transcribe": { diff --git a/protocol_tests/aws-ec2/src/endpoints.ts b/protocol_tests/aws-ec2/src/endpoints.ts index 77b985838e8d..bae4f0af04f0 100644 --- a/protocol_tests/aws-ec2/src/endpoints.ts +++ b/protocol_tests/aws-ec2/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "awsec2.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "awsec2.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/protocol_tests/aws-json-10/src/endpoints.ts b/protocol_tests/aws-json-10/src/endpoints.ts index 9e38b6e91c99..8fa30ed2477e 100644 --- a/protocol_tests/aws-json-10/src/endpoints.ts +++ b/protocol_tests/aws-json-10/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "jsonrpc10.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "jsonrpc10.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/protocol_tests/aws-json/src/endpoints.ts b/protocol_tests/aws-json/src/endpoints.ts index 2601a887acd6..9160a203db9b 100644 --- a/protocol_tests/aws-json/src/endpoints.ts +++ b/protocol_tests/aws-json/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "jsonprotocol.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "jsonprotocol.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/protocol_tests/aws-query/src/endpoints.ts b/protocol_tests/aws-query/src/endpoints.ts index 9339f66dbb90..9dc2a17b6aed 100644 --- a/protocol_tests/aws-query/src/endpoints.ts +++ b/protocol_tests/aws-query/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "awsquery.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "awsquery.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/protocol_tests/aws-restjson/src/endpoints.ts b/protocol_tests/aws-restjson/src/endpoints.ts index d0d7b3b94443..1526f1278451 100644 --- a/protocol_tests/aws-restjson/src/endpoints.ts +++ b/protocol_tests/aws-restjson/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "restjson.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "restjson.{region}.c2s.ic.gov", }, "aws-iso-b": { diff --git a/protocol_tests/aws-restxml/src/endpoints.ts b/protocol_tests/aws-restxml/src/endpoints.ts index f0ffb92b4181..18982ce78a77 100644 --- a/protocol_tests/aws-restxml/src/endpoints.ts +++ b/protocol_tests/aws-restxml/src/endpoints.ts @@ -35,7 +35,7 @@ const partitionHash: PartitionHash = { hostname: "restxml.{region}.amazonaws.com.cn", }, "aws-iso": { - regions: ["us-iso-east-1"], + regions: ["us-iso-east-1", "us-iso-west-1"], hostname: "restxml.{region}.c2s.ic.gov", }, "aws-iso-b": {