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
*
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
.
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:
+ * tag-key
- Accepts tag keys. The results will only include
+ * information about the Auto Scaling groups associated with these tag keys.
+ * tag-value
- Accepts tag values. The results will only include
+ * information about the Auto Scaling groups associated with these tag values.
+ * tag:
- Accepts the key/value combination of the tag.
+ * Use the tag key in the filter name and the tag value as the filter value. The
+ * results will only include information about the Auto Scaling groups associated with the
+ * specified key/value combination.
+ * DescribeTags + *
+ *Valid values for Name
include the following:
+ * auto-scaling-group
- Accepts the names of Auto Scaling groups. The
+ * results will only include information about the tags associated with these Auto Scaling
+ * groups.
+ * key
- Accepts tag keys. The results will only include information
+ * about the tags associated with these tag keys.
+ * value
- Accepts tag values. The results will only include
+ * information about the tags associated with these tag values.
+ * propagate-at-launch
- Accepts a boolean value, which specifies
+ * whether tags propagate to instances at launch. The results will only include
+ * information about the tags associated with the specified boolean value.
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".
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
.
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
.
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.
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.
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
.
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
.
Indicates whether to use Hive-compatible prefixes for flow logs stored in Amazon S3.
+ * The default is false
.
Indicates whether to partition the flow log per hour. This reduces the cost and response
+ * time for queries. The default is false
.
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.
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
.
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:
- *Only hour and day of the week values are supported.
- *For day of the week values, you can specify either integers 0
through
- * 6
, or alternative single values SUN
through
- * SAT
.
The minute, month, and year must be specified by *
.
The hour value must be one or a multiple range, for example, 0-4
or
- * 0-4,20-23
.
Each hour range must be >= 2 hours, for example, 0-2
or
- * 20-23
.
The event window must be >= 4 hours. The combined total time ranges in the event - * window must be >= 4 hours.
- *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
.
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:
+ *Only hour and day of the week values are supported.
+ *For day of the week values, you can specify either integers 0
through
+ * 6
, or alternative single values SUN
through
+ * SAT
.
The minute, month, and year must be specified by *
.
The hour value must be one or a multiple range, for example, 0-4
or
+ * 0-4,20-23
.
Each hour range must be >= 2 hours, for example, 0-2
or
+ * 20-23
.
The event window must be >= 4 hours. The combined total time ranges in the event + * window must be >= 4 hours.
+ *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
.
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
.
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 isUnauthorizedOperation
.
*/
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
.
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.
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.
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:
- * iamFleetRoleInvalid
- The EC2 Fleet or Spot Fleet did not have the required
+ * iamFleetRoleInvalid
- The EC2 Fleet or Spot Fleet does not have the required
* permissions either to launch or terminate an instance.
- * spotFleetRequestConfigurationInvalid
- The configuration is not
- * valid. For more information, see the description of the event.
allLaunchSpecsTemporarilyBlacklisted
- None of the configurations
+ * are valid, and several attempts to launch instances have failed. For more
+ * information, see the description of the event.
*
* spotInstanceCountLimitExceeded
- You've reached the limit on the
* number of Spot Instances that you can launch.
+ * spotFleetRequestConfigurationInvalid
- The configuration is not
+ * valid. For more information, see the description of the event.
The following are the fleetRequestChange
events:
+ * fleetRequestChange
events:
* active
- The EC2 Fleet or Spot Fleet request has been validated and Amazon EC2 is
- * attempting to maintain the target number of running Spot Instances.
* cancelled
- The EC2 Fleet or Spot Fleet request is canceled and has no running
- * Spot Instances. The EC2 Fleet or Spot Fleet will be deleted two days after its instances
- * were terminated.
* cancelled_running
- The EC2 Fleet or Spot Fleet request is canceled and does
- * not launch additional Spot Instances. Existing Spot Instances continue to run
- * until they are interrupted or terminated.
* cancelled_terminating
- The EC2 Fleet or Spot Fleet request is canceled and
- * its Spot Instances are terminating.
- * expired
- The EC2 Fleet or Spot Fleet request has expired. A subsequent event
- * indicates that the instances were terminated, if the request was created with
- * TerminateInstancesWithExpiration
set.
expired
- The EC2 Fleet or Spot Fleet request has expired. If the request was
+ * created with TerminateInstancesWithExpiration
set, a subsequent
+ * terminated
event indicates that the instances are
+ * terminated.
*
- * modify_in_progress
- A request to modify the EC2 Fleet or Spot Fleet request
- * was accepted and is in progress.
modify_in_progress
- The EC2 Fleet or Spot Fleet request is being modified.
+ * The request remains in this state until the modification is fully
+ * processed.
* @@ -6477,27 +6670,46 @@ export interface EventInformation { *
* submitted
- The EC2 Fleet or Spot Fleet request is being evaluated and Amazon EC2
- * is preparing to launch the target number of Spot Instances.
+ * progress
- The EC2 Fleet or Spot Fleet request is in the process of being fulfilled.
The following are the instanceChange
events:
+ * instanceChange
events:
- * launched
- A request was fulfilled and a new instance was
- * launched.
launched
- A new instance was launched.
*
* terminated
- An instance was terminated by the user.
+ * termination_notified
- An instance termination notification was
+ * sent when a Spot Instance was terminated by Amazon EC2 during scale-down, when the target
+ * capacity of the fleet was modified down, for example, from a target capacity of
+ * 4 to a target capacity of 3.
The following are the Information
events:
+ * Information
events:
+ * fleetProgressHalted
- The price in every launch specification is
+ * not valid because it is below the Spot price (all the launch specifications have
+ * produced launchSpecUnusable
events). A launch specification might
+ * become valid if the Spot price changes.
* launchSpecTemporarilyBlacklisted
- The configuration is not valid
* and several attempts to launch instances have failed. For more information, see
* the description of the event.
* launchSpecUnusable
- The price in a launch specification is not
- * valid because it is below the Spot price or the Spot price is above the
- * On-Demand price.
- * fleetProgressHalted
- The price in every launch specification is
- * not valid. A launch specification might become valid if the Spot price
- * changes.
registerWithLoadBalancersFailed
- An attempt to register
+ * instances with load balancers failed. For more information, see the description
+ * of the event.
* 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
).
- * 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
- *
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
- *
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
+ *
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
+ *
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
).
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.
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
.
The state of autoEnableIO
attribute.
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.
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
.
The state of autoEnableIO
attribute.
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.
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.
The ID of the Traffic Mirror rule.
- */ - TrafficMirrorFilterRuleId: string | undefined; - - /** - *The type of traffic (ingress
| egress
) to assign to the rule.
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
.
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
.
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
.
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
.
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.
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.
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.
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. 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. 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. 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. The The full ARN value must match the value that you specified ias the 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.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.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
.
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.
+ *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.
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.
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.
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.
* 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.
+ *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.
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.
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.
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.
* 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.
- * 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.
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.
When to move files in the file system from primary storage to the IA storage class.
+ *When to move files that are in IA storage to primary storage.
+ *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.
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
.
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
.
- * 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 + ): PromiseCancels 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 + ): PromiseCreates 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 + ): PromiseDeletes 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 + ): PromiseDeletes 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.
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.
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): PromiseEvaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE
) version is used.
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.
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 + ): PromiseUpdates model description.
*/ public updateModel(args: UpdateModelCommandInput, options?: __HttpHandlerOptions): PromiseChange the TRAINING_COMPLETE
status to ACTIVE
.
Change ACTIVE
to INACTIVE
.
Change ACTIVE
to INACTIVE
.
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: MiddlewareStackCreates 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: MiddlewareStackDeletes 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: MiddlewareStackDeletes 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: MiddlewareStackGets 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.
Retrieves the status of a DeleteEventsByEventType
action.
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: MiddlewareStackGets 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.
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: MiddlewareStackUpdates 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 ACTIVE
to INACTIVE
.
Change ACTIVE
to INACTIVE
.
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.
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.
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
.
Details of the ingested events data used for model version training. Required if trainingDataSource
is INGESTED_EVENTS
.
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
.
The ingested events data details. This will be populated if the trainingDataSource
for the model version is specified as INGESTED_EVENTS
.
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.
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
+ *
The details of the ingested events data used for training the model version.
+ * This will be populated if the trainingDataSource
is INGESTED_EVENTS
.
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
.
The timestamp associated with the label. Required if specifying assignedLabel
.
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
.
The details of the ingested event used for training the model version. Required if your trainingDataSource
is INGESTED_EVENTS
.
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 +): PromiseA 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.
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
.
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue
.
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 *
*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 *
*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 *
*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 *
*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 *
*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.
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.
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 theAMAZON.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.
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.
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.
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.
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.
If the importStatus
field is Failed
, this
- * provides one or more reasons for the failture.
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:
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:
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 + ): PromiseCreates a new prefetch schedule for the specified playback configuration.
+ */ + public createPrefetchSchedule( + args: CreatePrefetchScheduleCommandInput, + options?: __HttpHandlerOptions + ): PromiseCreates 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 + ): PromiseDeletes 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 + ): PromiseReturns 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 + ): PromiseRetrieves 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: MiddlewareStackDeletes 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: MiddlewareStackReturns 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: MiddlewareStackCreates 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: MiddlewareStackMediaTailor 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 +): PromiseCompute 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
.
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.
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.
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
.
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
.
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
.
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/
.
- *
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/
.
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
.
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
.
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.
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
.
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.
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.
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.
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. 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.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