From ce85f9b77d2d66857f952f60dac642a93436f33e Mon Sep 17 00:00:00 2001 From: aws-sdk-cpp-automation Date: Tue, 17 Dec 2024 19:11:55 +0000 Subject: [PATCH] Add support to toggle outbound IPv6 traffic on canaries connected to dualstack subnets. This behavior can be controlled via the new Ipv6AllowedForDualStack parameter of the VpcConfig input object in CreateCanary and UpdateCanary APIs. This release adds support for AWS Mainframe Modernization(M2) Service to allow specifying network type(ipv4, dual) for the environment instances. For dual network type, m2 environment applications will serve both IPv4 and IPv6 requests, whereas for ipv4 it will serve only IPv4 requests. Add support for searching backups Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks. This feature allows AWS Batch on Amazon EKS to support configuration of Pod Annotations, overriding Namespace on which the Batch job's Pod runs on, and allows Subpath and Persistent Volume claim to be set for AWS Batch on Amazon EKS jobs. AWS CodePipeline V2 type pipelines now support Managed Compute Rule. Adds support for OriginReadTimeout and OriginKeepaliveTimeout to create CloudFront Distributions with VPC Origins. Add Support for Backup Indexing Update endpoint configuration. Add support for SQL compute configuration for StartAudienceGenerationJob API. --- VERSION | 2 +- generated/smoke-tests/acm/ACMSmokeTests.cpp | 19 +- .../DirectoryServiceDataSmokeTests.cpp | 16 +- generated/smoke-tests/ec2/EC2SmokeTests.cpp | 27 +- .../eventbridge/EventBridgeSmokeTests.cpp | 19 +- .../smoke-tests/kinesis/KinesisSmokeTests.cpp | 19 +- .../logs/CloudWatchLogsSmokeTests.cpp | 21 +- generated/smoke-tests/rds/RDSSmokeTests.cpp | 19 +- .../smoke-tests/route53/Route53SmokeTests.cpp | 19 +- .../Route53DomainsSmokeTests.cpp | 19 +- .../source/AccountEndpointRules.cpp | 307 ++-- .../include/aws/backup/BackupClient.h | 81 + .../aws/backup/BackupServiceClientModel.h | 16 + .../include/aws/backup/model/BackupRule.h | 21 + .../aws/backup/model/BackupRuleInput.h | 22 + .../model/DescribeRecoveryPointResult.h | 34 + .../GetRecoveryPointIndexDetailsRequest.h | 77 + .../GetRecoveryPointIndexDetailsResult.h | 196 ++ .../include/aws/backup/model/Index.h | 31 + .../include/aws/backup/model/IndexAction.h | 67 + .../include/aws/backup/model/IndexStatus.h | 33 + .../aws/backup/model/IndexedRecoveryPoint.h | 214 +++ .../model/ListIndexedRecoveryPointsRequest.h | 169 ++ .../model/ListIndexedRecoveryPointsResult.h | 88 + .../backup/model/RecoveryPointByBackupVault.h | 38 + .../backup/model/RecoveryPointByResource.h | 38 + .../aws/backup/model/StartBackupJobRequest.h | 24 + .../UpdateRecoveryPointIndexSettingsRequest.h | 115 ++ .../UpdateRecoveryPointIndexSettingsResult.h | 120 ++ .../source/BackupClient.cpp | 112 ++ .../source/model/BackupRule.cpp | 24 +- .../source/model/BackupRuleInput.cpp | 24 +- .../model/DescribeRecoveryPointResult.cpp | 15 +- .../GetRecoveryPointIndexDetailsRequest.cpp | 28 + .../GetRecoveryPointIndexDetailsResult.cpp | 99 + .../aws-cpp-sdk-backup/source/model/Index.cpp | 72 + .../source/model/IndexAction.cpp | 67 + .../source/model/IndexStatus.cpp | 86 + .../source/model/IndexedRecoveryPoint.cpp | 169 ++ .../ListIndexedRecoveryPointsRequest.cpp | 91 + .../model/ListIndexedRecoveryPointsResult.cpp | 57 + .../model/RecoveryPointByBackupVault.cpp | 30 +- .../source/model/RecoveryPointByResource.cpp | 30 +- .../source/model/StartBackupJobRequest.cpp | 9 +- ...pdateRecoveryPointIndexSettingsRequest.cpp | 44 + ...UpdateRecoveryPointIndexSettingsResult.cpp | 69 + .../aws-cpp-sdk-backupsearch/CMakeLists.txt | 76 + .../aws/backupsearch/BackupSearchClient.h | 420 +++++ .../BackupSearchEndpointProvider.h | 61 + .../backupsearch/BackupSearchEndpointRules.h | 23 + .../BackupSearchErrorMarshaller.h | 23 + .../aws/backupsearch/BackupSearchErrors.h | 74 + .../aws/backupsearch/BackupSearchRequest.h | 46 + .../BackupSearchServiceClientModel.h | 137 ++ .../aws/backupsearch/BackupSearch_EXPORTS.h | 32 + .../model/BackupCreationTimeFilter.h | 77 + .../backupsearch/model/ConflictException.h | 99 + .../model/CurrentSearchProgress.h | 85 + .../aws/backupsearch/model/EBSItemFilter.h | 126 ++ .../aws/backupsearch/model/EBSResultItem.h | 183 ++ .../aws/backupsearch/model/ExportJobStatus.h | 32 + .../aws/backupsearch/model/ExportJobSummary.h | 165 ++ .../backupsearch/model/ExportSpecification.h | 60 + .../backupsearch/model/GetSearchJobRequest.h | 56 + .../backupsearch/model/GetSearchJobResult.h | 243 +++ .../model/GetSearchResultExportJobRequest.h | 57 + .../model/GetSearchResultExportJobResult.h | 177 ++ .../model/InternalServerException.h | 75 + .../aws/backupsearch/model/ItemFilters.h | 84 + .../model/ListSearchJobBackupsRequest.h | 96 + .../model/ListSearchJobBackupsResult.h | 88 + .../model/ListSearchJobResultsRequest.h | 95 + .../model/ListSearchJobResultsResult.h | 87 + .../model/ListSearchJobsRequest.h | 94 + .../backupsearch/model/ListSearchJobsResult.h | 88 + .../model/ListSearchResultExportJobsRequest.h | 113 ++ .../model/ListSearchResultExportJobsResult.h | 88 + .../model/ListTagsForResourceRequest.h | 56 + .../model/ListTagsForResourceResult.h | 73 + .../aws/backupsearch/model/LongCondition.h | 77 + .../model/LongConditionOperator.h | 33 + .../model/ResourceNotFoundException.h | 97 + .../aws/backupsearch/model/ResourceType.h | 31 + .../aws/backupsearch/model/ResultItem.h | 76 + .../model/S3ExportSpecification.h | 81 + .../aws/backupsearch/model/S3ItemFilter.h | 143 ++ .../aws/backupsearch/model/S3ResultItem.h | 183 ++ .../model/SearchJobBackupsResult.h | 161 ++ .../aws/backupsearch/model/SearchJobState.h | 34 + .../aws/backupsearch/model/SearchJobSummary.h | 182 ++ .../aws/backupsearch/model/SearchScope.h | 142 ++ .../backupsearch/model/SearchScopeSummary.h | 73 + .../model/ServiceQuotaExceededException.h | 130 ++ .../model/StartSearchJobRequest.h | 151 ++ .../backupsearch/model/StartSearchJobResult.h | 100 + .../model/StartSearchResultExportJobRequest.h | 136 ++ .../model/StartSearchResultExportJobResult.h | 83 + .../backupsearch/model/StopSearchJobRequest.h | 56 + .../backupsearch/model/StopSearchJobResult.h | 52 + .../aws/backupsearch/model/StringCondition.h | 82 + .../model/StringConditionOperator.h | 37 + .../backupsearch/model/TagResourceRequest.h | 82 + .../backupsearch/model/TagResourceResult.h | 52 + .../backupsearch/model/ThrottlingException.h | 109 ++ .../aws/backupsearch/model/TimeCondition.h | 80 + .../model/TimeConditionOperator.h | 33 + .../backupsearch/model/UntagResourceRequest.h | 83 + .../backupsearch/model/UntagResourceResult.h | 52 + .../source/BackupSearchClient.cpp | 558 ++++++ .../source/BackupSearchEndpointProvider.cpp | 16 + .../source/BackupSearchEndpointRules.cpp | 102 ++ .../source/BackupSearchErrorMarshaller.cpp | 22 + .../source/BackupSearchErrors.cpp | 83 + .../source/BackupSearchRequest.cpp | 14 + .../source/model/BackupCreationTimeFilter.cpp | 71 + .../source/model/ConflictException.cpp | 87 + .../source/model/CurrentSearchProgress.cpp | 90 + .../source/model/EBSItemFilter.cpp | 133 ++ .../source/model/EBSResultItem.cpp | 156 ++ .../source/model/ExportJobStatus.cpp | 79 + .../source/model/ExportJobSummary.cpp | 141 ++ .../source/model/ExportSpecification.cpp | 59 + .../source/model/GetSearchJobRequest.cpp | 27 + .../source/model/GetSearchJobResult.cpp | 116 ++ .../model/GetSearchResultExportJobRequest.cpp | 27 + .../model/GetSearchResultExportJobResult.cpp | 92 + .../source/model/InternalServerException.cpp | 62 + .../source/model/ItemFilters.cpp | 89 + .../model/ListSearchJobBackupsRequest.cpp | 51 + .../model/ListSearchJobBackupsResult.cpp | 57 + .../model/ListSearchJobResultsRequest.cpp | 51 + .../model/ListSearchJobResultsResult.cpp | 57 + .../source/model/ListSearchJobsRequest.cpp | 59 + .../source/model/ListSearchJobsResult.cpp | 57 + .../ListSearchResultExportJobsRequest.cpp | 67 + .../ListSearchResultExportJobsResult.cpp | 57 + .../model/ListTagsForResourceRequest.cpp | 27 + .../model/ListTagsForResourceResult.cpp | 51 + .../source/model/LongCondition.cpp | 74 + .../source/model/LongConditionOperator.cpp | 86 + .../model/ResourceNotFoundException.cpp | 87 + .../source/model/ResourceType.cpp | 72 + .../source/model/ResultItem.cpp | 73 + .../source/model/S3ExportSpecification.cpp | 73 + .../source/model/S3ItemFilter.cpp | 155 ++ .../source/model/S3ResultItem.cpp | 157 ++ .../source/model/SearchJobBackupsResult.cpp | 141 ++ .../source/model/SearchJobState.cpp | 93 + .../source/model/SearchJobSummary.cpp | 155 ++ .../source/model/SearchScope.cpp | 147 ++ .../source/model/SearchScopeSummary.cpp | 75 + .../model/ServiceQuotaExceededException.cpp | 115 ++ .../source/model/StartSearchJobRequest.cpp | 75 + .../source/model/StartSearchJobResult.cpp | 60 + .../StartSearchResultExportJobRequest.cpp | 68 + .../StartSearchResultExportJobResult.cpp | 54 + .../source/model/StopSearchJobRequest.cpp | 27 + .../source/model/StopSearchJobResult.cpp | 42 + .../source/model/StringCondition.cpp | 73 + .../source/model/StringConditionOperator.cpp | 114 ++ .../source/model/TagResourceRequest.cpp | 41 + .../source/model/TagResourceResult.cpp | 42 + .../source/model/ThrottlingException.cpp | 90 + .../source/model/TimeCondition.cpp | 72 + .../source/model/TimeConditionOperator.cpp | 86 + .../source/model/UntagResourceRequest.cpp | 45 + .../source/model/UntagResourceResult.cpp | 42 + .../aws/batch/model/EksContainerVolumeMount.h | 17 + .../include/aws/batch/model/EksMetadata.h | 70 +- .../batch/model/EksPersistentVolumeClaim.h | 86 + .../include/aws/batch/model/EksVolume.h | 20 + .../source/model/EksContainerVolumeMount.cpp | 14 + .../source/model/EksMetadata.cpp | 38 +- .../source/model/EksPersistentVolumeClaim.cpp | 74 + .../source/model/EksVolume.cpp | 16 +- .../model/AudienceGenerationJobDataSource.h | 14 + .../StartTrainedModelInferenceJobRequest.h | 2 +- .../model/AudienceGenerationJobDataSource.cpp | 16 +- .../aws/cloudfront/model/CustomOriginConfig.h | 10 +- .../aws/cloudfront/model/DistributionConfig.h | 36 +- .../aws/cloudfront/model/VpcOriginConfig.h | 38 + .../source/model/VpcOriginConfig.cpp | 34 +- .../aws/codepipeline/CodePipelineClient.h | 7 +- .../aws/codepipeline/model/ActionTypeId.h | 2 +- .../aws/codepipeline/model/Condition.h | 6 +- .../codepipeline/model/GetActionTypeRequest.h | 3 +- .../aws/codepipeline/model/RuleDeclaration.h | 30 +- .../source/model/RuleDeclaration.cpp | 22 + .../aws/ecs/model/DeploymentConfiguration.h | 8 +- .../ecs/model/ListServiceDeploymentsRequest.h | 4 +- .../include/aws/ecs/model/LogConfiguration.h | 20 +- .../ecs/model/RegisterTaskDefinitionRequest.h | 15 + .../include/aws/ecs/model/TaskDefinition.h | 15 + .../model/RegisterTaskDefinitionRequest.cpp | 10 +- .../source/model/TaskDefinition.cpp | 17 +- .../aws/m2/model/CreateEnvironmentRequest.h | 16 + .../include/aws/m2/model/EnvironmentSummary.h | 16 + .../aws/m2/model/GetEnvironmentResult.h | 14 + .../include/aws/m2/model/NetworkType.h | 31 + .../source/model/CreateEnvironmentRequest.cpp | 7 + .../source/model/EnvironmentSummary.cpp | 14 + .../source/model/GetEnvironmentResult.cpp | 7 + .../source/model/NetworkType.cpp | 72 + .../synthetics/model/VisualReferenceInput.h | 4 +- .../aws/synthetics/model/VpcConfigInput.h | 14 + .../aws/synthetics/model/VpcConfigOutput.h | 14 + .../source/model/VpcConfigInput.cpp | 17 +- .../source/model/VpcConfigOutput.cpp | 17 +- .../AccountEndpointProviderTests.cpp | 173 +- .../BackupSearchEndpointProviderTests.cpp | 371 ++++ .../backupsearch-gen-tests/CMakeLists.txt | 42 + .../tests/backupsearch-gen-tests/RunTests.cpp | 29 + .../include/aws/core/VersionConfig.h | 4 +- .../account-2021-02-01.normal.json | 4 +- .../backup-2018-11-15.normal.json | 336 ++++ .../backupsearch-2018-05-10.normal.json | 1471 +++++++++++++++ .../batch-2016-08-10.normal.json | 38 +- .../cleanroomsml-2023-09-06.normal.json | 5 +- .../cloudfront-2020-05-31.normal.json | 14 +- .../codepipeline-2015-07-09.normal.json | 16 +- .../ecs-2014-11-13.normal.json | 14 +- .../m2-2021-04-28.normal.json | 19 + .../synthetics-2017-10-11.normal.json | 20 +- .../account-2021-02-01.endpoint-rule-set.json | 476 +++-- .../account-2021-02-01.endpoint-tests.json | 318 +++- ...upsearch-2018-05-10.endpoint-rule-set.json | 151 ++ ...ackupsearch-2018-05-10.endpoint-tests.json | 313 ++++ .../codegen/cpp-smoke-tests/smithy-build.json | 1621 +++++++++-------- 228 files changed, 18596 insertions(+), 1535 deletions(-) create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsRequest.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsResult.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/Index.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexAction.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexStatus.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexedRecoveryPoint.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsRequest.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsResult.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsRequest.h create mode 100644 generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsResult.h create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/Index.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/IndexAction.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/IndexStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/IndexedRecoveryPoint.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/CMakeLists.txt create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchClient.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointProvider.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointRules.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrorMarshaller.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrors.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchServiceClientModel.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearch_EXPORTS.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/BackupCreationTimeFilter.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ConflictException.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/CurrentSearchProgress.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSItemFilter.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSResultItem.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobStatus.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobSummary.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportSpecification.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/InternalServerException.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ItemFilters.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongCondition.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongConditionOperator.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceNotFoundException.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceType.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResultItem.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ExportSpecification.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ItemFilter.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ResultItem.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobBackupsResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobState.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobSummary.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScope.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScopeSummary.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ServiceQuotaExceededException.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringCondition.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringConditionOperator.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ThrottlingException.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeCondition.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeConditionOperator.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceRequest.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceResult.h create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchClient.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointProvider.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointRules.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrorMarshaller.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrors.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/BackupCreationTimeFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ConflictException.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/CurrentSearchProgress.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/EBSItemFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/EBSResultItem.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobStatus.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ExportSpecification.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/InternalServerException.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ItemFilters.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/LongCondition.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/LongConditionOperator.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceNotFoundException.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceType.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ResultItem.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/S3ExportSpecification.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/S3ItemFilter.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/S3ResultItem.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobBackupsResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobState.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScope.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScopeSummary.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ServiceQuotaExceededException.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StringCondition.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/StringConditionOperator.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/ThrottlingException.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/TimeCondition.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/TimeConditionOperator.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceRequest.cpp create mode 100644 generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceResult.cpp create mode 100644 generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPersistentVolumeClaim.h create mode 100644 generated/src/aws-cpp-sdk-batch/source/model/EksPersistentVolumeClaim.cpp create mode 100644 generated/src/aws-cpp-sdk-m2/include/aws/m2/model/NetworkType.h create mode 100644 generated/src/aws-cpp-sdk-m2/source/model/NetworkType.cpp create mode 100644 generated/tests/backupsearch-gen-tests/BackupSearchEndpointProviderTests.cpp create mode 100644 generated/tests/backupsearch-gen-tests/CMakeLists.txt create mode 100644 generated/tests/backupsearch-gen-tests/RunTests.cpp create mode 100644 tools/code-generation/api-descriptions/backupsearch-2018-05-10.normal.json create mode 100644 tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-rule-set.json create mode 100644 tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-tests.json diff --git a/VERSION b/VERSION index a68941b753c..ccea1929459 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.11.468 \ No newline at end of file +1.11.469 \ No newline at end of file diff --git a/generated/smoke-tests/acm/ACMSmokeTests.cpp b/generated/smoke-tests/acm/ACMSmokeTests.cpp index 54d19ba2afc..9f016d59682 100644 --- a/generated/smoke-tests/acm/ACMSmokeTests.cpp +++ b/generated/smoke-tests/acm/ACMSmokeTests.cpp @@ -18,7 +18,6 @@ #include #include #include -#include namespace ACMSmokeTest{ using namespace Aws::Auth; @@ -32,7 +31,7 @@ class ACMSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char ACMSmokeTestSuite::ALLOCATION_TAG[] = "ACMSmokeTest"; -TEST_F(ACMSmokeTestSuite, ListCertificatesSuccess ) +TEST_F(ACMSmokeTestSuite, GetCertificateFailure ) { Aws::ACM::ACMClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -41,11 +40,12 @@ TEST_F(ACMSmokeTestSuite, ListCertificatesSuccess ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - ListCertificatesRequest input; - auto outcome = clientSp->ListCertificates(input); - EXPECT_TRUE( outcome.IsSuccess()); + GetCertificateRequest input; + input.SetCertificateArn("arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"); + auto outcome = clientSp->GetCertificate(input); + EXPECT_FALSE( outcome.IsSuccess()); } -TEST_F(ACMSmokeTestSuite, GetCertificateFailure ) +TEST_F(ACMSmokeTestSuite, ListCertificatesSuccess ) { Aws::ACM::ACMClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -54,9 +54,8 @@ TEST_F(ACMSmokeTestSuite, GetCertificateFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - GetCertificateRequest input; - input.SetCertificateArn("arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012"); - auto outcome = clientSp->GetCertificate(input); - EXPECT_FALSE( outcome.IsSuccess()); + ListCertificatesRequest input; + auto outcome = clientSp->ListCertificates(input); + EXPECT_TRUE( outcome.IsSuccess()); } } diff --git a/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp b/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp index e0a41d24c9e..92b3838f598 100644 --- a/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp +++ b/generated/smoke-tests/directory-service-data/DirectoryServiceDataSmokeTests.cpp @@ -32,7 +32,7 @@ class DirectoryServiceDataSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSu static const char ALLOCATION_TAG[]; }; const char DirectoryServiceDataSmokeTestSuite::ALLOCATION_TAG[] = "DirectoryServiceDataSmokeTest"; -TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure ) +TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure ) { Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -41,13 +41,13 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - DescribeUserRequest input; + DescribeGroupRequest input; input.SetDirectoryId("d-1111111111"); - input.SetSAMAccountName("test-user"); - auto outcome = clientSp->DescribeUser(input); + input.SetSAMAccountName("test-group"); + auto outcome = clientSp->DescribeGroup(input); EXPECT_FALSE( outcome.IsSuccess()); } -TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure ) +TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeUserFailure ) { Aws::DirectoryServiceData::DirectoryServiceDataClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -56,10 +56,10 @@ TEST_F(DirectoryServiceDataSmokeTestSuite, DescribeGroupFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - DescribeGroupRequest input; + DescribeUserRequest input; input.SetDirectoryId("d-1111111111"); - input.SetSAMAccountName("test-group"); - auto outcome = clientSp->DescribeGroup(input); + input.SetSAMAccountName("test-user"); + auto outcome = clientSp->DescribeUser(input); EXPECT_FALSE( outcome.IsSuccess()); } } diff --git a/generated/smoke-tests/ec2/EC2SmokeTests.cpp b/generated/smoke-tests/ec2/EC2SmokeTests.cpp index 8005e465974..61ff50a105d 100644 --- a/generated/smoke-tests/ec2/EC2SmokeTests.cpp +++ b/generated/smoke-tests/ec2/EC2SmokeTests.cpp @@ -18,6 +18,7 @@ #include #include #include +#include namespace EC2SmokeTest{ using namespace Aws::Auth; @@ -31,6 +32,19 @@ class EC2SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char EC2SmokeTestSuite::ALLOCATION_TAG[] = "EC2SmokeTest"; +TEST_F(EC2SmokeTestSuite, DescribeRegionsSuccess ) +{ + Aws::EC2::EC2ClientConfiguration clientConfiguration; + clientConfiguration.region = "us-west-2"; + clientConfiguration.useFIPS = false; + clientConfiguration.useDualStack = false; + auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); + //populate input params + + DescribeRegionsRequest input; + auto outcome = clientSp->DescribeRegions(input); + EXPECT_TRUE( outcome.IsSuccess()); +} TEST_F(EC2SmokeTestSuite, DescribeInstancesFailure ) { Aws::EC2::EC2ClientConfiguration clientConfiguration; @@ -54,17 +68,4 @@ TEST_F(EC2SmokeTestSuite, DescribeInstancesFailure ) auto outcome = clientSp->DescribeInstances(input); EXPECT_FALSE( outcome.IsSuccess()); } -TEST_F(EC2SmokeTestSuite, DescribeRegionsSuccess ) -{ - Aws::EC2::EC2ClientConfiguration clientConfiguration; - clientConfiguration.region = "us-west-2"; - clientConfiguration.useFIPS = false; - clientConfiguration.useDualStack = false; - auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); - //populate input params - - DescribeRegionsRequest input; - auto outcome = clientSp->DescribeRegions(input); - EXPECT_TRUE( outcome.IsSuccess()); -} } diff --git a/generated/smoke-tests/eventbridge/EventBridgeSmokeTests.cpp b/generated/smoke-tests/eventbridge/EventBridgeSmokeTests.cpp index 719b51b1723..fa7bae0a813 100644 --- a/generated/smoke-tests/eventbridge/EventBridgeSmokeTests.cpp +++ b/generated/smoke-tests/eventbridge/EventBridgeSmokeTests.cpp @@ -18,7 +18,6 @@ #include #include #include -#include namespace EventBridgeSmokeTest{ using namespace Aws::Auth; @@ -32,7 +31,7 @@ class EventBridgeSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char EventBridgeSmokeTestSuite::ALLOCATION_TAG[] = "EventBridgeSmokeTest"; -TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess ) +TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure ) { Aws::EventBridge::EventBridgeClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -41,11 +40,12 @@ TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - ListRulesRequest input; - auto outcome = clientSp->ListRules(input); - EXPECT_TRUE( outcome.IsSuccess()); + DescribeRuleRequest input; + input.SetName("fake-rule"); + auto outcome = clientSp->DescribeRule(input); + EXPECT_FALSE( outcome.IsSuccess()); } -TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure ) +TEST_F(EventBridgeSmokeTestSuite, ListRulesSuccess ) { Aws::EventBridge::EventBridgeClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -54,9 +54,8 @@ TEST_F(EventBridgeSmokeTestSuite, DescribeRuleFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - DescribeRuleRequest input; - input.SetName("fake-rule"); - auto outcome = clientSp->DescribeRule(input); - EXPECT_FALSE( outcome.IsSuccess()); + ListRulesRequest input; + auto outcome = clientSp->ListRules(input); + EXPECT_TRUE( outcome.IsSuccess()); } } diff --git a/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp b/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp index a8c7180d79c..99cd620a151 100644 --- a/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp +++ b/generated/smoke-tests/kinesis/KinesisSmokeTests.cpp @@ -18,7 +18,6 @@ #include #include #include -#include namespace KinesisSmokeTest{ using namespace Aws::Auth; @@ -32,7 +31,7 @@ class KinesisSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char KinesisSmokeTestSuite::ALLOCATION_TAG[] = "KinesisSmokeTest"; -TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess ) +TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure ) { Aws::Kinesis::KinesisClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -41,11 +40,12 @@ TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - ListStreamsRequest input; - auto outcome = clientSp->ListStreams(input); - EXPECT_TRUE( outcome.IsSuccess()); + DescribeStreamRequest input; + input.SetStreamName("bogus-stream-name"); + auto outcome = clientSp->DescribeStream(input); + EXPECT_FALSE( outcome.IsSuccess()); } -TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure ) +TEST_F(KinesisSmokeTestSuite, ListStreamsSuccess ) { Aws::Kinesis::KinesisClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -54,9 +54,8 @@ TEST_F(KinesisSmokeTestSuite, DescribeStreamFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - DescribeStreamRequest input; - input.SetStreamName("bogus-stream-name"); - auto outcome = clientSp->DescribeStream(input); - EXPECT_FALSE( outcome.IsSuccess()); + ListStreamsRequest input; + auto outcome = clientSp->ListStreams(input); + EXPECT_TRUE( outcome.IsSuccess()); } } diff --git a/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp b/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp index 94eb97015f7..73e1604fc81 100644 --- a/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp +++ b/generated/smoke-tests/logs/CloudWatchLogsSmokeTests.cpp @@ -18,6 +18,7 @@ #include #include #include +#include namespace CloudWatchLogsSmokeTest{ using namespace Aws::Auth; @@ -31,7 +32,7 @@ class CloudWatchLogsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char CloudWatchLogsSmokeTestSuite::ALLOCATION_TAG[] = "CloudWatchLogsSmokeTest"; -TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure ) +TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess ) { Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -40,13 +41,11 @@ TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - GetLogEventsRequest input; - input.SetLogGroupName("fakegroup"); - input.SetLogStreamName("fakestream"); - auto outcome = clientSp->GetLogEvents(input); - EXPECT_FALSE( outcome.IsSuccess()); + DescribeLogGroupsRequest input; + auto outcome = clientSp->DescribeLogGroups(input); + EXPECT_TRUE( outcome.IsSuccess()); } -TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess ) +TEST_F(CloudWatchLogsSmokeTestSuite, GetLogEventsFailure ) { Aws::CloudWatchLogs::CloudWatchLogsClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -55,8 +54,10 @@ TEST_F(CloudWatchLogsSmokeTestSuite, DescribeLogGroupsSuccess ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - DescribeLogGroupsRequest input; - auto outcome = clientSp->DescribeLogGroups(input); - EXPECT_TRUE( outcome.IsSuccess()); + GetLogEventsRequest input; + input.SetLogGroupName("fakegroup"); + input.SetLogStreamName("fakestream"); + auto outcome = clientSp->GetLogEvents(input); + EXPECT_FALSE( outcome.IsSuccess()); } } diff --git a/generated/smoke-tests/rds/RDSSmokeTests.cpp b/generated/smoke-tests/rds/RDSSmokeTests.cpp index bf150f4893a..0da11b71595 100644 --- a/generated/smoke-tests/rds/RDSSmokeTests.cpp +++ b/generated/smoke-tests/rds/RDSSmokeTests.cpp @@ -18,6 +18,7 @@ #include #include #include +#include namespace RDSSmokeTest{ using namespace Aws::Auth; @@ -31,7 +32,7 @@ class RDSSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char RDSSmokeTestSuite::ALLOCATION_TAG[] = "RDSSmokeTest"; -TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure ) +TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess ) { Aws::RDS::RDSClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -40,12 +41,11 @@ TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - DescribeDBInstancesRequest input; - input.SetDBInstanceIdentifier("fake-id"); - auto outcome = clientSp->DescribeDBInstances(input); - EXPECT_FALSE( outcome.IsSuccess()); + DescribeDBEngineVersionsRequest input; + auto outcome = clientSp->DescribeDBEngineVersions(input); + EXPECT_TRUE( outcome.IsSuccess()); } -TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess ) +TEST_F(RDSSmokeTestSuite, DescribeDBInstancesFailure ) { Aws::RDS::RDSClientConfiguration clientConfiguration; clientConfiguration.region = "us-west-2"; @@ -54,8 +54,9 @@ TEST_F(RDSSmokeTestSuite, DescribeDBEngineVersionsSuccess ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - DescribeDBEngineVersionsRequest input; - auto outcome = clientSp->DescribeDBEngineVersions(input); - EXPECT_TRUE( outcome.IsSuccess()); + DescribeDBInstancesRequest input; + input.SetDBInstanceIdentifier("fake-id"); + auto outcome = clientSp->DescribeDBInstances(input); + EXPECT_FALSE( outcome.IsSuccess()); } } diff --git a/generated/smoke-tests/route53/Route53SmokeTests.cpp b/generated/smoke-tests/route53/Route53SmokeTests.cpp index 4ace8553a3a..1bdd4ecb39c 100644 --- a/generated/smoke-tests/route53/Route53SmokeTests.cpp +++ b/generated/smoke-tests/route53/Route53SmokeTests.cpp @@ -18,6 +18,7 @@ #include #include #include +#include namespace Route53SmokeTest{ using namespace Aws::Auth; @@ -31,7 +32,7 @@ class Route53SmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char Route53SmokeTestSuite::ALLOCATION_TAG[] = "Route53SmokeTest"; -TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure ) +TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess ) { Aws::Route53::Route53ClientConfiguration clientConfiguration; clientConfiguration.region = "us-east-1"; @@ -40,12 +41,11 @@ TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - GetHostedZoneRequest input; - input.SetId("fake-zone"); - auto outcome = clientSp->GetHostedZone(input); - EXPECT_FALSE( outcome.IsSuccess()); + ListHostedZonesRequest input; + auto outcome = clientSp->ListHostedZones(input); + EXPECT_TRUE( outcome.IsSuccess()); } -TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess ) +TEST_F(Route53SmokeTestSuite, GetHostedZoneFailure ) { Aws::Route53::Route53ClientConfiguration clientConfiguration; clientConfiguration.region = "us-east-1"; @@ -54,8 +54,9 @@ TEST_F(Route53SmokeTestSuite, ListHostedZonesSuccess ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - ListHostedZonesRequest input; - auto outcome = clientSp->ListHostedZones(input); - EXPECT_TRUE( outcome.IsSuccess()); + GetHostedZoneRequest input; + input.SetId("fake-zone"); + auto outcome = clientSp->GetHostedZone(input); + EXPECT_FALSE( outcome.IsSuccess()); } } diff --git a/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp b/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp index 5ae06ac511d..348a6974924 100644 --- a/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp +++ b/generated/smoke-tests/route53domains/Route53DomainsSmokeTests.cpp @@ -18,6 +18,7 @@ #include #include #include +#include namespace Route53DomainsSmokeTest{ using namespace Aws::Auth; @@ -31,7 +32,7 @@ class Route53DomainsSmokeTestSuite : public Aws::Testing::AwsCppSdkGTestSuite { static const char ALLOCATION_TAG[]; }; const char Route53DomainsSmokeTestSuite::ALLOCATION_TAG[] = "Route53DomainsSmokeTest"; -TEST_F(Route53DomainsSmokeTestSuite, GetDomainDetailFailure ) +TEST_F(Route53DomainsSmokeTestSuite, ListDomainsSuccess ) { Aws::Route53Domains::Route53DomainsClientConfiguration clientConfiguration; clientConfiguration.region = "us-east-1"; @@ -40,12 +41,11 @@ TEST_F(Route53DomainsSmokeTestSuite, GetDomainDetailFailure ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - GetDomainDetailRequest input; - input.SetDomainName("fake-domain-name"); - auto outcome = clientSp->GetDomainDetail(input); - EXPECT_FALSE( outcome.IsSuccess()); + ListDomainsRequest input; + auto outcome = clientSp->ListDomains(input); + EXPECT_TRUE( outcome.IsSuccess()); } -TEST_F(Route53DomainsSmokeTestSuite, ListDomainsSuccess ) +TEST_F(Route53DomainsSmokeTestSuite, GetDomainDetailFailure ) { Aws::Route53Domains::Route53DomainsClientConfiguration clientConfiguration; clientConfiguration.region = "us-east-1"; @@ -54,8 +54,9 @@ TEST_F(Route53DomainsSmokeTestSuite, ListDomainsSuccess ) auto clientSp = Aws::MakeShared(ALLOCATION_TAG, clientConfiguration); //populate input params - ListDomainsRequest input; - auto outcome = clientSp->ListDomains(input); - EXPECT_TRUE( outcome.IsSuccess()); + GetDomainDetailRequest input; + input.SetDomainName("fake-domain-name"); + auto outcome = clientSp->GetDomainDetail(input); + EXPECT_FALSE( outcome.IsSuccess()); } } diff --git a/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp b/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp index ac67cecb6df..e4fe1315448 100644 --- a/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp +++ b/generated/src/aws-cpp-sdk-account/source/AccountEndpointRules.cpp @@ -10,44 +10,44 @@ namespace Aws { namespace Account { -const size_t AccountEndpointRules::RulesBlobStrLen = 4336; -const size_t AccountEndpointRules::RulesBlobSize = 4337; +const size_t AccountEndpointRules::RulesBlobStrLen = 4153; +const size_t AccountEndpointRules::RulesBlobSize = 4154; using RulesBlobT = Aws::Array; static constexpr RulesBlobT RulesBlob = {{ '{','"','v','e','r','s','i','o','n','"',':','"','1','.','0','"',',','"','p','a','r','a','m','e','t', -'e','r','s','"',':','{','"','R','e','g','i','o','n','"',':','{','"','b','u','i','l','t','I','n','"', -':','"','A','W','S',':',':','R','e','g','i','o','n','"',',','"','r','e','q','u','i','r','e','d','"', -':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','T', -'h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i','s', -'p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p','e', -'"',':','"','S','t','r','i','n','g','"','}',',','"','U','s','e','D','u','a','l','S','t','a','c','k', -'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','D','u','a', -'l','S','t','a','c','k','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"', -'d','e','f','a','u','l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a', -'t','i','o','n','"',':','"','W','h','e','n',' ','t','r','u','e',',',' ','u','s','e',' ','t','h','e', -' ','d','u','a','l','-','s','t','a','c','k',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ', -'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d', -'o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','d','u','a','l','-','s','t','a','c', -'k',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e','s', -'t',' ','M','A','Y',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"',',','"', -'t','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S', -'"',':','{','"','b','u','i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','F','I','P', -'S','"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u', -'l','t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"', -':','"','W','h','e','n',' ','t','r','u','e',',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e', -'q','u','e','s','t',' ','t','o',' ','t','h','e',' ','F','I','P','S','-','c','o','m','p','l','i','a', -'n','t',' ','r','e','g','i','o','n','a','l',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ', -'t','h','e',' ','c','o','n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d', -'o','e','s',' ','n','o','t',' ','h','a','v','e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l', -'i','a','n','t',' ','e','n','d','p','o','i','n','t',',',' ','d','i','s','p','a','t','c','h','i','n', -'g',' ','t','h','e',' ','r','e','q','u','e','s','t',' ','w','i','l','l',' ','r','e','t','u','r','n', -' ','a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':','"','B','o','o','l','e', -'a','n','"','}',',','"','E','n','d','p','o','i','n','t','"',':','{','"','b','u','i','l','t','I','n', -'"',':','"','S','D','K',':',':','E','n','d','p','o','i','n','t','"',',','"','r','e','q','u','i','r', -'e','d','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"', -':','"','O','v','e','r','r','i','d','e',' ','t','h','e',' ','e','n','d','p','o','i','n','t',' ','u', -'s','e','d',' ','t','o',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"', +'e','r','s','"',':','{','"','U','s','e','D','u','a','l','S','t','a','c','k','"',':','{','"','b','u', +'i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','D','u','a','l','S','t','a','c','k', +'"',',','"','r','e','q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u','l', +'t','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':', +'"','W','h','e','n',' ','t','r','u','e',',',' ','u','s','e',' ','t','h','e',' ','d','u','a','l','-', +'s','t','a','c','k',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ','t','h','e',' ','c','o', +'n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d','o','e','s',' ','n','o', +'t',' ','s','u','p','p','o','r','t',' ','d','u','a','l','-','s','t','a','c','k',',',' ','d','i','s', +'p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e','s','t',' ','M','A','Y',' ', +'r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"',',','"','t','y','p','e','"',':', +'"','B','o','o','l','e','a','n','"','}',',','"','U','s','e','F','I','P','S','"',':','{','"','b','u', +'i','l','t','I','n','"',':','"','A','W','S',':',':','U','s','e','F','I','P','S','"',',','"','r','e', +'q','u','i','r','e','d','"',':','t','r','u','e',',','"','d','e','f','a','u','l','t','"',':','f','a', +'l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','W','h','e','n', +' ','t','r','u','e',',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t',' ', +'t','o',' ','t','h','e',' ','F','I','P','S','-','c','o','m','p','l','i','a','n','t',' ','r','e','g', +'i','o','n','a','l',' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ','t','h','e',' ','c','o', +'n','f','i','g','u','r','e','d',' ','e','n','d','p','o','i','n','t',' ','d','o','e','s',' ','n','o', +'t',' ','h','a','v','e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l','i','a','n','t',' ','e', +'n','d','p','o','i','n','t',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ', +'r','e','q','u','e','s','t',' ','w','i','l','l',' ','r','e','t','u','r','n',' ','a','n',' ','e','r', +'r','o','r','.','"',',','"','t','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"', +'E','n','d','p','o','i','n','t','"',':','{','"','b','u','i','l','t','I','n','"',':','"','S','D','K', +':',':','E','n','d','p','o','i','n','t','"',',','"','r','e','q','u','i','r','e','d','"',':','f','a', +'l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','O','v','e','r', +'r','i','d','e',' ','t','h','e',' ','e','n','d','p','o','i','n','t',' ','u','s','e','d',' ','t','o', +' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t','"',',','"','t','y','p','e', +'"',':','"','S','t','r','i','n','g','"','}',',','"','R','e','g','i','o','n','"',':','{','"','b','u', +'i','l','t','I','n','"',':','"','A','W','S',':',':','R','e','g','i','o','n','"',',','"','r','e','q', +'u','i','r','e','d','"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i', +'o','n','"',':','"','T','h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ', +'t','o',' ','d','i','s','p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"', ',','"','t','y','p','e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s', '"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', 'i','s','S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n', @@ -58,137 +58,130 @@ static constexpr RulesBlobT RulesBlob = {{ '"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F', 'I','P','S',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a', 'r','e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':', -'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', -'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"', -'}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l','i', -'d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a','c', -'k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e', -' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e', -'r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', -'e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"', -'E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', -'}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e', -'n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}', -',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s', -'S','e','t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i', -'o','n','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t', -'i','o','n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i', -'o','n','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o', -'n','"','}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a', -'l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t', -'r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t', -'i','o','n','R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','s', -'"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', -'}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', -'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s', -'e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','e','n', -'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a', -'c','c','o','u','n','t','.','u','s','-','e','a','s','t','-','1','.','a','m','a','z','o','n','a','w', -'s','.','c','o','m','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t', -'h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4', -'"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"','a','c','c','o','u','n','t','"', -',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','u','s','-','e','a','s','t', -'-','1','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p', -'e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"','c','o','n','d','i','t','i','o', -'n','s','"',':','[','{','"','f','n','"',':','"','s','t','r','i','n','g','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', -'R','e','s','u','l','t','"','}',',','"','n','a','m','e','"',']','}',',','"','a','w','s','-','c','n', -'"',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', -'}',',','f','a','l','s','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E', -'q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s', -'e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','e','n', -'d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a', -'c','c','o','u','n','t','.','c','n','-','n','o','r','t','h','w','e','s','t','-','1','.','a','m','a', -'z','o','n','a','w','s','.','c','o','m','.','c','n','"',',','"','p','r','o','p','e','r','t','i','e', -'s','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e', -'"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n','g','N','a','m','e','"',':','"', -'a','c','c','o','u','n','t','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':', -'"','c','n','-','n','o','r','t','h','w','e','s','t','-','1','"','}',']','}',',','"','h','e','a','d', -'e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t', -'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"', -'b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"', -'r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t','r','u','e',']','}',',','{','"', -'f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v', -'"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}', -',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u', -'a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"', -'g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"', -'P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r', -'t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a', +'"','e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a','c','k', +'"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a','l', +'i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','D','u','a','l','s','t','a', +'c','k',' ','a','n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r', +'e',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"', +'e','r','r','o','r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', +'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':', +'"','E','n','d','p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':', +'{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i', +'t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', +'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']','}',']', +',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[', +'{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n','"',',','"','a','r', +'g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"','}',']',',','"','a', +'s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a', +'r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','t', +'r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a', +'l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':', +'[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o', +'o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e', +',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[', +'{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}', +',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',']','}',',','{','"','f','n','"', +':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[', +'t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g', +'v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u', +'l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']', +'}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n', +'s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"', +'h','t','t','p','s',':','/','/','a','c','c','o','u','n','t','-','f','i','p','s','.','{','P','a','r', +'t','i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o','b', +'a','l','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','#','d','u','a','l','S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p', +'r','o','p','e','r','t','i','e','s','"',':','{','"','a','u','t','h','S','c','h','e','m','e','s','"', +':','[','{','"','n','a','m','e','"',':','"','s','i','g','v','4','"',',','"','s','i','g','n','i','n', +'g','R','e','g','i','o','n','"',':','"','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l', +'t','#','i','m','p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i','o','n','}','"','}', +']','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"', +'e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r', +'"',':','"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e', +' ','e','n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t', +'i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ', +'o','r',' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']', +',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P', +'S','"','}',',','t','r','u','e',']','}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n', +'E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U', +'s','e','D','u','a','l','S','t','a','c','k','"','}',',','f','a','l','s','e',']','}',']',',','"','r', +'u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f', +'n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"', +':','[','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"', +'}',',','"','s','u','p','p','o','r','t','s','F','I','P','S','"',']','}',',','t','r','u','e',']','}', +']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':', +'[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t', +'p','s',':','/','/','a','c','c','o','u','n','t','-','f','i','p','s','.','{','P','a','r','t','i','t', +'i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o','b','a','l','R', +'e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d', +'n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{', +'"','a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s', +'i','g','v','4','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','{','P', +'a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l', +'o','b','a','l','R','e','g','i','o','n','}','"','}',']','}',',','"','h','e','a','d','e','r','s','"', +':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e', +'n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n', +' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"', +'t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t', +'r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n', +'"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':', +'[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"','}',',','f','a','l','s','e',']', +'}',',','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"', +'a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','D','u','a','l','S','t','a', +'c','k','"','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c', +'o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a', 'n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','t','r','u','e',',','{','"','f', 'n','"',':','"','g','e','t','A','t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e', 'f','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u', 'p','p','o','r','t','s','D','u','a','l','S','t','a','c','k','"',']','}',']','}',']',',','"','r','u', 'l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e', 'n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/', -'a','c','c','o','u','n','t','-','f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a', +'a','c','c','o','u','n','t','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'i','m','p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i','o','n','}','.','{','P','a', 'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n', -'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}', -',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n', -'d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',', -'{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o','r','"',':', -'"','F','I','P','S',' ','a','n','d',' ','D','u','a','l','S','t','a','c','k',' ','a','r','e',' ','e', -'n','a','b','l','e','d',',',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o', -'n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','o','n','e',' ','o','r', -' ','b','o','t','h','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"', +'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"', +'a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i', +'g','v','4','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','{','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o', +'b','a','l','R','e','g','i','o','n','}','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', 't','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n', -'s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"', -',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P','S','"', -'}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d', -'i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q', -'u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','f','n','"',':','"','g','e','t','A', -'t','t','r','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t', -'i','t','i','o','n','R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','F','I', -'P','S','"',']','}',',','t','r','u','e',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"', -'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', -':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','a','c','c','o','u','n','t','-', -'f','i','p','s','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R', -'e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r', -'t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t', -'y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':', -'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', -'"','e','r','r','o','r','"',':','"','F','I','P','S',' ','i','s',' ','e','n','a','b','l','e','d',' ', -'b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o','e','s',' ','n', -'o','t',' ','s','u','p','p','o','r','t',' ','F','I','P','S','"',',','"','t','y','p','e','"',':','"', -'e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{', -'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l', -'e','a','n','E','q','u','a','l','s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"', -':','"','U','s','e','D','u','a','l','S','t','a','c','k','"','}',',','t','r','u','e',']','}',']',',', -'"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[','{', -'"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l','s','"',',','"','a','r','g', -'v','"',':','[','t','r','u','e',',','{','"','f','n','"',':','"','g','e','t','A','t','t','r','"',',', -'"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','P','a','r','t','i','t','i','o','n', -'R','e','s','u','l','t','"','}',',','"','s','u','p','p','o','r','t','s','D','u','a','l','S','t','a', -'c','k','"',']','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i', -'t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r', -'l','"',':','"','h','t','t','p','s',':','/','/','a','c','c','o','u','n','t','.','{','R','e','g','i', -'o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l', -'S','t','a','c','k','D','n','s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t', -'i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y', -'p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"', -'t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"', -'e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ','i','s',' ','e','n','a','b', -'l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i','t','i','o','n',' ','d','o', -'e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a','l','S','t','a','c','k','"', -',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':', -'"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',', -'"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':','"','h','t','t','p','s',':', -'/','/','a','c','c','o','u','n','t','.','{','R','e','g','i','o','n','}','.','{','P','a','r','t','i', -'t','i','o','n','R','e','s','u','l','t','#','d','n','s','S','u','f','f','i','x','}','"',',','"','p', -'r','o','p','e','r','t','i','e','s','"',':','{','}',',','"','h','e','a','d','e','r','s','"',':','{', -'}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t', -'y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e', -'e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r', -'o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o', -'n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"', -':','"','e','r','r','o','r','"','}',']','}','\0' +'s','"',':','[',']',',','"','e','r','r','o','r','"',':','"','D','u','a','l','S','t','a','c','k',' ', +'i','s',' ','e','n','a','b','l','e','d',' ','b','u','t',' ','t','h','i','s',' ','p','a','r','t','i', +'t','i','o','n',' ','d','o','e','s',' ','n','o','t',' ','s','u','p','p','o','r','t',' ','D','u','a', +'l','S','t','a','c','k','"',',','"','t','y','p','e','"',':','"','e','r','r','o','r','"','}',']',',', +'"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"','u','r','l','"',':', +'"','h','t','t','p','s',':','/','/','a','c','c','o','u','n','t','.','{','P','a','r','t','i','t','i', +'o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o','b','a','l','R','e', +'g','i','o','n','}','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','n', +'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"', +'a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i', +'g','v','4','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','{','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o', +'b','a','l','R','e','g','i','o','n','}','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"', +'t','y','p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r', +'e','e','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r', +'r','o','r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i', +'o','n',':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e', +'"',':','"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"', +'}',']','}','\0' }}; const char* AccountEndpointRules::GetRulesBlob() diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h index 26519141848..e7c80103166 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupClient.h @@ -1235,6 +1235,32 @@ namespace Backup return SubmitAsync(&BackupClient::GetLegalHold, request, handler, context); } + /** + *

This operation returns the metadata and details specific to the backup index + * associated with the specified recovery point.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetRecoveryPointIndexDetailsOutcome GetRecoveryPointIndexDetails(const Model::GetRecoveryPointIndexDetailsRequest& request) const; + + /** + * A Callable wrapper for GetRecoveryPointIndexDetails that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetRecoveryPointIndexDetailsOutcomeCallable GetRecoveryPointIndexDetailsCallable(const GetRecoveryPointIndexDetailsRequestT& request) const + { + return SubmitCallable(&BackupClient::GetRecoveryPointIndexDetails, request); + } + + /** + * An Async wrapper for GetRecoveryPointIndexDetails that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetRecoveryPointIndexDetailsAsync(const GetRecoveryPointIndexDetailsRequestT& request, const GetRecoveryPointIndexDetailsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupClient::GetRecoveryPointIndexDetails, request, handler, context); + } + /** *

Returns a set of metadata key-value pairs that were used to create the * backup.

See Also:

This operation returns a list of recovery points that have an associated + * index, belonging to the specified account.

Optional parameters you can + * include are: MaxResults; NextToken; SourceResourceArns; CreatedBefore; + * CreatedAfter; and ResourceType.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListIndexedRecoveryPointsOutcome ListIndexedRecoveryPoints(const Model::ListIndexedRecoveryPointsRequest& request = {}) const; + + /** + * A Callable wrapper for ListIndexedRecoveryPoints that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListIndexedRecoveryPointsOutcomeCallable ListIndexedRecoveryPointsCallable(const ListIndexedRecoveryPointsRequestT& request = {}) const + { + return SubmitCallable(&BackupClient::ListIndexedRecoveryPoints, request); + } + + /** + * An Async wrapper for ListIndexedRecoveryPoints that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListIndexedRecoveryPointsAsync(const ListIndexedRecoveryPointsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListIndexedRecoveryPointsRequestT& request = {}) const + { + return SubmitAsync(&BackupClient::ListIndexedRecoveryPoints, request, handler, context); + } + /** *

This action returns metadata about active and previous legal * holds.

See Also:

This operation updates the settings of a recovery point index.

+ *

Required: BackupVaultName, RecoveryPointArn, and IAMRoleArn

See + * Also:

AWS + * API Reference

+ */ + virtual Model::UpdateRecoveryPointIndexSettingsOutcome UpdateRecoveryPointIndexSettings(const Model::UpdateRecoveryPointIndexSettingsRequest& request) const; + + /** + * A Callable wrapper for UpdateRecoveryPointIndexSettings that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UpdateRecoveryPointIndexSettingsOutcomeCallable UpdateRecoveryPointIndexSettingsCallable(const UpdateRecoveryPointIndexSettingsRequestT& request) const + { + return SubmitCallable(&BackupClient::UpdateRecoveryPointIndexSettings, request); + } + + /** + * An Async wrapper for UpdateRecoveryPointIndexSettings that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UpdateRecoveryPointIndexSettingsAsync(const UpdateRecoveryPointIndexSettingsRequestT& request, const UpdateRecoveryPointIndexSettingsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupClient::UpdateRecoveryPointIndexSettings, request, handler, context); + } + /** *

Sets the transition lifecycle of a recovery point.

The lifecycle * defines when a protected resource is transitioned to cold storage and when it diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupServiceClientModel.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupServiceClientModel.h index a06a60a7a63..ea363230a47 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupServiceClientModel.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/BackupServiceClientModel.h @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -64,6 +65,7 @@ #include #include #include +#include #include #include #include @@ -84,6 +86,7 @@ #include #include #include +#include #include #include #include @@ -104,6 +107,7 @@ #include #include #include +#include #include #include #include @@ -191,6 +195,7 @@ namespace Aws class GetBackupVaultAccessPolicyRequest; class GetBackupVaultNotificationsRequest; class GetLegalHoldRequest; + class GetRecoveryPointIndexDetailsRequest; class GetRecoveryPointRestoreMetadataRequest; class GetRestoreJobMetadataRequest; class GetRestoreTestingInferredMetadataRequest; @@ -207,6 +212,7 @@ namespace Aws class ListCopyJobSummariesRequest; class ListCopyJobsRequest; class ListFrameworksRequest; + class ListIndexedRecoveryPointsRequest; class ListLegalHoldsRequest; class ListProtectedResourcesRequest; class ListProtectedResourcesByBackupVaultRequest; @@ -235,6 +241,7 @@ namespace Aws class UpdateBackupPlanRequest; class UpdateFrameworkRequest; class UpdateGlobalSettingsRequest; + class UpdateRecoveryPointIndexSettingsRequest; class UpdateRecoveryPointLifecycleRequest; class UpdateRegionSettingsRequest; class UpdateReportPlanRequest; @@ -285,6 +292,7 @@ namespace Aws typedef Aws::Utils::Outcome GetBackupVaultAccessPolicyOutcome; typedef Aws::Utils::Outcome GetBackupVaultNotificationsOutcome; typedef Aws::Utils::Outcome GetLegalHoldOutcome; + typedef Aws::Utils::Outcome GetRecoveryPointIndexDetailsOutcome; typedef Aws::Utils::Outcome GetRecoveryPointRestoreMetadataOutcome; typedef Aws::Utils::Outcome GetRestoreJobMetadataOutcome; typedef Aws::Utils::Outcome GetRestoreTestingInferredMetadataOutcome; @@ -301,6 +309,7 @@ namespace Aws typedef Aws::Utils::Outcome ListCopyJobSummariesOutcome; typedef Aws::Utils::Outcome ListCopyJobsOutcome; typedef Aws::Utils::Outcome ListFrameworksOutcome; + typedef Aws::Utils::Outcome ListIndexedRecoveryPointsOutcome; typedef Aws::Utils::Outcome ListLegalHoldsOutcome; typedef Aws::Utils::Outcome ListProtectedResourcesOutcome; typedef Aws::Utils::Outcome ListProtectedResourcesByBackupVaultOutcome; @@ -329,6 +338,7 @@ namespace Aws typedef Aws::Utils::Outcome UpdateBackupPlanOutcome; typedef Aws::Utils::Outcome UpdateFrameworkOutcome; typedef Aws::Utils::Outcome UpdateGlobalSettingsOutcome; + typedef Aws::Utils::Outcome UpdateRecoveryPointIndexSettingsOutcome; typedef Aws::Utils::Outcome UpdateRecoveryPointLifecycleOutcome; typedef Aws::Utils::Outcome UpdateRegionSettingsOutcome; typedef Aws::Utils::Outcome UpdateReportPlanOutcome; @@ -379,6 +389,7 @@ namespace Aws typedef std::future GetBackupVaultAccessPolicyOutcomeCallable; typedef std::future GetBackupVaultNotificationsOutcomeCallable; typedef std::future GetLegalHoldOutcomeCallable; + typedef std::future GetRecoveryPointIndexDetailsOutcomeCallable; typedef std::future GetRecoveryPointRestoreMetadataOutcomeCallable; typedef std::future GetRestoreJobMetadataOutcomeCallable; typedef std::future GetRestoreTestingInferredMetadataOutcomeCallable; @@ -395,6 +406,7 @@ namespace Aws typedef std::future ListCopyJobSummariesOutcomeCallable; typedef std::future ListCopyJobsOutcomeCallable; typedef std::future ListFrameworksOutcomeCallable; + typedef std::future ListIndexedRecoveryPointsOutcomeCallable; typedef std::future ListLegalHoldsOutcomeCallable; typedef std::future ListProtectedResourcesOutcomeCallable; typedef std::future ListProtectedResourcesByBackupVaultOutcomeCallable; @@ -423,6 +435,7 @@ namespace Aws typedef std::future UpdateBackupPlanOutcomeCallable; typedef std::future UpdateFrameworkOutcomeCallable; typedef std::future UpdateGlobalSettingsOutcomeCallable; + typedef std::future UpdateRecoveryPointIndexSettingsOutcomeCallable; typedef std::future UpdateRecoveryPointLifecycleOutcomeCallable; typedef std::future UpdateRegionSettingsOutcomeCallable; typedef std::future UpdateReportPlanOutcomeCallable; @@ -476,6 +489,7 @@ namespace Aws typedef std::function&) > GetBackupVaultAccessPolicyResponseReceivedHandler; typedef std::function&) > GetBackupVaultNotificationsResponseReceivedHandler; typedef std::function&) > GetLegalHoldResponseReceivedHandler; + typedef std::function&) > GetRecoveryPointIndexDetailsResponseReceivedHandler; typedef std::function&) > GetRecoveryPointRestoreMetadataResponseReceivedHandler; typedef std::function&) > GetRestoreJobMetadataResponseReceivedHandler; typedef std::function&) > GetRestoreTestingInferredMetadataResponseReceivedHandler; @@ -492,6 +506,7 @@ namespace Aws typedef std::function&) > ListCopyJobSummariesResponseReceivedHandler; typedef std::function&) > ListCopyJobsResponseReceivedHandler; typedef std::function&) > ListFrameworksResponseReceivedHandler; + typedef std::function&) > ListIndexedRecoveryPointsResponseReceivedHandler; typedef std::function&) > ListLegalHoldsResponseReceivedHandler; typedef std::function&) > ListProtectedResourcesResponseReceivedHandler; typedef std::function&) > ListProtectedResourcesByBackupVaultResponseReceivedHandler; @@ -520,6 +535,7 @@ namespace Aws typedef std::function&) > UpdateBackupPlanResponseReceivedHandler; typedef std::function&) > UpdateFrameworkResponseReceivedHandler; typedef std::function&) > UpdateGlobalSettingsResponseReceivedHandler; + typedef std::function&) > UpdateRecoveryPointIndexSettingsResponseReceivedHandler; typedef std::function&) > UpdateRecoveryPointLifecycleResponseReceivedHandler; typedef std::function&) > UpdateRegionSettingsResponseReceivedHandler; typedef std::function&) > UpdateReportPlanResponseReceivedHandler; diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRule.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRule.h index de0e097c6f8..41e1acfbeb8 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRule.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRule.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -222,6 +223,23 @@ namespace Model inline BackupRule& WithScheduleExpressionTimezone(Aws::String&& value) { SetScheduleExpressionTimezone(std::move(value)); return *this;} inline BackupRule& WithScheduleExpressionTimezone(const char* value) { SetScheduleExpressionTimezone(value); return *this;} ///@} + + ///@{ + /** + *

IndexActions is an array you use to specify how backup data should be + * indexed.

eEach BackupRule can have 0 or 1 IndexAction, as each backup can + * have up to one index associated with it.

Within the array is + * ResourceType. Only one will be accepted for each BackupRule.

+ */ + inline const Aws::Vector& GetIndexActions() const{ return m_indexActions; } + inline bool IndexActionsHasBeenSet() const { return m_indexActionsHasBeenSet; } + inline void SetIndexActions(const Aws::Vector& value) { m_indexActionsHasBeenSet = true; m_indexActions = value; } + inline void SetIndexActions(Aws::Vector&& value) { m_indexActionsHasBeenSet = true; m_indexActions = std::move(value); } + inline BackupRule& WithIndexActions(const Aws::Vector& value) { SetIndexActions(value); return *this;} + inline BackupRule& WithIndexActions(Aws::Vector&& value) { SetIndexActions(std::move(value)); return *this;} + inline BackupRule& AddIndexActions(const IndexAction& value) { m_indexActionsHasBeenSet = true; m_indexActions.push_back(value); return *this; } + inline BackupRule& AddIndexActions(IndexAction&& value) { m_indexActionsHasBeenSet = true; m_indexActions.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_ruleName; @@ -256,6 +274,9 @@ namespace Model Aws::String m_scheduleExpressionTimezone; bool m_scheduleExpressionTimezoneHasBeenSet = false; + + Aws::Vector m_indexActions; + bool m_indexActionsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRuleInput.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRuleInput.h index 919a2e74962..3ab60d21246 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRuleInput.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/BackupRuleInput.h @@ -10,6 +10,7 @@ #include #include #include +#include #include namespace Aws @@ -202,6 +203,24 @@ namespace Model inline BackupRuleInput& WithScheduleExpressionTimezone(Aws::String&& value) { SetScheduleExpressionTimezone(std::move(value)); return *this;} inline BackupRuleInput& WithScheduleExpressionTimezone(const char* value) { SetScheduleExpressionTimezone(value); return *this;} ///@} + + ///@{ + /** + *

There can up to one IndexAction in each BackupRule, as each backup can have 0 + * or 1 backup index associated with it.

Within the array is ResourceTypes. + * Only 1 resource type will be accepted for each BackupRule. Valid values:

+ *
  • EBS for Amazon Elastic Block Store

  • + * S3 for Amazon Simple Storage Service (Amazon S3)

+ */ + inline const Aws::Vector& GetIndexActions() const{ return m_indexActions; } + inline bool IndexActionsHasBeenSet() const { return m_indexActionsHasBeenSet; } + inline void SetIndexActions(const Aws::Vector& value) { m_indexActionsHasBeenSet = true; m_indexActions = value; } + inline void SetIndexActions(Aws::Vector&& value) { m_indexActionsHasBeenSet = true; m_indexActions = std::move(value); } + inline BackupRuleInput& WithIndexActions(const Aws::Vector& value) { SetIndexActions(value); return *this;} + inline BackupRuleInput& WithIndexActions(Aws::Vector&& value) { SetIndexActions(std::move(value)); return *this;} + inline BackupRuleInput& AddIndexActions(const IndexAction& value) { m_indexActionsHasBeenSet = true; m_indexActions.push_back(value); return *this; } + inline BackupRuleInput& AddIndexActions(IndexAction&& value) { m_indexActionsHasBeenSet = true; m_indexActions.push_back(std::move(value)); return *this; } + ///@} private: Aws::String m_ruleName; @@ -233,6 +252,9 @@ namespace Model Aws::String m_scheduleExpressionTimezone; bool m_scheduleExpressionTimezoneHasBeenSet = false; + + Aws::Vector m_indexActions; + bool m_indexActionsHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeRecoveryPointResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeRecoveryPointResult.h index 928fbffe134..68ad8a60c9f 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeRecoveryPointResult.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/DescribeRecoveryPointResult.h @@ -13,6 +13,7 @@ #include #include #include +#include #include namespace Aws @@ -393,6 +394,35 @@ namespace Model inline DescribeRecoveryPointResult& WithVaultType(VaultType&& value) { SetVaultType(std::move(value)); return *this;} ///@} + ///@{ + /** + *

This is the current status for the backup index associated with the specified + * recovery point.

Statuses are: PENDING | ACTIVE + * | FAILED | DELETING

A recovery point with an + * index that has the status of ACTIVE can be included in a + * search.

+ */ + inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } + inline void SetIndexStatus(const IndexStatus& value) { m_indexStatus = value; } + inline void SetIndexStatus(IndexStatus&& value) { m_indexStatus = std::move(value); } + inline DescribeRecoveryPointResult& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} + inline DescribeRecoveryPointResult& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A string in the form of a detailed message explaining the status of a backup + * index associated with the recovery point.

+ */ + inline const Aws::String& GetIndexStatusMessage() const{ return m_indexStatusMessage; } + inline void SetIndexStatusMessage(const Aws::String& value) { m_indexStatusMessage = value; } + inline void SetIndexStatusMessage(Aws::String&& value) { m_indexStatusMessage = std::move(value); } + inline void SetIndexStatusMessage(const char* value) { m_indexStatusMessage.assign(value); } + inline DescribeRecoveryPointResult& WithIndexStatusMessage(const Aws::String& value) { SetIndexStatusMessage(value); return *this;} + inline DescribeRecoveryPointResult& WithIndexStatusMessage(Aws::String&& value) { SetIndexStatusMessage(std::move(value)); return *this;} + inline DescribeRecoveryPointResult& WithIndexStatusMessage(const char* value) { SetIndexStatusMessage(value); return *this;} + ///@} + ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } @@ -453,6 +483,10 @@ namespace Model VaultType m_vaultType; + IndexStatus m_indexStatus; + + Aws::String m_indexStatusMessage; + Aws::String m_requestId; }; diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsRequest.h new file mode 100644 index 00000000000..a53c2bed8b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsRequest.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + + /** + */ + class GetRecoveryPointIndexDetailsRequest : public BackupRequest + { + public: + AWS_BACKUP_API GetRecoveryPointIndexDetailsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetRecoveryPointIndexDetails"; } + + AWS_BACKUP_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The name of a logical container where backups are stored. Backup vaults are + * identified by names that are unique to the account used to create them and the + * Region where they are created.

Accepted characters include lowercase + * letters, numbers, and hyphens.

+ */ + inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } + inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; } + inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; } + inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); } + inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); } + inline GetRecoveryPointIndexDetailsRequest& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} + inline GetRecoveryPointIndexDetailsRequest& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} + inline GetRecoveryPointIndexDetailsRequest& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} + ///@} + + ///@{ + /** + *

An ARN that uniquely identifies a recovery point; for example, + * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

+ */ + inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; } + inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; } + inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; } + inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); } + inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); } + inline GetRecoveryPointIndexDetailsRequest& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;} + inline GetRecoveryPointIndexDetailsRequest& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;} + inline GetRecoveryPointIndexDetailsRequest& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;} + ///@} + private: + + Aws::String m_backupVaultName; + bool m_backupVaultNameHasBeenSet = false; + + Aws::String m_recoveryPointArn; + bool m_recoveryPointArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsResult.h new file mode 100644 index 00000000000..ac685fa7b60 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/GetRecoveryPointIndexDetailsResult.h @@ -0,0 +1,196 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Backup +{ +namespace Model +{ + class GetRecoveryPointIndexDetailsResult + { + public: + AWS_BACKUP_API GetRecoveryPointIndexDetailsResult(); + AWS_BACKUP_API GetRecoveryPointIndexDetailsResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUP_API GetRecoveryPointIndexDetailsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

An ARN that uniquely identifies a recovery point; for example, + * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

+ */ + inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; } + inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; } + inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); } + inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); } + inline GetRecoveryPointIndexDetailsResult& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;} + ///@} + + ///@{ + /** + *

An ARN that uniquely identifies the backup vault where the recovery point + * index is stored.

For example, + * arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.

+ */ + inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; } + inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArn = value; } + inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArn = std::move(value); } + inline void SetBackupVaultArn(const char* value) { m_backupVaultArn.assign(value); } + inline GetRecoveryPointIndexDetailsResult& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;} + ///@} + + ///@{ + /** + *

A string of the Amazon Resource Name (ARN) that uniquely identifies the + * source resource.

+ */ + inline const Aws::String& GetSourceResourceArn() const{ return m_sourceResourceArn; } + inline void SetSourceResourceArn(const Aws::String& value) { m_sourceResourceArn = value; } + inline void SetSourceResourceArn(Aws::String&& value) { m_sourceResourceArn = std::move(value); } + inline void SetSourceResourceArn(const char* value) { m_sourceResourceArn.assign(value); } + inline GetRecoveryPointIndexDetailsResult& WithSourceResourceArn(const Aws::String& value) { SetSourceResourceArn(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithSourceResourceArn(Aws::String&& value) { SetSourceResourceArn(std::move(value)); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithSourceResourceArn(const char* value) { SetSourceResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a backup index was created, in Unix format and + * Coordinated Universal Time (UTC). The value of CreationDate is + * accurate to milliseconds. For example, the value 1516925490.087 represents + * Friday, January 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetIndexCreationDate() const{ return m_indexCreationDate; } + inline void SetIndexCreationDate(const Aws::Utils::DateTime& value) { m_indexCreationDate = value; } + inline void SetIndexCreationDate(Aws::Utils::DateTime&& value) { m_indexCreationDate = std::move(value); } + inline GetRecoveryPointIndexDetailsResult& WithIndexCreationDate(const Aws::Utils::DateTime& value) { SetIndexCreationDate(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithIndexCreationDate(Aws::Utils::DateTime&& value) { SetIndexCreationDate(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a backup index was deleted, in Unix format and + * Coordinated Universal Time (UTC). The value of CreationDate is + * accurate to milliseconds. For example, the value 1516925490.087 represents + * Friday, January 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetIndexDeletionDate() const{ return m_indexDeletionDate; } + inline void SetIndexDeletionDate(const Aws::Utils::DateTime& value) { m_indexDeletionDate = value; } + inline void SetIndexDeletionDate(Aws::Utils::DateTime&& value) { m_indexDeletionDate = std::move(value); } + inline GetRecoveryPointIndexDetailsResult& WithIndexDeletionDate(const Aws::Utils::DateTime& value) { SetIndexDeletionDate(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithIndexDeletionDate(Aws::Utils::DateTime&& value) { SetIndexDeletionDate(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a backup index finished creation, in Unix format and + * Coordinated Universal Time (UTC). The value of CreationDate is + * accurate to milliseconds. For example, the value 1516925490.087 represents + * Friday, January 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetIndexCompletionDate() const{ return m_indexCompletionDate; } + inline void SetIndexCompletionDate(const Aws::Utils::DateTime& value) { m_indexCompletionDate = value; } + inline void SetIndexCompletionDate(Aws::Utils::DateTime&& value) { m_indexCompletionDate = std::move(value); } + inline GetRecoveryPointIndexDetailsResult& WithIndexCompletionDate(const Aws::Utils::DateTime& value) { SetIndexCompletionDate(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithIndexCompletionDate(Aws::Utils::DateTime&& value) { SetIndexCompletionDate(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is the current status for the backup index associated with the specified + * recovery point.

Statuses are: PENDING | ACTIVE + * | FAILED | DELETING

A recovery point with an + * index that has the status of ACTIVE can be included in a + * search.

+ */ + inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } + inline void SetIndexStatus(const IndexStatus& value) { m_indexStatus = value; } + inline void SetIndexStatus(IndexStatus&& value) { m_indexStatus = std::move(value); } + inline GetRecoveryPointIndexDetailsResult& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A detailed message explaining the status of a backup index associated with + * the recovery point.

+ */ + inline const Aws::String& GetIndexStatusMessage() const{ return m_indexStatusMessage; } + inline void SetIndexStatusMessage(const Aws::String& value) { m_indexStatusMessage = value; } + inline void SetIndexStatusMessage(Aws::String&& value) { m_indexStatusMessage = std::move(value); } + inline void SetIndexStatusMessage(const char* value) { m_indexStatusMessage.assign(value); } + inline GetRecoveryPointIndexDetailsResult& WithIndexStatusMessage(const Aws::String& value) { SetIndexStatusMessage(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithIndexStatusMessage(Aws::String&& value) { SetIndexStatusMessage(std::move(value)); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithIndexStatusMessage(const char* value) { SetIndexStatusMessage(value); return *this;} + ///@} + + ///@{ + /** + *

Count of items within the backup index associated with the recovery + * point.

+ */ + inline long long GetTotalItemsIndexed() const{ return m_totalItemsIndexed; } + inline void SetTotalItemsIndexed(long long value) { m_totalItemsIndexed = value; } + inline GetRecoveryPointIndexDetailsResult& WithTotalItemsIndexed(long long value) { SetTotalItemsIndexed(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetRecoveryPointIndexDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetRecoveryPointIndexDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_recoveryPointArn; + + Aws::String m_backupVaultArn; + + Aws::String m_sourceResourceArn; + + Aws::Utils::DateTime m_indexCreationDate; + + Aws::Utils::DateTime m_indexDeletionDate; + + Aws::Utils::DateTime m_indexCompletionDate; + + IndexStatus m_indexStatus; + + Aws::String m_indexStatusMessage; + + long long m_totalItemsIndexed; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/Index.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/Index.h new file mode 100644 index 00000000000..5e858b798cf --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/Index.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + enum class Index + { + NOT_SET, + ENABLED, + DISABLED + }; + +namespace IndexMapper +{ +AWS_BACKUP_API Index GetIndexForName(const Aws::String& name); + +AWS_BACKUP_API Aws::String GetNameForIndex(Index value); +} // namespace IndexMapper +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexAction.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexAction.h new file mode 100644 index 00000000000..46e8d1a9c2e --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexAction.h @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Backup +{ +namespace Model +{ + + /** + *

This is an optional array within a BackupRule.

IndexAction consists of + * one ResourceTypes.

See Also:

AWS + * API Reference

+ */ + class IndexAction + { + public: + AWS_BACKUP_API IndexAction(); + AWS_BACKUP_API IndexAction(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUP_API IndexAction& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

0 or 1 index action will be accepted for each BackupRule.

Valid + * values:

  • EBS for Amazon Elastic Block Store

    + *
  • S3 for Amazon Simple Storage Service (Amazon S3)

    + *
+ */ + inline const Aws::Vector& GetResourceTypes() const{ return m_resourceTypes; } + inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; } + inline void SetResourceTypes(const Aws::Vector& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; } + inline void SetResourceTypes(Aws::Vector&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); } + inline IndexAction& WithResourceTypes(const Aws::Vector& value) { SetResourceTypes(value); return *this;} + inline IndexAction& WithResourceTypes(Aws::Vector&& value) { SetResourceTypes(std::move(value)); return *this;} + inline IndexAction& AddResourceTypes(const Aws::String& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; } + inline IndexAction& AddResourceTypes(Aws::String&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; } + inline IndexAction& AddResourceTypes(const char* value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; } + ///@} + private: + + Aws::Vector m_resourceTypes; + bool m_resourceTypesHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexStatus.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexStatus.h new file mode 100644 index 00000000000..0d881871a02 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexStatus.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + enum class IndexStatus + { + NOT_SET, + PENDING, + ACTIVE, + FAILED, + DELETING + }; + +namespace IndexStatusMapper +{ +AWS_BACKUP_API IndexStatus GetIndexStatusForName(const Aws::String& name); + +AWS_BACKUP_API Aws::String GetNameForIndexStatus(IndexStatus value); +} // namespace IndexStatusMapper +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexedRecoveryPoint.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexedRecoveryPoint.h new file mode 100644 index 00000000000..126a678bf3b --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/IndexedRecoveryPoint.h @@ -0,0 +1,214 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Backup +{ +namespace Model +{ + + /** + *

This is a recovery point that has an associated backup index.

Only + * recovery points with a backup index can be included in a search.

See + * Also:

AWS + * API Reference

+ */ + class IndexedRecoveryPoint + { + public: + AWS_BACKUP_API IndexedRecoveryPoint(); + AWS_BACKUP_API IndexedRecoveryPoint(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUP_API IndexedRecoveryPoint& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

An ARN that uniquely identifies a recovery point; for example, + * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 + *

+ */ + inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; } + inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; } + inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; } + inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); } + inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); } + inline IndexedRecoveryPoint& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;} + inline IndexedRecoveryPoint& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;} + inline IndexedRecoveryPoint& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;} + ///@} + + ///@{ + /** + *

A string of the Amazon Resource Name (ARN) that uniquely identifies the + * source resource.

+ */ + inline const Aws::String& GetSourceResourceArn() const{ return m_sourceResourceArn; } + inline bool SourceResourceArnHasBeenSet() const { return m_sourceResourceArnHasBeenSet; } + inline void SetSourceResourceArn(const Aws::String& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = value; } + inline void SetSourceResourceArn(Aws::String&& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = std::move(value); } + inline void SetSourceResourceArn(const char* value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn.assign(value); } + inline IndexedRecoveryPoint& WithSourceResourceArn(const Aws::String& value) { SetSourceResourceArn(value); return *this;} + inline IndexedRecoveryPoint& WithSourceResourceArn(Aws::String&& value) { SetSourceResourceArn(std::move(value)); return *this;} + inline IndexedRecoveryPoint& WithSourceResourceArn(const char* value) { SetSourceResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

This specifies the IAM role ARN used for this operation.

For example, + * arn:aws:iam::123456789012:role/S3Access

+ */ + inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } + inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } + inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } + inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } + inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } + inline IndexedRecoveryPoint& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} + inline IndexedRecoveryPoint& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} + inline IndexedRecoveryPoint& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a backup was created, in Unix format and Coordinated + * Universal Time (UTC). The value of CreationDate is accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetBackupCreationDate() const{ return m_backupCreationDate; } + inline bool BackupCreationDateHasBeenSet() const { return m_backupCreationDateHasBeenSet; } + inline void SetBackupCreationDate(const Aws::Utils::DateTime& value) { m_backupCreationDateHasBeenSet = true; m_backupCreationDate = value; } + inline void SetBackupCreationDate(Aws::Utils::DateTime&& value) { m_backupCreationDateHasBeenSet = true; m_backupCreationDate = std::move(value); } + inline IndexedRecoveryPoint& WithBackupCreationDate(const Aws::Utils::DateTime& value) { SetBackupCreationDate(value); return *this;} + inline IndexedRecoveryPoint& WithBackupCreationDate(Aws::Utils::DateTime&& value) { SetBackupCreationDate(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The resource type of the indexed recovery point.

  • + * EBS for Amazon Elastic Block Store

  • + * S3 for Amazon Simple Storage Service (Amazon S3)

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + inline IndexedRecoveryPoint& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + inline IndexedRecoveryPoint& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + inline IndexedRecoveryPoint& WithResourceType(const char* value) { SetResourceType(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a backup index was created, in Unix format and + * Coordinated Universal Time (UTC). The value of CreationDate is + * accurate to milliseconds. For example, the value 1516925490.087 represents + * Friday, January 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetIndexCreationDate() const{ return m_indexCreationDate; } + inline bool IndexCreationDateHasBeenSet() const { return m_indexCreationDateHasBeenSet; } + inline void SetIndexCreationDate(const Aws::Utils::DateTime& value) { m_indexCreationDateHasBeenSet = true; m_indexCreationDate = value; } + inline void SetIndexCreationDate(Aws::Utils::DateTime&& value) { m_indexCreationDateHasBeenSet = true; m_indexCreationDate = std::move(value); } + inline IndexedRecoveryPoint& WithIndexCreationDate(const Aws::Utils::DateTime& value) { SetIndexCreationDate(value); return *this;} + inline IndexedRecoveryPoint& WithIndexCreationDate(Aws::Utils::DateTime&& value) { SetIndexCreationDate(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is the current status for the backup index associated with the specified + * recovery point.

Statuses are: PENDING | ACTIVE + * | FAILED | DELETING

A recovery point with an + * index that has the status of ACTIVE can be included in a + * search.

+ */ + inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } + inline bool IndexStatusHasBeenSet() const { return m_indexStatusHasBeenSet; } + inline void SetIndexStatus(const IndexStatus& value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; } + inline void SetIndexStatus(IndexStatus&& value) { m_indexStatusHasBeenSet = true; m_indexStatus = std::move(value); } + inline IndexedRecoveryPoint& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} + inline IndexedRecoveryPoint& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A string in the form of a detailed message explaining the status of a backup + * index associated with the recovery point.

+ */ + inline const Aws::String& GetIndexStatusMessage() const{ return m_indexStatusMessage; } + inline bool IndexStatusMessageHasBeenSet() const { return m_indexStatusMessageHasBeenSet; } + inline void SetIndexStatusMessage(const Aws::String& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = value; } + inline void SetIndexStatusMessage(Aws::String&& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = std::move(value); } + inline void SetIndexStatusMessage(const char* value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage.assign(value); } + inline IndexedRecoveryPoint& WithIndexStatusMessage(const Aws::String& value) { SetIndexStatusMessage(value); return *this;} + inline IndexedRecoveryPoint& WithIndexStatusMessage(Aws::String&& value) { SetIndexStatusMessage(std::move(value)); return *this;} + inline IndexedRecoveryPoint& WithIndexStatusMessage(const char* value) { SetIndexStatusMessage(value); return *this;} + ///@} + + ///@{ + /** + *

An ARN that uniquely identifies the backup vault where the recovery point + * index is stored.

For example, + * arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.

+ */ + inline const Aws::String& GetBackupVaultArn() const{ return m_backupVaultArn; } + inline bool BackupVaultArnHasBeenSet() const { return m_backupVaultArnHasBeenSet; } + inline void SetBackupVaultArn(const Aws::String& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = value; } + inline void SetBackupVaultArn(Aws::String&& value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn = std::move(value); } + inline void SetBackupVaultArn(const char* value) { m_backupVaultArnHasBeenSet = true; m_backupVaultArn.assign(value); } + inline IndexedRecoveryPoint& WithBackupVaultArn(const Aws::String& value) { SetBackupVaultArn(value); return *this;} + inline IndexedRecoveryPoint& WithBackupVaultArn(Aws::String&& value) { SetBackupVaultArn(std::move(value)); return *this;} + inline IndexedRecoveryPoint& WithBackupVaultArn(const char* value) { SetBackupVaultArn(value); return *this;} + ///@} + private: + + Aws::String m_recoveryPointArn; + bool m_recoveryPointArnHasBeenSet = false; + + Aws::String m_sourceResourceArn; + bool m_sourceResourceArnHasBeenSet = false; + + Aws::String m_iamRoleArn; + bool m_iamRoleArnHasBeenSet = false; + + Aws::Utils::DateTime m_backupCreationDate; + bool m_backupCreationDateHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::Utils::DateTime m_indexCreationDate; + bool m_indexCreationDateHasBeenSet = false; + + IndexStatus m_indexStatus; + bool m_indexStatusHasBeenSet = false; + + Aws::String m_indexStatusMessage; + bool m_indexStatusMessageHasBeenSet = false; + + Aws::String m_backupVaultArn; + bool m_backupVaultArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsRequest.h new file mode 100644 index 00000000000..f1253b4dd9a --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsRequest.h @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace Backup +{ +namespace Model +{ + + /** + */ + class ListIndexedRecoveryPointsRequest : public BackupRequest + { + public: + AWS_BACKUP_API ListIndexedRecoveryPointsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListIndexedRecoveryPoints"; } + + AWS_BACKUP_API Aws::String SerializePayload() const override; + + AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

The next item following a partial list of returned recovery points.

+ *

For example, if a request is made to return MaxResults number of + * indexed recovery points, NextToken allows you to return more items + * in your list starting at the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListIndexedRecoveryPointsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListIndexedRecoveryPointsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListIndexedRecoveryPointsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of resource list items to be returned.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListIndexedRecoveryPointsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + + ///@{ + /** + *

A string of the Amazon Resource Name (ARN) that uniquely identifies the + * source resource.

+ */ + inline const Aws::String& GetSourceResourceArn() const{ return m_sourceResourceArn; } + inline bool SourceResourceArnHasBeenSet() const { return m_sourceResourceArnHasBeenSet; } + inline void SetSourceResourceArn(const Aws::String& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = value; } + inline void SetSourceResourceArn(Aws::String&& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = std::move(value); } + inline void SetSourceResourceArn(const char* value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn.assign(value); } + inline ListIndexedRecoveryPointsRequest& WithSourceResourceArn(const Aws::String& value) { SetSourceResourceArn(value); return *this;} + inline ListIndexedRecoveryPointsRequest& WithSourceResourceArn(Aws::String&& value) { SetSourceResourceArn(std::move(value)); return *this;} + inline ListIndexedRecoveryPointsRequest& WithSourceResourceArn(const char* value) { SetSourceResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

Returns only indexed recovery points that were created before the specified + * date.

+ */ + inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; } + inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; } + inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; } + inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); } + inline ListIndexedRecoveryPointsRequest& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;} + inline ListIndexedRecoveryPointsRequest& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Returns only indexed recovery points that were created after the specified + * date.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; } + inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; } + inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; } + inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); } + inline ListIndexedRecoveryPointsRequest& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;} + inline ListIndexedRecoveryPointsRequest& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Returns a list of indexed recovery points for the specified resource + * type(s).

Accepted values include:

  • EBS for + * Amazon Elastic Block Store

  • S3 for Amazon Simple + * Storage Service (Amazon S3)

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + inline ListIndexedRecoveryPointsRequest& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + inline ListIndexedRecoveryPointsRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + inline ListIndexedRecoveryPointsRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;} + ///@} + + ///@{ + /** + *

Include this parameter to filter the returned list by the indicated + * statuses.

Accepted values: PENDING | ACTIVE | + * FAILED | DELETING

A recovery point with an + * index that has the status of ACTIVE can be included in a + * search.

+ */ + inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } + inline bool IndexStatusHasBeenSet() const { return m_indexStatusHasBeenSet; } + inline void SetIndexStatus(const IndexStatus& value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; } + inline void SetIndexStatus(IndexStatus&& value) { m_indexStatusHasBeenSet = true; m_indexStatus = std::move(value); } + inline ListIndexedRecoveryPointsRequest& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} + inline ListIndexedRecoveryPointsRequest& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + + Aws::String m_sourceResourceArn; + bool m_sourceResourceArnHasBeenSet = false; + + Aws::Utils::DateTime m_createdBefore; + bool m_createdBeforeHasBeenSet = false; + + Aws::Utils::DateTime m_createdAfter; + bool m_createdAfterHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + IndexStatus m_indexStatus; + bool m_indexStatusHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsResult.h new file mode 100644 index 00000000000..632946f0ec6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/ListIndexedRecoveryPointsResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Backup +{ +namespace Model +{ + class ListIndexedRecoveryPointsResult + { + public: + AWS_BACKUP_API ListIndexedRecoveryPointsResult(); + AWS_BACKUP_API ListIndexedRecoveryPointsResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUP_API ListIndexedRecoveryPointsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

This is a list of recovery points that have an associated index, belonging to + * the specified account.

+ */ + inline const Aws::Vector& GetIndexedRecoveryPoints() const{ return m_indexedRecoveryPoints; } + inline void SetIndexedRecoveryPoints(const Aws::Vector& value) { m_indexedRecoveryPoints = value; } + inline void SetIndexedRecoveryPoints(Aws::Vector&& value) { m_indexedRecoveryPoints = std::move(value); } + inline ListIndexedRecoveryPointsResult& WithIndexedRecoveryPoints(const Aws::Vector& value) { SetIndexedRecoveryPoints(value); return *this;} + inline ListIndexedRecoveryPointsResult& WithIndexedRecoveryPoints(Aws::Vector&& value) { SetIndexedRecoveryPoints(std::move(value)); return *this;} + inline ListIndexedRecoveryPointsResult& AddIndexedRecoveryPoints(const IndexedRecoveryPoint& value) { m_indexedRecoveryPoints.push_back(value); return *this; } + inline ListIndexedRecoveryPointsResult& AddIndexedRecoveryPoints(IndexedRecoveryPoint&& value) { m_indexedRecoveryPoints.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The next item following a partial list of returned recovery points.

+ *

For example, if a request is made to return MaxResults number of + * indexed recovery points, NextToken allows you to return more items + * in your list starting at the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListIndexedRecoveryPointsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListIndexedRecoveryPointsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListIndexedRecoveryPointsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListIndexedRecoveryPointsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListIndexedRecoveryPointsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListIndexedRecoveryPointsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_indexedRecoveryPoints; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByBackupVault.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByBackupVault.h index 3bcb7b2d06b..a7d3ff010fd 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByBackupVault.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByBackupVault.h @@ -12,6 +12,7 @@ #include #include #include +#include #include namespace Aws @@ -381,6 +382,37 @@ namespace Model inline RecoveryPointByBackupVault& WithVaultType(const VaultType& value) { SetVaultType(value); return *this;} inline RecoveryPointByBackupVault& WithVaultType(VaultType&& value) { SetVaultType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

This is the current status for the backup index associated with the specified + * recovery point.

Statuses are: PENDING | ACTIVE + * | FAILED | DELETING

A recovery point with an + * index that has the status of ACTIVE can be included in a + * search.

+ */ + inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } + inline bool IndexStatusHasBeenSet() const { return m_indexStatusHasBeenSet; } + inline void SetIndexStatus(const IndexStatus& value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; } + inline void SetIndexStatus(IndexStatus&& value) { m_indexStatusHasBeenSet = true; m_indexStatus = std::move(value); } + inline RecoveryPointByBackupVault& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} + inline RecoveryPointByBackupVault& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A string in the form of a detailed message explaining the status of a backup + * index associated with the recovery point.

+ */ + inline const Aws::String& GetIndexStatusMessage() const{ return m_indexStatusMessage; } + inline bool IndexStatusMessageHasBeenSet() const { return m_indexStatusMessageHasBeenSet; } + inline void SetIndexStatusMessage(const Aws::String& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = value; } + inline void SetIndexStatusMessage(Aws::String&& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = std::move(value); } + inline void SetIndexStatusMessage(const char* value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage.assign(value); } + inline RecoveryPointByBackupVault& WithIndexStatusMessage(const Aws::String& value) { SetIndexStatusMessage(value); return *this;} + inline RecoveryPointByBackupVault& WithIndexStatusMessage(Aws::String&& value) { SetIndexStatusMessage(std::move(value)); return *this;} + inline RecoveryPointByBackupVault& WithIndexStatusMessage(const char* value) { SetIndexStatusMessage(value); return *this;} + ///@} private: Aws::String m_recoveryPointArn; @@ -451,6 +483,12 @@ namespace Model VaultType m_vaultType; bool m_vaultTypeHasBeenSet = false; + + IndexStatus m_indexStatus; + bool m_indexStatusHasBeenSet = false; + + Aws::String m_indexStatusMessage; + bool m_indexStatusMessageHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByResource.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByResource.h index c7bd11f4c15..38ef52e85a0 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByResource.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/RecoveryPointByResource.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -190,6 +191,37 @@ namespace Model inline RecoveryPointByResource& WithVaultType(const VaultType& value) { SetVaultType(value); return *this;} inline RecoveryPointByResource& WithVaultType(VaultType&& value) { SetVaultType(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

This is the current status for the backup index associated with the specified + * recovery point.

Statuses are: PENDING | ACTIVE + * | FAILED | DELETING

A recovery point with an + * index that has the status of ACTIVE can be included in a + * search.

+ */ + inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } + inline bool IndexStatusHasBeenSet() const { return m_indexStatusHasBeenSet; } + inline void SetIndexStatus(const IndexStatus& value) { m_indexStatusHasBeenSet = true; m_indexStatus = value; } + inline void SetIndexStatus(IndexStatus&& value) { m_indexStatusHasBeenSet = true; m_indexStatus = std::move(value); } + inline RecoveryPointByResource& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} + inline RecoveryPointByResource& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A string in the form of a detailed message explaining the status of a backup + * index associated with the recovery point.

+ */ + inline const Aws::String& GetIndexStatusMessage() const{ return m_indexStatusMessage; } + inline bool IndexStatusMessageHasBeenSet() const { return m_indexStatusMessageHasBeenSet; } + inline void SetIndexStatusMessage(const Aws::String& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = value; } + inline void SetIndexStatusMessage(Aws::String&& value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage = std::move(value); } + inline void SetIndexStatusMessage(const char* value) { m_indexStatusMessageHasBeenSet = true; m_indexStatusMessage.assign(value); } + inline RecoveryPointByResource& WithIndexStatusMessage(const Aws::String& value) { SetIndexStatusMessage(value); return *this;} + inline RecoveryPointByResource& WithIndexStatusMessage(Aws::String&& value) { SetIndexStatusMessage(std::move(value)); return *this;} + inline RecoveryPointByResource& WithIndexStatusMessage(const char* value) { SetIndexStatusMessage(value); return *this;} + ///@} private: Aws::String m_recoveryPointArn; @@ -224,6 +256,12 @@ namespace Model VaultType m_vaultType; bool m_vaultTypeHasBeenSet = false; + + IndexStatus m_indexStatus; + bool m_indexStatusHasBeenSet = false; + + Aws::String m_indexStatusMessage; + bool m_indexStatusMessageHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/StartBackupJobRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/StartBackupJobRequest.h index b9d449e7db6..646ea5c51e5 100644 --- a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/StartBackupJobRequest.h +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/StartBackupJobRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -198,6 +199,26 @@ namespace Model inline StartBackupJobRequest& AddBackupOptions(Aws::String&& key, const char* value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(std::move(key), value); return *this; } inline StartBackupJobRequest& AddBackupOptions(const char* key, const char* value) { m_backupOptionsHasBeenSet = true; m_backupOptions.emplace(key, value); return *this; } ///@} + + ///@{ + /** + *

Include this parameter to enable index creation if your backup job has a + * resource type that supports backup indexes.

Resource types that support + * backup indexes include:

  • EBS for Amazon Elastic + * Block Store

  • S3 for Amazon Simple Storage Service + * (Amazon S3)

Index can have 1 of 2 possible values, either + * ENABLED or DISABLED.

To create a backup index + * for an eligible ACTIVE recovery point that does not yet have a + * backup index, set value to ENABLED.

To delete a backup + * index, set value to DISABLED.

+ */ + inline const Index& GetIndex() const{ return m_index; } + inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; } + inline void SetIndex(const Index& value) { m_indexHasBeenSet = true; m_index = value; } + inline void SetIndex(Index&& value) { m_indexHasBeenSet = true; m_index = std::move(value); } + inline StartBackupJobRequest& WithIndex(const Index& value) { SetIndex(value); return *this;} + inline StartBackupJobRequest& WithIndex(Index&& value) { SetIndex(std::move(value)); return *this;} + ///@} private: Aws::String m_backupVaultName; @@ -226,6 +247,9 @@ namespace Model Aws::Map m_backupOptions; bool m_backupOptionsHasBeenSet = false; + + Index m_index; + bool m_indexHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsRequest.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsRequest.h new file mode 100644 index 00000000000..052c0c54662 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsRequest.h @@ -0,0 +1,115 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + + /** + */ + class UpdateRecoveryPointIndexSettingsRequest : public BackupRequest + { + public: + AWS_BACKUP_API UpdateRecoveryPointIndexSettingsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UpdateRecoveryPointIndexSettings"; } + + AWS_BACKUP_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The name of a logical container where backups are stored. Backup vaults are + * identified by names that are unique to the account used to create them and the + * Region where they are created.

Accepted characters include lowercase + * letters, numbers, and hyphens.

+ */ + inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } + inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; } + inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; } + inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); } + inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); } + inline UpdateRecoveryPointIndexSettingsRequest& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} + inline UpdateRecoveryPointIndexSettingsRequest& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} + inline UpdateRecoveryPointIndexSettingsRequest& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} + ///@} + + ///@{ + /** + *

An ARN that uniquely identifies a recovery point; for example, + * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

+ */ + inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; } + inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; } + inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; } + inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); } + inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); } + inline UpdateRecoveryPointIndexSettingsRequest& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;} + inline UpdateRecoveryPointIndexSettingsRequest& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;} + inline UpdateRecoveryPointIndexSettingsRequest& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;} + ///@} + + ///@{ + /** + *

This specifies the IAM role ARN used for this operation.

For example, + * arn:aws:iam::123456789012:role/S3Access

+ */ + inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } + inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } + inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } + inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } + inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } + inline UpdateRecoveryPointIndexSettingsRequest& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} + inline UpdateRecoveryPointIndexSettingsRequest& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} + inline UpdateRecoveryPointIndexSettingsRequest& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} + ///@} + + ///@{ + /** + *

Index can have 1 of 2 possible values, either ENABLED or + * DISABLED.

To create a backup index for an eligible + * ACTIVE recovery point that does not yet have a backup index, set + * value to ENABLED.

To delete a backup index, set value to + * DISABLED.

+ */ + inline const Index& GetIndex() const{ return m_index; } + inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; } + inline void SetIndex(const Index& value) { m_indexHasBeenSet = true; m_index = value; } + inline void SetIndex(Index&& value) { m_indexHasBeenSet = true; m_index = std::move(value); } + inline UpdateRecoveryPointIndexSettingsRequest& WithIndex(const Index& value) { SetIndex(value); return *this;} + inline UpdateRecoveryPointIndexSettingsRequest& WithIndex(Index&& value) { SetIndex(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_backupVaultName; + bool m_backupVaultNameHasBeenSet = false; + + Aws::String m_recoveryPointArn; + bool m_recoveryPointArnHasBeenSet = false; + + Aws::String m_iamRoleArn; + bool m_iamRoleArnHasBeenSet = false; + + Index m_index; + bool m_indexHasBeenSet = false; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsResult.h b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsResult.h new file mode 100644 index 00000000000..ae3f6ec037f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/include/aws/backup/model/UpdateRecoveryPointIndexSettingsResult.h @@ -0,0 +1,120 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace Backup +{ +namespace Model +{ + class UpdateRecoveryPointIndexSettingsResult + { + public: + AWS_BACKUP_API UpdateRecoveryPointIndexSettingsResult(); + AWS_BACKUP_API UpdateRecoveryPointIndexSettingsResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUP_API UpdateRecoveryPointIndexSettingsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The name of a logical container where backups are stored. Backup vaults are + * identified by names that are unique to the account used to create them and the + * Region where they are created.

+ */ + inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } + inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultName = value; } + inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultName = std::move(value); } + inline void SetBackupVaultName(const char* value) { m_backupVaultName.assign(value); } + inline UpdateRecoveryPointIndexSettingsResult& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} + ///@} + + ///@{ + /** + *

An ARN that uniquely identifies a recovery point; for example, + * arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

+ */ + inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; } + inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; } + inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); } + inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); } + inline UpdateRecoveryPointIndexSettingsResult& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;} + ///@} + + ///@{ + /** + *

This is the current status for the backup index associated with the specified + * recovery point.

Statuses are: PENDING | ACTIVE + * | FAILED | DELETING

A recovery point with an + * index that has the status of ACTIVE can be included in a + * search.

+ */ + inline const IndexStatus& GetIndexStatus() const{ return m_indexStatus; } + inline void SetIndexStatus(const IndexStatus& value) { m_indexStatus = value; } + inline void SetIndexStatus(IndexStatus&& value) { m_indexStatus = std::move(value); } + inline UpdateRecoveryPointIndexSettingsResult& WithIndexStatus(const IndexStatus& value) { SetIndexStatus(value); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithIndexStatus(IndexStatus&& value) { SetIndexStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Index can have 1 of 2 possible values, either ENABLED or + * DISABLED.

A value of ENABLED means a backup + * index for an eligible ACTIVE recovery point has been created.

+ *

A value of DISABLED means a backup index was deleted.

+ */ + inline const Index& GetIndex() const{ return m_index; } + inline void SetIndex(const Index& value) { m_index = value; } + inline void SetIndex(Index&& value) { m_index = std::move(value); } + inline UpdateRecoveryPointIndexSettingsResult& WithIndex(const Index& value) { SetIndex(value); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithIndex(Index&& value) { SetIndex(std::move(value)); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UpdateRecoveryPointIndexSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UpdateRecoveryPointIndexSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_backupVaultName; + + Aws::String m_recoveryPointArn; + + IndexStatus m_indexStatus; + + Index m_index; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp b/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp index b95d199e26c..ff9d2ae2796 100644 --- a/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/BackupClient.cpp @@ -63,6 +63,7 @@ #include #include #include +#include #include #include #include @@ -79,6 +80,7 @@ #include #include #include +#include #include #include #include @@ -107,6 +109,7 @@ #include #include #include +#include #include #include #include @@ -1658,6 +1661,47 @@ GetLegalHoldOutcome BackupClient::GetLegalHold(const GetLegalHoldRequest& reques {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +GetRecoveryPointIndexDetailsOutcome BackupClient::GetRecoveryPointIndexDetails(const GetRecoveryPointIndexDetailsRequest& request) const +{ + AWS_OPERATION_GUARD(GetRecoveryPointIndexDetails); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetRecoveryPointIndexDetails, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BackupVaultNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetRecoveryPointIndexDetails", "Required field: BackupVaultName, is not set"); + return GetRecoveryPointIndexDetailsOutcome(Aws::Client::AWSError(BackupErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [BackupVaultName]", false)); + } + if (!request.RecoveryPointArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetRecoveryPointIndexDetails", "Required field: RecoveryPointArn, is not set"); + return GetRecoveryPointIndexDetailsOutcome(Aws::Client::AWSError(BackupErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [RecoveryPointArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetRecoveryPointIndexDetails, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetRecoveryPointIndexDetails, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetRecoveryPointIndexDetails", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetRecoveryPointIndexDetailsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetRecoveryPointIndexDetails, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/backup-vaults/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetBackupVaultName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/recovery-points/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetRecoveryPointArn()); + endpointResolutionOutcome.GetResult().AddPathSegments("/index"); + return GetRecoveryPointIndexDetailsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + GetRecoveryPointRestoreMetadataOutcome BackupClient::GetRecoveryPointRestoreMetadata(const GetRecoveryPointRestoreMetadataRequest& request) const { AWS_OPERATION_GUARD(GetRecoveryPointRestoreMetadata); @@ -2154,6 +2198,33 @@ ListFrameworksOutcome BackupClient::ListFrameworks(const ListFrameworksRequest& {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +ListIndexedRecoveryPointsOutcome BackupClient::ListIndexedRecoveryPoints(const ListIndexedRecoveryPointsRequest& request) const +{ + AWS_OPERATION_GUARD(ListIndexedRecoveryPoints); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListIndexedRecoveryPoints, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListIndexedRecoveryPoints, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListIndexedRecoveryPoints, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListIndexedRecoveryPoints", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListIndexedRecoveryPointsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListIndexedRecoveryPoints, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/indexes/recovery-point/"); + return ListIndexedRecoveryPointsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + ListLegalHoldsOutcome BackupClient::ListLegalHolds(const ListLegalHoldsRequest& request) const { AWS_OPERATION_GUARD(ListLegalHolds); @@ -3022,6 +3093,47 @@ UpdateGlobalSettingsOutcome BackupClient::UpdateGlobalSettings(const UpdateGloba {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); } +UpdateRecoveryPointIndexSettingsOutcome BackupClient::UpdateRecoveryPointIndexSettings(const UpdateRecoveryPointIndexSettingsRequest& request) const +{ + AWS_OPERATION_GUARD(UpdateRecoveryPointIndexSettings); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UpdateRecoveryPointIndexSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.BackupVaultNameHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateRecoveryPointIndexSettings", "Required field: BackupVaultName, is not set"); + return UpdateRecoveryPointIndexSettingsOutcome(Aws::Client::AWSError(BackupErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [BackupVaultName]", false)); + } + if (!request.RecoveryPointArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UpdateRecoveryPointIndexSettings", "Required field: RecoveryPointArn, is not set"); + return UpdateRecoveryPointIndexSettingsOutcome(Aws::Client::AWSError(BackupErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [RecoveryPointArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UpdateRecoveryPointIndexSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UpdateRecoveryPointIndexSettings, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UpdateRecoveryPointIndexSettings", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UpdateRecoveryPointIndexSettingsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UpdateRecoveryPointIndexSettings, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/backup-vaults/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetBackupVaultName()); + endpointResolutionOutcome.GetResult().AddPathSegments("/recovery-points/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetRecoveryPointArn()); + endpointResolutionOutcome.GetResult().AddPathSegments("/index"); + return UpdateRecoveryPointIndexSettingsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + UpdateRecoveryPointLifecycleOutcome BackupClient::UpdateRecoveryPointLifecycle(const UpdateRecoveryPointLifecycleRequest& request) const { AWS_OPERATION_GUARD(UpdateRecoveryPointLifecycle); diff --git a/generated/src/aws-cpp-sdk-backup/source/model/BackupRule.cpp b/generated/src/aws-cpp-sdk-backup/source/model/BackupRule.cpp index 509473bd931..c51eb58e6c3 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/BackupRule.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/BackupRule.cpp @@ -32,7 +32,8 @@ BackupRule::BackupRule() : m_copyActionsHasBeenSet(false), m_enableContinuousBackup(false), m_enableContinuousBackupHasBeenSet(false), - m_scheduleExpressionTimezoneHasBeenSet(false) + m_scheduleExpressionTimezoneHasBeenSet(false), + m_indexActionsHasBeenSet(false) { } @@ -127,6 +128,16 @@ BackupRule& BackupRule::operator =(JsonView jsonValue) m_scheduleExpressionTimezoneHasBeenSet = true; } + if(jsonValue.ValueExists("IndexActions")) + { + Aws::Utils::Array indexActionsJsonList = jsonValue.GetArray("IndexActions"); + for(unsigned indexActionsIndex = 0; indexActionsIndex < indexActionsJsonList.GetLength(); ++indexActionsIndex) + { + m_indexActions.push_back(indexActionsJsonList[indexActionsIndex].AsObject()); + } + m_indexActionsHasBeenSet = true; + } + return *this; } @@ -210,6 +221,17 @@ JsonValue BackupRule::Jsonize() const } + if(m_indexActionsHasBeenSet) + { + Aws::Utils::Array indexActionsJsonList(m_indexActions.size()); + for(unsigned indexActionsIndex = 0; indexActionsIndex < indexActionsJsonList.GetLength(); ++indexActionsIndex) + { + indexActionsJsonList[indexActionsIndex].AsObject(m_indexActions[indexActionsIndex].Jsonize()); + } + payload.WithArray("IndexActions", std::move(indexActionsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/BackupRuleInput.cpp b/generated/src/aws-cpp-sdk-backup/source/model/BackupRuleInput.cpp index 189bdfb945f..fa97ce18f7d 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/BackupRuleInput.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/BackupRuleInput.cpp @@ -31,7 +31,8 @@ BackupRuleInput::BackupRuleInput() : m_copyActionsHasBeenSet(false), m_enableContinuousBackup(false), m_enableContinuousBackupHasBeenSet(false), - m_scheduleExpressionTimezoneHasBeenSet(false) + m_scheduleExpressionTimezoneHasBeenSet(false), + m_indexActionsHasBeenSet(false) { } @@ -119,6 +120,16 @@ BackupRuleInput& BackupRuleInput::operator =(JsonView jsonValue) m_scheduleExpressionTimezoneHasBeenSet = true; } + if(jsonValue.ValueExists("IndexActions")) + { + Aws::Utils::Array indexActionsJsonList = jsonValue.GetArray("IndexActions"); + for(unsigned indexActionsIndex = 0; indexActionsIndex < indexActionsJsonList.GetLength(); ++indexActionsIndex) + { + m_indexActions.push_back(indexActionsJsonList[indexActionsIndex].AsObject()); + } + m_indexActionsHasBeenSet = true; + } + return *this; } @@ -196,6 +207,17 @@ JsonValue BackupRuleInput::Jsonize() const } + if(m_indexActionsHasBeenSet) + { + Aws::Utils::Array indexActionsJsonList(m_indexActions.size()); + for(unsigned indexActionsIndex = 0; indexActionsIndex < indexActionsJsonList.GetLength(); ++indexActionsIndex) + { + indexActionsJsonList[indexActionsIndex].AsObject(m_indexActions[indexActionsIndex].Jsonize()); + } + payload.WithArray("IndexActions", std::move(indexActionsJsonList)); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/DescribeRecoveryPointResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/DescribeRecoveryPointResult.cpp index 6b0e867955a..206d7c4a6ac 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/DescribeRecoveryPointResult.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/DescribeRecoveryPointResult.cpp @@ -23,7 +23,8 @@ DescribeRecoveryPointResult::DescribeRecoveryPointResult() : m_isEncrypted(false), m_storageClass(StorageClass::NOT_SET), m_isParent(false), - m_vaultType(VaultType::NOT_SET) + m_vaultType(VaultType::NOT_SET), + m_indexStatus(IndexStatus::NOT_SET) { } @@ -180,6 +181,18 @@ DescribeRecoveryPointResult& DescribeRecoveryPointResult::operator =(const Aws:: } + if(jsonValue.ValueExists("IndexStatus")) + { + m_indexStatus = IndexStatusMapper::GetIndexStatusForName(jsonValue.GetString("IndexStatus")); + + } + + if(jsonValue.ValueExists("IndexStatusMessage")) + { + m_indexStatusMessage = jsonValue.GetString("IndexStatusMessage"); + + } + const auto& headers = result.GetHeaderValueCollection(); const auto& requestIdIter = headers.find("x-amzn-requestid"); diff --git a/generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsRequest.cpp new file mode 100644 index 00000000000..3a6e41f9912 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsRequest.cpp @@ -0,0 +1,28 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetRecoveryPointIndexDetailsRequest::GetRecoveryPointIndexDetailsRequest() : + m_backupVaultNameHasBeenSet(false), + m_recoveryPointArnHasBeenSet(false) +{ +} + +Aws::String GetRecoveryPointIndexDetailsRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsResult.cpp new file mode 100644 index 00000000000..bc06eed0517 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/GetRecoveryPointIndexDetailsResult.cpp @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetRecoveryPointIndexDetailsResult::GetRecoveryPointIndexDetailsResult() : + m_indexStatus(IndexStatus::NOT_SET), + m_totalItemsIndexed(0) +{ +} + +GetRecoveryPointIndexDetailsResult::GetRecoveryPointIndexDetailsResult(const Aws::AmazonWebServiceResult& result) + : GetRecoveryPointIndexDetailsResult() +{ + *this = result; +} + +GetRecoveryPointIndexDetailsResult& GetRecoveryPointIndexDetailsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("RecoveryPointArn")) + { + m_recoveryPointArn = jsonValue.GetString("RecoveryPointArn"); + + } + + if(jsonValue.ValueExists("BackupVaultArn")) + { + m_backupVaultArn = jsonValue.GetString("BackupVaultArn"); + + } + + if(jsonValue.ValueExists("SourceResourceArn")) + { + m_sourceResourceArn = jsonValue.GetString("SourceResourceArn"); + + } + + if(jsonValue.ValueExists("IndexCreationDate")) + { + m_indexCreationDate = jsonValue.GetDouble("IndexCreationDate"); + + } + + if(jsonValue.ValueExists("IndexDeletionDate")) + { + m_indexDeletionDate = jsonValue.GetDouble("IndexDeletionDate"); + + } + + if(jsonValue.ValueExists("IndexCompletionDate")) + { + m_indexCompletionDate = jsonValue.GetDouble("IndexCompletionDate"); + + } + + if(jsonValue.ValueExists("IndexStatus")) + { + m_indexStatus = IndexStatusMapper::GetIndexStatusForName(jsonValue.GetString("IndexStatus")); + + } + + if(jsonValue.ValueExists("IndexStatusMessage")) + { + m_indexStatusMessage = jsonValue.GetString("IndexStatusMessage"); + + } + + if(jsonValue.ValueExists("TotalItemsIndexed")) + { + m_totalItemsIndexed = jsonValue.GetInt64("TotalItemsIndexed"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backup/source/model/Index.cpp b/generated/src/aws-cpp-sdk-backup/source/model/Index.cpp new file mode 100644 index 00000000000..0c0cdb25c39 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/Index.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Backup + { + namespace Model + { + namespace IndexMapper + { + + static const int ENABLED_HASH = HashingUtils::HashString("ENABLED"); + static const int DISABLED_HASH = HashingUtils::HashString("DISABLED"); + + + Index GetIndexForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ENABLED_HASH) + { + return Index::ENABLED; + } + else if (hashCode == DISABLED_HASH) + { + return Index::DISABLED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return Index::NOT_SET; + } + + Aws::String GetNameForIndex(Index enumValue) + { + switch(enumValue) + { + case Index::NOT_SET: + return {}; + case Index::ENABLED: + return "ENABLED"; + case Index::DISABLED: + return "DISABLED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IndexMapper + } // namespace Model + } // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/IndexAction.cpp b/generated/src/aws-cpp-sdk-backup/source/model/IndexAction.cpp new file mode 100644 index 00000000000..7ae206c1b53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/IndexAction.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + +IndexAction::IndexAction() : + m_resourceTypesHasBeenSet(false) +{ +} + +IndexAction::IndexAction(JsonView jsonValue) + : IndexAction() +{ + *this = jsonValue; +} + +IndexAction& IndexAction::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ResourceTypes")) + { + Aws::Utils::Array resourceTypesJsonList = jsonValue.GetArray("ResourceTypes"); + for(unsigned resourceTypesIndex = 0; resourceTypesIndex < resourceTypesJsonList.GetLength(); ++resourceTypesIndex) + { + m_resourceTypes.push_back(resourceTypesJsonList[resourceTypesIndex].AsString()); + } + m_resourceTypesHasBeenSet = true; + } + + return *this; +} + +JsonValue IndexAction::Jsonize() const +{ + JsonValue payload; + + if(m_resourceTypesHasBeenSet) + { + Aws::Utils::Array resourceTypesJsonList(m_resourceTypes.size()); + for(unsigned resourceTypesIndex = 0; resourceTypesIndex < resourceTypesJsonList.GetLength(); ++resourceTypesIndex) + { + resourceTypesJsonList[resourceTypesIndex].AsString(m_resourceTypes[resourceTypesIndex]); + } + payload.WithArray("ResourceTypes", std::move(resourceTypesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/IndexStatus.cpp b/generated/src/aws-cpp-sdk-backup/source/model/IndexStatus.cpp new file mode 100644 index 00000000000..6bb0ffef9bb --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/IndexStatus.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace Backup + { + namespace Model + { + namespace IndexStatusMapper + { + + static const int PENDING_HASH = HashingUtils::HashString("PENDING"); + static const int ACTIVE_HASH = HashingUtils::HashString("ACTIVE"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int DELETING_HASH = HashingUtils::HashString("DELETING"); + + + IndexStatus GetIndexStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == PENDING_HASH) + { + return IndexStatus::PENDING; + } + else if (hashCode == ACTIVE_HASH) + { + return IndexStatus::ACTIVE; + } + else if (hashCode == FAILED_HASH) + { + return IndexStatus::FAILED; + } + else if (hashCode == DELETING_HASH) + { + return IndexStatus::DELETING; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return IndexStatus::NOT_SET; + } + + Aws::String GetNameForIndexStatus(IndexStatus enumValue) + { + switch(enumValue) + { + case IndexStatus::NOT_SET: + return {}; + case IndexStatus::PENDING: + return "PENDING"; + case IndexStatus::ACTIVE: + return "ACTIVE"; + case IndexStatus::FAILED: + return "FAILED"; + case IndexStatus::DELETING: + return "DELETING"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace IndexStatusMapper + } // namespace Model + } // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/IndexedRecoveryPoint.cpp b/generated/src/aws-cpp-sdk-backup/source/model/IndexedRecoveryPoint.cpp new file mode 100644 index 00000000000..ea0e9b27172 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/IndexedRecoveryPoint.cpp @@ -0,0 +1,169 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Backup +{ +namespace Model +{ + +IndexedRecoveryPoint::IndexedRecoveryPoint() : + m_recoveryPointArnHasBeenSet(false), + m_sourceResourceArnHasBeenSet(false), + m_iamRoleArnHasBeenSet(false), + m_backupCreationDateHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_indexCreationDateHasBeenSet(false), + m_indexStatus(IndexStatus::NOT_SET), + m_indexStatusHasBeenSet(false), + m_indexStatusMessageHasBeenSet(false), + m_backupVaultArnHasBeenSet(false) +{ +} + +IndexedRecoveryPoint::IndexedRecoveryPoint(JsonView jsonValue) + : IndexedRecoveryPoint() +{ + *this = jsonValue; +} + +IndexedRecoveryPoint& IndexedRecoveryPoint::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("RecoveryPointArn")) + { + m_recoveryPointArn = jsonValue.GetString("RecoveryPointArn"); + + m_recoveryPointArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("SourceResourceArn")) + { + m_sourceResourceArn = jsonValue.GetString("SourceResourceArn"); + + m_sourceResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("IamRoleArn")) + { + m_iamRoleArn = jsonValue.GetString("IamRoleArn"); + + m_iamRoleArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupCreationDate")) + { + m_backupCreationDate = jsonValue.GetDouble("BackupCreationDate"); + + m_backupCreationDateHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = jsonValue.GetString("ResourceType"); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("IndexCreationDate")) + { + m_indexCreationDate = jsonValue.GetDouble("IndexCreationDate"); + + m_indexCreationDateHasBeenSet = true; + } + + if(jsonValue.ValueExists("IndexStatus")) + { + m_indexStatus = IndexStatusMapper::GetIndexStatusForName(jsonValue.GetString("IndexStatus")); + + m_indexStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("IndexStatusMessage")) + { + m_indexStatusMessage = jsonValue.GetString("IndexStatusMessage"); + + m_indexStatusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupVaultArn")) + { + m_backupVaultArn = jsonValue.GetString("BackupVaultArn"); + + m_backupVaultArnHasBeenSet = true; + } + + return *this; +} + +JsonValue IndexedRecoveryPoint::Jsonize() const +{ + JsonValue payload; + + if(m_recoveryPointArnHasBeenSet) + { + payload.WithString("RecoveryPointArn", m_recoveryPointArn); + + } + + if(m_sourceResourceArnHasBeenSet) + { + payload.WithString("SourceResourceArn", m_sourceResourceArn); + + } + + if(m_iamRoleArnHasBeenSet) + { + payload.WithString("IamRoleArn", m_iamRoleArn); + + } + + if(m_backupCreationDateHasBeenSet) + { + payload.WithDouble("BackupCreationDate", m_backupCreationDate.SecondsWithMSPrecision()); + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", m_resourceType); + + } + + if(m_indexCreationDateHasBeenSet) + { + payload.WithDouble("IndexCreationDate", m_indexCreationDate.SecondsWithMSPrecision()); + } + + if(m_indexStatusHasBeenSet) + { + payload.WithString("IndexStatus", IndexStatusMapper::GetNameForIndexStatus(m_indexStatus)); + } + + if(m_indexStatusMessageHasBeenSet) + { + payload.WithString("IndexStatusMessage", m_indexStatusMessage); + + } + + if(m_backupVaultArnHasBeenSet) + { + payload.WithString("BackupVaultArn", m_backupVaultArn); + + } + + return payload; +} + +} // namespace Model +} // namespace Backup +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsRequest.cpp new file mode 100644 index 00000000000..d923610cfad --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsRequest.cpp @@ -0,0 +1,91 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListIndexedRecoveryPointsRequest::ListIndexedRecoveryPointsRequest() : + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false), + m_sourceResourceArnHasBeenSet(false), + m_createdBeforeHasBeenSet(false), + m_createdAfterHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_indexStatus(IndexStatus::NOT_SET), + m_indexStatusHasBeenSet(false) +{ +} + +Aws::String ListIndexedRecoveryPointsRequest::SerializePayload() const +{ + return {}; +} + +void ListIndexedRecoveryPointsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + + if(m_sourceResourceArnHasBeenSet) + { + ss << m_sourceResourceArn; + uri.AddQueryStringParameter("sourceResourceArn", ss.str()); + ss.str(""); + } + + if(m_createdBeforeHasBeenSet) + { + ss << m_createdBefore.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("createdBefore", ss.str()); + ss.str(""); + } + + if(m_createdAfterHasBeenSet) + { + ss << m_createdAfter.ToGmtString(Aws::Utils::DateFormat::ISO_8601); + uri.AddQueryStringParameter("createdAfter", ss.str()); + ss.str(""); + } + + if(m_resourceTypeHasBeenSet) + { + ss << m_resourceType; + uri.AddQueryStringParameter("resourceType", ss.str()); + ss.str(""); + } + + if(m_indexStatusHasBeenSet) + { + ss << IndexStatusMapper::GetNameForIndexStatus(m_indexStatus); + uri.AddQueryStringParameter("indexStatus", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsResult.cpp new file mode 100644 index 00000000000..eb06d4bec4b --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/ListIndexedRecoveryPointsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListIndexedRecoveryPointsResult::ListIndexedRecoveryPointsResult() +{ +} + +ListIndexedRecoveryPointsResult::ListIndexedRecoveryPointsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListIndexedRecoveryPointsResult& ListIndexedRecoveryPointsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("IndexedRecoveryPoints")) + { + Aws::Utils::Array indexedRecoveryPointsJsonList = jsonValue.GetArray("IndexedRecoveryPoints"); + for(unsigned indexedRecoveryPointsIndex = 0; indexedRecoveryPointsIndex < indexedRecoveryPointsJsonList.GetLength(); ++indexedRecoveryPointsIndex) + { + m_indexedRecoveryPoints.push_back(indexedRecoveryPointsJsonList[indexedRecoveryPointsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByBackupVault.cpp b/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByBackupVault.cpp index 5d031e7d3ac..1f4cb1f022f 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByBackupVault.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByBackupVault.cpp @@ -46,7 +46,10 @@ RecoveryPointByBackupVault::RecoveryPointByBackupVault() : m_isParentHasBeenSet(false), m_resourceNameHasBeenSet(false), m_vaultType(VaultType::NOT_SET), - m_vaultTypeHasBeenSet(false) + m_vaultTypeHasBeenSet(false), + m_indexStatus(IndexStatus::NOT_SET), + m_indexStatusHasBeenSet(false), + m_indexStatusMessageHasBeenSet(false) { } @@ -219,6 +222,20 @@ RecoveryPointByBackupVault& RecoveryPointByBackupVault::operator =(JsonView json m_vaultTypeHasBeenSet = true; } + if(jsonValue.ValueExists("IndexStatus")) + { + m_indexStatus = IndexStatusMapper::GetIndexStatusForName(jsonValue.GetString("IndexStatus")); + + m_indexStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("IndexStatusMessage")) + { + m_indexStatusMessage = jsonValue.GetString("IndexStatusMessage"); + + m_indexStatusMessageHasBeenSet = true; + } + return *this; } @@ -359,6 +376,17 @@ JsonValue RecoveryPointByBackupVault::Jsonize() const payload.WithString("VaultType", VaultTypeMapper::GetNameForVaultType(m_vaultType)); } + if(m_indexStatusHasBeenSet) + { + payload.WithString("IndexStatus", IndexStatusMapper::GetNameForIndexStatus(m_indexStatus)); + } + + if(m_indexStatusMessageHasBeenSet) + { + payload.WithString("IndexStatusMessage", m_indexStatusMessage); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByResource.cpp b/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByResource.cpp index 2f2683299f2..7801b58ff74 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByResource.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/RecoveryPointByResource.cpp @@ -33,7 +33,10 @@ RecoveryPointByResource::RecoveryPointByResource() : m_parentRecoveryPointArnHasBeenSet(false), m_resourceNameHasBeenSet(false), m_vaultType(VaultType::NOT_SET), - m_vaultTypeHasBeenSet(false) + m_vaultTypeHasBeenSet(false), + m_indexStatus(IndexStatus::NOT_SET), + m_indexStatusHasBeenSet(false), + m_indexStatusMessageHasBeenSet(false) { } @@ -122,6 +125,20 @@ RecoveryPointByResource& RecoveryPointByResource::operator =(JsonView jsonValue) m_vaultTypeHasBeenSet = true; } + if(jsonValue.ValueExists("IndexStatus")) + { + m_indexStatus = IndexStatusMapper::GetIndexStatusForName(jsonValue.GetString("IndexStatus")); + + m_indexStatusHasBeenSet = true; + } + + if(jsonValue.ValueExists("IndexStatusMessage")) + { + m_indexStatusMessage = jsonValue.GetString("IndexStatusMessage"); + + m_indexStatusMessageHasBeenSet = true; + } + return *this; } @@ -192,6 +209,17 @@ JsonValue RecoveryPointByResource::Jsonize() const payload.WithString("VaultType", VaultTypeMapper::GetNameForVaultType(m_vaultType)); } + if(m_indexStatusHasBeenSet) + { + payload.WithString("IndexStatus", IndexStatusMapper::GetNameForIndexStatus(m_indexStatus)); + } + + if(m_indexStatusMessageHasBeenSet) + { + payload.WithString("IndexStatusMessage", m_indexStatusMessage); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/StartBackupJobRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/StartBackupJobRequest.cpp index 52cbc3bf427..b07ccf8d1d1 100644 --- a/generated/src/aws-cpp-sdk-backup/source/model/StartBackupJobRequest.cpp +++ b/generated/src/aws-cpp-sdk-backup/source/model/StartBackupJobRequest.cpp @@ -23,7 +23,9 @@ StartBackupJobRequest::StartBackupJobRequest() : m_completeWindowMinutesHasBeenSet(false), m_lifecycleHasBeenSet(false), m_recoveryPointTagsHasBeenSet(false), - m_backupOptionsHasBeenSet(false) + m_backupOptionsHasBeenSet(false), + m_index(Index::NOT_SET), + m_indexHasBeenSet(false) { } @@ -95,6 +97,11 @@ Aws::String StartBackupJobRequest::SerializePayload() const } + if(m_indexHasBeenSet) + { + payload.WithString("Index", IndexMapper::GetNameForIndex(m_index)); + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsRequest.cpp b/generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsRequest.cpp new file mode 100644 index 00000000000..e4460c49008 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsRequest.cpp @@ -0,0 +1,44 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +UpdateRecoveryPointIndexSettingsRequest::UpdateRecoveryPointIndexSettingsRequest() : + m_backupVaultNameHasBeenSet(false), + m_recoveryPointArnHasBeenSet(false), + m_iamRoleArnHasBeenSet(false), + m_index(Index::NOT_SET), + m_indexHasBeenSet(false) +{ +} + +Aws::String UpdateRecoveryPointIndexSettingsRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_iamRoleArnHasBeenSet) + { + payload.WithString("IamRoleArn", m_iamRoleArn); + + } + + if(m_indexHasBeenSet) + { + payload.WithString("Index", IndexMapper::GetNameForIndex(m_index)); + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsResult.cpp b/generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsResult.cpp new file mode 100644 index 00000000000..67d3908fa77 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backup/source/model/UpdateRecoveryPointIndexSettingsResult.cpp @@ -0,0 +1,69 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::Backup::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UpdateRecoveryPointIndexSettingsResult::UpdateRecoveryPointIndexSettingsResult() : + m_indexStatus(IndexStatus::NOT_SET), + m_index(Index::NOT_SET) +{ +} + +UpdateRecoveryPointIndexSettingsResult::UpdateRecoveryPointIndexSettingsResult(const Aws::AmazonWebServiceResult& result) + : UpdateRecoveryPointIndexSettingsResult() +{ + *this = result; +} + +UpdateRecoveryPointIndexSettingsResult& UpdateRecoveryPointIndexSettingsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("BackupVaultName")) + { + m_backupVaultName = jsonValue.GetString("BackupVaultName"); + + } + + if(jsonValue.ValueExists("RecoveryPointArn")) + { + m_recoveryPointArn = jsonValue.GetString("RecoveryPointArn"); + + } + + if(jsonValue.ValueExists("IndexStatus")) + { + m_indexStatus = IndexStatusMapper::GetIndexStatusForName(jsonValue.GetString("IndexStatus")); + + } + + if(jsonValue.ValueExists("Index")) + { + m_index = IndexMapper::GetIndexForName(jsonValue.GetString("Index")); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/CMakeLists.txt b/generated/src/aws-cpp-sdk-backupsearch/CMakeLists.txt new file mode 100644 index 00000000000..e0d2c538157 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/CMakeLists.txt @@ -0,0 +1,76 @@ +add_project(aws-cpp-sdk-backupsearch "C++ SDK for the AWS backupsearch service" aws-cpp-sdk-core) + +file(GLOB AWS_BACKUPSEARCH_HEADERS + "include/aws/backupsearch/*.h" +) + +file(GLOB AWS_BACKUPSEARCH_MODEL_HEADERS + "include/aws/backupsearch/model/*.h" +) + +file(GLOB AWS_BACKUPSEARCH_SOURCE + "source/*.cpp" +) + +file(GLOB AWS_BACKUPSEARCH_MODEL_SOURCE + "source/model/*.cpp" +) + +file(GLOB BACKUPSEARCH_UNIFIED_HEADERS + ${AWS_BACKUPSEARCH_HEADERS} + ${AWS_BACKUPSEARCH_MODEL_HEADERS} +) + +file(GLOB BACKUPSEARCH_UNITY_SRC + ${AWS_BACKUPSEARCH_SOURCE} + ${AWS_BACKUPSEARCH_MODEL_SOURCE} +) + +if(ENABLE_UNITY_BUILD) + enable_unity_build("BACKUPSEARCH" BACKUPSEARCH_UNITY_SRC) +endif() + +file(GLOB BACKUPSEARCH_SRC + ${BACKUPSEARCH_UNIFIED_HEADERS} + ${BACKUPSEARCH_UNITY_SRC} +) + +if(WIN32) + #if we are compiling for visual studio, create a sane directory tree. + if(MSVC) + source_group("Header Files\\aws\\backupsearch" FILES ${AWS_BACKUPSEARCH_HEADERS}) + source_group("Header Files\\aws\\backupsearch\\model" FILES ${AWS_BACKUPSEARCH_MODEL_HEADERS}) + source_group("Source Files" FILES ${AWS_BACKUPSEARCH_SOURCE}) + source_group("Source Files\\model" FILES ${AWS_BACKUPSEARCH_MODEL_SOURCE}) + endif(MSVC) +endif() + +set(BACKUPSEARCH_INCLUDES + "${CMAKE_CURRENT_SOURCE_DIR}/include/" +) + +add_library(${PROJECT_NAME} ${BACKUPSEARCH_SRC}) +add_library(AWS::${PROJECT_NAME} ALIAS ${PROJECT_NAME}) + +set_compiler_flags(${PROJECT_NAME}) +set_compiler_warnings(${PROJECT_NAME}) + +if(USE_WINDOWS_DLL_SEMANTICS AND BUILD_SHARED_LIBS) + target_compile_definitions(${PROJECT_NAME} PRIVATE "AWS_BACKUPSEARCH_EXPORTS") +endif() + +target_include_directories(${PROJECT_NAME} PUBLIC + $ + $) + +target_link_libraries(${PROJECT_NAME} PRIVATE ${PLATFORM_DEP_LIBS} ${PROJECT_LIBS}) + + +setup_install() + +install (FILES ${AWS_BACKUPSEARCH_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/backupsearch) +install (FILES ${AWS_BACKUPSEARCH_MODEL_HEADERS} DESTINATION ${INCLUDE_DIRECTORY}/aws/backupsearch/model) + +do_packaging() + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchClient.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchClient.h new file mode 100644 index 00000000000..f0153867f78 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchClient.h @@ -0,0 +1,420 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ + /** + *

Backup Search

Backup Search is the recovery point and + * item level search for Backup.

For additional information, see:

+ */ + class AWS_BACKUPSEARCH_API BackupSearchClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods + { + public: + typedef Aws::Client::AWSJsonClient BASECLASS; + static const char* GetServiceName(); + static const char* GetAllocationTag(); + + typedef BackupSearchClientConfiguration ClientConfigurationType; + typedef BackupSearchEndpointProvider EndpointProviderType; + + /** + * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + BackupSearchClient(const Aws::BackupSearch::BackupSearchClientConfiguration& clientConfiguration = Aws::BackupSearch::BackupSearchClientConfiguration(), + std::shared_ptr endpointProvider = nullptr); + + /** + * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + BackupSearchClient(const Aws::Auth::AWSCredentials& credentials, + std::shared_ptr endpointProvider = nullptr, + const Aws::BackupSearch::BackupSearchClientConfiguration& clientConfiguration = Aws::BackupSearch::BackupSearchClientConfiguration()); + + /** + * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, + * the default http client factory will be used + */ + BackupSearchClient(const std::shared_ptr& credentialsProvider, + std::shared_ptr endpointProvider = nullptr, + const Aws::BackupSearch::BackupSearchClientConfiguration& clientConfiguration = Aws::BackupSearch::BackupSearchClientConfiguration()); + + + /* Legacy constructors due deprecation */ + /** + * Initializes client to use DefaultCredentialProviderChain, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + BackupSearchClient(const Aws::Client::ClientConfiguration& clientConfiguration); + + /** + * Initializes client to use SimpleAWSCredentialsProvider, with default http client factory, and optional client config. If client config + * is not specified, it will be initialized to default values. + */ + BackupSearchClient(const Aws::Auth::AWSCredentials& credentials, + const Aws::Client::ClientConfiguration& clientConfiguration); + + /** + * Initializes client to use specified credentials provider with specified client config. If http client factory is not supplied, + * the default http client factory will be used + */ + BackupSearchClient(const std::shared_ptr& credentialsProvider, + const Aws::Client::ClientConfiguration& clientConfiguration); + + /* End of legacy constructors due deprecation */ + virtual ~BackupSearchClient(); + + /** + *

This operation retrieves metadata of a search job, including its + * progress.

See Also:

AWS + * API Reference

+ */ + virtual Model::GetSearchJobOutcome GetSearchJob(const Model::GetSearchJobRequest& request) const; + + /** + * A Callable wrapper for GetSearchJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetSearchJobOutcomeCallable GetSearchJobCallable(const GetSearchJobRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::GetSearchJob, request); + } + + /** + * An Async wrapper for GetSearchJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetSearchJobAsync(const GetSearchJobRequestT& request, const GetSearchJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::GetSearchJob, request, handler, context); + } + + /** + *

This operation retrieves the metadata of an export job.

An export job + * is an operation that transmits the results of a search job to a specified S3 + * bucket in a .csv file.

An export job allows you to retain results of a + * search beyond the search job's scheduled retention of 7 days.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::GetSearchResultExportJobOutcome GetSearchResultExportJob(const Model::GetSearchResultExportJobRequest& request) const; + + /** + * A Callable wrapper for GetSearchResultExportJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::GetSearchResultExportJobOutcomeCallable GetSearchResultExportJobCallable(const GetSearchResultExportJobRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::GetSearchResultExportJob, request); + } + + /** + * An Async wrapper for GetSearchResultExportJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void GetSearchResultExportJobAsync(const GetSearchResultExportJobRequestT& request, const GetSearchResultExportJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::GetSearchResultExportJob, request, handler, context); + } + + /** + *

This operation returns a list of all backups (recovery points) in a paginated + * format that were included in the search job.

If a search does not display + * an expected backup in the results, you can call this operation to display each + * backup included in the search. Any backups that were not included because they + * have a FAILED status from a permissions issue will be displayed, + * along with a status message.

Only recovery points with a backup index + * that has a status of ACTIVE will be included in search results. If + * the index has any other status, its status will be displayed along with a status + * message.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListSearchJobBackupsOutcome ListSearchJobBackups(const Model::ListSearchJobBackupsRequest& request) const; + + /** + * A Callable wrapper for ListSearchJobBackups that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListSearchJobBackupsOutcomeCallable ListSearchJobBackupsCallable(const ListSearchJobBackupsRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::ListSearchJobBackups, request); + } + + /** + * An Async wrapper for ListSearchJobBackups that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListSearchJobBackupsAsync(const ListSearchJobBackupsRequestT& request, const ListSearchJobBackupsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::ListSearchJobBackups, request, handler, context); + } + + /** + *

This operation returns a list of a specified search job.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::ListSearchJobResultsOutcome ListSearchJobResults(const Model::ListSearchJobResultsRequest& request) const; + + /** + * A Callable wrapper for ListSearchJobResults that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListSearchJobResultsOutcomeCallable ListSearchJobResultsCallable(const ListSearchJobResultsRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::ListSearchJobResults, request); + } + + /** + * An Async wrapper for ListSearchJobResults that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListSearchJobResultsAsync(const ListSearchJobResultsRequestT& request, const ListSearchJobResultsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::ListSearchJobResults, request, handler, context); + } + + /** + *

This operation returns a list of search jobs belonging to an + * account.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListSearchJobsOutcome ListSearchJobs(const Model::ListSearchJobsRequest& request = {}) const; + + /** + * A Callable wrapper for ListSearchJobs that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListSearchJobsOutcomeCallable ListSearchJobsCallable(const ListSearchJobsRequestT& request = {}) const + { + return SubmitCallable(&BackupSearchClient::ListSearchJobs, request); + } + + /** + * An Async wrapper for ListSearchJobs that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListSearchJobsAsync(const ListSearchJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListSearchJobsRequestT& request = {}) const + { + return SubmitAsync(&BackupSearchClient::ListSearchJobs, request, handler, context); + } + + /** + *

This operation exports search results of a search job to a specified + * destination S3 bucket.

See Also:

AWS + * API Reference

+ */ + virtual Model::ListSearchResultExportJobsOutcome ListSearchResultExportJobs(const Model::ListSearchResultExportJobsRequest& request = {}) const; + + /** + * A Callable wrapper for ListSearchResultExportJobs that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListSearchResultExportJobsOutcomeCallable ListSearchResultExportJobsCallable(const ListSearchResultExportJobsRequestT& request = {}) const + { + return SubmitCallable(&BackupSearchClient::ListSearchResultExportJobs, request); + } + + /** + * An Async wrapper for ListSearchResultExportJobs that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListSearchResultExportJobsAsync(const ListSearchResultExportJobsResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr, const ListSearchResultExportJobsRequestT& request = {}) const + { + return SubmitAsync(&BackupSearchClient::ListSearchResultExportJobs, request, handler, context); + } + + /** + *

This operation returns the tags for a resource type.

See Also:

+ * AWS + * API Reference

+ */ + virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest& request) const; + + /** + * A Callable wrapper for ListTagsForResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::ListTagsForResource, request); + } + + /** + * An Async wrapper for ListTagsForResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::ListTagsForResource, request, handler, context); + } + + /** + *

This operation creates a search job which returns recovery points filtered by + * SearchScope and items filtered by ItemFilters.

You can optionally include + * ClientToken, EncryptionKeyArn, Name, and/or Tags.

See Also:

AWS + * API Reference

+ */ + virtual Model::StartSearchJobOutcome StartSearchJob(const Model::StartSearchJobRequest& request) const; + + /** + * A Callable wrapper for StartSearchJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartSearchJobOutcomeCallable StartSearchJobCallable(const StartSearchJobRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::StartSearchJob, request); + } + + /** + * An Async wrapper for StartSearchJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartSearchJobAsync(const StartSearchJobRequestT& request, const StartSearchJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::StartSearchJob, request, handler, context); + } + + /** + *

This operations starts a job to export the results of search job to a + * designated S3 bucket.

See Also:

AWS + * API Reference

+ */ + virtual Model::StartSearchResultExportJobOutcome StartSearchResultExportJob(const Model::StartSearchResultExportJobRequest& request) const; + + /** + * A Callable wrapper for StartSearchResultExportJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StartSearchResultExportJobOutcomeCallable StartSearchResultExportJobCallable(const StartSearchResultExportJobRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::StartSearchResultExportJob, request); + } + + /** + * An Async wrapper for StartSearchResultExportJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StartSearchResultExportJobAsync(const StartSearchResultExportJobRequestT& request, const StartSearchResultExportJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::StartSearchResultExportJob, request, handler, context); + } + + /** + *

This operations ends a search job.

Only a search job with a status of + * RUNNING can be stopped.

See Also:

AWS + * API Reference

+ */ + virtual Model::StopSearchJobOutcome StopSearchJob(const Model::StopSearchJobRequest& request) const; + + /** + * A Callable wrapper for StopSearchJob that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::StopSearchJobOutcomeCallable StopSearchJobCallable(const StopSearchJobRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::StopSearchJob, request); + } + + /** + * An Async wrapper for StopSearchJob that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void StopSearchJobAsync(const StopSearchJobRequestT& request, const StopSearchJobResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::StopSearchJob, request, handler, context); + } + + /** + *

This operation puts tags on the resource you indicate.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest& request) const; + + /** + * A Callable wrapper for TagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::TagResource, request); + } + + /** + * An Async wrapper for TagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::TagResource, request, handler, context); + } + + /** + *

This operation removes tags from the specified resource.

See + * Also:

AWS + * API Reference

+ */ + virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest& request) const; + + /** + * A Callable wrapper for UntagResource that returns a future to the operation so that it can be executed in parallel to other requests. + */ + template + Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const + { + return SubmitCallable(&BackupSearchClient::UntagResource, request); + } + + /** + * An Async wrapper for UntagResource that queues the request into a thread executor and triggers associated callback when operation has finished. + */ + template + void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr& context = nullptr) const + { + return SubmitAsync(&BackupSearchClient::UntagResource, request, handler, context); + } + + + void OverrideEndpoint(const Aws::String& endpoint); + std::shared_ptr& accessEndpointProvider(); + private: + friend class Aws::Client::ClientWithAsyncTemplateMethods; + void init(const BackupSearchClientConfiguration& clientConfiguration); + + BackupSearchClientConfiguration m_clientConfiguration; + std::shared_ptr m_endpointProvider; + }; + +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointProvider.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointProvider.h new file mode 100644 index 00000000000..5aecab0497d --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointProvider.h @@ -0,0 +1,61 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +#include + + +namespace Aws +{ +namespace BackupSearch +{ +namespace Endpoint +{ +using EndpointParameters = Aws::Endpoint::EndpointParameters; +using Aws::Endpoint::EndpointProviderBase; +using Aws::Endpoint::DefaultEndpointProvider; + +using BackupSearchClientContextParameters = Aws::Endpoint::ClientContextParameters; + +using BackupSearchClientConfiguration = Aws::Client::GenericClientConfiguration; +using BackupSearchBuiltInParameters = Aws::Endpoint::BuiltInParameters; + +/** + * The type for the BackupSearch Client Endpoint Provider. + * Inherit from this Base class / "Interface" should you want to provide a custom endpoint provider. + * The SDK must use service-specific type for each service per specification. + */ +using BackupSearchEndpointProviderBase = + EndpointProviderBase; + +using BackupSearchDefaultEpProviderBase = + DefaultEndpointProvider; + +/** + * Default endpoint provider used for this service + */ +class AWS_BACKUPSEARCH_API BackupSearchEndpointProvider : public BackupSearchDefaultEpProviderBase +{ +public: + using BackupSearchResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + + BackupSearchEndpointProvider() + : BackupSearchDefaultEpProviderBase(Aws::BackupSearch::BackupSearchEndpointRules::GetRulesBlob(), Aws::BackupSearch::BackupSearchEndpointRules::RulesBlobSize) + {} + + ~BackupSearchEndpointProvider() + { + } +}; +} // namespace Endpoint +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointRules.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointRules.h new file mode 100644 index 00000000000..e10bf1319e0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchEndpointRules.h @@ -0,0 +1,23 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +class BackupSearchEndpointRules +{ +public: + static const size_t RulesBlobStrLen; + static const size_t RulesBlobSize; + + static const char* GetRulesBlob(); +}; +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrorMarshaller.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrorMarshaller.h new file mode 100644 index 00000000000..d34bb5c6e59 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrorMarshaller.h @@ -0,0 +1,23 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#include +#include + +namespace Aws +{ +namespace Client +{ + +class AWS_BACKUPSEARCH_API BackupSearchErrorMarshaller : public Aws::Client::JsonErrorMarshaller +{ +public: + Aws::Client::AWSError FindErrorByName(const char* exceptionName) const override; +}; + +} // namespace Client +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrors.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrors.h new file mode 100644 index 00000000000..6aa2bb8ea08 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchErrors.h @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +enum class BackupSearchErrors +{ + //From Core// + ////////////////////////////////////////////////////////////////////////////////////////// + INCOMPLETE_SIGNATURE = 0, + INTERNAL_FAILURE = 1, + INVALID_ACTION = 2, + INVALID_CLIENT_TOKEN_ID = 3, + INVALID_PARAMETER_COMBINATION = 4, + INVALID_QUERY_PARAMETER = 5, + INVALID_PARAMETER_VALUE = 6, + MISSING_ACTION = 7, // SDK should never allow + MISSING_AUTHENTICATION_TOKEN = 8, // SDK should never allow + MISSING_PARAMETER = 9, // SDK should never allow + OPT_IN_REQUIRED = 10, + REQUEST_EXPIRED = 11, + SERVICE_UNAVAILABLE = 12, + THROTTLING = 13, + VALIDATION = 14, + ACCESS_DENIED = 15, + RESOURCE_NOT_FOUND = 16, + UNRECOGNIZED_CLIENT = 17, + MALFORMED_QUERY_STRING = 18, + SLOW_DOWN = 19, + REQUEST_TIME_TOO_SKEWED = 20, + INVALID_SIGNATURE = 21, + SIGNATURE_DOES_NOT_MATCH = 22, + INVALID_ACCESS_KEY_ID = 23, + REQUEST_TIMEOUT = 24, + NETWORK_CONNECTION = 99, + + UNKNOWN = 100, + /////////////////////////////////////////////////////////////////////////////////////////// + + CONFLICT= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1, + INTERNAL_SERVER, + SERVICE_QUOTA_EXCEEDED +}; + +class AWS_BACKUPSEARCH_API BackupSearchError : public Aws::Client::AWSError +{ +public: + BackupSearchError() {} + BackupSearchError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} + BackupSearchError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} + BackupSearchError(const Aws::Client::AWSError& rhs) : Aws::Client::AWSError(rhs) {} + BackupSearchError(Aws::Client::AWSError&& rhs) : Aws::Client::AWSError(rhs) {} + + template + T GetModeledError(); +}; + +namespace BackupSearchErrorMapper +{ + AWS_BACKUPSEARCH_API Aws::Client::AWSError GetErrorForName(const char* errorName); +} + +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchRequest.h new file mode 100644 index 00000000000..1c1bdbdf4b9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchRequest.h @@ -0,0 +1,46 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ + class AWS_BACKUPSEARCH_API BackupSearchRequest : public Aws::AmazonSerializableWebServiceRequest + { + public: + using EndpointParameter = Aws::Endpoint::EndpointParameter; + using EndpointParameters = Aws::Endpoint::EndpointParameters; + + virtual ~BackupSearchRequest () {} + + void AddParametersToRequest(Aws::Http::HttpRequest& httpRequest) const { AWS_UNREFERENCED_PARAM(httpRequest); } + + inline Aws::Http::HeaderValueCollection GetHeaders() const override + { + auto headers = GetRequestSpecificHeaders(); + + if(headers.size() == 0 || (headers.size() > 0 && headers.count(Aws::Http::CONTENT_TYPE_HEADER) == 0)) + { + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::CONTENT_TYPE_HEADER, Aws::JSON_CONTENT_TYPE )); + } + headers.emplace(Aws::Http::HeaderValuePair(Aws::Http::API_VERSION_HEADER, "2018-05-10")); + return headers; + } + + protected: + virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const { return Aws::Http::HeaderValueCollection(); } + + }; + + +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchServiceClientModel.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchServiceClientModel.h new file mode 100644 index 00000000000..fda9f855f38 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearchServiceClientModel.h @@ -0,0 +1,137 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +/* Generic header includes */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +/* End of generic header includes */ + +/* Service model headers required in BackupSearchClient header */ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +/* End of service model headers required in BackupSearchClient header */ + +namespace Aws +{ + namespace Http + { + class HttpClient; + class HttpClientFactory; + } // namespace Http + + namespace Utils + { + template< typename R, typename E> class Outcome; + + namespace Threading + { + class Executor; + } // namespace Threading + } // namespace Utils + + namespace Auth + { + class AWSCredentials; + class AWSCredentialsProvider; + } // namespace Auth + + namespace Client + { + class RetryStrategy; + } // namespace Client + + namespace BackupSearch + { + using BackupSearchClientConfiguration = Aws::Client::GenericClientConfiguration; + using BackupSearchEndpointProviderBase = Aws::BackupSearch::Endpoint::BackupSearchEndpointProviderBase; + using BackupSearchEndpointProvider = Aws::BackupSearch::Endpoint::BackupSearchEndpointProvider; + + namespace Model + { + /* Service model forward declarations required in BackupSearchClient header */ + class GetSearchJobRequest; + class GetSearchResultExportJobRequest; + class ListSearchJobBackupsRequest; + class ListSearchJobResultsRequest; + class ListSearchJobsRequest; + class ListSearchResultExportJobsRequest; + class ListTagsForResourceRequest; + class StartSearchJobRequest; + class StartSearchResultExportJobRequest; + class StopSearchJobRequest; + class TagResourceRequest; + class UntagResourceRequest; + /* End of service model forward declarations required in BackupSearchClient header */ + + /* Service model Outcome class definitions */ + typedef Aws::Utils::Outcome GetSearchJobOutcome; + typedef Aws::Utils::Outcome GetSearchResultExportJobOutcome; + typedef Aws::Utils::Outcome ListSearchJobBackupsOutcome; + typedef Aws::Utils::Outcome ListSearchJobResultsOutcome; + typedef Aws::Utils::Outcome ListSearchJobsOutcome; + typedef Aws::Utils::Outcome ListSearchResultExportJobsOutcome; + typedef Aws::Utils::Outcome ListTagsForResourceOutcome; + typedef Aws::Utils::Outcome StartSearchJobOutcome; + typedef Aws::Utils::Outcome StartSearchResultExportJobOutcome; + typedef Aws::Utils::Outcome StopSearchJobOutcome; + typedef Aws::Utils::Outcome TagResourceOutcome; + typedef Aws::Utils::Outcome UntagResourceOutcome; + /* End of service model Outcome class definitions */ + + /* Service model Outcome callable definitions */ + typedef std::future GetSearchJobOutcomeCallable; + typedef std::future GetSearchResultExportJobOutcomeCallable; + typedef std::future ListSearchJobBackupsOutcomeCallable; + typedef std::future ListSearchJobResultsOutcomeCallable; + typedef std::future ListSearchJobsOutcomeCallable; + typedef std::future ListSearchResultExportJobsOutcomeCallable; + typedef std::future ListTagsForResourceOutcomeCallable; + typedef std::future StartSearchJobOutcomeCallable; + typedef std::future StartSearchResultExportJobOutcomeCallable; + typedef std::future StopSearchJobOutcomeCallable; + typedef std::future TagResourceOutcomeCallable; + typedef std::future UntagResourceOutcomeCallable; + /* End of service model Outcome callable definitions */ + } // namespace Model + + class BackupSearchClient; + + /* Service model async handlers definitions */ + typedef std::function&) > GetSearchJobResponseReceivedHandler; + typedef std::function&) > GetSearchResultExportJobResponseReceivedHandler; + typedef std::function&) > ListSearchJobBackupsResponseReceivedHandler; + typedef std::function&) > ListSearchJobResultsResponseReceivedHandler; + typedef std::function&) > ListSearchJobsResponseReceivedHandler; + typedef std::function&) > ListSearchResultExportJobsResponseReceivedHandler; + typedef std::function&) > ListTagsForResourceResponseReceivedHandler; + typedef std::function&) > StartSearchJobResponseReceivedHandler; + typedef std::function&) > StartSearchResultExportJobResponseReceivedHandler; + typedef std::function&) > StopSearchJobResponseReceivedHandler; + typedef std::function&) > TagResourceResponseReceivedHandler; + typedef std::function&) > UntagResourceResponseReceivedHandler; + /* End of service model async handlers definitions */ + } // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearch_EXPORTS.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearch_EXPORTS.h new file mode 100644 index 00000000000..2497007c38f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/BackupSearch_EXPORTS.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once + +#ifdef _MSC_VER + //disable windows complaining about max template size. + #pragma warning (disable : 4503) +#endif // _MSC_VER + +#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (_WIN32) + #ifdef _MSC_VER + #pragma warning(disable : 4251) + #endif // _MSC_VER + + #ifdef USE_IMPORT_EXPORT + #ifdef AWS_BACKUPSEARCH_EXPORTS + #define AWS_BACKUPSEARCH_API __declspec(dllexport) + #else + #define AWS_BACKUPSEARCH_API __declspec(dllimport) + #endif /* AWS_BACKUPSEARCH_EXPORTS */ + #define AWS_BACKUPSEARCH_EXTERN + #else + #define AWS_BACKUPSEARCH_API + #define AWS_BACKUPSEARCH_EXTERN extern + #endif // USE_IMPORT_EXPORT +#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) + #define AWS_BACKUPSEARCH_API + #define AWS_BACKUPSEARCH_EXTERN extern +#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/BackupCreationTimeFilter.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/BackupCreationTimeFilter.h new file mode 100644 index 00000000000..8b5bea09f70 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/BackupCreationTimeFilter.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This filters by recovery points within the CreatedAfter and CreatedBefore + * timestamps.

See Also:

AWS + * API Reference

+ */ + class BackupCreationTimeFilter + { + public: + AWS_BACKUPSEARCH_API BackupCreationTimeFilter(); + AWS_BACKUPSEARCH_API BackupCreationTimeFilter(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API BackupCreationTimeFilter& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This timestamp includes recovery points only created after the specified + * time.

+ */ + inline const Aws::Utils::DateTime& GetCreatedAfter() const{ return m_createdAfter; } + inline bool CreatedAfterHasBeenSet() const { return m_createdAfterHasBeenSet; } + inline void SetCreatedAfter(const Aws::Utils::DateTime& value) { m_createdAfterHasBeenSet = true; m_createdAfter = value; } + inline void SetCreatedAfter(Aws::Utils::DateTime&& value) { m_createdAfterHasBeenSet = true; m_createdAfter = std::move(value); } + inline BackupCreationTimeFilter& WithCreatedAfter(const Aws::Utils::DateTime& value) { SetCreatedAfter(value); return *this;} + inline BackupCreationTimeFilter& WithCreatedAfter(Aws::Utils::DateTime&& value) { SetCreatedAfter(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This timestamp includes recovery points only created before the specified + * time.

+ */ + inline const Aws::Utils::DateTime& GetCreatedBefore() const{ return m_createdBefore; } + inline bool CreatedBeforeHasBeenSet() const { return m_createdBeforeHasBeenSet; } + inline void SetCreatedBefore(const Aws::Utils::DateTime& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = value; } + inline void SetCreatedBefore(Aws::Utils::DateTime&& value) { m_createdBeforeHasBeenSet = true; m_createdBefore = std::move(value); } + inline BackupCreationTimeFilter& WithCreatedBefore(const Aws::Utils::DateTime& value) { SetCreatedBefore(value); return *this;} + inline BackupCreationTimeFilter& WithCreatedBefore(Aws::Utils::DateTime&& value) { SetCreatedBefore(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_createdAfter; + bool m_createdAfterHasBeenSet = false; + + Aws::Utils::DateTime m_createdBefore; + bool m_createdBeforeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ConflictException.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ConflictException.h new file mode 100644 index 00000000000..93923d6e8f0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ConflictException.h @@ -0,0 +1,99 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This exception occurs when a conflict with a previous successful operation is + * detected. This generally occurs when the previous operation did not have time to + * propagate to the host serving the current request.

A retry (with + * appropriate backoff logic) is the recommended response to this + * exception.

See Also:

AWS + * API Reference

+ */ + class ConflictException + { + public: + AWS_BACKUPSEARCH_API ConflictException(); + AWS_BACKUPSEARCH_API ConflictException(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ConflictException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

Updating or deleting a resource can cause an inconsistent state.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ConflictException& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

Identifier of the resource affected.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + inline ConflictException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline ConflictException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline ConflictException& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

Type of the resource affected.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + inline ConflictException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + inline ConflictException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + inline ConflictException& WithResourceType(const char* value) { SetResourceType(value); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/CurrentSearchProgress.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/CurrentSearchProgress.h new file mode 100644 index 00000000000..61f958d2817 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/CurrentSearchProgress.h @@ -0,0 +1,85 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This contains information results retrieved from a search job that may not + * have completed.

See Also:

AWS + * API Reference

+ */ + class CurrentSearchProgress + { + public: + AWS_BACKUPSEARCH_API CurrentSearchProgress(); + AWS_BACKUPSEARCH_API CurrentSearchProgress(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API CurrentSearchProgress& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This number is the sum of all backups that have been scanned so far during a + * search job.

+ */ + inline int GetRecoveryPointsScannedCount() const{ return m_recoveryPointsScannedCount; } + inline bool RecoveryPointsScannedCountHasBeenSet() const { return m_recoveryPointsScannedCountHasBeenSet; } + inline void SetRecoveryPointsScannedCount(int value) { m_recoveryPointsScannedCountHasBeenSet = true; m_recoveryPointsScannedCount = value; } + inline CurrentSearchProgress& WithRecoveryPointsScannedCount(int value) { SetRecoveryPointsScannedCount(value); return *this;} + ///@} + + ///@{ + /** + *

This number is the sum of all items that have been scanned so far during a + * search job.

+ */ + inline long long GetItemsScannedCount() const{ return m_itemsScannedCount; } + inline bool ItemsScannedCountHasBeenSet() const { return m_itemsScannedCountHasBeenSet; } + inline void SetItemsScannedCount(long long value) { m_itemsScannedCountHasBeenSet = true; m_itemsScannedCount = value; } + inline CurrentSearchProgress& WithItemsScannedCount(long long value) { SetItemsScannedCount(value); return *this;} + ///@} + + ///@{ + /** + *

This number is the sum of all items that match the item filters in a search + * job in progress.

+ */ + inline long long GetItemsMatchedCount() const{ return m_itemsMatchedCount; } + inline bool ItemsMatchedCountHasBeenSet() const { return m_itemsMatchedCountHasBeenSet; } + inline void SetItemsMatchedCount(long long value) { m_itemsMatchedCountHasBeenSet = true; m_itemsMatchedCount = value; } + inline CurrentSearchProgress& WithItemsMatchedCount(long long value) { SetItemsMatchedCount(value); return *this;} + ///@} + private: + + int m_recoveryPointsScannedCount; + bool m_recoveryPointsScannedCountHasBeenSet = false; + + long long m_itemsScannedCount; + bool m_itemsScannedCountHasBeenSet = false; + + long long m_itemsMatchedCount; + bool m_itemsMatchedCountHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSItemFilter.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSItemFilter.h new file mode 100644 index 00000000000..1e9b0349a52 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSItemFilter.h @@ -0,0 +1,126 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This contains arrays of objects, which may include CreationTimes time + * condition objects, FilePaths string objects, LastModificationTimes time + * condition objects,

See Also:

AWS + * API Reference

+ */ + class EBSItemFilter + { + public: + AWS_BACKUPSEARCH_API EBSItemFilter(); + AWS_BACKUPSEARCH_API EBSItemFilter(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API EBSItemFilter& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

You can include 1 to 10 values.

If one file path is included, the + * results will return only items that match the file path.

If more than one + * file path is included, the results will return all items that match any of the + * file paths.

+ */ + inline const Aws::Vector& GetFilePaths() const{ return m_filePaths; } + inline bool FilePathsHasBeenSet() const { return m_filePathsHasBeenSet; } + inline void SetFilePaths(const Aws::Vector& value) { m_filePathsHasBeenSet = true; m_filePaths = value; } + inline void SetFilePaths(Aws::Vector&& value) { m_filePathsHasBeenSet = true; m_filePaths = std::move(value); } + inline EBSItemFilter& WithFilePaths(const Aws::Vector& value) { SetFilePaths(value); return *this;} + inline EBSItemFilter& WithFilePaths(Aws::Vector&& value) { SetFilePaths(std::move(value)); return *this;} + inline EBSItemFilter& AddFilePaths(const StringCondition& value) { m_filePathsHasBeenSet = true; m_filePaths.push_back(value); return *this; } + inline EBSItemFilter& AddFilePaths(StringCondition&& value) { m_filePathsHasBeenSet = true; m_filePaths.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

You can include 1 to 10 values.

If one is included, the results will + * return only items that match.

If more than one is included, the results + * will return all items that match any of the included values.

+ */ + inline const Aws::Vector& GetSizes() const{ return m_sizes; } + inline bool SizesHasBeenSet() const { return m_sizesHasBeenSet; } + inline void SetSizes(const Aws::Vector& value) { m_sizesHasBeenSet = true; m_sizes = value; } + inline void SetSizes(Aws::Vector&& value) { m_sizesHasBeenSet = true; m_sizes = std::move(value); } + inline EBSItemFilter& WithSizes(const Aws::Vector& value) { SetSizes(value); return *this;} + inline EBSItemFilter& WithSizes(Aws::Vector&& value) { SetSizes(std::move(value)); return *this;} + inline EBSItemFilter& AddSizes(const LongCondition& value) { m_sizesHasBeenSet = true; m_sizes.push_back(value); return *this; } + inline EBSItemFilter& AddSizes(LongCondition&& value) { m_sizesHasBeenSet = true; m_sizes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

You can include 1 to 10 values.

If one is included, the results will + * return only items that match.

If more than one is included, the results + * will return all items that match any of the included values.

+ */ + inline const Aws::Vector& GetCreationTimes() const{ return m_creationTimes; } + inline bool CreationTimesHasBeenSet() const { return m_creationTimesHasBeenSet; } + inline void SetCreationTimes(const Aws::Vector& value) { m_creationTimesHasBeenSet = true; m_creationTimes = value; } + inline void SetCreationTimes(Aws::Vector&& value) { m_creationTimesHasBeenSet = true; m_creationTimes = std::move(value); } + inline EBSItemFilter& WithCreationTimes(const Aws::Vector& value) { SetCreationTimes(value); return *this;} + inline EBSItemFilter& WithCreationTimes(Aws::Vector&& value) { SetCreationTimes(std::move(value)); return *this;} + inline EBSItemFilter& AddCreationTimes(const TimeCondition& value) { m_creationTimesHasBeenSet = true; m_creationTimes.push_back(value); return *this; } + inline EBSItemFilter& AddCreationTimes(TimeCondition&& value) { m_creationTimesHasBeenSet = true; m_creationTimes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

You can include 1 to 10 values.

If one is included, the results will + * return only items that match.

If more than one is included, the results + * will return all items that match any of the included values.

+ */ + inline const Aws::Vector& GetLastModificationTimes() const{ return m_lastModificationTimes; } + inline bool LastModificationTimesHasBeenSet() const { return m_lastModificationTimesHasBeenSet; } + inline void SetLastModificationTimes(const Aws::Vector& value) { m_lastModificationTimesHasBeenSet = true; m_lastModificationTimes = value; } + inline void SetLastModificationTimes(Aws::Vector&& value) { m_lastModificationTimesHasBeenSet = true; m_lastModificationTimes = std::move(value); } + inline EBSItemFilter& WithLastModificationTimes(const Aws::Vector& value) { SetLastModificationTimes(value); return *this;} + inline EBSItemFilter& WithLastModificationTimes(Aws::Vector&& value) { SetLastModificationTimes(std::move(value)); return *this;} + inline EBSItemFilter& AddLastModificationTimes(const TimeCondition& value) { m_lastModificationTimesHasBeenSet = true; m_lastModificationTimes.push_back(value); return *this; } + inline EBSItemFilter& AddLastModificationTimes(TimeCondition&& value) { m_lastModificationTimesHasBeenSet = true; m_lastModificationTimes.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_filePaths; + bool m_filePathsHasBeenSet = false; + + Aws::Vector m_sizes; + bool m_sizesHasBeenSet = false; + + Aws::Vector m_creationTimes; + bool m_creationTimesHasBeenSet = false; + + Aws::Vector m_lastModificationTimes; + bool m_lastModificationTimesHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSResultItem.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSResultItem.h new file mode 100644 index 00000000000..3db8d95d57d --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/EBSResultItem.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

These are the items returned in the results of a search of Amazon EBS backup + * metadata.

See Also:

AWS + * API Reference

+ */ + class EBSResultItem + { + public: + AWS_BACKUPSEARCH_API EBSResultItem(); + AWS_BACKUPSEARCH_API EBSResultItem(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API EBSResultItem& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

These are one or more items in the results that match values for the Amazon + * Resource Name (ARN) of recovery points returned in a search of Amazon EBS backup + * metadata.

+ */ + inline const Aws::String& GetBackupResourceArn() const{ return m_backupResourceArn; } + inline bool BackupResourceArnHasBeenSet() const { return m_backupResourceArnHasBeenSet; } + inline void SetBackupResourceArn(const Aws::String& value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn = value; } + inline void SetBackupResourceArn(Aws::String&& value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn = std::move(value); } + inline void SetBackupResourceArn(const char* value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn.assign(value); } + inline EBSResultItem& WithBackupResourceArn(const Aws::String& value) { SetBackupResourceArn(value); return *this;} + inline EBSResultItem& WithBackupResourceArn(Aws::String&& value) { SetBackupResourceArn(std::move(value)); return *this;} + inline EBSResultItem& WithBackupResourceArn(const char* value) { SetBackupResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the results that match values for the Amazon + * Resource Name (ARN) of source resources returned in a search of Amazon EBS + * backup metadata.

+ */ + inline const Aws::String& GetSourceResourceArn() const{ return m_sourceResourceArn; } + inline bool SourceResourceArnHasBeenSet() const { return m_sourceResourceArnHasBeenSet; } + inline void SetSourceResourceArn(const Aws::String& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = value; } + inline void SetSourceResourceArn(Aws::String&& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = std::move(value); } + inline void SetSourceResourceArn(const char* value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn.assign(value); } + inline EBSResultItem& WithSourceResourceArn(const Aws::String& value) { SetSourceResourceArn(value); return *this;} + inline EBSResultItem& WithSourceResourceArn(Aws::String&& value) { SetSourceResourceArn(std::move(value)); return *this;} + inline EBSResultItem& WithSourceResourceArn(const char* value) { SetSourceResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the backup vault.

+ */ + inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } + inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; } + inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; } + inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); } + inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); } + inline EBSResultItem& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} + inline EBSResultItem& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} + inline EBSResultItem& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the results that match values for file systems + * returned in a search of Amazon EBS backup metadata.

+ */ + inline const Aws::String& GetFileSystemIdentifier() const{ return m_fileSystemIdentifier; } + inline bool FileSystemIdentifierHasBeenSet() const { return m_fileSystemIdentifierHasBeenSet; } + inline void SetFileSystemIdentifier(const Aws::String& value) { m_fileSystemIdentifierHasBeenSet = true; m_fileSystemIdentifier = value; } + inline void SetFileSystemIdentifier(Aws::String&& value) { m_fileSystemIdentifierHasBeenSet = true; m_fileSystemIdentifier = std::move(value); } + inline void SetFileSystemIdentifier(const char* value) { m_fileSystemIdentifierHasBeenSet = true; m_fileSystemIdentifier.assign(value); } + inline EBSResultItem& WithFileSystemIdentifier(const Aws::String& value) { SetFileSystemIdentifier(value); return *this;} + inline EBSResultItem& WithFileSystemIdentifier(Aws::String&& value) { SetFileSystemIdentifier(std::move(value)); return *this;} + inline EBSResultItem& WithFileSystemIdentifier(const char* value) { SetFileSystemIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the results that match values for file paths + * returned in a search of Amazon EBS backup metadata.

+ */ + inline const Aws::String& GetFilePath() const{ return m_filePath; } + inline bool FilePathHasBeenSet() const { return m_filePathHasBeenSet; } + inline void SetFilePath(const Aws::String& value) { m_filePathHasBeenSet = true; m_filePath = value; } + inline void SetFilePath(Aws::String&& value) { m_filePathHasBeenSet = true; m_filePath = std::move(value); } + inline void SetFilePath(const char* value) { m_filePathHasBeenSet = true; m_filePath.assign(value); } + inline EBSResultItem& WithFilePath(const Aws::String& value) { SetFilePath(value); return *this;} + inline EBSResultItem& WithFilePath(Aws::String&& value) { SetFilePath(std::move(value)); return *this;} + inline EBSResultItem& WithFilePath(const char* value) { SetFilePath(value); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the results that match values for file sizes + * returned in a search of Amazon EBS backup metadata.

+ */ + inline long long GetFileSize() const{ return m_fileSize; } + inline bool FileSizeHasBeenSet() const { return m_fileSizeHasBeenSet; } + inline void SetFileSize(long long value) { m_fileSizeHasBeenSet = true; m_fileSize = value; } + inline EBSResultItem& WithFileSize(long long value) { SetFileSize(value); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the results that match values for creation + * times returned in a search of Amazon EBS backup metadata.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } + inline EBSResultItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline EBSResultItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the results that match values for Last + * Modified Time returned in a search of Amazon EBS backup metadata.

+ */ + inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } + inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } + inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } + inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } + inline EBSResultItem& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} + inline EBSResultItem& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_backupResourceArn; + bool m_backupResourceArnHasBeenSet = false; + + Aws::String m_sourceResourceArn; + bool m_sourceResourceArnHasBeenSet = false; + + Aws::String m_backupVaultName; + bool m_backupVaultNameHasBeenSet = false; + + Aws::String m_fileSystemIdentifier; + bool m_fileSystemIdentifierHasBeenSet = false; + + Aws::String m_filePath; + bool m_filePathHasBeenSet = false; + + long long m_fileSize; + bool m_fileSizeHasBeenSet = false; + + Aws::Utils::DateTime m_creationTime; + bool m_creationTimeHasBeenSet = false; + + Aws::Utils::DateTime m_lastModifiedTime; + bool m_lastModifiedTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobStatus.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobStatus.h new file mode 100644 index 00000000000..62da1c3e43a --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobStatus.h @@ -0,0 +1,32 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + enum class ExportJobStatus + { + NOT_SET, + RUNNING, + FAILED, + COMPLETED + }; + +namespace ExportJobStatusMapper +{ +AWS_BACKUPSEARCH_API ExportJobStatus GetExportJobStatusForName(const Aws::String& name); + +AWS_BACKUPSEARCH_API Aws::String GetNameForExportJobStatus(ExportJobStatus value); +} // namespace ExportJobStatusMapper +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobSummary.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobSummary.h new file mode 100644 index 00000000000..242a1104691 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportJobSummary.h @@ -0,0 +1,165 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This is the summary of an export job.

See Also:

AWS + * API Reference

+ */ + class ExportJobSummary + { + public: + AWS_BACKUPSEARCH_API ExportJobSummary(); + AWS_BACKUPSEARCH_API ExportJobSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ExportJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This is the unique string that identifies a specific export job.

+ */ + inline const Aws::String& GetExportJobIdentifier() const{ return m_exportJobIdentifier; } + inline bool ExportJobIdentifierHasBeenSet() const { return m_exportJobIdentifierHasBeenSet; } + inline void SetExportJobIdentifier(const Aws::String& value) { m_exportJobIdentifierHasBeenSet = true; m_exportJobIdentifier = value; } + inline void SetExportJobIdentifier(Aws::String&& value) { m_exportJobIdentifierHasBeenSet = true; m_exportJobIdentifier = std::move(value); } + inline void SetExportJobIdentifier(const char* value) { m_exportJobIdentifierHasBeenSet = true; m_exportJobIdentifier.assign(value); } + inline ExportJobSummary& WithExportJobIdentifier(const Aws::String& value) { SetExportJobIdentifier(value); return *this;} + inline ExportJobSummary& WithExportJobIdentifier(Aws::String&& value) { SetExportJobIdentifier(std::move(value)); return *this;} + inline ExportJobSummary& WithExportJobIdentifier(const char* value) { SetExportJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

This is the unique ARN (Amazon Resource Name) that belongs to the new export + * job.

+ */ + inline const Aws::String& GetExportJobArn() const{ return m_exportJobArn; } + inline bool ExportJobArnHasBeenSet() const { return m_exportJobArnHasBeenSet; } + inline void SetExportJobArn(const Aws::String& value) { m_exportJobArnHasBeenSet = true; m_exportJobArn = value; } + inline void SetExportJobArn(Aws::String&& value) { m_exportJobArnHasBeenSet = true; m_exportJobArn = std::move(value); } + inline void SetExportJobArn(const char* value) { m_exportJobArnHasBeenSet = true; m_exportJobArn.assign(value); } + inline ExportJobSummary& WithExportJobArn(const Aws::String& value) { SetExportJobArn(value); return *this;} + inline ExportJobSummary& WithExportJobArn(Aws::String&& value) { SetExportJobArn(std::move(value)); return *this;} + inline ExportJobSummary& WithExportJobArn(const char* value) { SetExportJobArn(value); return *this;} + ///@} + + ///@{ + /** + *

The status of the export job is one of the following:

+ * CREATED; RUNNING; FAILED; or + * COMPLETED.

+ */ + inline const ExportJobStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ExportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ExportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ExportJobSummary& WithStatus(const ExportJobStatus& value) { SetStatus(value); return *this;} + inline ExportJobSummary& WithStatus(ExportJobStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is a timestamp of the time the export job was created.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } + inline ExportJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline ExportJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is a timestamp of the time the export job compeleted.

+ */ + inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } + inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } + inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } + inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } + inline ExportJobSummary& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} + inline ExportJobSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A status message is a string that is returned for an export job.

A + * status message is included for any status other than COMPLETED + * without issues.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } + inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } + inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } + inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } + inline ExportJobSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + inline ExportJobSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + inline ExportJobSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The unique string that identifies the Amazon Resource Name (ARN) of the + * specified search job.

+ */ + inline const Aws::String& GetSearchJobArn() const{ return m_searchJobArn; } + inline bool SearchJobArnHasBeenSet() const { return m_searchJobArnHasBeenSet; } + inline void SetSearchJobArn(const Aws::String& value) { m_searchJobArnHasBeenSet = true; m_searchJobArn = value; } + inline void SetSearchJobArn(Aws::String&& value) { m_searchJobArnHasBeenSet = true; m_searchJobArn = std::move(value); } + inline void SetSearchJobArn(const char* value) { m_searchJobArnHasBeenSet = true; m_searchJobArn.assign(value); } + inline ExportJobSummary& WithSearchJobArn(const Aws::String& value) { SetSearchJobArn(value); return *this;} + inline ExportJobSummary& WithSearchJobArn(Aws::String&& value) { SetSearchJobArn(std::move(value)); return *this;} + inline ExportJobSummary& WithSearchJobArn(const char* value) { SetSearchJobArn(value); return *this;} + ///@} + private: + + Aws::String m_exportJobIdentifier; + bool m_exportJobIdentifierHasBeenSet = false; + + Aws::String m_exportJobArn; + bool m_exportJobArnHasBeenSet = false; + + ExportJobStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_creationTime; + bool m_creationTimeHasBeenSet = false; + + Aws::Utils::DateTime m_completionTime; + bool m_completionTimeHasBeenSet = false; + + Aws::String m_statusMessage; + bool m_statusMessageHasBeenSet = false; + + Aws::String m_searchJobArn; + bool m_searchJobArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportSpecification.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportSpecification.h new file mode 100644 index 00000000000..1adcc0e6bc3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ExportSpecification.h @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This contains the export specification object.

See Also:

AWS + * API Reference

+ */ + class ExportSpecification + { + public: + AWS_BACKUPSEARCH_API ExportSpecification(); + AWS_BACKUPSEARCH_API ExportSpecification(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ExportSpecification& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This specifies the destination Amazon S3 bucket for the export job. And, if + * included, it also specifies the destination prefix.

+ */ + inline const S3ExportSpecification& GetS3ExportSpecification() const{ return m_s3ExportSpecification; } + inline bool S3ExportSpecificationHasBeenSet() const { return m_s3ExportSpecificationHasBeenSet; } + inline void SetS3ExportSpecification(const S3ExportSpecification& value) { m_s3ExportSpecificationHasBeenSet = true; m_s3ExportSpecification = value; } + inline void SetS3ExportSpecification(S3ExportSpecification&& value) { m_s3ExportSpecificationHasBeenSet = true; m_s3ExportSpecification = std::move(value); } + inline ExportSpecification& WithS3ExportSpecification(const S3ExportSpecification& value) { SetS3ExportSpecification(value); return *this;} + inline ExportSpecification& WithS3ExportSpecification(S3ExportSpecification&& value) { SetS3ExportSpecification(std::move(value)); return *this;} + ///@} + private: + + S3ExportSpecification m_s3ExportSpecification; + bool m_s3ExportSpecificationHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobRequest.h new file mode 100644 index 00000000000..9fa0fd03ca7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class GetSearchJobRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API GetSearchJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetSearchJob"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

Required unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline bool SearchJobIdentifierHasBeenSet() const { return m_searchJobIdentifierHasBeenSet; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier.assign(value); } + inline GetSearchJobRequest& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline GetSearchJobRequest& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline GetSearchJobRequest& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_searchJobIdentifier; + bool m_searchJobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobResult.h new file mode 100644 index 00000000000..28351cae433 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchJobResult.h @@ -0,0 +1,243 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class GetSearchJobResult + { + public: + AWS_BACKUPSEARCH_API GetSearchJobResult(); + AWS_BACKUPSEARCH_API GetSearchJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API GetSearchJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

Returned name of the specified search job.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline void SetName(const Aws::String& value) { m_name = value; } + inline void SetName(Aws::String&& value) { m_name = std::move(value); } + inline void SetName(const char* value) { m_name.assign(value); } + inline GetSearchJobResult& WithName(const Aws::String& value) { SetName(value); return *this;} + inline GetSearchJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline GetSearchJobResult& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

Returned summary of the specified search job scope, including:

  • + *

    TotalBackupsToScanCount, the number of recovery points returned by the + * search.

  • TotalItemsToScanCount, the number of items returned by + * the search.

+ */ + inline const SearchScopeSummary& GetSearchScopeSummary() const{ return m_searchScopeSummary; } + inline void SetSearchScopeSummary(const SearchScopeSummary& value) { m_searchScopeSummary = value; } + inline void SetSearchScopeSummary(SearchScopeSummary&& value) { m_searchScopeSummary = std::move(value); } + inline GetSearchJobResult& WithSearchScopeSummary(const SearchScopeSummary& value) { SetSearchScopeSummary(value); return *this;} + inline GetSearchJobResult& WithSearchScopeSummary(SearchScopeSummary&& value) { SetSearchScopeSummary(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Returns numbers representing BackupsScannedCount, ItemsScanned, and + * ItemsMatched.

+ */ + inline const CurrentSearchProgress& GetCurrentSearchProgress() const{ return m_currentSearchProgress; } + inline void SetCurrentSearchProgress(const CurrentSearchProgress& value) { m_currentSearchProgress = value; } + inline void SetCurrentSearchProgress(CurrentSearchProgress&& value) { m_currentSearchProgress = std::move(value); } + inline GetSearchJobResult& WithCurrentSearchProgress(const CurrentSearchProgress& value) { SetCurrentSearchProgress(value); return *this;} + inline GetSearchJobResult& WithCurrentSearchProgress(CurrentSearchProgress&& value) { SetCurrentSearchProgress(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A status message will be returned for either a earch job with a status of + * ERRORED or a status of COMPLETED jobs with issues.

+ *

For example, a message may say that a search contained recovery points unable + * to be scanned because of a permissions issue.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } + inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } + inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } + inline GetSearchJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + inline GetSearchJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + inline GetSearchJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The encryption key for the specified search job.

Example: + * arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

+ */ + inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; } + inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArn = value; } + inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArn = std::move(value); } + inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArn.assign(value); } + inline GetSearchJobResult& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;} + inline GetSearchJobResult& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;} + inline GetSearchJobResult& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a search job completed, in Unix format and Coordinated + * Universal Time (UTC). The value of CompletionTime is accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } + inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTime = value; } + inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTime = std::move(value); } + inline GetSearchJobResult& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} + inline GetSearchJobResult& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The current status of the specified search job.

A search job may have + * one of the following statuses: RUNNING; COMPLETED; + * STOPPED; FAILED; TIMED_OUT; or + * EXPIRED .

+ */ + inline const SearchJobState& GetStatus() const{ return m_status; } + inline void SetStatus(const SearchJobState& value) { m_status = value; } + inline void SetStatus(SearchJobState&& value) { m_status = std::move(value); } + inline GetSearchJobResult& WithStatus(const SearchJobState& value) { SetStatus(value); return *this;} + inline GetSearchJobResult& WithStatus(SearchJobState&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The search scope is all backup properties input into a search.

+ */ + inline const SearchScope& GetSearchScope() const{ return m_searchScope; } + inline void SetSearchScope(const SearchScope& value) { m_searchScope = value; } + inline void SetSearchScope(SearchScope&& value) { m_searchScope = std::move(value); } + inline GetSearchJobResult& WithSearchScope(const SearchScope& value) { SetSearchScope(value); return *this;} + inline GetSearchJobResult& WithSearchScope(SearchScope&& value) { SetSearchScope(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Item Filters represent all input item properties specified when the search + * was created.

+ */ + inline const ItemFilters& GetItemFilters() const{ return m_itemFilters; } + inline void SetItemFilters(const ItemFilters& value) { m_itemFilters = value; } + inline void SetItemFilters(ItemFilters&& value) { m_itemFilters = std::move(value); } + inline GetSearchJobResult& WithItemFilters(const ItemFilters& value) { SetItemFilters(value); return *this;} + inline GetSearchJobResult& WithItemFilters(ItemFilters&& value) { SetItemFilters(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a search job was created, in Unix format and + * Coordinated Universal Time (UTC). The value of CompletionTime is + * accurate to milliseconds. For example, the value 1516925490.087 represents + * Friday, January 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } + inline GetSearchJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline GetSearchJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The unique string that identifies the specified search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifier.assign(value); } + inline GetSearchJobResult& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline GetSearchJobResult& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline GetSearchJobResult& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The unique string that identifies the Amazon Resource Name (ARN) of the + * specified search job.

+ */ + inline const Aws::String& GetSearchJobArn() const{ return m_searchJobArn; } + inline void SetSearchJobArn(const Aws::String& value) { m_searchJobArn = value; } + inline void SetSearchJobArn(Aws::String&& value) { m_searchJobArn = std::move(value); } + inline void SetSearchJobArn(const char* value) { m_searchJobArn.assign(value); } + inline GetSearchJobResult& WithSearchJobArn(const Aws::String& value) { SetSearchJobArn(value); return *this;} + inline GetSearchJobResult& WithSearchJobArn(Aws::String&& value) { SetSearchJobArn(std::move(value)); return *this;} + inline GetSearchJobResult& WithSearchJobArn(const char* value) { SetSearchJobArn(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetSearchJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetSearchJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetSearchJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_name; + + SearchScopeSummary m_searchScopeSummary; + + CurrentSearchProgress m_currentSearchProgress; + + Aws::String m_statusMessage; + + Aws::String m_encryptionKeyArn; + + Aws::Utils::DateTime m_completionTime; + + SearchJobState m_status; + + SearchScope m_searchScope; + + ItemFilters m_itemFilters; + + Aws::Utils::DateTime m_creationTime; + + Aws::String m_searchJobIdentifier; + + Aws::String m_searchJobArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobRequest.h new file mode 100644 index 00000000000..dc936d9061e --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobRequest.h @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class GetSearchResultExportJobRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API GetSearchResultExportJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "GetSearchResultExportJob"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

This is the unique string that identifies a specific export job.

+ *

Required for this operation.

+ */ + inline const Aws::String& GetExportJobIdentifier() const{ return m_exportJobIdentifier; } + inline bool ExportJobIdentifierHasBeenSet() const { return m_exportJobIdentifierHasBeenSet; } + inline void SetExportJobIdentifier(const Aws::String& value) { m_exportJobIdentifierHasBeenSet = true; m_exportJobIdentifier = value; } + inline void SetExportJobIdentifier(Aws::String&& value) { m_exportJobIdentifierHasBeenSet = true; m_exportJobIdentifier = std::move(value); } + inline void SetExportJobIdentifier(const char* value) { m_exportJobIdentifierHasBeenSet = true; m_exportJobIdentifier.assign(value); } + inline GetSearchResultExportJobRequest& WithExportJobIdentifier(const Aws::String& value) { SetExportJobIdentifier(value); return *this;} + inline GetSearchResultExportJobRequest& WithExportJobIdentifier(Aws::String&& value) { SetExportJobIdentifier(std::move(value)); return *this;} + inline GetSearchResultExportJobRequest& WithExportJobIdentifier(const char* value) { SetExportJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_exportJobIdentifier; + bool m_exportJobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobResult.h new file mode 100644 index 00000000000..8e75a788160 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/GetSearchResultExportJobResult.h @@ -0,0 +1,177 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class GetSearchResultExportJobResult + { + public: + AWS_BACKUPSEARCH_API GetSearchResultExportJobResult(); + AWS_BACKUPSEARCH_API GetSearchResultExportJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API GetSearchResultExportJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

This is the unique string that identifies the specified export job.

+ */ + inline const Aws::String& GetExportJobIdentifier() const{ return m_exportJobIdentifier; } + inline void SetExportJobIdentifier(const Aws::String& value) { m_exportJobIdentifier = value; } + inline void SetExportJobIdentifier(Aws::String&& value) { m_exportJobIdentifier = std::move(value); } + inline void SetExportJobIdentifier(const char* value) { m_exportJobIdentifier.assign(value); } + inline GetSearchResultExportJobResult& WithExportJobIdentifier(const Aws::String& value) { SetExportJobIdentifier(value); return *this;} + inline GetSearchResultExportJobResult& WithExportJobIdentifier(Aws::String&& value) { SetExportJobIdentifier(std::move(value)); return *this;} + inline GetSearchResultExportJobResult& WithExportJobIdentifier(const char* value) { SetExportJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The unique Amazon Resource Name (ARN) that uniquely identifies the export + * job.

+ */ + inline const Aws::String& GetExportJobArn() const{ return m_exportJobArn; } + inline void SetExportJobArn(const Aws::String& value) { m_exportJobArn = value; } + inline void SetExportJobArn(Aws::String&& value) { m_exportJobArn = std::move(value); } + inline void SetExportJobArn(const char* value) { m_exportJobArn.assign(value); } + inline GetSearchResultExportJobResult& WithExportJobArn(const Aws::String& value) { SetExportJobArn(value); return *this;} + inline GetSearchResultExportJobResult& WithExportJobArn(Aws::String&& value) { SetExportJobArn(std::move(value)); return *this;} + inline GetSearchResultExportJobResult& WithExportJobArn(const char* value) { SetExportJobArn(value); return *this;} + ///@} + + ///@{ + /** + *

This is the current status of the export job.

+ */ + inline const ExportJobStatus& GetStatus() const{ return m_status; } + inline void SetStatus(const ExportJobStatus& value) { m_status = value; } + inline void SetStatus(ExportJobStatus&& value) { m_status = std::move(value); } + inline GetSearchResultExportJobResult& WithStatus(const ExportJobStatus& value) { SetStatus(value); return *this;} + inline GetSearchResultExportJobResult& WithStatus(ExportJobStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date and time that an export job was created, in Unix format and + * Coordinated Universal Time (UTC). The value of CreationTime is + * accurate to milliseconds. For example, the value 1516925490.087 represents + * Friday, January 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } + inline GetSearchResultExportJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline GetSearchResultExportJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The date and time that an export job completed, in Unix format and + * Coordinated Universal Time (UTC). The value of CreationTime is + * accurate to milliseconds. For example, the value 1516925490.087 represents + * Friday, January 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } + inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTime = value; } + inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTime = std::move(value); } + inline GetSearchResultExportJobResult& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} + inline GetSearchResultExportJobResult& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A status message is a string that is returned for search job with a status of + * FAILED, along with steps to remedy and retry the operation.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } + inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } + inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } + inline GetSearchResultExportJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + inline GetSearchResultExportJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + inline GetSearchResultExportJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + ///@} + + ///@{ + /** + *

The export specification consists of the destination S3 bucket to which the + * search results were exported, along with the destination prefix.

+ */ + inline const ExportSpecification& GetExportSpecification() const{ return m_exportSpecification; } + inline void SetExportSpecification(const ExportSpecification& value) { m_exportSpecification = value; } + inline void SetExportSpecification(ExportSpecification&& value) { m_exportSpecification = std::move(value); } + inline GetSearchResultExportJobResult& WithExportSpecification(const ExportSpecification& value) { SetExportSpecification(value); return *this;} + inline GetSearchResultExportJobResult& WithExportSpecification(ExportSpecification&& value) { SetExportSpecification(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The unique string that identifies the Amazon Resource Name (ARN) of the + * specified search job.

+ */ + inline const Aws::String& GetSearchJobArn() const{ return m_searchJobArn; } + inline void SetSearchJobArn(const Aws::String& value) { m_searchJobArn = value; } + inline void SetSearchJobArn(Aws::String&& value) { m_searchJobArn = std::move(value); } + inline void SetSearchJobArn(const char* value) { m_searchJobArn.assign(value); } + inline GetSearchResultExportJobResult& WithSearchJobArn(const Aws::String& value) { SetSearchJobArn(value); return *this;} + inline GetSearchResultExportJobResult& WithSearchJobArn(Aws::String&& value) { SetSearchJobArn(std::move(value)); return *this;} + inline GetSearchResultExportJobResult& WithSearchJobArn(const char* value) { SetSearchJobArn(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline GetSearchResultExportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline GetSearchResultExportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline GetSearchResultExportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_exportJobIdentifier; + + Aws::String m_exportJobArn; + + ExportJobStatus m_status; + + Aws::Utils::DateTime m_creationTime; + + Aws::Utils::DateTime m_completionTime; + + Aws::String m_statusMessage; + + ExportSpecification m_exportSpecification; + + Aws::String m_searchJobArn; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/InternalServerException.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/InternalServerException.h new file mode 100644 index 00000000000..806846ebad2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/InternalServerException.h @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

An internal server error occurred. Retry your request.

See + * Also:

AWS + * API Reference

+ */ + class InternalServerException + { + public: + AWS_BACKUPSEARCH_API InternalServerException(); + AWS_BACKUPSEARCH_API InternalServerException(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API InternalServerException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

Unexpected error during processing of request.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline InternalServerException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline InternalServerException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline InternalServerException& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

Retry the call after number of seconds.

+ */ + inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } + inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } + inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } + inline InternalServerException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + int m_retryAfterSeconds; + bool m_retryAfterSecondsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ItemFilters.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ItemFilters.h new file mode 100644 index 00000000000..39cbafd1f5c --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ItemFilters.h @@ -0,0 +1,84 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

Item Filters represent all input item properties specified when the search + * was created.

Contains either EBSItemFilters or + * S3ItemFilters

See Also:

AWS + * API Reference

+ */ + class ItemFilters + { + public: + AWS_BACKUPSEARCH_API ItemFilters(); + AWS_BACKUPSEARCH_API ItemFilters(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ItemFilters& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This array can contain CreationTimes, ETags, ObjectKeys, Sizes, or VersionIds + * objects.

+ */ + inline const Aws::Vector& GetS3ItemFilters() const{ return m_s3ItemFilters; } + inline bool S3ItemFiltersHasBeenSet() const { return m_s3ItemFiltersHasBeenSet; } + inline void SetS3ItemFilters(const Aws::Vector& value) { m_s3ItemFiltersHasBeenSet = true; m_s3ItemFilters = value; } + inline void SetS3ItemFilters(Aws::Vector&& value) { m_s3ItemFiltersHasBeenSet = true; m_s3ItemFilters = std::move(value); } + inline ItemFilters& WithS3ItemFilters(const Aws::Vector& value) { SetS3ItemFilters(value); return *this;} + inline ItemFilters& WithS3ItemFilters(Aws::Vector&& value) { SetS3ItemFilters(std::move(value)); return *this;} + inline ItemFilters& AddS3ItemFilters(const S3ItemFilter& value) { m_s3ItemFiltersHasBeenSet = true; m_s3ItemFilters.push_back(value); return *this; } + inline ItemFilters& AddS3ItemFilters(S3ItemFilter&& value) { m_s3ItemFiltersHasBeenSet = true; m_s3ItemFilters.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

This array can contain CreationTimes, FilePaths, LastModificationTimes, or + * Sizes objects.

+ */ + inline const Aws::Vector& GetEBSItemFilters() const{ return m_eBSItemFilters; } + inline bool EBSItemFiltersHasBeenSet() const { return m_eBSItemFiltersHasBeenSet; } + inline void SetEBSItemFilters(const Aws::Vector& value) { m_eBSItemFiltersHasBeenSet = true; m_eBSItemFilters = value; } + inline void SetEBSItemFilters(Aws::Vector&& value) { m_eBSItemFiltersHasBeenSet = true; m_eBSItemFilters = std::move(value); } + inline ItemFilters& WithEBSItemFilters(const Aws::Vector& value) { SetEBSItemFilters(value); return *this;} + inline ItemFilters& WithEBSItemFilters(Aws::Vector&& value) { SetEBSItemFilters(std::move(value)); return *this;} + inline ItemFilters& AddEBSItemFilters(const EBSItemFilter& value) { m_eBSItemFiltersHasBeenSet = true; m_eBSItemFilters.push_back(value); return *this; } + inline ItemFilters& AddEBSItemFilters(EBSItemFilter&& value) { m_eBSItemFiltersHasBeenSet = true; m_eBSItemFilters.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_s3ItemFilters; + bool m_s3ItemFiltersHasBeenSet = false; + + Aws::Vector m_eBSItemFilters; + bool m_eBSItemFiltersHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsRequest.h new file mode 100644 index 00000000000..c638d23c203 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsRequest.h @@ -0,0 +1,96 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class ListSearchJobBackupsRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API ListSearchJobBackupsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSearchJobBackups"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + AWS_BACKUPSEARCH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

The unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline bool SearchJobIdentifierHasBeenSet() const { return m_searchJobIdentifierHasBeenSet; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier.assign(value); } + inline ListSearchJobBackupsRequest& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline ListSearchJobBackupsRequest& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline ListSearchJobBackupsRequest& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The next item following a partial list of returned backups included in a + * search job.

For example, if a request is made to return + * MaxResults number of backups, NextToken allows you to + * return more items in your list starting at the location pointed to by the next + * token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListSearchJobBackupsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchJobBackupsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchJobBackupsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of resource list items to be returned.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListSearchJobBackupsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_searchJobIdentifier; + bool m_searchJobIdentifierHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsResult.h new file mode 100644 index 00000000000..e3ecb44dd2b --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobBackupsResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class ListSearchJobBackupsResult + { + public: + AWS_BACKUPSEARCH_API ListSearchJobBackupsResult(); + AWS_BACKUPSEARCH_API ListSearchJobBackupsResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API ListSearchJobBackupsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The recovery points returned the results of a search job

+ */ + inline const Aws::Vector& GetResults() const{ return m_results; } + inline void SetResults(const Aws::Vector& value) { m_results = value; } + inline void SetResults(Aws::Vector&& value) { m_results = std::move(value); } + inline ListSearchJobBackupsResult& WithResults(const Aws::Vector& value) { SetResults(value); return *this;} + inline ListSearchJobBackupsResult& WithResults(Aws::Vector&& value) { SetResults(std::move(value)); return *this;} + inline ListSearchJobBackupsResult& AddResults(const SearchJobBackupsResult& value) { m_results.push_back(value); return *this; } + inline ListSearchJobBackupsResult& AddResults(SearchJobBackupsResult&& value) { m_results.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The next item following a partial list of returned backups included in a + * search job.

For example, if a request is made to return + * MaxResults number of backups, NextToken allows you to + * return more items in your list starting at the location pointed to by the next + * token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListSearchJobBackupsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchJobBackupsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchJobBackupsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListSearchJobBackupsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListSearchJobBackupsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListSearchJobBackupsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_results; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsRequest.h new file mode 100644 index 00000000000..e0abd5ca5a3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsRequest.h @@ -0,0 +1,95 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class ListSearchJobResultsRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API ListSearchJobResultsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSearchJobResults"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + AWS_BACKUPSEARCH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

The unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline bool SearchJobIdentifierHasBeenSet() const { return m_searchJobIdentifierHasBeenSet; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier.assign(value); } + inline ListSearchJobResultsRequest& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline ListSearchJobResultsRequest& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline ListSearchJobResultsRequest& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The next item following a partial list of returned search job results.

+ *

For example, if a request is made to return MaxResults number of + * search job results, NextToken allows you to return more items in + * your list starting at the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListSearchJobResultsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchJobResultsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchJobResultsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of resource list items to be returned.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListSearchJobResultsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + Aws::String m_searchJobIdentifier; + bool m_searchJobIdentifierHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsResult.h new file mode 100644 index 00000000000..7cf6a3dbbc7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobResultsResult.h @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class ListSearchJobResultsResult + { + public: + AWS_BACKUPSEARCH_API ListSearchJobResultsResult(); + AWS_BACKUPSEARCH_API ListSearchJobResultsResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API ListSearchJobResultsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The results consist of either EBSResultItem or S3ResultItem.

+ */ + inline const Aws::Vector& GetResults() const{ return m_results; } + inline void SetResults(const Aws::Vector& value) { m_results = value; } + inline void SetResults(Aws::Vector&& value) { m_results = std::move(value); } + inline ListSearchJobResultsResult& WithResults(const Aws::Vector& value) { SetResults(value); return *this;} + inline ListSearchJobResultsResult& WithResults(Aws::Vector&& value) { SetResults(std::move(value)); return *this;} + inline ListSearchJobResultsResult& AddResults(const ResultItem& value) { m_results.push_back(value); return *this; } + inline ListSearchJobResultsResult& AddResults(ResultItem&& value) { m_results.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The next item following a partial list of search job results.

For + * example, if a request is made to return MaxResults number of + * backups, NextToken allows you to return more items in your list + * starting at the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListSearchJobResultsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchJobResultsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchJobResultsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListSearchJobResultsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListSearchJobResultsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListSearchJobResultsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_results; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsRequest.h new file mode 100644 index 00000000000..980fcbf9250 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsRequest.h @@ -0,0 +1,94 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class ListSearchJobsRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API ListSearchJobsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSearchJobs"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + AWS_BACKUPSEARCH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

Include this parameter to filter list by search job status.

+ */ + inline const SearchJobState& GetByStatus() const{ return m_byStatus; } + inline bool ByStatusHasBeenSet() const { return m_byStatusHasBeenSet; } + inline void SetByStatus(const SearchJobState& value) { m_byStatusHasBeenSet = true; m_byStatus = value; } + inline void SetByStatus(SearchJobState&& value) { m_byStatusHasBeenSet = true; m_byStatus = std::move(value); } + inline ListSearchJobsRequest& WithByStatus(const SearchJobState& value) { SetByStatus(value); return *this;} + inline ListSearchJobsRequest& WithByStatus(SearchJobState&& value) { SetByStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The next item following a partial list of returned search jobs.

For + * example, if a request is made to return MaxResults number of + * backups, NextToken allows you to return more items in your list + * starting at the location pointed to by the next token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListSearchJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of resource list items to be returned.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListSearchJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + SearchJobState m_byStatus; + bool m_byStatusHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsResult.h new file mode 100644 index 00000000000..d05fb8e93fc --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchJobsResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class ListSearchJobsResult + { + public: + AWS_BACKUPSEARCH_API ListSearchJobsResult(); + AWS_BACKUPSEARCH_API ListSearchJobsResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API ListSearchJobsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The search jobs among the list, with details of the returned search jobs.

+ */ + inline const Aws::Vector& GetSearchJobs() const{ return m_searchJobs; } + inline void SetSearchJobs(const Aws::Vector& value) { m_searchJobs = value; } + inline void SetSearchJobs(Aws::Vector&& value) { m_searchJobs = std::move(value); } + inline ListSearchJobsResult& WithSearchJobs(const Aws::Vector& value) { SetSearchJobs(value); return *this;} + inline ListSearchJobsResult& WithSearchJobs(Aws::Vector&& value) { SetSearchJobs(std::move(value)); return *this;} + inline ListSearchJobsResult& AddSearchJobs(const SearchJobSummary& value) { m_searchJobs.push_back(value); return *this; } + inline ListSearchJobsResult& AddSearchJobs(SearchJobSummary&& value) { m_searchJobs.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The next item following a partial list of returned backups included in a + * search job.

For example, if a request is made to return + * MaxResults number of backups, NextToken allows you to + * return more items in your list starting at the location pointed to by the next + * token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListSearchJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListSearchJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListSearchJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListSearchJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_searchJobs; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsRequest.h new file mode 100644 index 00000000000..f57aaca89ab --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsRequest.h @@ -0,0 +1,113 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class ListSearchResultExportJobsRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API ListSearchResultExportJobsRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListSearchResultExportJobs"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + AWS_BACKUPSEARCH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

The search jobs to be included in the export job can be filtered by including + * this parameter.

+ */ + inline const ExportJobStatus& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const ExportJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(ExportJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline ListSearchResultExportJobsRequest& WithStatus(const ExportJobStatus& value) { SetStatus(value); return *this;} + inline ListSearchResultExportJobsRequest& WithStatus(ExportJobStatus&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline bool SearchJobIdentifierHasBeenSet() const { return m_searchJobIdentifierHasBeenSet; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier.assign(value); } + inline ListSearchResultExportJobsRequest& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline ListSearchResultExportJobsRequest& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline ListSearchResultExportJobsRequest& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The next item following a partial list of returned backups included in a + * search job.

For example, if a request is made to return + * MaxResults number of backups, NextToken allows you to + * return more items in your list starting at the location pointed to by the next + * token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } + inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } + inline ListSearchResultExportJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchResultExportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchResultExportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + /** + *

The maximum number of resource list items to be returned.

+ */ + inline int GetMaxResults() const{ return m_maxResults; } + inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } + inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } + inline ListSearchResultExportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} + ///@} + private: + + ExportJobStatus m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_searchJobIdentifier; + bool m_searchJobIdentifierHasBeenSet = false; + + Aws::String m_nextToken; + bool m_nextTokenHasBeenSet = false; + + int m_maxResults; + bool m_maxResultsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsResult.h new file mode 100644 index 00000000000..6f376c1f6a0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListSearchResultExportJobsResult.h @@ -0,0 +1,88 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class ListSearchResultExportJobsResult + { + public: + AWS_BACKUPSEARCH_API ListSearchResultExportJobsResult(); + AWS_BACKUPSEARCH_API ListSearchResultExportJobsResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API ListSearchResultExportJobsResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The operation returns the included export jobs.

+ */ + inline const Aws::Vector& GetExportJobs() const{ return m_exportJobs; } + inline void SetExportJobs(const Aws::Vector& value) { m_exportJobs = value; } + inline void SetExportJobs(Aws::Vector&& value) { m_exportJobs = std::move(value); } + inline ListSearchResultExportJobsResult& WithExportJobs(const Aws::Vector& value) { SetExportJobs(value); return *this;} + inline ListSearchResultExportJobsResult& WithExportJobs(Aws::Vector&& value) { SetExportJobs(std::move(value)); return *this;} + inline ListSearchResultExportJobsResult& AddExportJobs(const ExportJobSummary& value) { m_exportJobs.push_back(value); return *this; } + inline ListSearchResultExportJobsResult& AddExportJobs(ExportJobSummary&& value) { m_exportJobs.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

The next item following a partial list of returned backups included in a + * search job.

For example, if a request is made to return + * MaxResults number of backups, NextToken allows you to + * return more items in your list starting at the location pointed to by the next + * token.

+ */ + inline const Aws::String& GetNextToken() const{ return m_nextToken; } + inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } + inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } + inline void SetNextToken(const char* value) { m_nextToken.assign(value); } + inline ListSearchResultExportJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} + inline ListSearchResultExportJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} + inline ListSearchResultExportJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListSearchResultExportJobsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListSearchResultExportJobsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListSearchResultExportJobsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Vector m_exportJobs; + + Aws::String m_nextToken; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceRequest.h new file mode 100644 index 00000000000..92a5ede76b4 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class ListTagsForResourceRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API ListTagsForResourceRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "ListTagsForResource"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the resource.>

+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline ListTagsForResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline ListTagsForResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline ListTagsForResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceResult.h new file mode 100644 index 00000000000..bf18e4e5e38 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ListTagsForResourceResult.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class ListTagsForResourceResult + { + public: + AWS_BACKUPSEARCH_API ListTagsForResourceResult(); + AWS_BACKUPSEARCH_API ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API ListTagsForResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

List of tags returned by the operation.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline void SetTags(const Aws::Map& value) { m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } + inline ListTagsForResourceResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline ListTagsForResourceResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline ListTagsForResourceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } + inline ListTagsForResourceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } + inline ListTagsForResourceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + inline ListTagsForResourceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline ListTagsForResourceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } + inline ListTagsForResourceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } + inline ListTagsForResourceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline ListTagsForResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline ListTagsForResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline ListTagsForResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::Map m_tags; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongCondition.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongCondition.h new file mode 100644 index 00000000000..5aa57dc6cfe --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongCondition.h @@ -0,0 +1,77 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

The long condition contains a Value and can optionally contain + * an Operator.

See Also:

AWS + * API Reference

+ */ + class LongCondition + { + public: + AWS_BACKUPSEARCH_API LongCondition(); + AWS_BACKUPSEARCH_API LongCondition(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API LongCondition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The value of an item included in one of the search item filters.

+ */ + inline long long GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(long long value) { m_valueHasBeenSet = true; m_value = value; } + inline LongCondition& WithValue(long long value) { SetValue(value); return *this;} + ///@} + + ///@{ + /** + *

A string that defines what values will be returned.

If this is + * included, avoid combinations of operators that will return all possible values. + * For example, including both EQUALS_TO and + * NOT_EQUALS_TO with a value of 4 will return all + * values.

+ */ + inline const LongConditionOperator& GetOperator() const{ return m_operator; } + inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } + inline void SetOperator(const LongConditionOperator& value) { m_operatorHasBeenSet = true; m_operator = value; } + inline void SetOperator(LongConditionOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } + inline LongCondition& WithOperator(const LongConditionOperator& value) { SetOperator(value); return *this;} + inline LongCondition& WithOperator(LongConditionOperator&& value) { SetOperator(std::move(value)); return *this;} + ///@} + private: + + long long m_value; + bool m_valueHasBeenSet = false; + + LongConditionOperator m_operator; + bool m_operatorHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongConditionOperator.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongConditionOperator.h new file mode 100644 index 00000000000..8ebab6f8af6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/LongConditionOperator.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + enum class LongConditionOperator + { + NOT_SET, + EQUALS_TO, + NOT_EQUALS_TO, + LESS_THAN_EQUAL_TO, + GREATER_THAN_EQUAL_TO + }; + +namespace LongConditionOperatorMapper +{ +AWS_BACKUPSEARCH_API LongConditionOperator GetLongConditionOperatorForName(const Aws::String& name); + +AWS_BACKUPSEARCH_API Aws::String GetNameForLongConditionOperator(LongConditionOperator value); +} // namespace LongConditionOperatorMapper +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceNotFoundException.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceNotFoundException.h new file mode 100644 index 00000000000..85e9bab9fa5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceNotFoundException.h @@ -0,0 +1,97 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

The resource was not found for this request.

Confirm the resource + * information, such as the ARN or type is correct and exists, then retry the + * request.

See Also:

AWS + * API Reference

+ */ + class ResourceNotFoundException + { + public: + AWS_BACKUPSEARCH_API ResourceNotFoundException(); + AWS_BACKUPSEARCH_API ResourceNotFoundException(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ResourceNotFoundException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

Request references a resource which does not exist.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ResourceNotFoundException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ResourceNotFoundException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ResourceNotFoundException& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

Hypothetical identifier of the resource affected.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + inline ResourceNotFoundException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline ResourceNotFoundException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline ResourceNotFoundException& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

Hypothetical type of the resource affected.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + inline ResourceNotFoundException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + inline ResourceNotFoundException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + inline ResourceNotFoundException& WithResourceType(const char* value) { SetResourceType(value); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceType.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceType.h new file mode 100644 index 00000000000..ca6d98ef381 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResourceType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + enum class ResourceType + { + NOT_SET, + S3, + EBS + }; + +namespace ResourceTypeMapper +{ +AWS_BACKUPSEARCH_API ResourceType GetResourceTypeForName(const Aws::String& name); + +AWS_BACKUPSEARCH_API Aws::String GetNameForResourceType(ResourceType value); +} // namespace ResourceTypeMapper +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResultItem.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResultItem.h new file mode 100644 index 00000000000..5add01684c7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ResultItem.h @@ -0,0 +1,76 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This is an object representing the item returned in the results of a search + * for a specific resource type.

See Also:

AWS + * API Reference

+ */ + class ResultItem + { + public: + AWS_BACKUPSEARCH_API ResultItem(); + AWS_BACKUPSEARCH_API ResultItem(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ResultItem& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

These are items returned in the search results of an Amazon S3 search.

+ */ + inline const S3ResultItem& GetS3ResultItem() const{ return m_s3ResultItem; } + inline bool S3ResultItemHasBeenSet() const { return m_s3ResultItemHasBeenSet; } + inline void SetS3ResultItem(const S3ResultItem& value) { m_s3ResultItemHasBeenSet = true; m_s3ResultItem = value; } + inline void SetS3ResultItem(S3ResultItem&& value) { m_s3ResultItemHasBeenSet = true; m_s3ResultItem = std::move(value); } + inline ResultItem& WithS3ResultItem(const S3ResultItem& value) { SetS3ResultItem(value); return *this;} + inline ResultItem& WithS3ResultItem(S3ResultItem&& value) { SetS3ResultItem(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

These are items returned in the search results of an Amazon EBS search.

+ */ + inline const EBSResultItem& GetEBSResultItem() const{ return m_eBSResultItem; } + inline bool EBSResultItemHasBeenSet() const { return m_eBSResultItemHasBeenSet; } + inline void SetEBSResultItem(const EBSResultItem& value) { m_eBSResultItemHasBeenSet = true; m_eBSResultItem = value; } + inline void SetEBSResultItem(EBSResultItem&& value) { m_eBSResultItemHasBeenSet = true; m_eBSResultItem = std::move(value); } + inline ResultItem& WithEBSResultItem(const EBSResultItem& value) { SetEBSResultItem(value); return *this;} + inline ResultItem& WithEBSResultItem(EBSResultItem&& value) { SetEBSResultItem(std::move(value)); return *this;} + ///@} + private: + + S3ResultItem m_s3ResultItem; + bool m_s3ResultItemHasBeenSet = false; + + EBSResultItem m_eBSResultItem; + bool m_eBSResultItemHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ExportSpecification.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ExportSpecification.h new file mode 100644 index 00000000000..201f242cc47 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ExportSpecification.h @@ -0,0 +1,81 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This specification contains a required string of the destination bucket; + * optionally, you can include the destination prefix.

See Also:

+ * AWS + * API Reference

+ */ + class S3ExportSpecification + { + public: + AWS_BACKUPSEARCH_API S3ExportSpecification(); + AWS_BACKUPSEARCH_API S3ExportSpecification(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API S3ExportSpecification& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This specifies the destination Amazon S3 bucket for the export job.

+ */ + inline const Aws::String& GetDestinationBucket() const{ return m_destinationBucket; } + inline bool DestinationBucketHasBeenSet() const { return m_destinationBucketHasBeenSet; } + inline void SetDestinationBucket(const Aws::String& value) { m_destinationBucketHasBeenSet = true; m_destinationBucket = value; } + inline void SetDestinationBucket(Aws::String&& value) { m_destinationBucketHasBeenSet = true; m_destinationBucket = std::move(value); } + inline void SetDestinationBucket(const char* value) { m_destinationBucketHasBeenSet = true; m_destinationBucket.assign(value); } + inline S3ExportSpecification& WithDestinationBucket(const Aws::String& value) { SetDestinationBucket(value); return *this;} + inline S3ExportSpecification& WithDestinationBucket(Aws::String&& value) { SetDestinationBucket(std::move(value)); return *this;} + inline S3ExportSpecification& WithDestinationBucket(const char* value) { SetDestinationBucket(value); return *this;} + ///@} + + ///@{ + /** + *

This specifies the prefix for the destination Amazon S3 bucket for the export + * job.

+ */ + inline const Aws::String& GetDestinationPrefix() const{ return m_destinationPrefix; } + inline bool DestinationPrefixHasBeenSet() const { return m_destinationPrefixHasBeenSet; } + inline void SetDestinationPrefix(const Aws::String& value) { m_destinationPrefixHasBeenSet = true; m_destinationPrefix = value; } + inline void SetDestinationPrefix(Aws::String&& value) { m_destinationPrefixHasBeenSet = true; m_destinationPrefix = std::move(value); } + inline void SetDestinationPrefix(const char* value) { m_destinationPrefixHasBeenSet = true; m_destinationPrefix.assign(value); } + inline S3ExportSpecification& WithDestinationPrefix(const Aws::String& value) { SetDestinationPrefix(value); return *this;} + inline S3ExportSpecification& WithDestinationPrefix(Aws::String&& value) { SetDestinationPrefix(std::move(value)); return *this;} + inline S3ExportSpecification& WithDestinationPrefix(const char* value) { SetDestinationPrefix(value); return *this;} + ///@} + private: + + Aws::String m_destinationBucket; + bool m_destinationBucketHasBeenSet = false; + + Aws::String m_destinationPrefix; + bool m_destinationPrefixHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ItemFilter.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ItemFilter.h new file mode 100644 index 00000000000..d4acedee967 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ItemFilter.h @@ -0,0 +1,143 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This contains arrays of objects, which may include ObjectKeys, Sizes, + * CreationTimes, VersionIds, and/or Etags.

See Also:

AWS + * API Reference

+ */ + class S3ItemFilter + { + public: + AWS_BACKUPSEARCH_API S3ItemFilter(); + AWS_BACKUPSEARCH_API S3ItemFilter(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API S3ItemFilter& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

You can include 1 to 10 values.

If one value is included, the results + * will return only items that match the value.

If more than one value is + * included, the results will return all items that match any of the values.

+ */ + inline const Aws::Vector& GetObjectKeys() const{ return m_objectKeys; } + inline bool ObjectKeysHasBeenSet() const { return m_objectKeysHasBeenSet; } + inline void SetObjectKeys(const Aws::Vector& value) { m_objectKeysHasBeenSet = true; m_objectKeys = value; } + inline void SetObjectKeys(Aws::Vector&& value) { m_objectKeysHasBeenSet = true; m_objectKeys = std::move(value); } + inline S3ItemFilter& WithObjectKeys(const Aws::Vector& value) { SetObjectKeys(value); return *this;} + inline S3ItemFilter& WithObjectKeys(Aws::Vector&& value) { SetObjectKeys(std::move(value)); return *this;} + inline S3ItemFilter& AddObjectKeys(const StringCondition& value) { m_objectKeysHasBeenSet = true; m_objectKeys.push_back(value); return *this; } + inline S3ItemFilter& AddObjectKeys(StringCondition&& value) { m_objectKeysHasBeenSet = true; m_objectKeys.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

You can include 1 to 10 values.

If one value is included, the results + * will return only items that match the value.

If more than one value is + * included, the results will return all items that match any of the values.

+ */ + inline const Aws::Vector& GetSizes() const{ return m_sizes; } + inline bool SizesHasBeenSet() const { return m_sizesHasBeenSet; } + inline void SetSizes(const Aws::Vector& value) { m_sizesHasBeenSet = true; m_sizes = value; } + inline void SetSizes(Aws::Vector&& value) { m_sizesHasBeenSet = true; m_sizes = std::move(value); } + inline S3ItemFilter& WithSizes(const Aws::Vector& value) { SetSizes(value); return *this;} + inline S3ItemFilter& WithSizes(Aws::Vector&& value) { SetSizes(std::move(value)); return *this;} + inline S3ItemFilter& AddSizes(const LongCondition& value) { m_sizesHasBeenSet = true; m_sizes.push_back(value); return *this; } + inline S3ItemFilter& AddSizes(LongCondition&& value) { m_sizesHasBeenSet = true; m_sizes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

You can include 1 to 10 values.

If one value is included, the results + * will return only items that match the value.

If more than one value is + * included, the results will return all items that match any of the values.

+ */ + inline const Aws::Vector& GetCreationTimes() const{ return m_creationTimes; } + inline bool CreationTimesHasBeenSet() const { return m_creationTimesHasBeenSet; } + inline void SetCreationTimes(const Aws::Vector& value) { m_creationTimesHasBeenSet = true; m_creationTimes = value; } + inline void SetCreationTimes(Aws::Vector&& value) { m_creationTimesHasBeenSet = true; m_creationTimes = std::move(value); } + inline S3ItemFilter& WithCreationTimes(const Aws::Vector& value) { SetCreationTimes(value); return *this;} + inline S3ItemFilter& WithCreationTimes(Aws::Vector&& value) { SetCreationTimes(std::move(value)); return *this;} + inline S3ItemFilter& AddCreationTimes(const TimeCondition& value) { m_creationTimesHasBeenSet = true; m_creationTimes.push_back(value); return *this; } + inline S3ItemFilter& AddCreationTimes(TimeCondition&& value) { m_creationTimesHasBeenSet = true; m_creationTimes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

You can include 1 to 10 values.

If one value is included, the results + * will return only items that match the value.

If more than one value is + * included, the results will return all items that match any of the values.

+ */ + inline const Aws::Vector& GetVersionIds() const{ return m_versionIds; } + inline bool VersionIdsHasBeenSet() const { return m_versionIdsHasBeenSet; } + inline void SetVersionIds(const Aws::Vector& value) { m_versionIdsHasBeenSet = true; m_versionIds = value; } + inline void SetVersionIds(Aws::Vector&& value) { m_versionIdsHasBeenSet = true; m_versionIds = std::move(value); } + inline S3ItemFilter& WithVersionIds(const Aws::Vector& value) { SetVersionIds(value); return *this;} + inline S3ItemFilter& WithVersionIds(Aws::Vector&& value) { SetVersionIds(std::move(value)); return *this;} + inline S3ItemFilter& AddVersionIds(const StringCondition& value) { m_versionIdsHasBeenSet = true; m_versionIds.push_back(value); return *this; } + inline S3ItemFilter& AddVersionIds(StringCondition&& value) { m_versionIdsHasBeenSet = true; m_versionIds.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

You can include 1 to 10 values.

If one value is included, the results + * will return only items that match the value.

If more than one value is + * included, the results will return all items that match any of the values.

+ */ + inline const Aws::Vector& GetETags() const{ return m_eTags; } + inline bool ETagsHasBeenSet() const { return m_eTagsHasBeenSet; } + inline void SetETags(const Aws::Vector& value) { m_eTagsHasBeenSet = true; m_eTags = value; } + inline void SetETags(Aws::Vector&& value) { m_eTagsHasBeenSet = true; m_eTags = std::move(value); } + inline S3ItemFilter& WithETags(const Aws::Vector& value) { SetETags(value); return *this;} + inline S3ItemFilter& WithETags(Aws::Vector&& value) { SetETags(std::move(value)); return *this;} + inline S3ItemFilter& AddETags(const StringCondition& value) { m_eTagsHasBeenSet = true; m_eTags.push_back(value); return *this; } + inline S3ItemFilter& AddETags(StringCondition&& value) { m_eTagsHasBeenSet = true; m_eTags.push_back(std::move(value)); return *this; } + ///@} + private: + + Aws::Vector m_objectKeys; + bool m_objectKeysHasBeenSet = false; + + Aws::Vector m_sizes; + bool m_sizesHasBeenSet = false; + + Aws::Vector m_creationTimes; + bool m_creationTimesHasBeenSet = false; + + Aws::Vector m_versionIds; + bool m_versionIdsHasBeenSet = false; + + Aws::Vector m_eTags; + bool m_eTagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ResultItem.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ResultItem.h new file mode 100644 index 00000000000..dbbd9c5b154 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/S3ResultItem.h @@ -0,0 +1,183 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

These are the items returned in the results of a search of Amazon S3 backup + * metadata.

See Also:

AWS + * API Reference

+ */ + class S3ResultItem + { + public: + AWS_BACKUPSEARCH_API S3ResultItem(); + AWS_BACKUPSEARCH_API S3ResultItem(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API S3ResultItem& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

These are items in the returned results that match recovery point Amazon + * Resource Names (ARN) input during a search of Amazon S3 backup metadata.

+ */ + inline const Aws::String& GetBackupResourceArn() const{ return m_backupResourceArn; } + inline bool BackupResourceArnHasBeenSet() const { return m_backupResourceArnHasBeenSet; } + inline void SetBackupResourceArn(const Aws::String& value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn = value; } + inline void SetBackupResourceArn(Aws::String&& value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn = std::move(value); } + inline void SetBackupResourceArn(const char* value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn.assign(value); } + inline S3ResultItem& WithBackupResourceArn(const Aws::String& value) { SetBackupResourceArn(value); return *this;} + inline S3ResultItem& WithBackupResourceArn(Aws::String&& value) { SetBackupResourceArn(std::move(value)); return *this;} + inline S3ResultItem& WithBackupResourceArn(const char* value) { SetBackupResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

These are items in the returned results that match source Amazon Resource + * Names (ARN) input during a search of Amazon S3 backup metadata.

+ */ + inline const Aws::String& GetSourceResourceArn() const{ return m_sourceResourceArn; } + inline bool SourceResourceArnHasBeenSet() const { return m_sourceResourceArnHasBeenSet; } + inline void SetSourceResourceArn(const Aws::String& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = value; } + inline void SetSourceResourceArn(Aws::String&& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = std::move(value); } + inline void SetSourceResourceArn(const char* value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn.assign(value); } + inline S3ResultItem& WithSourceResourceArn(const Aws::String& value) { SetSourceResourceArn(value); return *this;} + inline S3ResultItem& WithSourceResourceArn(Aws::String&& value) { SetSourceResourceArn(std::move(value)); return *this;} + inline S3ResultItem& WithSourceResourceArn(const char* value) { SetSourceResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

The name of the backup vault.

+ */ + inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; } + inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; } + inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; } + inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); } + inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); } + inline S3ResultItem& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;} + inline S3ResultItem& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;} + inline S3ResultItem& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;} + ///@} + + ///@{ + /** + *

This is one or more items returned in the results of a search of Amazon S3 + * backup metadata that match the values input for object key.

+ */ + inline const Aws::String& GetObjectKey() const{ return m_objectKey; } + inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; } + inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; } + inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); } + inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); } + inline S3ResultItem& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;} + inline S3ResultItem& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;} + inline S3ResultItem& WithObjectKey(const char* value) { SetObjectKey(value); return *this;} + ///@} + + ///@{ + /** + *

These are items in the returned results that match values for object size(s) + * input during a search of Amazon S3 backup metadata.

+ */ + inline long long GetObjectSize() const{ return m_objectSize; } + inline bool ObjectSizeHasBeenSet() const { return m_objectSizeHasBeenSet; } + inline void SetObjectSize(long long value) { m_objectSizeHasBeenSet = true; m_objectSize = value; } + inline S3ResultItem& WithObjectSize(long long value) { SetObjectSize(value); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the returned results that match values for + * item creation time input during a search of Amazon S3 backup metadata.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } + inline S3ResultItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline S3ResultItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the returned results that match values for + * ETags input during a search of Amazon S3 backup metadata.

+ */ + inline const Aws::String& GetETag() const{ return m_eTag; } + inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; } + inline void SetETag(const Aws::String& value) { m_eTagHasBeenSet = true; m_eTag = value; } + inline void SetETag(Aws::String&& value) { m_eTagHasBeenSet = true; m_eTag = std::move(value); } + inline void SetETag(const char* value) { m_eTagHasBeenSet = true; m_eTag.assign(value); } + inline S3ResultItem& WithETag(const Aws::String& value) { SetETag(value); return *this;} + inline S3ResultItem& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;} + inline S3ResultItem& WithETag(const char* value) { SetETag(value); return *this;} + ///@} + + ///@{ + /** + *

These are one or more items in the returned results that match values for + * version IDs input during a search of Amazon S3 backup metadata.

+ */ + inline const Aws::String& GetVersionId() const{ return m_versionId; } + inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; } + inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; } + inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); } + inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); } + inline S3ResultItem& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;} + inline S3ResultItem& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;} + inline S3ResultItem& WithVersionId(const char* value) { SetVersionId(value); return *this;} + ///@} + private: + + Aws::String m_backupResourceArn; + bool m_backupResourceArnHasBeenSet = false; + + Aws::String m_sourceResourceArn; + bool m_sourceResourceArnHasBeenSet = false; + + Aws::String m_backupVaultName; + bool m_backupVaultNameHasBeenSet = false; + + Aws::String m_objectKey; + bool m_objectKeyHasBeenSet = false; + + long long m_objectSize; + bool m_objectSizeHasBeenSet = false; + + Aws::Utils::DateTime m_creationTime; + bool m_creationTimeHasBeenSet = false; + + Aws::String m_eTag; + bool m_eTagHasBeenSet = false; + + Aws::String m_versionId; + bool m_versionIdHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobBackupsResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobBackupsResult.h new file mode 100644 index 00000000000..3d5ff5927d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobBackupsResult.h @@ -0,0 +1,161 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This contains the information about recovery points returned in results of a + * search job.

See Also:

AWS + * API Reference

+ */ + class SearchJobBackupsResult + { + public: + AWS_BACKUPSEARCH_API SearchJobBackupsResult(); + AWS_BACKUPSEARCH_API SearchJobBackupsResult(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API SearchJobBackupsResult& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This is the status of the search job backup result.

+ */ + inline const SearchJobState& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const SearchJobState& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(SearchJobState&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline SearchJobBackupsResult& WithStatus(const SearchJobState& value) { SetStatus(value); return *this;} + inline SearchJobBackupsResult& WithStatus(SearchJobState&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is the status message included with the results.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } + inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } + inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } + inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } + inline SearchJobBackupsResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + inline SearchJobBackupsResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + inline SearchJobBackupsResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + ///@} + + ///@{ + /** + *

This is the resource type of the search.

+ */ + inline const ResourceType& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const ResourceType& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(ResourceType&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline SearchJobBackupsResult& WithResourceType(const ResourceType& value) { SetResourceType(value); return *this;} + inline SearchJobBackupsResult& WithResourceType(ResourceType&& value) { SetResourceType(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the backup + * resources.

+ */ + inline const Aws::String& GetBackupResourceArn() const{ return m_backupResourceArn; } + inline bool BackupResourceArnHasBeenSet() const { return m_backupResourceArnHasBeenSet; } + inline void SetBackupResourceArn(const Aws::String& value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn = value; } + inline void SetBackupResourceArn(Aws::String&& value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn = std::move(value); } + inline void SetBackupResourceArn(const char* value) { m_backupResourceArnHasBeenSet = true; m_backupResourceArn.assign(value); } + inline SearchJobBackupsResult& WithBackupResourceArn(const Aws::String& value) { SetBackupResourceArn(value); return *this;} + inline SearchJobBackupsResult& WithBackupResourceArn(Aws::String&& value) { SetBackupResourceArn(std::move(value)); return *this;} + inline SearchJobBackupsResult& WithBackupResourceArn(const char* value) { SetBackupResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the source + * resources.

+ */ + inline const Aws::String& GetSourceResourceArn() const{ return m_sourceResourceArn; } + inline bool SourceResourceArnHasBeenSet() const { return m_sourceResourceArnHasBeenSet; } + inline void SetSourceResourceArn(const Aws::String& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = value; } + inline void SetSourceResourceArn(Aws::String&& value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn = std::move(value); } + inline void SetSourceResourceArn(const char* value) { m_sourceResourceArnHasBeenSet = true; m_sourceResourceArn.assign(value); } + inline SearchJobBackupsResult& WithSourceResourceArn(const Aws::String& value) { SetSourceResourceArn(value); return *this;} + inline SearchJobBackupsResult& WithSourceResourceArn(Aws::String&& value) { SetSourceResourceArn(std::move(value)); return *this;} + inline SearchJobBackupsResult& WithSourceResourceArn(const char* value) { SetSourceResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

This is the creation time of the backup index.

+ */ + inline const Aws::Utils::DateTime& GetIndexCreationTime() const{ return m_indexCreationTime; } + inline bool IndexCreationTimeHasBeenSet() const { return m_indexCreationTimeHasBeenSet; } + inline void SetIndexCreationTime(const Aws::Utils::DateTime& value) { m_indexCreationTimeHasBeenSet = true; m_indexCreationTime = value; } + inline void SetIndexCreationTime(Aws::Utils::DateTime&& value) { m_indexCreationTimeHasBeenSet = true; m_indexCreationTime = std::move(value); } + inline SearchJobBackupsResult& WithIndexCreationTime(const Aws::Utils::DateTime& value) { SetIndexCreationTime(value); return *this;} + inline SearchJobBackupsResult& WithIndexCreationTime(Aws::Utils::DateTime&& value) { SetIndexCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is the creation time of the backup (recovery point).

+ */ + inline const Aws::Utils::DateTime& GetBackupCreationTime() const{ return m_backupCreationTime; } + inline bool BackupCreationTimeHasBeenSet() const { return m_backupCreationTimeHasBeenSet; } + inline void SetBackupCreationTime(const Aws::Utils::DateTime& value) { m_backupCreationTimeHasBeenSet = true; m_backupCreationTime = value; } + inline void SetBackupCreationTime(Aws::Utils::DateTime&& value) { m_backupCreationTimeHasBeenSet = true; m_backupCreationTime = std::move(value); } + inline SearchJobBackupsResult& WithBackupCreationTime(const Aws::Utils::DateTime& value) { SetBackupCreationTime(value); return *this;} + inline SearchJobBackupsResult& WithBackupCreationTime(Aws::Utils::DateTime&& value) { SetBackupCreationTime(std::move(value)); return *this;} + ///@} + private: + + SearchJobState m_status; + bool m_statusHasBeenSet = false; + + Aws::String m_statusMessage; + bool m_statusMessageHasBeenSet = false; + + ResourceType m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::String m_backupResourceArn; + bool m_backupResourceArnHasBeenSet = false; + + Aws::String m_sourceResourceArn; + bool m_sourceResourceArnHasBeenSet = false; + + Aws::Utils::DateTime m_indexCreationTime; + bool m_indexCreationTimeHasBeenSet = false; + + Aws::Utils::DateTime m_backupCreationTime; + bool m_backupCreationTimeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobState.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobState.h new file mode 100644 index 00000000000..97c40d0dae1 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobState.h @@ -0,0 +1,34 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + enum class SearchJobState + { + NOT_SET, + RUNNING, + COMPLETED, + STOPPING, + STOPPED, + FAILED + }; + +namespace SearchJobStateMapper +{ +AWS_BACKUPSEARCH_API SearchJobState GetSearchJobStateForName(const Aws::String& name); + +AWS_BACKUPSEARCH_API Aws::String GetNameForSearchJobState(SearchJobState value); +} // namespace SearchJobStateMapper +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobSummary.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobSummary.h new file mode 100644 index 00000000000..6dd36ab99d3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchJobSummary.h @@ -0,0 +1,182 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This is information pertaining to a search job.

See Also:

AWS + * API Reference

+ */ + class SearchJobSummary + { + public: + AWS_BACKUPSEARCH_API SearchJobSummary(); + AWS_BACKUPSEARCH_API SearchJobSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API SearchJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline bool SearchJobIdentifierHasBeenSet() const { return m_searchJobIdentifierHasBeenSet; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier.assign(value); } + inline SearchJobSummary& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline SearchJobSummary& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline SearchJobSummary& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

The unique string that identifies the Amazon Resource Name (ARN) of the + * specified search job.

+ */ + inline const Aws::String& GetSearchJobArn() const{ return m_searchJobArn; } + inline bool SearchJobArnHasBeenSet() const { return m_searchJobArnHasBeenSet; } + inline void SetSearchJobArn(const Aws::String& value) { m_searchJobArnHasBeenSet = true; m_searchJobArn = value; } + inline void SetSearchJobArn(Aws::String&& value) { m_searchJobArnHasBeenSet = true; m_searchJobArn = std::move(value); } + inline void SetSearchJobArn(const char* value) { m_searchJobArnHasBeenSet = true; m_searchJobArn.assign(value); } + inline SearchJobSummary& WithSearchJobArn(const Aws::String& value) { SetSearchJobArn(value); return *this;} + inline SearchJobSummary& WithSearchJobArn(Aws::String&& value) { SetSearchJobArn(std::move(value)); return *this;} + inline SearchJobSummary& WithSearchJobArn(const char* value) { SetSearchJobArn(value); return *this;} + ///@} + + ///@{ + /** + *

This is the name of the search job.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline SearchJobSummary& WithName(const Aws::String& value) { SetName(value); return *this;} + inline SearchJobSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline SearchJobSummary& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

This is the status of the search job.

+ */ + inline const SearchJobState& GetStatus() const{ return m_status; } + inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } + inline void SetStatus(const SearchJobState& value) { m_statusHasBeenSet = true; m_status = value; } + inline void SetStatus(SearchJobState&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } + inline SearchJobSummary& WithStatus(const SearchJobState& value) { SetStatus(value); return *this;} + inline SearchJobSummary& WithStatus(SearchJobState&& value) { SetStatus(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is the creation time of the search job.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } + inline SearchJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline SearchJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

This is the completion time of the search job.

+ */ + inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } + inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } + inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } + inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } + inline SearchJobSummary& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} + inline SearchJobSummary& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Returned summary of the specified search job scope, including:

  • + *

    TotalBackupsToScanCount, the number of recovery points returned by the + * search.

  • TotalItemsToScanCount, the number of items returned by + * the search.

+ */ + inline const SearchScopeSummary& GetSearchScopeSummary() const{ return m_searchScopeSummary; } + inline bool SearchScopeSummaryHasBeenSet() const { return m_searchScopeSummaryHasBeenSet; } + inline void SetSearchScopeSummary(const SearchScopeSummary& value) { m_searchScopeSummaryHasBeenSet = true; m_searchScopeSummary = value; } + inline void SetSearchScopeSummary(SearchScopeSummary&& value) { m_searchScopeSummaryHasBeenSet = true; m_searchScopeSummary = std::move(value); } + inline SearchJobSummary& WithSearchScopeSummary(const SearchScopeSummary& value) { SetSearchScopeSummary(value); return *this;} + inline SearchJobSummary& WithSearchScopeSummary(SearchScopeSummary&& value) { SetSearchScopeSummary(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A status message will be returned for either a earch job with a status of + * ERRORED or a status of COMPLETED jobs with issues.

+ *

For example, a message may say that a search contained recovery points unable + * to be scanned because of a permissions issue.

+ */ + inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } + inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } + inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } + inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } + inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } + inline SearchJobSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} + inline SearchJobSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} + inline SearchJobSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} + ///@} + private: + + Aws::String m_searchJobIdentifier; + bool m_searchJobIdentifierHasBeenSet = false; + + Aws::String m_searchJobArn; + bool m_searchJobArnHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + SearchJobState m_status; + bool m_statusHasBeenSet = false; + + Aws::Utils::DateTime m_creationTime; + bool m_creationTimeHasBeenSet = false; + + Aws::Utils::DateTime m_completionTime; + bool m_completionTimeHasBeenSet = false; + + SearchScopeSummary m_searchScopeSummary; + bool m_searchScopeSummaryHasBeenSet = false; + + Aws::String m_statusMessage; + bool m_statusMessageHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScope.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScope.h new file mode 100644 index 00000000000..9932517b936 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScope.h @@ -0,0 +1,142 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

The search scope is all backup properties input into a search.

See + * Also:

AWS + * API Reference

+ */ + class SearchScope + { + public: + AWS_BACKUPSEARCH_API SearchScope(); + AWS_BACKUPSEARCH_API SearchScope(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API SearchScope& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The resource types included in a search.

Eligible resource types + * include S3 and EBS.

+ */ + inline const Aws::Vector& GetBackupResourceTypes() const{ return m_backupResourceTypes; } + inline bool BackupResourceTypesHasBeenSet() const { return m_backupResourceTypesHasBeenSet; } + inline void SetBackupResourceTypes(const Aws::Vector& value) { m_backupResourceTypesHasBeenSet = true; m_backupResourceTypes = value; } + inline void SetBackupResourceTypes(Aws::Vector&& value) { m_backupResourceTypesHasBeenSet = true; m_backupResourceTypes = std::move(value); } + inline SearchScope& WithBackupResourceTypes(const Aws::Vector& value) { SetBackupResourceTypes(value); return *this;} + inline SearchScope& WithBackupResourceTypes(Aws::Vector&& value) { SetBackupResourceTypes(std::move(value)); return *this;} + inline SearchScope& AddBackupResourceTypes(const ResourceType& value) { m_backupResourceTypesHasBeenSet = true; m_backupResourceTypes.push_back(value); return *this; } + inline SearchScope& AddBackupResourceTypes(ResourceType&& value) { m_backupResourceTypesHasBeenSet = true; m_backupResourceTypes.push_back(std::move(value)); return *this; } + ///@} + + ///@{ + /** + *

This is the time a backup resource was created.

+ */ + inline const BackupCreationTimeFilter& GetBackupResourceCreationTime() const{ return m_backupResourceCreationTime; } + inline bool BackupResourceCreationTimeHasBeenSet() const { return m_backupResourceCreationTimeHasBeenSet; } + inline void SetBackupResourceCreationTime(const BackupCreationTimeFilter& value) { m_backupResourceCreationTimeHasBeenSet = true; m_backupResourceCreationTime = value; } + inline void SetBackupResourceCreationTime(BackupCreationTimeFilter&& value) { m_backupResourceCreationTimeHasBeenSet = true; m_backupResourceCreationTime = std::move(value); } + inline SearchScope& WithBackupResourceCreationTime(const BackupCreationTimeFilter& value) { SetBackupResourceCreationTime(value); return *this;} + inline SearchScope& WithBackupResourceCreationTime(BackupCreationTimeFilter&& value) { SetBackupResourceCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the source + * resources.

+ */ + inline const Aws::Vector& GetSourceResourceArns() const{ return m_sourceResourceArns; } + inline bool SourceResourceArnsHasBeenSet() const { return m_sourceResourceArnsHasBeenSet; } + inline void SetSourceResourceArns(const Aws::Vector& value) { m_sourceResourceArnsHasBeenSet = true; m_sourceResourceArns = value; } + inline void SetSourceResourceArns(Aws::Vector&& value) { m_sourceResourceArnsHasBeenSet = true; m_sourceResourceArns = std::move(value); } + inline SearchScope& WithSourceResourceArns(const Aws::Vector& value) { SetSourceResourceArns(value); return *this;} + inline SearchScope& WithSourceResourceArns(Aws::Vector&& value) { SetSourceResourceArns(std::move(value)); return *this;} + inline SearchScope& AddSourceResourceArns(const Aws::String& value) { m_sourceResourceArnsHasBeenSet = true; m_sourceResourceArns.push_back(value); return *this; } + inline SearchScope& AddSourceResourceArns(Aws::String&& value) { m_sourceResourceArnsHasBeenSet = true; m_sourceResourceArns.push_back(std::move(value)); return *this; } + inline SearchScope& AddSourceResourceArns(const char* value) { m_sourceResourceArnsHasBeenSet = true; m_sourceResourceArns.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the backup + * resources.

+ */ + inline const Aws::Vector& GetBackupResourceArns() const{ return m_backupResourceArns; } + inline bool BackupResourceArnsHasBeenSet() const { return m_backupResourceArnsHasBeenSet; } + inline void SetBackupResourceArns(const Aws::Vector& value) { m_backupResourceArnsHasBeenSet = true; m_backupResourceArns = value; } + inline void SetBackupResourceArns(Aws::Vector&& value) { m_backupResourceArnsHasBeenSet = true; m_backupResourceArns = std::move(value); } + inline SearchScope& WithBackupResourceArns(const Aws::Vector& value) { SetBackupResourceArns(value); return *this;} + inline SearchScope& WithBackupResourceArns(Aws::Vector&& value) { SetBackupResourceArns(std::move(value)); return *this;} + inline SearchScope& AddBackupResourceArns(const Aws::String& value) { m_backupResourceArnsHasBeenSet = true; m_backupResourceArns.push_back(value); return *this; } + inline SearchScope& AddBackupResourceArns(Aws::String&& value) { m_backupResourceArnsHasBeenSet = true; m_backupResourceArns.push_back(std::move(value)); return *this; } + inline SearchScope& AddBackupResourceArns(const char* value) { m_backupResourceArnsHasBeenSet = true; m_backupResourceArns.push_back(value); return *this; } + ///@} + + ///@{ + /** + *

These are one or more tags on the backup (recovery point).

+ */ + inline const Aws::Map& GetBackupResourceTags() const{ return m_backupResourceTags; } + inline bool BackupResourceTagsHasBeenSet() const { return m_backupResourceTagsHasBeenSet; } + inline void SetBackupResourceTags(const Aws::Map& value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags = value; } + inline void SetBackupResourceTags(Aws::Map&& value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags = std::move(value); } + inline SearchScope& WithBackupResourceTags(const Aws::Map& value) { SetBackupResourceTags(value); return *this;} + inline SearchScope& WithBackupResourceTags(Aws::Map&& value) { SetBackupResourceTags(std::move(value)); return *this;} + inline SearchScope& AddBackupResourceTags(const Aws::String& key, const Aws::String& value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags.emplace(key, value); return *this; } + inline SearchScope& AddBackupResourceTags(Aws::String&& key, const Aws::String& value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags.emplace(std::move(key), value); return *this; } + inline SearchScope& AddBackupResourceTags(const Aws::String& key, Aws::String&& value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags.emplace(key, std::move(value)); return *this; } + inline SearchScope& AddBackupResourceTags(Aws::String&& key, Aws::String&& value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags.emplace(std::move(key), std::move(value)); return *this; } + inline SearchScope& AddBackupResourceTags(const char* key, Aws::String&& value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags.emplace(key, std::move(value)); return *this; } + inline SearchScope& AddBackupResourceTags(Aws::String&& key, const char* value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags.emplace(std::move(key), value); return *this; } + inline SearchScope& AddBackupResourceTags(const char* key, const char* value) { m_backupResourceTagsHasBeenSet = true; m_backupResourceTags.emplace(key, value); return *this; } + ///@} + private: + + Aws::Vector m_backupResourceTypes; + bool m_backupResourceTypesHasBeenSet = false; + + BackupCreationTimeFilter m_backupResourceCreationTime; + bool m_backupResourceCreationTimeHasBeenSet = false; + + Aws::Vector m_sourceResourceArns; + bool m_sourceResourceArnsHasBeenSet = false; + + Aws::Vector m_backupResourceArns; + bool m_backupResourceArnsHasBeenSet = false; + + Aws::Map m_backupResourceTags; + bool m_backupResourceTagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScopeSummary.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScopeSummary.h new file mode 100644 index 00000000000..28f149f979a --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/SearchScopeSummary.h @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

The summary of the specified search job scope, including:

  • + *

    TotalBackupsToScanCount, the number of recovery points returned by the + * search.

  • TotalItemsToScanCount, the number of items returned by + * the search.

See Also:

AWS + * API Reference

+ */ + class SearchScopeSummary + { + public: + AWS_BACKUPSEARCH_API SearchScopeSummary(); + AWS_BACKUPSEARCH_API SearchScopeSummary(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API SearchScopeSummary& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This is the count of the total number of backups that will be scanned in a + * search.

+ */ + inline int GetTotalRecoveryPointsToScanCount() const{ return m_totalRecoveryPointsToScanCount; } + inline bool TotalRecoveryPointsToScanCountHasBeenSet() const { return m_totalRecoveryPointsToScanCountHasBeenSet; } + inline void SetTotalRecoveryPointsToScanCount(int value) { m_totalRecoveryPointsToScanCountHasBeenSet = true; m_totalRecoveryPointsToScanCount = value; } + inline SearchScopeSummary& WithTotalRecoveryPointsToScanCount(int value) { SetTotalRecoveryPointsToScanCount(value); return *this;} + ///@} + + ///@{ + /** + *

This is the count of the total number of items that will be scanned in a + * search.

+ */ + inline long long GetTotalItemsToScanCount() const{ return m_totalItemsToScanCount; } + inline bool TotalItemsToScanCountHasBeenSet() const { return m_totalItemsToScanCountHasBeenSet; } + inline void SetTotalItemsToScanCount(long long value) { m_totalItemsToScanCountHasBeenSet = true; m_totalItemsToScanCount = value; } + inline SearchScopeSummary& WithTotalItemsToScanCount(long long value) { SetTotalItemsToScanCount(value); return *this;} + ///@} + private: + + int m_totalRecoveryPointsToScanCount; + bool m_totalRecoveryPointsToScanCountHasBeenSet = false; + + long long m_totalItemsToScanCount; + bool m_totalItemsToScanCountHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ServiceQuotaExceededException.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ServiceQuotaExceededException.h new file mode 100644 index 00000000000..8f7e8001771 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ServiceQuotaExceededException.h @@ -0,0 +1,130 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

The request denied due to exceeding the quota limits permitted.

See + * Also:

AWS + * API Reference

+ */ + class ServiceQuotaExceededException + { + public: + AWS_BACKUPSEARCH_API ServiceQuotaExceededException(); + AWS_BACKUPSEARCH_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ServiceQuotaExceededException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This request was not successful due to a service quota exceeding limits.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ServiceQuotaExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ServiceQuotaExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ServiceQuotaExceededException& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

Identifier of the resource.

+ */ + inline const Aws::String& GetResourceId() const{ return m_resourceId; } + inline bool ResourceIdHasBeenSet() const { return m_resourceIdHasBeenSet; } + inline void SetResourceId(const Aws::String& value) { m_resourceIdHasBeenSet = true; m_resourceId = value; } + inline void SetResourceId(Aws::String&& value) { m_resourceIdHasBeenSet = true; m_resourceId = std::move(value); } + inline void SetResourceId(const char* value) { m_resourceIdHasBeenSet = true; m_resourceId.assign(value); } + inline ServiceQuotaExceededException& WithResourceId(const Aws::String& value) { SetResourceId(value); return *this;} + inline ServiceQuotaExceededException& WithResourceId(Aws::String&& value) { SetResourceId(std::move(value)); return *this;} + inline ServiceQuotaExceededException& WithResourceId(const char* value) { SetResourceId(value); return *this;} + ///@} + + ///@{ + /** + *

Type of resource.

+ */ + inline const Aws::String& GetResourceType() const{ return m_resourceType; } + inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } + inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } + inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } + inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } + inline ServiceQuotaExceededException& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} + inline ServiceQuotaExceededException& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} + inline ServiceQuotaExceededException& WithResourceType(const char* value) { SetResourceType(value); return *this;} + ///@} + + ///@{ + /** + *

This is the code unique to the originating service with the quota.

+ */ + inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } + inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } + inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } + inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } + inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } + inline ServiceQuotaExceededException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} + inline ServiceQuotaExceededException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} + inline ServiceQuotaExceededException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + ///@} + + ///@{ + /** + *

This is the code specific to the quota type.

+ */ + inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } + inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } + inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } + inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } + inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } + inline ServiceQuotaExceededException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} + inline ServiceQuotaExceededException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} + inline ServiceQuotaExceededException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_resourceId; + bool m_resourceIdHasBeenSet = false; + + Aws::String m_resourceType; + bool m_resourceTypeHasBeenSet = false; + + Aws::String m_serviceCode; + bool m_serviceCodeHasBeenSet = false; + + Aws::String m_quotaCode; + bool m_quotaCodeHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobRequest.h new file mode 100644 index 00000000000..f8253bb288e --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobRequest.h @@ -0,0 +1,151 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class StartSearchJobRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API StartSearchJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StartSearchJob"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

List of tags returned by the operation.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline StartSearchJobRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline StartSearchJobRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline StartSearchJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + inline StartSearchJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline StartSearchJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline StartSearchJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline StartSearchJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline StartSearchJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline StartSearchJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

Include alphanumeric characters to create a name for this search job.

+ */ + inline const Aws::String& GetName() const{ return m_name; } + inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } + inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } + inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } + inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } + inline StartSearchJobRequest& WithName(const Aws::String& value) { SetName(value); return *this;} + inline StartSearchJobRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} + inline StartSearchJobRequest& WithName(const char* value) { SetName(value); return *this;} + ///@} + + ///@{ + /** + *

The encryption key for the specified search job.

+ */ + inline const Aws::String& GetEncryptionKeyArn() const{ return m_encryptionKeyArn; } + inline bool EncryptionKeyArnHasBeenSet() const { return m_encryptionKeyArnHasBeenSet; } + inline void SetEncryptionKeyArn(const Aws::String& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = value; } + inline void SetEncryptionKeyArn(Aws::String&& value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn = std::move(value); } + inline void SetEncryptionKeyArn(const char* value) { m_encryptionKeyArnHasBeenSet = true; m_encryptionKeyArn.assign(value); } + inline StartSearchJobRequest& WithEncryptionKeyArn(const Aws::String& value) { SetEncryptionKeyArn(value); return *this;} + inline StartSearchJobRequest& WithEncryptionKeyArn(Aws::String&& value) { SetEncryptionKeyArn(std::move(value)); return *this;} + inline StartSearchJobRequest& WithEncryptionKeyArn(const char* value) { SetEncryptionKeyArn(value); return *this;} + ///@} + + ///@{ + /** + *

Include this parameter to allow multiple identical calls for idempotency.

+ *

A client token is valid for 8 hours after the first request that uses it is + * completed. After this time, any request with the same token is treated as a new + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline StartSearchJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline StartSearchJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline StartSearchJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + + ///@{ + /** + *

This object can contain BackupResourceTypes, BackupResourceArns, + * BackupResourceCreationTime, BackupResourceTags, and SourceResourceArns to filter + * the recovery points returned by the search job.

+ */ + inline const SearchScope& GetSearchScope() const{ return m_searchScope; } + inline bool SearchScopeHasBeenSet() const { return m_searchScopeHasBeenSet; } + inline void SetSearchScope(const SearchScope& value) { m_searchScopeHasBeenSet = true; m_searchScope = value; } + inline void SetSearchScope(SearchScope&& value) { m_searchScopeHasBeenSet = true; m_searchScope = std::move(value); } + inline StartSearchJobRequest& WithSearchScope(const SearchScope& value) { SetSearchScope(value); return *this;} + inline StartSearchJobRequest& WithSearchScope(SearchScope&& value) { SetSearchScope(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Item Filters represent all input item properties specified when the search + * was created.

Contains either EBSItemFilters or S3ItemFilters

+ */ + inline const ItemFilters& GetItemFilters() const{ return m_itemFilters; } + inline bool ItemFiltersHasBeenSet() const { return m_itemFiltersHasBeenSet; } + inline void SetItemFilters(const ItemFilters& value) { m_itemFiltersHasBeenSet = true; m_itemFilters = value; } + inline void SetItemFilters(ItemFilters&& value) { m_itemFiltersHasBeenSet = true; m_itemFilters = std::move(value); } + inline StartSearchJobRequest& WithItemFilters(const ItemFilters& value) { SetItemFilters(value); return *this;} + inline StartSearchJobRequest& WithItemFilters(ItemFilters&& value) { SetItemFilters(std::move(value)); return *this;} + ///@} + private: + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + + Aws::String m_name; + bool m_nameHasBeenSet = false; + + Aws::String m_encryptionKeyArn; + bool m_encryptionKeyArnHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + SearchScope m_searchScope; + bool m_searchScopeHasBeenSet = false; + + ItemFilters m_itemFilters; + bool m_itemFiltersHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobResult.h new file mode 100644 index 00000000000..15c662e0fff --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchJobResult.h @@ -0,0 +1,100 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class StartSearchJobResult + { + public: + AWS_BACKUPSEARCH_API StartSearchJobResult(); + AWS_BACKUPSEARCH_API StartSearchJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API StartSearchJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

The unique string that identifies the Amazon Resource Name (ARN) of the + * specified search job.

+ */ + inline const Aws::String& GetSearchJobArn() const{ return m_searchJobArn; } + inline void SetSearchJobArn(const Aws::String& value) { m_searchJobArn = value; } + inline void SetSearchJobArn(Aws::String&& value) { m_searchJobArn = std::move(value); } + inline void SetSearchJobArn(const char* value) { m_searchJobArn.assign(value); } + inline StartSearchJobResult& WithSearchJobArn(const Aws::String& value) { SetSearchJobArn(value); return *this;} + inline StartSearchJobResult& WithSearchJobArn(Aws::String&& value) { SetSearchJobArn(std::move(value)); return *this;} + inline StartSearchJobResult& WithSearchJobArn(const char* value) { SetSearchJobArn(value); return *this;} + ///@} + + ///@{ + /** + *

The date and time that a job was created, in Unix format and Coordinated + * Universal Time (UTC). The value of CompletionTime is accurate to + * milliseconds. For example, the value 1516925490.087 represents Friday, January + * 26, 2018 12:11:30.087 AM.

+ */ + inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } + inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; } + inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); } + inline StartSearchJobResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} + inline StartSearchJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

The unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifier.assign(value); } + inline StartSearchJobResult& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline StartSearchJobResult& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline StartSearchJobResult& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline StartSearchJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline StartSearchJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline StartSearchJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_searchJobArn; + + Aws::Utils::DateTime m_creationTime; + + Aws::String m_searchJobIdentifier; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobRequest.h new file mode 100644 index 00000000000..f5151e3c27f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobRequest.h @@ -0,0 +1,136 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class StartSearchResultExportJobRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API StartSearchResultExportJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StartSearchResultExportJob"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline bool SearchJobIdentifierHasBeenSet() const { return m_searchJobIdentifierHasBeenSet; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier.assign(value); } + inline StartSearchResultExportJobRequest& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline StartSearchResultExportJobRequest& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline StartSearchResultExportJobRequest& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + + ///@{ + /** + *

This specification contains a required string of the destination bucket; + * optionally, you can include the destination prefix.

+ */ + inline const ExportSpecification& GetExportSpecification() const{ return m_exportSpecification; } + inline bool ExportSpecificationHasBeenSet() const { return m_exportSpecificationHasBeenSet; } + inline void SetExportSpecification(const ExportSpecification& value) { m_exportSpecificationHasBeenSet = true; m_exportSpecification = value; } + inline void SetExportSpecification(ExportSpecification&& value) { m_exportSpecificationHasBeenSet = true; m_exportSpecification = std::move(value); } + inline StartSearchResultExportJobRequest& WithExportSpecification(const ExportSpecification& value) { SetExportSpecification(value); return *this;} + inline StartSearchResultExportJobRequest& WithExportSpecification(ExportSpecification&& value) { SetExportSpecification(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

Include this parameter to allow multiple identical calls for idempotency.

+ *

A client token is valid for 8 hours after the first request that uses it is + * completed. After this time, any request with the same token is treated as a new + * request.

+ */ + inline const Aws::String& GetClientToken() const{ return m_clientToken; } + inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } + inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } + inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } + inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } + inline StartSearchResultExportJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} + inline StartSearchResultExportJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} + inline StartSearchResultExportJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} + ///@} + + ///@{ + /** + *

Optional tags to include. A tag is a key-value pair you can use to manage, + * filter, and search for your resources. Allowed characters include UTF-8 letters, + * numbers, spaces, and the following characters: + - = . _ : /.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline StartSearchResultExportJobRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline StartSearchResultExportJobRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline StartSearchResultExportJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + inline StartSearchResultExportJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline StartSearchResultExportJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline StartSearchResultExportJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline StartSearchResultExportJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline StartSearchResultExportJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline StartSearchResultExportJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

This parameter specifies the role ARN used to start the search results export + * jobs.

+ */ + inline const Aws::String& GetRoleArn() const{ return m_roleArn; } + inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } + inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } + inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } + inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } + inline StartSearchResultExportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} + inline StartSearchResultExportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} + inline StartSearchResultExportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} + ///@} + private: + + Aws::String m_searchJobIdentifier; + bool m_searchJobIdentifierHasBeenSet = false; + + ExportSpecification m_exportSpecification; + bool m_exportSpecificationHasBeenSet = false; + + Aws::String m_clientToken; + bool m_clientTokenHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + + Aws::String m_roleArn; + bool m_roleArnHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobResult.h new file mode 100644 index 00000000000..ef7f27e3cd2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StartSearchResultExportJobResult.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class StartSearchResultExportJobResult + { + public: + AWS_BACKUPSEARCH_API StartSearchResultExportJobResult(); + AWS_BACKUPSEARCH_API StartSearchResultExportJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API StartSearchResultExportJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + /** + *

This is the unique ARN (Amazon Resource Name) that belongs to the new export + * job.

+ */ + inline const Aws::String& GetExportJobArn() const{ return m_exportJobArn; } + inline void SetExportJobArn(const Aws::String& value) { m_exportJobArn = value; } + inline void SetExportJobArn(Aws::String&& value) { m_exportJobArn = std::move(value); } + inline void SetExportJobArn(const char* value) { m_exportJobArn.assign(value); } + inline StartSearchResultExportJobResult& WithExportJobArn(const Aws::String& value) { SetExportJobArn(value); return *this;} + inline StartSearchResultExportJobResult& WithExportJobArn(Aws::String&& value) { SetExportJobArn(std::move(value)); return *this;} + inline StartSearchResultExportJobResult& WithExportJobArn(const char* value) { SetExportJobArn(value); return *this;} + ///@} + + ///@{ + /** + *

This is the unique identifier that specifies the new export job.

+ */ + inline const Aws::String& GetExportJobIdentifier() const{ return m_exportJobIdentifier; } + inline void SetExportJobIdentifier(const Aws::String& value) { m_exportJobIdentifier = value; } + inline void SetExportJobIdentifier(Aws::String&& value) { m_exportJobIdentifier = std::move(value); } + inline void SetExportJobIdentifier(const char* value) { m_exportJobIdentifier.assign(value); } + inline StartSearchResultExportJobResult& WithExportJobIdentifier(const Aws::String& value) { SetExportJobIdentifier(value); return *this;} + inline StartSearchResultExportJobResult& WithExportJobIdentifier(Aws::String&& value) { SetExportJobIdentifier(std::move(value)); return *this;} + inline StartSearchResultExportJobResult& WithExportJobIdentifier(const char* value) { SetExportJobIdentifier(value); return *this;} + ///@} + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline StartSearchResultExportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline StartSearchResultExportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline StartSearchResultExportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_exportJobArn; + + Aws::String m_exportJobIdentifier; + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobRequest.h new file mode 100644 index 00000000000..3e5f768b4b7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobRequest.h @@ -0,0 +1,56 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class StopSearchJobRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API StopSearchJobRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "StopSearchJob"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The unique string that specifies the search job.

+ */ + inline const Aws::String& GetSearchJobIdentifier() const{ return m_searchJobIdentifier; } + inline bool SearchJobIdentifierHasBeenSet() const { return m_searchJobIdentifierHasBeenSet; } + inline void SetSearchJobIdentifier(const Aws::String& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = value; } + inline void SetSearchJobIdentifier(Aws::String&& value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier = std::move(value); } + inline void SetSearchJobIdentifier(const char* value) { m_searchJobIdentifierHasBeenSet = true; m_searchJobIdentifier.assign(value); } + inline StopSearchJobRequest& WithSearchJobIdentifier(const Aws::String& value) { SetSearchJobIdentifier(value); return *this;} + inline StopSearchJobRequest& WithSearchJobIdentifier(Aws::String&& value) { SetSearchJobIdentifier(std::move(value)); return *this;} + inline StopSearchJobRequest& WithSearchJobIdentifier(const char* value) { SetSearchJobIdentifier(value); return *this;} + ///@} + private: + + Aws::String m_searchJobIdentifier; + bool m_searchJobIdentifierHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobResult.h new file mode 100644 index 00000000000..35944274d1b --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StopSearchJobResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class StopSearchJobResult + { + public: + AWS_BACKUPSEARCH_API StopSearchJobResult(); + AWS_BACKUPSEARCH_API StopSearchJobResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API StopSearchJobResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline StopSearchJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline StopSearchJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline StopSearchJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringCondition.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringCondition.h new file mode 100644 index 00000000000..b4f8f6cb479 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringCondition.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

This contains the value of the string and can contain one or more + * operators.

See Also:

AWS + * API Reference

+ */ + class StringCondition + { + public: + AWS_BACKUPSEARCH_API StringCondition(); + AWS_BACKUPSEARCH_API StringCondition(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API StringCondition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The value of the string.

+ */ + inline const Aws::String& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } + inline StringCondition& WithValue(const Aws::String& value) { SetValue(value); return *this;} + inline StringCondition& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} + inline StringCondition& WithValue(const char* value) { SetValue(value); return *this;} + ///@} + + ///@{ + /** + *

A string that defines what values will be returned.

If this is + * included, avoid combinations of operators that will return all possible values. + * For example, including both EQUALS_TO and + * NOT_EQUALS_TO with a value of 4 will return all + * values.

+ */ + inline const StringConditionOperator& GetOperator() const{ return m_operator; } + inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } + inline void SetOperator(const StringConditionOperator& value) { m_operatorHasBeenSet = true; m_operator = value; } + inline void SetOperator(StringConditionOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } + inline StringCondition& WithOperator(const StringConditionOperator& value) { SetOperator(value); return *this;} + inline StringCondition& WithOperator(StringConditionOperator&& value) { SetOperator(std::move(value)); return *this;} + ///@} + private: + + Aws::String m_value; + bool m_valueHasBeenSet = false; + + StringConditionOperator m_operator; + bool m_operatorHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringConditionOperator.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringConditionOperator.h new file mode 100644 index 00000000000..e2d4c7360ba --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/StringConditionOperator.h @@ -0,0 +1,37 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + enum class StringConditionOperator + { + NOT_SET, + EQUALS_TO, + NOT_EQUALS_TO, + CONTAINS, + DOES_NOT_CONTAIN, + BEGINS_WITH, + ENDS_WITH, + DOES_NOT_BEGIN_WITH, + DOES_NOT_END_WITH + }; + +namespace StringConditionOperatorMapper +{ +AWS_BACKUPSEARCH_API StringConditionOperator GetStringConditionOperatorForName(const Aws::String& name); + +AWS_BACKUPSEARCH_API Aws::String GetNameForStringConditionOperator(StringConditionOperator value); +} // namespace StringConditionOperatorMapper +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceRequest.h new file mode 100644 index 00000000000..c17a46aac85 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceRequest.h @@ -0,0 +1,82 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class TagResourceRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API TagResourceRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "TagResource"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the resource.

+ *

This is the resource that will have the indicated tags.

+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline TagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline TagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline TagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

Required tags to include. A tag is a key-value pair you can use to manage, + * filter, and search for your resources. Allowed characters include UTF-8 letters, + * numbers, spaces, and the following characters: + - = . _ : /.

+ */ + inline const Aws::Map& GetTags() const{ return m_tags; } + inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } + inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } + inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } + inline TagResourceRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} + inline TagResourceRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} + inline TagResourceRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + inline TagResourceRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline TagResourceRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline TagResourceRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } + inline TagResourceRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } + inline TagResourceRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } + inline TagResourceRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::Map m_tags; + bool m_tagsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceResult.h new file mode 100644 index 00000000000..8c424c19b84 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TagResourceResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class TagResourceResult + { + public: + AWS_BACKUPSEARCH_API TagResourceResult(); + AWS_BACKUPSEARCH_API TagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API TagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline TagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline TagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline TagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ThrottlingException.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ThrottlingException.h new file mode 100644 index 00000000000..cefaa48f08b --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/ThrottlingException.h @@ -0,0 +1,109 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

The request was denied due to request throttling.

See Also:

+ * AWS + * API Reference

+ */ + class ThrottlingException + { + public: + AWS_BACKUPSEARCH_API ThrottlingException(); + AWS_BACKUPSEARCH_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API ThrottlingException& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

Request was unsuccessful due to request throttling.

+ */ + inline const Aws::String& GetMessage() const{ return m_message; } + inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } + inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } + inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } + inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } + inline ThrottlingException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} + inline ThrottlingException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} + inline ThrottlingException& WithMessage(const char* value) { SetMessage(value); return *this;} + ///@} + + ///@{ + /** + *

This is the code unique to the originating service.

+ */ + inline const Aws::String& GetServiceCode() const{ return m_serviceCode; } + inline bool ServiceCodeHasBeenSet() const { return m_serviceCodeHasBeenSet; } + inline void SetServiceCode(const Aws::String& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = value; } + inline void SetServiceCode(Aws::String&& value) { m_serviceCodeHasBeenSet = true; m_serviceCode = std::move(value); } + inline void SetServiceCode(const char* value) { m_serviceCodeHasBeenSet = true; m_serviceCode.assign(value); } + inline ThrottlingException& WithServiceCode(const Aws::String& value) { SetServiceCode(value); return *this;} + inline ThrottlingException& WithServiceCode(Aws::String&& value) { SetServiceCode(std::move(value)); return *this;} + inline ThrottlingException& WithServiceCode(const char* value) { SetServiceCode(value); return *this;} + ///@} + + ///@{ + /** + *

This is the code unique to the originating service with the quota.

+ */ + inline const Aws::String& GetQuotaCode() const{ return m_quotaCode; } + inline bool QuotaCodeHasBeenSet() const { return m_quotaCodeHasBeenSet; } + inline void SetQuotaCode(const Aws::String& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = value; } + inline void SetQuotaCode(Aws::String&& value) { m_quotaCodeHasBeenSet = true; m_quotaCode = std::move(value); } + inline void SetQuotaCode(const char* value) { m_quotaCodeHasBeenSet = true; m_quotaCode.assign(value); } + inline ThrottlingException& WithQuotaCode(const Aws::String& value) { SetQuotaCode(value); return *this;} + inline ThrottlingException& WithQuotaCode(Aws::String&& value) { SetQuotaCode(std::move(value)); return *this;} + inline ThrottlingException& WithQuotaCode(const char* value) { SetQuotaCode(value); return *this;} + ///@} + + ///@{ + /** + *

Retry the call after number of seconds.

+ */ + inline int GetRetryAfterSeconds() const{ return m_retryAfterSeconds; } + inline bool RetryAfterSecondsHasBeenSet() const { return m_retryAfterSecondsHasBeenSet; } + inline void SetRetryAfterSeconds(int value) { m_retryAfterSecondsHasBeenSet = true; m_retryAfterSeconds = value; } + inline ThrottlingException& WithRetryAfterSeconds(int value) { SetRetryAfterSeconds(value); return *this;} + ///@} + private: + + Aws::String m_message; + bool m_messageHasBeenSet = false; + + Aws::String m_serviceCode; + bool m_serviceCodeHasBeenSet = false; + + Aws::String m_quotaCode; + bool m_quotaCodeHasBeenSet = false; + + int m_retryAfterSeconds; + bool m_retryAfterSecondsHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeCondition.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeCondition.h new file mode 100644 index 00000000000..40aa51caf60 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeCondition.h @@ -0,0 +1,80 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + + /** + *

A time condition denotes a creation time, last modification time, or other + * time.

See Also:

AWS + * API Reference

+ */ + class TimeCondition + { + public: + AWS_BACKUPSEARCH_API TimeCondition(); + AWS_BACKUPSEARCH_API TimeCondition(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API TimeCondition& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

This is the timestamp value of the time condition.

+ */ + inline const Aws::Utils::DateTime& GetValue() const{ return m_value; } + inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } + inline void SetValue(const Aws::Utils::DateTime& value) { m_valueHasBeenSet = true; m_value = value; } + inline void SetValue(Aws::Utils::DateTime&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } + inline TimeCondition& WithValue(const Aws::Utils::DateTime& value) { SetValue(value); return *this;} + inline TimeCondition& WithValue(Aws::Utils::DateTime&& value) { SetValue(std::move(value)); return *this;} + ///@} + + ///@{ + /** + *

A string that defines what values will be returned.

If this is + * included, avoid combinations of operators that will return all possible values. + * For example, including both EQUALS_TO and + * NOT_EQUALS_TO with a value of 4 will return all + * values.

+ */ + inline const TimeConditionOperator& GetOperator() const{ return m_operator; } + inline bool OperatorHasBeenSet() const { return m_operatorHasBeenSet; } + inline void SetOperator(const TimeConditionOperator& value) { m_operatorHasBeenSet = true; m_operator = value; } + inline void SetOperator(TimeConditionOperator&& value) { m_operatorHasBeenSet = true; m_operator = std::move(value); } + inline TimeCondition& WithOperator(const TimeConditionOperator& value) { SetOperator(value); return *this;} + inline TimeCondition& WithOperator(TimeConditionOperator&& value) { SetOperator(std::move(value)); return *this;} + ///@} + private: + + Aws::Utils::DateTime m_value; + bool m_valueHasBeenSet = false; + + TimeConditionOperator m_operator; + bool m_operatorHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeConditionOperator.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeConditionOperator.h new file mode 100644 index 00000000000..4739ef8bd3c --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/TimeConditionOperator.h @@ -0,0 +1,33 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + enum class TimeConditionOperator + { + NOT_SET, + EQUALS_TO, + NOT_EQUALS_TO, + LESS_THAN_EQUAL_TO, + GREATER_THAN_EQUAL_TO + }; + +namespace TimeConditionOperatorMapper +{ +AWS_BACKUPSEARCH_API TimeConditionOperator GetTimeConditionOperatorForName(const Aws::String& name); + +AWS_BACKUPSEARCH_API Aws::String GetNameForTimeConditionOperator(TimeConditionOperator value); +} // namespace TimeConditionOperatorMapper +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceRequest.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceRequest.h new file mode 100644 index 00000000000..818633505b7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceRequest.h @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include +#include +#include + +namespace Aws +{ +namespace Http +{ + class URI; +} //namespace Http +namespace BackupSearch +{ +namespace Model +{ + + /** + */ + class UntagResourceRequest : public BackupSearchRequest + { + public: + AWS_BACKUPSEARCH_API UntagResourceRequest(); + + // Service request name is the Operation name which will send this request out, + // each operation should has unique request name, so that we can get operation's name from this request. + // Note: this is not true for response, multiple operations may have the same response name, + // so we can not get operation's name from response. + inline virtual const char* GetServiceRequestName() const override { return "UntagResource"; } + + AWS_BACKUPSEARCH_API Aws::String SerializePayload() const override; + + AWS_BACKUPSEARCH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; + + + ///@{ + /** + *

The Amazon Resource Name (ARN) that uniquely identifies the resource where + * you want to remove tags.

+ */ + inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } + inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } + inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } + inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } + inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } + inline UntagResourceRequest& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} + inline UntagResourceRequest& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} + inline UntagResourceRequest& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} + ///@} + + ///@{ + /** + *

This required parameter contains the tag keys you want to remove from the + * source.

+ */ + inline const Aws::Vector& GetTagKeys() const{ return m_tagKeys; } + inline bool TagKeysHasBeenSet() const { return m_tagKeysHasBeenSet; } + inline void SetTagKeys(const Aws::Vector& value) { m_tagKeysHasBeenSet = true; m_tagKeys = value; } + inline void SetTagKeys(Aws::Vector&& value) { m_tagKeysHasBeenSet = true; m_tagKeys = std::move(value); } + inline UntagResourceRequest& WithTagKeys(const Aws::Vector& value) { SetTagKeys(value); return *this;} + inline UntagResourceRequest& WithTagKeys(Aws::Vector&& value) { SetTagKeys(std::move(value)); return *this;} + inline UntagResourceRequest& AddTagKeys(const Aws::String& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + inline UntagResourceRequest& AddTagKeys(Aws::String&& value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(std::move(value)); return *this; } + inline UntagResourceRequest& AddTagKeys(const char* value) { m_tagKeysHasBeenSet = true; m_tagKeys.push_back(value); return *this; } + ///@} + private: + + Aws::String m_resourceArn; + bool m_resourceArnHasBeenSet = false; + + Aws::Vector m_tagKeys; + bool m_tagKeysHasBeenSet = false; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceResult.h b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceResult.h new file mode 100644 index 00000000000..a37939125f5 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/include/aws/backupsearch/model/UntagResourceResult.h @@ -0,0 +1,52 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +template +class AmazonWebServiceResult; + +namespace Utils +{ +namespace Json +{ + class JsonValue; +} // namespace Json +} // namespace Utils +namespace BackupSearch +{ +namespace Model +{ + class UntagResourceResult + { + public: + AWS_BACKUPSEARCH_API UntagResourceResult(); + AWS_BACKUPSEARCH_API UntagResourceResult(const Aws::AmazonWebServiceResult& result); + AWS_BACKUPSEARCH_API UntagResourceResult& operator=(const Aws::AmazonWebServiceResult& result); + + + ///@{ + + inline const Aws::String& GetRequestId() const{ return m_requestId; } + inline void SetRequestId(const Aws::String& value) { m_requestId = value; } + inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } + inline void SetRequestId(const char* value) { m_requestId.assign(value); } + inline UntagResourceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} + inline UntagResourceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} + inline UntagResourceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} + ///@} + private: + + Aws::String m_requestId; + }; + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchClient.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchClient.cpp new file mode 100644 index 00000000000..af2620f63c6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchClient.cpp @@ -0,0 +1,558 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + + +using namespace Aws; +using namespace Aws::Auth; +using namespace Aws::Client; +using namespace Aws::BackupSearch; +using namespace Aws::BackupSearch::Model; +using namespace Aws::Http; +using namespace Aws::Utils::Json; +using namespace smithy::components::tracing; +using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + +namespace Aws +{ + namespace BackupSearch + { + const char SERVICE_NAME[] = "backup-search"; + const char ALLOCATION_TAG[] = "BackupSearchClient"; + } +} +const char* BackupSearchClient::GetServiceName() {return SERVICE_NAME;} +const char* BackupSearchClient::GetAllocationTag() {return ALLOCATION_TAG;} + +BackupSearchClient::BackupSearchClient(const BackupSearch::BackupSearchClientConfiguration& clientConfiguration, + std::shared_ptr endpointProvider) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +BackupSearchClient::BackupSearchClient(const AWSCredentials& credentials, + std::shared_ptr endpointProvider, + const BackupSearch::BackupSearchClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG, credentials), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +BackupSearchClient::BackupSearchClient(const std::shared_ptr& credentialsProvider, + std::shared_ptr endpointProvider, + const BackupSearch::BackupSearchClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + credentialsProvider, + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(endpointProvider ? std::move(endpointProvider) : Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + + /* Legacy constructors due deprecation */ + BackupSearchClient::BackupSearchClient(const Client::ClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +BackupSearchClient::BackupSearchClient(const AWSCredentials& credentials, + const Client::ClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + Aws::MakeShared(ALLOCATION_TAG, credentials), + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + +BackupSearchClient::BackupSearchClient(const std::shared_ptr& credentialsProvider, + const Client::ClientConfiguration& clientConfiguration) : + BASECLASS(clientConfiguration, + Aws::MakeShared(ALLOCATION_TAG, + credentialsProvider, + SERVICE_NAME, + Aws::Region::ComputeSignerRegion(clientConfiguration.region)), + Aws::MakeShared(ALLOCATION_TAG)), + m_clientConfiguration(clientConfiguration), + m_endpointProvider(Aws::MakeShared(ALLOCATION_TAG)) +{ + init(m_clientConfiguration); +} + + /* End of legacy constructors due deprecation */ +BackupSearchClient::~BackupSearchClient() +{ + ShutdownSdkClient(this, -1); +} + +std::shared_ptr& BackupSearchClient::accessEndpointProvider() +{ + return m_endpointProvider; +} + +void BackupSearchClient::init(const BackupSearch::BackupSearchClientConfiguration& config) +{ + AWSClient::SetServiceClientName("BackupSearch"); + if (!m_clientConfiguration.executor) { + if (!m_clientConfiguration.configFactories.executorCreateFn()) { + AWS_LOGSTREAM_FATAL(ALLOCATION_TAG, "Failed to initialize client: config is missing Executor or executorCreateFn"); + m_isInitialized = false; + return; + } + m_clientConfiguration.executor = m_clientConfiguration.configFactories.executorCreateFn(); + } + AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); + m_endpointProvider->InitBuiltInParameters(config); +} + +void BackupSearchClient::OverrideEndpoint(const Aws::String& endpoint) +{ + AWS_CHECK_PTR(SERVICE_NAME, m_endpointProvider); + m_endpointProvider->OverrideEndpoint(endpoint); +} + +GetSearchJobOutcome BackupSearchClient::GetSearchJob(const GetSearchJobRequest& request) const +{ + AWS_OPERATION_GUARD(GetSearchJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetSearchJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.SearchJobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSearchJob", "Required field: SearchJobIdentifier, is not set"); + return GetSearchJobOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SearchJobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetSearchJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetSearchJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetSearchJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetSearchJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetSearchJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSearchJobIdentifier()); + return GetSearchJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +GetSearchResultExportJobOutcome BackupSearchClient::GetSearchResultExportJob(const GetSearchResultExportJobRequest& request) const +{ + AWS_OPERATION_GUARD(GetSearchResultExportJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, GetSearchResultExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ExportJobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("GetSearchResultExportJob", "Required field: ExportJobIdentifier, is not set"); + return GetSearchResultExportJobOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ExportJobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, GetSearchResultExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, GetSearchResultExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".GetSearchResultExportJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> GetSearchResultExportJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, GetSearchResultExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/export-search-jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetExportJobIdentifier()); + return GetSearchResultExportJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListSearchJobBackupsOutcome BackupSearchClient::ListSearchJobBackups(const ListSearchJobBackupsRequest& request) const +{ + AWS_OPERATION_GUARD(ListSearchJobBackups); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSearchJobBackups, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.SearchJobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSearchJobBackups", "Required field: SearchJobIdentifier, is not set"); + return ListSearchJobBackupsOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SearchJobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSearchJobBackups, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSearchJobBackups, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSearchJobBackups", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListSearchJobBackupsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSearchJobBackups, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSearchJobIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/backups"); + return ListSearchJobBackupsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListSearchJobResultsOutcome BackupSearchClient::ListSearchJobResults(const ListSearchJobResultsRequest& request) const +{ + AWS_OPERATION_GUARD(ListSearchJobResults); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSearchJobResults, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.SearchJobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListSearchJobResults", "Required field: SearchJobIdentifier, is not set"); + return ListSearchJobResultsOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SearchJobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSearchJobResults, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSearchJobResults, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSearchJobResults", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListSearchJobResultsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSearchJobResults, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSearchJobIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-results"); + return ListSearchJobResultsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListSearchJobsOutcome BackupSearchClient::ListSearchJobs(const ListSearchJobsRequest& request) const +{ + AWS_OPERATION_GUARD(ListSearchJobs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSearchJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSearchJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSearchJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSearchJobs", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListSearchJobsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSearchJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-jobs"); + return ListSearchJobsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListSearchResultExportJobsOutcome BackupSearchClient::ListSearchResultExportJobs(const ListSearchResultExportJobsRequest& request) const +{ + AWS_OPERATION_GUARD(ListSearchResultExportJobs); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListSearchResultExportJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListSearchResultExportJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListSearchResultExportJobs, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListSearchResultExportJobs", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListSearchResultExportJobsOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListSearchResultExportJobs, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/export-search-jobs"); + return ListSearchResultExportJobsOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +ListTagsForResourceOutcome BackupSearchClient::ListTagsForResource(const ListTagsForResourceRequest& request) const +{ + AWS_OPERATION_GUARD(ListTagsForResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("ListTagsForResource", "Required field: ResourceArn, is not set"); + return ListTagsForResourceOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, ListTagsForResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".ListTagsForResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> ListTagsForResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, ListTagsForResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return ListTagsForResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_GET, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +StartSearchJobOutcome BackupSearchClient::StartSearchJob(const StartSearchJobRequest& request) const +{ + AWS_OPERATION_GUARD(StartSearchJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartSearchJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartSearchJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartSearchJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartSearchJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StartSearchJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StartSearchJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-jobs"); + return StartSearchJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +StartSearchResultExportJobOutcome BackupSearchClient::StartSearchResultExportJob(const StartSearchResultExportJobRequest& request) const +{ + AWS_OPERATION_GUARD(StartSearchResultExportJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StartSearchResultExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StartSearchResultExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StartSearchResultExportJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StartSearchResultExportJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StartSearchResultExportJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StartSearchResultExportJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/export-search-jobs"); + return StartSearchResultExportJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +StopSearchJobOutcome BackupSearchClient::StopSearchJob(const StopSearchJobRequest& request) const +{ + AWS_OPERATION_GUARD(StopSearchJob); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, StopSearchJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.SearchJobIdentifierHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("StopSearchJob", "Required field: SearchJobIdentifier, is not set"); + return StopSearchJobOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [SearchJobIdentifier]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, StopSearchJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, StopSearchJob, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".StopSearchJob", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> StopSearchJobOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, StopSearchJob, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/search-jobs/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetSearchJobIdentifier()); + endpointResolutionOutcome.GetResult().AddPathSegments("/actions/cancel"); + return StopSearchJobOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_PUT, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +TagResourceOutcome BackupSearchClient::TagResource(const TagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(TagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("TagResource", "Required field: ResourceArn, is not set"); + return TagResourceOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, TagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".TagResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> TagResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, TagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return TagResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_POST, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + +UntagResourceOutcome BackupSearchClient::UntagResource(const UntagResourceRequest& request) const +{ + AWS_OPERATION_GUARD(UntagResource); + AWS_OPERATION_CHECK_PTR(m_endpointProvider, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE); + if (!request.ResourceArnHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UntagResource", "Required field: ResourceArn, is not set"); + return UntagResourceOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [ResourceArn]", false)); + } + if (!request.TagKeysHasBeenSet()) + { + AWS_LOGSTREAM_ERROR("UntagResource", "Required field: TagKeys, is not set"); + return UntagResourceOutcome(Aws::Client::AWSError(BackupSearchErrors::MISSING_PARAMETER, "MISSING_PARAMETER", "Missing required field [TagKeys]", false)); + } + AWS_OPERATION_CHECK_PTR(m_telemetryProvider, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto tracer = m_telemetryProvider->getTracer(this->GetServiceClientName(), {}); + auto meter = m_telemetryProvider->getMeter(this->GetServiceClientName(), {}); + AWS_OPERATION_CHECK_PTR(meter, UntagResource, CoreErrors, CoreErrors::NOT_INITIALIZED); + auto span = tracer->CreateSpan(Aws::String(this->GetServiceClientName()) + ".UntagResource", + {{ TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName() }, { TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName() }, { TracingUtils::SMITHY_SYSTEM_DIMENSION, TracingUtils::SMITHY_METHOD_AWS_VALUE }}, + smithy::components::tracing::SpanKind::CLIENT); + return TracingUtils::MakeCallWithTiming( + [&]()-> UntagResourceOutcome { + auto endpointResolutionOutcome = TracingUtils::MakeCallWithTiming( + [&]() -> ResolveEndpointOutcome { return m_endpointProvider->ResolveEndpoint(request.GetEndpointContextParams()); }, + TracingUtils::SMITHY_CLIENT_ENDPOINT_RESOLUTION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); + AWS_OPERATION_CHECK_SUCCESS(endpointResolutionOutcome, UntagResource, CoreErrors, CoreErrors::ENDPOINT_RESOLUTION_FAILURE, endpointResolutionOutcome.GetError().GetMessage()); + endpointResolutionOutcome.GetResult().AddPathSegments("/tags/"); + endpointResolutionOutcome.GetResult().AddPathSegment(request.GetResourceArn()); + return UntagResourceOutcome(MakeRequest(request, endpointResolutionOutcome.GetResult(), Aws::Http::HttpMethod::HTTP_DELETE, Aws::Auth::SIGV4_SIGNER)); + }, + TracingUtils::SMITHY_CLIENT_DURATION_METRIC, + *meter, + {{TracingUtils::SMITHY_METHOD_DIMENSION, request.GetServiceRequestName()}, {TracingUtils::SMITHY_SERVICE_DIMENSION, this->GetServiceClientName()}}); +} + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointProvider.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointProvider.cpp new file mode 100644 index 00000000000..804ee31a221 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointProvider.cpp @@ -0,0 +1,16 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include + +namespace Aws +{ +namespace BackupSearch +{ +namespace Endpoint +{ +} // namespace Endpoint +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointRules.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointRules.cpp new file mode 100644 index 00000000000..2ce61668fae --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchEndpointRules.cpp @@ -0,0 +1,102 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +namespace Aws +{ +namespace BackupSearch +{ +const size_t BackupSearchEndpointRules::RulesBlobStrLen = 1876; +const size_t BackupSearchEndpointRules::RulesBlobSize = 1877; + +using RulesBlobT = Aws::Array; +static constexpr RulesBlobT RulesBlob = {{ +'{','"','v','e','r','s','i','o','n','"',':','"','1','.','0','"',',','"','p','a','r','a','m','e','t', +'e','r','s','"',':','{','"','U','s','e','F','I','P','S','"',':','{','"','b','u','i','l','t','I','n', +'"',':','"','A','W','S',':',':','U','s','e','F','I','P','S','"',',','"','r','e','q','u','i','r','e', +'d','"',':','t','r','u','e',',','"','d','e','f','a','u','l','t','"',':','f','a','l','s','e',',','"', +'d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','W','h','e','n',' ','t','r','u','e', +',',' ','s','e','n','d',' ','t','h','i','s',' ','r','e','q','u','e','s','t',' ','t','o',' ','t','h', +'e',' ','F','I','P','S','-','c','o','m','p','l','i','a','n','t',' ','r','e','g','i','o','n','a','l', +' ','e','n','d','p','o','i','n','t','.',' ','I','f',' ','t','h','e',' ','c','o','n','f','i','g','u', +'r','e','d',' ','e','n','d','p','o','i','n','t',' ','d','o','e','s',' ','n','o','t',' ','h','a','v', +'e',' ','a',' ','F','I','P','S',' ','c','o','m','p','l','i','a','n','t',' ','e','n','d','p','o','i', +'n','t',',',' ','d','i','s','p','a','t','c','h','i','n','g',' ','t','h','e',' ','r','e','q','u','e', +'s','t',' ','w','i','l','l',' ','r','e','t','u','r','n',' ','a','n',' ','e','r','r','o','r','.','"', +',','"','t','y','p','e','"',':','"','B','o','o','l','e','a','n','"','}',',','"','E','n','d','p','o', +'i','n','t','"',':','{','"','b','u','i','l','t','I','n','"',':','"','S','D','K',':',':','E','n','d', +'p','o','i','n','t','"',',','"','r','e','q','u','i','r','e','d','"',':','f','a','l','s','e',',','"', +'d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"','O','v','e','r','r','i','d','e',' ', +'t','h','e',' ','e','n','d','p','o','i','n','t',' ','u','s','e','d',' ','t','o',' ','s','e','n','d', +' ','t','h','i','s',' ','r','e','q','u','e','s','t','"',',','"','t','y','p','e','"',':','"','S','t', +'r','i','n','g','"','}',',','"','R','e','g','i','o','n','"',':','{','"','b','u','i','l','t','I','n', +'"',':','"','A','W','S',':',':','R','e','g','i','o','n','"',',','"','r','e','q','u','i','r','e','d', +'"',':','f','a','l','s','e',',','"','d','o','c','u','m','e','n','t','a','t','i','o','n','"',':','"', +'T','h','e',' ','A','W','S',' ','r','e','g','i','o','n',' ','u','s','e','d',' ','t','o',' ','d','i', +'s','p','a','t','c','h',' ','t','h','e',' ','r','e','q','u','e','s','t','.','"',',','"','t','y','p', +'e','"',':','"','S','t','r','i','n','g','"','}','}',',','"','r','u','l','e','s','"',':','[','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e','t', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','E','n','d','p','o','i','n', +'t','"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P', +'S','"','}',',','t','r','u','e',']','}',']',',','"','e','r','r','o','r','"',':','"','I','n','v','a', +'l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n',':',' ','F','I','P','S',' ','a', +'n','d',' ','c','u','s','t','o','m',' ','e','n','d','p','o','i','n','t',' ','a','r','e',' ','n','o', +'t',' ','s','u','p','p','o','r','t','e','d','"',',','"','t','y','p','e','"',':','"','e','r','r','o', +'r','"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d', +'p','o','i','n','t','"',':','{','"','u','r','l','"',':','{','"','r','e','f','"',':','"','E','n','d', +'p','o','i','n','t','"','}',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','}',',','"', +'h','e','a','d','e','r','s','"',':','{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p', +'o','i','n','t','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','r','u','l','e','s','"',':','[','{', +'"','c','o','n','d','i','t','i','o','n','s','"',':','[','{','"','f','n','"',':','"','i','s','S','e', +'t','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n', +'"','}',']','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i','o', +'n','s','"',':','[','{','"','f','n','"',':','"','a','w','s','.','p','a','r','t','i','t','i','o','n', +'"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','R','e','g','i','o','n','"', +'}',']',',','"','a','s','s','i','g','n','"',':','"','P','a','r','t','i','t','i','o','n','R','e','s', +'u','l','t','"','}',']',',','"','r','u','l','e','s','"',':','[','{','"','c','o','n','d','i','t','i', +'o','n','s','"',':','[','{','"','f','n','"',':','"','b','o','o','l','e','a','n','E','q','u','a','l', +'s','"',',','"','a','r','g','v','"',':','[','{','"','r','e','f','"',':','"','U','s','e','F','I','P', +'S','"','}',',','t','r','u','e',']','}',']',',','"','e','n','d','p','o','i','n','t','"',':','{','"', +'u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','a','c','k','u','p','-','s','e','a','r', +'c','h','-','f','i','p','s','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#', +'i','m','p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i','o','n','}','.','{','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n', +'s','S','u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"', +'a','u','t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i', +'g','v','4','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','{','P','a', +'r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o', +'b','a','l','R','e','g','i','o','n','}','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':', +'{','}','}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',',','{','"', +'c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','n','d','p','o','i','n','t','"', +':','{','"','u','r','l','"',':','"','h','t','t','p','s',':','/','/','b','a','c','k','u','p','-','s', +'e','a','r','c','h','.','{','P','a','r','t','i','t','i','o','n','R','e','s','u','l','t','#','i','m', +'p','l','i','c','i','t','G','l','o','b','a','l','R','e','g','i','o','n','}','.','{','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','#','d','u','a','l','S','t','a','c','k','D','n','s','S', +'u','f','f','i','x','}','"',',','"','p','r','o','p','e','r','t','i','e','s','"',':','{','"','a','u', +'t','h','S','c','h','e','m','e','s','"',':','[','{','"','n','a','m','e','"',':','"','s','i','g','v', +'4','"',',','"','s','i','g','n','i','n','g','R','e','g','i','o','n','"',':','"','{','P','a','r','t', +'i','t','i','o','n','R','e','s','u','l','t','#','i','m','p','l','i','c','i','t','G','l','o','b','a', +'l','R','e','g','i','o','n','}','"','}',']','}',',','"','h','e','a','d','e','r','s','"',':','{','}', +'}',',','"','t','y','p','e','"',':','"','e','n','d','p','o','i','n','t','"','}',']',',','"','t','y', +'p','e','"',':','"','t','r','e','e','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e', +'"','}',',','{','"','c','o','n','d','i','t','i','o','n','s','"',':','[',']',',','"','e','r','r','o', +'r','"',':','"','I','n','v','a','l','i','d',' ','C','o','n','f','i','g','u','r','a','t','i','o','n', +':',' ','M','i','s','s','i','n','g',' ','R','e','g','i','o','n','"',',','"','t','y','p','e','"',':', +'"','e','r','r','o','r','"','}',']',',','"','t','y','p','e','"',':','"','t','r','e','e','"','}',']', +'}','\0' +}}; + +const char* BackupSearchEndpointRules::GetRulesBlob() +{ + return RulesBlob.data(); +} + +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrorMarshaller.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrorMarshaller.cpp new file mode 100644 index 00000000000..3056e16063e --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrorMarshaller.cpp @@ -0,0 +1,22 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +using namespace Aws::Client; +using namespace Aws::BackupSearch; + +AWSError BackupSearchErrorMarshaller::FindErrorByName(const char* errorName) const +{ + AWSError error = BackupSearchErrorMapper::GetErrorForName(errorName); + if(error.GetErrorType() != CoreErrors::UNKNOWN) + { + return error; + } + + return AWSErrorMarshaller::FindErrorByName(errorName); +} \ No newline at end of file diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrors.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrors.cpp new file mode 100644 index 00000000000..31183043cdc --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchErrors.cpp @@ -0,0 +1,83 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +using namespace Aws::Client; +using namespace Aws::Utils; +using namespace Aws::BackupSearch; +using namespace Aws::BackupSearch::Model; + +namespace Aws +{ +namespace BackupSearch +{ +template<> AWS_BACKUPSEARCH_API ConflictException BackupSearchError::GetModeledError() +{ + assert(this->GetErrorType() == BackupSearchErrors::CONFLICT); + return ConflictException(this->GetJsonPayload().View()); +} + +template<> AWS_BACKUPSEARCH_API ThrottlingException BackupSearchError::GetModeledError() +{ + assert(this->GetErrorType() == BackupSearchErrors::THROTTLING); + return ThrottlingException(this->GetJsonPayload().View()); +} + +template<> AWS_BACKUPSEARCH_API ServiceQuotaExceededException BackupSearchError::GetModeledError() +{ + assert(this->GetErrorType() == BackupSearchErrors::SERVICE_QUOTA_EXCEEDED); + return ServiceQuotaExceededException(this->GetJsonPayload().View()); +} + +template<> AWS_BACKUPSEARCH_API ResourceNotFoundException BackupSearchError::GetModeledError() +{ + assert(this->GetErrorType() == BackupSearchErrors::RESOURCE_NOT_FOUND); + return ResourceNotFoundException(this->GetJsonPayload().View()); +} + +template<> AWS_BACKUPSEARCH_API InternalServerException BackupSearchError::GetModeledError() +{ + assert(this->GetErrorType() == BackupSearchErrors::INTERNAL_SERVER); + return InternalServerException(this->GetJsonPayload().View()); +} + +namespace BackupSearchErrorMapper +{ + +static const int CONFLICT_HASH = HashingUtils::HashString("ConflictException"); +static const int SERVICE_QUOTA_EXCEEDED_HASH = HashingUtils::HashString("ServiceQuotaExceededException"); +static const int INTERNAL_SERVER_HASH = HashingUtils::HashString("InternalServerException"); + + +AWSError GetErrorForName(const char* errorName) +{ + int hashCode = HashingUtils::HashString(errorName); + + if (hashCode == CONFLICT_HASH) + { + return AWSError(static_cast(BackupSearchErrors::CONFLICT), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == SERVICE_QUOTA_EXCEEDED_HASH) + { + return AWSError(static_cast(BackupSearchErrors::SERVICE_QUOTA_EXCEEDED), RetryableType::NOT_RETRYABLE); + } + else if (hashCode == INTERNAL_SERVER_HASH) + { + return AWSError(static_cast(BackupSearchErrors::INTERNAL_SERVER), RetryableType::RETRYABLE); + } + return AWSError(CoreErrors::UNKNOWN, false); +} + +} // namespace BackupSearchErrorMapper +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchRequest.cpp new file mode 100644 index 00000000000..6c3c94ce22c --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/BackupSearchRequest.cpp @@ -0,0 +1,14 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + + +#include + +namespace Aws +{ +namespace BackupSearch +{ +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/BackupCreationTimeFilter.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/BackupCreationTimeFilter.cpp new file mode 100644 index 00000000000..1eebdeda12c --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/BackupCreationTimeFilter.cpp @@ -0,0 +1,71 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +BackupCreationTimeFilter::BackupCreationTimeFilter() : + m_createdAfterHasBeenSet(false), + m_createdBeforeHasBeenSet(false) +{ +} + +BackupCreationTimeFilter::BackupCreationTimeFilter(JsonView jsonValue) + : BackupCreationTimeFilter() +{ + *this = jsonValue; +} + +BackupCreationTimeFilter& BackupCreationTimeFilter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("CreatedAfter")) + { + m_createdAfter = jsonValue.GetDouble("CreatedAfter"); + + m_createdAfterHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreatedBefore")) + { + m_createdBefore = jsonValue.GetDouble("CreatedBefore"); + + m_createdBeforeHasBeenSet = true; + } + + return *this; +} + +JsonValue BackupCreationTimeFilter::Jsonize() const +{ + JsonValue payload; + + if(m_createdAfterHasBeenSet) + { + payload.WithDouble("CreatedAfter", m_createdAfter.SecondsWithMSPrecision()); + } + + if(m_createdBeforeHasBeenSet) + { + payload.WithDouble("CreatedBefore", m_createdBefore.SecondsWithMSPrecision()); + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ConflictException.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ConflictException.cpp new file mode 100644 index 00000000000..31100e9d807 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ConflictException.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ConflictException::ConflictException() : + m_messageHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ +} + +ConflictException::ConflictException(JsonView jsonValue) + : ConflictException() +{ + *this = jsonValue; +} + +ConflictException& ConflictException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceId")) + { + m_resourceId = jsonValue.GetString("resourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceType")) + { + m_resourceType = jsonValue.GetString("resourceType"); + + m_resourceTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue ConflictException::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("resourceId", m_resourceId); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("resourceType", m_resourceType); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/CurrentSearchProgress.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/CurrentSearchProgress.cpp new file mode 100644 index 00000000000..45783d21c86 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/CurrentSearchProgress.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +CurrentSearchProgress::CurrentSearchProgress() : + m_recoveryPointsScannedCount(0), + m_recoveryPointsScannedCountHasBeenSet(false), + m_itemsScannedCount(0), + m_itemsScannedCountHasBeenSet(false), + m_itemsMatchedCount(0), + m_itemsMatchedCountHasBeenSet(false) +{ +} + +CurrentSearchProgress::CurrentSearchProgress(JsonView jsonValue) + : CurrentSearchProgress() +{ + *this = jsonValue; +} + +CurrentSearchProgress& CurrentSearchProgress::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("RecoveryPointsScannedCount")) + { + m_recoveryPointsScannedCount = jsonValue.GetInteger("RecoveryPointsScannedCount"); + + m_recoveryPointsScannedCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("ItemsScannedCount")) + { + m_itemsScannedCount = jsonValue.GetInt64("ItemsScannedCount"); + + m_itemsScannedCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("ItemsMatchedCount")) + { + m_itemsMatchedCount = jsonValue.GetInt64("ItemsMatchedCount"); + + m_itemsMatchedCountHasBeenSet = true; + } + + return *this; +} + +JsonValue CurrentSearchProgress::Jsonize() const +{ + JsonValue payload; + + if(m_recoveryPointsScannedCountHasBeenSet) + { + payload.WithInteger("RecoveryPointsScannedCount", m_recoveryPointsScannedCount); + + } + + if(m_itemsScannedCountHasBeenSet) + { + payload.WithInt64("ItemsScannedCount", m_itemsScannedCount); + + } + + if(m_itemsMatchedCountHasBeenSet) + { + payload.WithInt64("ItemsMatchedCount", m_itemsMatchedCount); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/EBSItemFilter.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/EBSItemFilter.cpp new file mode 100644 index 00000000000..9b1ce743f55 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/EBSItemFilter.cpp @@ -0,0 +1,133 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +EBSItemFilter::EBSItemFilter() : + m_filePathsHasBeenSet(false), + m_sizesHasBeenSet(false), + m_creationTimesHasBeenSet(false), + m_lastModificationTimesHasBeenSet(false) +{ +} + +EBSItemFilter::EBSItemFilter(JsonView jsonValue) + : EBSItemFilter() +{ + *this = jsonValue; +} + +EBSItemFilter& EBSItemFilter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("FilePaths")) + { + Aws::Utils::Array filePathsJsonList = jsonValue.GetArray("FilePaths"); + for(unsigned filePathsIndex = 0; filePathsIndex < filePathsJsonList.GetLength(); ++filePathsIndex) + { + m_filePaths.push_back(filePathsJsonList[filePathsIndex].AsObject()); + } + m_filePathsHasBeenSet = true; + } + + if(jsonValue.ValueExists("Sizes")) + { + Aws::Utils::Array sizesJsonList = jsonValue.GetArray("Sizes"); + for(unsigned sizesIndex = 0; sizesIndex < sizesJsonList.GetLength(); ++sizesIndex) + { + m_sizes.push_back(sizesJsonList[sizesIndex].AsObject()); + } + m_sizesHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreationTimes")) + { + Aws::Utils::Array creationTimesJsonList = jsonValue.GetArray("CreationTimes"); + for(unsigned creationTimesIndex = 0; creationTimesIndex < creationTimesJsonList.GetLength(); ++creationTimesIndex) + { + m_creationTimes.push_back(creationTimesJsonList[creationTimesIndex].AsObject()); + } + m_creationTimesHasBeenSet = true; + } + + if(jsonValue.ValueExists("LastModificationTimes")) + { + Aws::Utils::Array lastModificationTimesJsonList = jsonValue.GetArray("LastModificationTimes"); + for(unsigned lastModificationTimesIndex = 0; lastModificationTimesIndex < lastModificationTimesJsonList.GetLength(); ++lastModificationTimesIndex) + { + m_lastModificationTimes.push_back(lastModificationTimesJsonList[lastModificationTimesIndex].AsObject()); + } + m_lastModificationTimesHasBeenSet = true; + } + + return *this; +} + +JsonValue EBSItemFilter::Jsonize() const +{ + JsonValue payload; + + if(m_filePathsHasBeenSet) + { + Aws::Utils::Array filePathsJsonList(m_filePaths.size()); + for(unsigned filePathsIndex = 0; filePathsIndex < filePathsJsonList.GetLength(); ++filePathsIndex) + { + filePathsJsonList[filePathsIndex].AsObject(m_filePaths[filePathsIndex].Jsonize()); + } + payload.WithArray("FilePaths", std::move(filePathsJsonList)); + + } + + if(m_sizesHasBeenSet) + { + Aws::Utils::Array sizesJsonList(m_sizes.size()); + for(unsigned sizesIndex = 0; sizesIndex < sizesJsonList.GetLength(); ++sizesIndex) + { + sizesJsonList[sizesIndex].AsObject(m_sizes[sizesIndex].Jsonize()); + } + payload.WithArray("Sizes", std::move(sizesJsonList)); + + } + + if(m_creationTimesHasBeenSet) + { + Aws::Utils::Array creationTimesJsonList(m_creationTimes.size()); + for(unsigned creationTimesIndex = 0; creationTimesIndex < creationTimesJsonList.GetLength(); ++creationTimesIndex) + { + creationTimesJsonList[creationTimesIndex].AsObject(m_creationTimes[creationTimesIndex].Jsonize()); + } + payload.WithArray("CreationTimes", std::move(creationTimesJsonList)); + + } + + if(m_lastModificationTimesHasBeenSet) + { + Aws::Utils::Array lastModificationTimesJsonList(m_lastModificationTimes.size()); + for(unsigned lastModificationTimesIndex = 0; lastModificationTimesIndex < lastModificationTimesJsonList.GetLength(); ++lastModificationTimesIndex) + { + lastModificationTimesJsonList[lastModificationTimesIndex].AsObject(m_lastModificationTimes[lastModificationTimesIndex].Jsonize()); + } + payload.WithArray("LastModificationTimes", std::move(lastModificationTimesJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/EBSResultItem.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/EBSResultItem.cpp new file mode 100644 index 00000000000..9b1b422fb1e --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/EBSResultItem.cpp @@ -0,0 +1,156 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +EBSResultItem::EBSResultItem() : + m_backupResourceArnHasBeenSet(false), + m_sourceResourceArnHasBeenSet(false), + m_backupVaultNameHasBeenSet(false), + m_fileSystemIdentifierHasBeenSet(false), + m_filePathHasBeenSet(false), + m_fileSize(0), + m_fileSizeHasBeenSet(false), + m_creationTimeHasBeenSet(false), + m_lastModifiedTimeHasBeenSet(false) +{ +} + +EBSResultItem::EBSResultItem(JsonView jsonValue) + : EBSResultItem() +{ + *this = jsonValue; +} + +EBSResultItem& EBSResultItem::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("BackupResourceArn")) + { + m_backupResourceArn = jsonValue.GetString("BackupResourceArn"); + + m_backupResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("SourceResourceArn")) + { + m_sourceResourceArn = jsonValue.GetString("SourceResourceArn"); + + m_sourceResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupVaultName")) + { + m_backupVaultName = jsonValue.GetString("BackupVaultName"); + + m_backupVaultNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("FileSystemIdentifier")) + { + m_fileSystemIdentifier = jsonValue.GetString("FileSystemIdentifier"); + + m_fileSystemIdentifierHasBeenSet = true; + } + + if(jsonValue.ValueExists("FilePath")) + { + m_filePath = jsonValue.GetString("FilePath"); + + m_filePathHasBeenSet = true; + } + + if(jsonValue.ValueExists("FileSize")) + { + m_fileSize = jsonValue.GetInt64("FileSize"); + + m_fileSizeHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreationTime")) + { + m_creationTime = jsonValue.GetDouble("CreationTime"); + + m_creationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("LastModifiedTime")) + { + m_lastModifiedTime = jsonValue.GetDouble("LastModifiedTime"); + + m_lastModifiedTimeHasBeenSet = true; + } + + return *this; +} + +JsonValue EBSResultItem::Jsonize() const +{ + JsonValue payload; + + if(m_backupResourceArnHasBeenSet) + { + payload.WithString("BackupResourceArn", m_backupResourceArn); + + } + + if(m_sourceResourceArnHasBeenSet) + { + payload.WithString("SourceResourceArn", m_sourceResourceArn); + + } + + if(m_backupVaultNameHasBeenSet) + { + payload.WithString("BackupVaultName", m_backupVaultName); + + } + + if(m_fileSystemIdentifierHasBeenSet) + { + payload.WithString("FileSystemIdentifier", m_fileSystemIdentifier); + + } + + if(m_filePathHasBeenSet) + { + payload.WithString("FilePath", m_filePath); + + } + + if(m_fileSizeHasBeenSet) + { + payload.WithInt64("FileSize", m_fileSize); + + } + + if(m_creationTimeHasBeenSet) + { + payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); + } + + if(m_lastModifiedTimeHasBeenSet) + { + payload.WithDouble("LastModifiedTime", m_lastModifiedTime.SecondsWithMSPrecision()); + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobStatus.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobStatus.cpp new file mode 100644 index 00000000000..204c8041001 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobStatus.cpp @@ -0,0 +1,79 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BackupSearch + { + namespace Model + { + namespace ExportJobStatusMapper + { + + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); + + + ExportJobStatus GetExportJobStatusForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == RUNNING_HASH) + { + return ExportJobStatus::RUNNING; + } + else if (hashCode == FAILED_HASH) + { + return ExportJobStatus::FAILED; + } + else if (hashCode == COMPLETED_HASH) + { + return ExportJobStatus::COMPLETED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ExportJobStatus::NOT_SET; + } + + Aws::String GetNameForExportJobStatus(ExportJobStatus enumValue) + { + switch(enumValue) + { + case ExportJobStatus::NOT_SET: + return {}; + case ExportJobStatus::RUNNING: + return "RUNNING"; + case ExportJobStatus::FAILED: + return "FAILED"; + case ExportJobStatus::COMPLETED: + return "COMPLETED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ExportJobStatusMapper + } // namespace Model + } // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobSummary.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobSummary.cpp new file mode 100644 index 00000000000..260269afbdc --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportJobSummary.cpp @@ -0,0 +1,141 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ExportJobSummary::ExportJobSummary() : + m_exportJobIdentifierHasBeenSet(false), + m_exportJobArnHasBeenSet(false), + m_status(ExportJobStatus::NOT_SET), + m_statusHasBeenSet(false), + m_creationTimeHasBeenSet(false), + m_completionTimeHasBeenSet(false), + m_statusMessageHasBeenSet(false), + m_searchJobArnHasBeenSet(false) +{ +} + +ExportJobSummary::ExportJobSummary(JsonView jsonValue) + : ExportJobSummary() +{ + *this = jsonValue; +} + +ExportJobSummary& ExportJobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ExportJobIdentifier")) + { + m_exportJobIdentifier = jsonValue.GetString("ExportJobIdentifier"); + + m_exportJobIdentifierHasBeenSet = true; + } + + if(jsonValue.ValueExists("ExportJobArn")) + { + m_exportJobArn = jsonValue.GetString("ExportJobArn"); + + m_exportJobArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Status")) + { + m_status = ExportJobStatusMapper::GetExportJobStatusForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreationTime")) + { + m_creationTime = jsonValue.GetDouble("CreationTime"); + + m_creationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("CompletionTime")) + { + m_completionTime = jsonValue.GetDouble("CompletionTime"); + + m_completionTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("StatusMessage")) + { + m_statusMessage = jsonValue.GetString("StatusMessage"); + + m_statusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("SearchJobArn")) + { + m_searchJobArn = jsonValue.GetString("SearchJobArn"); + + m_searchJobArnHasBeenSet = true; + } + + return *this; +} + +JsonValue ExportJobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_exportJobIdentifierHasBeenSet) + { + payload.WithString("ExportJobIdentifier", m_exportJobIdentifier); + + } + + if(m_exportJobArnHasBeenSet) + { + payload.WithString("ExportJobArn", m_exportJobArn); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("Status", ExportJobStatusMapper::GetNameForExportJobStatus(m_status)); + } + + if(m_creationTimeHasBeenSet) + { + payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); + } + + if(m_completionTimeHasBeenSet) + { + payload.WithDouble("CompletionTime", m_completionTime.SecondsWithMSPrecision()); + } + + if(m_statusMessageHasBeenSet) + { + payload.WithString("StatusMessage", m_statusMessage); + + } + + if(m_searchJobArnHasBeenSet) + { + payload.WithString("SearchJobArn", m_searchJobArn); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportSpecification.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportSpecification.cpp new file mode 100644 index 00000000000..c3c860bb610 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ExportSpecification.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ExportSpecification::ExportSpecification() : + m_s3ExportSpecificationHasBeenSet(false) +{ +} + +ExportSpecification::ExportSpecification(JsonView jsonValue) + : ExportSpecification() +{ + *this = jsonValue; +} + +ExportSpecification& ExportSpecification::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("s3ExportSpecification")) + { + m_s3ExportSpecification = jsonValue.GetObject("s3ExportSpecification"); + + m_s3ExportSpecificationHasBeenSet = true; + } + + return *this; +} + +JsonValue ExportSpecification::Jsonize() const +{ + JsonValue payload; + + if(m_s3ExportSpecificationHasBeenSet) + { + payload.WithObject("s3ExportSpecification", m_s3ExportSpecification.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobRequest.cpp new file mode 100644 index 00000000000..9ba84e6bed6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetSearchJobRequest::GetSearchJobRequest() : + m_searchJobIdentifierHasBeenSet(false) +{ +} + +Aws::String GetSearchJobRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobResult.cpp new file mode 100644 index 00000000000..99c6b89ae5f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchJobResult.cpp @@ -0,0 +1,116 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetSearchJobResult::GetSearchJobResult() : + m_status(SearchJobState::NOT_SET) +{ +} + +GetSearchJobResult::GetSearchJobResult(const Aws::AmazonWebServiceResult& result) + : GetSearchJobResult() +{ + *this = result; +} + +GetSearchJobResult& GetSearchJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Name")) + { + m_name = jsonValue.GetString("Name"); + + } + + if(jsonValue.ValueExists("SearchScopeSummary")) + { + m_searchScopeSummary = jsonValue.GetObject("SearchScopeSummary"); + + } + + if(jsonValue.ValueExists("CurrentSearchProgress")) + { + m_currentSearchProgress = jsonValue.GetObject("CurrentSearchProgress"); + + } + + if(jsonValue.ValueExists("StatusMessage")) + { + m_statusMessage = jsonValue.GetString("StatusMessage"); + + } + + if(jsonValue.ValueExists("EncryptionKeyArn")) + { + m_encryptionKeyArn = jsonValue.GetString("EncryptionKeyArn"); + + } + + if(jsonValue.ValueExists("CompletionTime")) + { + m_completionTime = jsonValue.GetDouble("CompletionTime"); + + } + + if(jsonValue.ValueExists("Status")) + { + m_status = SearchJobStateMapper::GetSearchJobStateForName(jsonValue.GetString("Status")); + + } + + if(jsonValue.ValueExists("SearchScope")) + { + m_searchScope = jsonValue.GetObject("SearchScope"); + + } + + if(jsonValue.ValueExists("ItemFilters")) + { + m_itemFilters = jsonValue.GetObject("ItemFilters"); + + } + + if(jsonValue.ValueExists("CreationTime")) + { + m_creationTime = jsonValue.GetDouble("CreationTime"); + + } + + if(jsonValue.ValueExists("SearchJobIdentifier")) + { + m_searchJobIdentifier = jsonValue.GetString("SearchJobIdentifier"); + + } + + if(jsonValue.ValueExists("SearchJobArn")) + { + m_searchJobArn = jsonValue.GetString("SearchJobArn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobRequest.cpp new file mode 100644 index 00000000000..48d3c6fb6f6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +GetSearchResultExportJobRequest::GetSearchResultExportJobRequest() : + m_exportJobIdentifierHasBeenSet(false) +{ +} + +Aws::String GetSearchResultExportJobRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobResult.cpp new file mode 100644 index 00000000000..e820924c90a --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/GetSearchResultExportJobResult.cpp @@ -0,0 +1,92 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +GetSearchResultExportJobResult::GetSearchResultExportJobResult() : + m_status(ExportJobStatus::NOT_SET) +{ +} + +GetSearchResultExportJobResult::GetSearchResultExportJobResult(const Aws::AmazonWebServiceResult& result) + : GetSearchResultExportJobResult() +{ + *this = result; +} + +GetSearchResultExportJobResult& GetSearchResultExportJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ExportJobIdentifier")) + { + m_exportJobIdentifier = jsonValue.GetString("ExportJobIdentifier"); + + } + + if(jsonValue.ValueExists("ExportJobArn")) + { + m_exportJobArn = jsonValue.GetString("ExportJobArn"); + + } + + if(jsonValue.ValueExists("Status")) + { + m_status = ExportJobStatusMapper::GetExportJobStatusForName(jsonValue.GetString("Status")); + + } + + if(jsonValue.ValueExists("CreationTime")) + { + m_creationTime = jsonValue.GetDouble("CreationTime"); + + } + + if(jsonValue.ValueExists("CompletionTime")) + { + m_completionTime = jsonValue.GetDouble("CompletionTime"); + + } + + if(jsonValue.ValueExists("StatusMessage")) + { + m_statusMessage = jsonValue.GetString("StatusMessage"); + + } + + if(jsonValue.ValueExists("ExportSpecification")) + { + m_exportSpecification = jsonValue.GetObject("ExportSpecification"); + + } + + if(jsonValue.ValueExists("SearchJobArn")) + { + m_searchJobArn = jsonValue.GetString("SearchJobArn"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/InternalServerException.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/InternalServerException.cpp new file mode 100644 index 00000000000..d83a0288df3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/InternalServerException.cpp @@ -0,0 +1,62 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +InternalServerException::InternalServerException() : + m_messageHasBeenSet(false), + m_retryAfterSeconds(0), + m_retryAfterSecondsHasBeenSet(false) +{ +} + +InternalServerException::InternalServerException(JsonView jsonValue) + : InternalServerException() +{ + *this = jsonValue; +} + +InternalServerException& InternalServerException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + return *this; +} + +JsonValue InternalServerException::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ItemFilters.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ItemFilters.cpp new file mode 100644 index 00000000000..b320c2d35eb --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ItemFilters.cpp @@ -0,0 +1,89 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ItemFilters::ItemFilters() : + m_s3ItemFiltersHasBeenSet(false), + m_eBSItemFiltersHasBeenSet(false) +{ +} + +ItemFilters::ItemFilters(JsonView jsonValue) + : ItemFilters() +{ + *this = jsonValue; +} + +ItemFilters& ItemFilters::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("S3ItemFilters")) + { + Aws::Utils::Array s3ItemFiltersJsonList = jsonValue.GetArray("S3ItemFilters"); + for(unsigned s3ItemFiltersIndex = 0; s3ItemFiltersIndex < s3ItemFiltersJsonList.GetLength(); ++s3ItemFiltersIndex) + { + m_s3ItemFilters.push_back(s3ItemFiltersJsonList[s3ItemFiltersIndex].AsObject()); + } + m_s3ItemFiltersHasBeenSet = true; + } + + if(jsonValue.ValueExists("EBSItemFilters")) + { + Aws::Utils::Array eBSItemFiltersJsonList = jsonValue.GetArray("EBSItemFilters"); + for(unsigned eBSItemFiltersIndex = 0; eBSItemFiltersIndex < eBSItemFiltersJsonList.GetLength(); ++eBSItemFiltersIndex) + { + m_eBSItemFilters.push_back(eBSItemFiltersJsonList[eBSItemFiltersIndex].AsObject()); + } + m_eBSItemFiltersHasBeenSet = true; + } + + return *this; +} + +JsonValue ItemFilters::Jsonize() const +{ + JsonValue payload; + + if(m_s3ItemFiltersHasBeenSet) + { + Aws::Utils::Array s3ItemFiltersJsonList(m_s3ItemFilters.size()); + for(unsigned s3ItemFiltersIndex = 0; s3ItemFiltersIndex < s3ItemFiltersJsonList.GetLength(); ++s3ItemFiltersIndex) + { + s3ItemFiltersJsonList[s3ItemFiltersIndex].AsObject(m_s3ItemFilters[s3ItemFiltersIndex].Jsonize()); + } + payload.WithArray("S3ItemFilters", std::move(s3ItemFiltersJsonList)); + + } + + if(m_eBSItemFiltersHasBeenSet) + { + Aws::Utils::Array eBSItemFiltersJsonList(m_eBSItemFilters.size()); + for(unsigned eBSItemFiltersIndex = 0; eBSItemFiltersIndex < eBSItemFiltersJsonList.GetLength(); ++eBSItemFiltersIndex) + { + eBSItemFiltersJsonList[eBSItemFiltersIndex].AsObject(m_eBSItemFilters[eBSItemFiltersIndex].Jsonize()); + } + payload.WithArray("EBSItemFilters", std::move(eBSItemFiltersJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsRequest.cpp new file mode 100644 index 00000000000..9eb6855a863 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListSearchJobBackupsRequest::ListSearchJobBackupsRequest() : + m_searchJobIdentifierHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListSearchJobBackupsRequest::SerializePayload() const +{ + return {}; +} + +void ListSearchJobBackupsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsResult.cpp new file mode 100644 index 00000000000..2f883bcabdf --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobBackupsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListSearchJobBackupsResult::ListSearchJobBackupsResult() +{ +} + +ListSearchJobBackupsResult::ListSearchJobBackupsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListSearchJobBackupsResult& ListSearchJobBackupsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Results")) + { + Aws::Utils::Array resultsJsonList = jsonValue.GetArray("Results"); + for(unsigned resultsIndex = 0; resultsIndex < resultsJsonList.GetLength(); ++resultsIndex) + { + m_results.push_back(resultsJsonList[resultsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsRequest.cpp new file mode 100644 index 00000000000..3212eaedb51 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsRequest.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListSearchJobResultsRequest::ListSearchJobResultsRequest() : + m_searchJobIdentifierHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListSearchJobResultsRequest::SerializePayload() const +{ + return {}; +} + +void ListSearchJobResultsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("nextToken", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("maxResults", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsResult.cpp new file mode 100644 index 00000000000..8e90551b325 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobResultsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListSearchJobResultsResult::ListSearchJobResultsResult() +{ +} + +ListSearchJobResultsResult::ListSearchJobResultsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListSearchJobResultsResult& ListSearchJobResultsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Results")) + { + Aws::Utils::Array resultsJsonList = jsonValue.GetArray("Results"); + for(unsigned resultsIndex = 0; resultsIndex < resultsJsonList.GetLength(); ++resultsIndex) + { + m_results.push_back(resultsJsonList[resultsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsRequest.cpp new file mode 100644 index 00000000000..b55eaa653a6 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsRequest.cpp @@ -0,0 +1,59 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListSearchJobsRequest::ListSearchJobsRequest() : + m_byStatus(SearchJobState::NOT_SET), + m_byStatusHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListSearchJobsRequest::SerializePayload() const +{ + return {}; +} + +void ListSearchJobsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_byStatusHasBeenSet) + { + ss << SearchJobStateMapper::GetNameForSearchJobState(m_byStatus); + uri.AddQueryStringParameter("Status", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("NextToken", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("MaxResults", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsResult.cpp new file mode 100644 index 00000000000..7254cc85f70 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchJobsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListSearchJobsResult::ListSearchJobsResult() +{ +} + +ListSearchJobsResult::ListSearchJobsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListSearchJobsResult& ListSearchJobsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("SearchJobs")) + { + Aws::Utils::Array searchJobsJsonList = jsonValue.GetArray("SearchJobs"); + for(unsigned searchJobsIndex = 0; searchJobsIndex < searchJobsJsonList.GetLength(); ++searchJobsIndex) + { + m_searchJobs.push_back(searchJobsJsonList[searchJobsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsRequest.cpp new file mode 100644 index 00000000000..c0d21a4c5f9 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsRequest.cpp @@ -0,0 +1,67 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +ListSearchResultExportJobsRequest::ListSearchResultExportJobsRequest() : + m_status(ExportJobStatus::NOT_SET), + m_statusHasBeenSet(false), + m_searchJobIdentifierHasBeenSet(false), + m_nextTokenHasBeenSet(false), + m_maxResults(0), + m_maxResultsHasBeenSet(false) +{ +} + +Aws::String ListSearchResultExportJobsRequest::SerializePayload() const +{ + return {}; +} + +void ListSearchResultExportJobsRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_statusHasBeenSet) + { + ss << ExportJobStatusMapper::GetNameForExportJobStatus(m_status); + uri.AddQueryStringParameter("Status", ss.str()); + ss.str(""); + } + + if(m_searchJobIdentifierHasBeenSet) + { + ss << m_searchJobIdentifier; + uri.AddQueryStringParameter("SearchJobIdentifier", ss.str()); + ss.str(""); + } + + if(m_nextTokenHasBeenSet) + { + ss << m_nextToken; + uri.AddQueryStringParameter("NextToken", ss.str()); + ss.str(""); + } + + if(m_maxResultsHasBeenSet) + { + ss << m_maxResults; + uri.AddQueryStringParameter("MaxResults", ss.str()); + ss.str(""); + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsResult.cpp new file mode 100644 index 00000000000..5a48a42efa0 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListSearchResultExportJobsResult.cpp @@ -0,0 +1,57 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListSearchResultExportJobsResult::ListSearchResultExportJobsResult() +{ +} + +ListSearchResultExportJobsResult::ListSearchResultExportJobsResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListSearchResultExportJobsResult& ListSearchResultExportJobsResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ExportJobs")) + { + Aws::Utils::Array exportJobsJsonList = jsonValue.GetArray("ExportJobs"); + for(unsigned exportJobsIndex = 0; exportJobsIndex < exportJobsJsonList.GetLength(); ++exportJobsIndex) + { + m_exportJobs.push_back(exportJobsJsonList[exportJobsIndex].AsObject()); + } + } + + if(jsonValue.ValueExists("NextToken")) + { + m_nextToken = jsonValue.GetString("NextToken"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceRequest.cpp new file mode 100644 index 00000000000..f49ac0855df --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +ListTagsForResourceRequest::ListTagsForResourceRequest() : + m_resourceArnHasBeenSet(false) +{ +} + +Aws::String ListTagsForResourceRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceResult.cpp new file mode 100644 index 00000000000..ff2ab426323 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ListTagsForResourceResult.cpp @@ -0,0 +1,51 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +ListTagsForResourceResult::ListTagsForResourceResult() +{ +} + +ListTagsForResourceResult::ListTagsForResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +ListTagsForResourceResult& ListTagsForResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("Tags")) + { + Aws::Map tagsJsonMap = jsonValue.GetObject("Tags").GetAllObjects(); + for(auto& tagsItem : tagsJsonMap) + { + m_tags[tagsItem.first] = tagsItem.second.AsString(); + } + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/LongCondition.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/LongCondition.cpp new file mode 100644 index 00000000000..6ec10590327 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/LongCondition.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +LongCondition::LongCondition() : + m_value(0), + m_valueHasBeenSet(false), + m_operator(LongConditionOperator::NOT_SET), + m_operatorHasBeenSet(false) +{ +} + +LongCondition::LongCondition(JsonView jsonValue) + : LongCondition() +{ + *this = jsonValue; +} + +LongCondition& LongCondition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Value")) + { + m_value = jsonValue.GetInt64("Value"); + + m_valueHasBeenSet = true; + } + + if(jsonValue.ValueExists("Operator")) + { + m_operator = LongConditionOperatorMapper::GetLongConditionOperatorForName(jsonValue.GetString("Operator")); + + m_operatorHasBeenSet = true; + } + + return *this; +} + +JsonValue LongCondition::Jsonize() const +{ + JsonValue payload; + + if(m_valueHasBeenSet) + { + payload.WithInt64("Value", m_value); + + } + + if(m_operatorHasBeenSet) + { + payload.WithString("Operator", LongConditionOperatorMapper::GetNameForLongConditionOperator(m_operator)); + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/LongConditionOperator.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/LongConditionOperator.cpp new file mode 100644 index 00000000000..680f7690a29 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/LongConditionOperator.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BackupSearch + { + namespace Model + { + namespace LongConditionOperatorMapper + { + + static const int EQUALS_TO_HASH = HashingUtils::HashString("EQUALS_TO"); + static const int NOT_EQUALS_TO_HASH = HashingUtils::HashString("NOT_EQUALS_TO"); + static const int LESS_THAN_EQUAL_TO_HASH = HashingUtils::HashString("LESS_THAN_EQUAL_TO"); + static const int GREATER_THAN_EQUAL_TO_HASH = HashingUtils::HashString("GREATER_THAN_EQUAL_TO"); + + + LongConditionOperator GetLongConditionOperatorForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == EQUALS_TO_HASH) + { + return LongConditionOperator::EQUALS_TO; + } + else if (hashCode == NOT_EQUALS_TO_HASH) + { + return LongConditionOperator::NOT_EQUALS_TO; + } + else if (hashCode == LESS_THAN_EQUAL_TO_HASH) + { + return LongConditionOperator::LESS_THAN_EQUAL_TO; + } + else if (hashCode == GREATER_THAN_EQUAL_TO_HASH) + { + return LongConditionOperator::GREATER_THAN_EQUAL_TO; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return LongConditionOperator::NOT_SET; + } + + Aws::String GetNameForLongConditionOperator(LongConditionOperator enumValue) + { + switch(enumValue) + { + case LongConditionOperator::NOT_SET: + return {}; + case LongConditionOperator::EQUALS_TO: + return "EQUALS_TO"; + case LongConditionOperator::NOT_EQUALS_TO: + return "NOT_EQUALS_TO"; + case LongConditionOperator::LESS_THAN_EQUAL_TO: + return "LESS_THAN_EQUAL_TO"; + case LongConditionOperator::GREATER_THAN_EQUAL_TO: + return "GREATER_THAN_EQUAL_TO"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace LongConditionOperatorMapper + } // namespace Model + } // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceNotFoundException.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceNotFoundException.cpp new file mode 100644 index 00000000000..fc0a78abdb2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceNotFoundException.cpp @@ -0,0 +1,87 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ResourceNotFoundException::ResourceNotFoundException() : + m_messageHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false) +{ +} + +ResourceNotFoundException::ResourceNotFoundException(JsonView jsonValue) + : ResourceNotFoundException() +{ + *this = jsonValue; +} + +ResourceNotFoundException& ResourceNotFoundException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceId")) + { + m_resourceId = jsonValue.GetString("resourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceType")) + { + m_resourceType = jsonValue.GetString("resourceType"); + + m_resourceTypeHasBeenSet = true; + } + + return *this; +} + +JsonValue ResourceNotFoundException::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("resourceId", m_resourceId); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("resourceType", m_resourceType); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceType.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceType.cpp new file mode 100644 index 00000000000..a2145190c43 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ResourceType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BackupSearch + { + namespace Model + { + namespace ResourceTypeMapper + { + + static const int S3_HASH = HashingUtils::HashString("S3"); + static const int EBS_HASH = HashingUtils::HashString("EBS"); + + + ResourceType GetResourceTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == S3_HASH) + { + return ResourceType::S3; + } + else if (hashCode == EBS_HASH) + { + return ResourceType::EBS; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return ResourceType::NOT_SET; + } + + Aws::String GetNameForResourceType(ResourceType enumValue) + { + switch(enumValue) + { + case ResourceType::NOT_SET: + return {}; + case ResourceType::S3: + return "S3"; + case ResourceType::EBS: + return "EBS"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace ResourceTypeMapper + } // namespace Model + } // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ResultItem.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ResultItem.cpp new file mode 100644 index 00000000000..796e078274f --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ResultItem.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ResultItem::ResultItem() : + m_s3ResultItemHasBeenSet(false), + m_eBSResultItemHasBeenSet(false) +{ +} + +ResultItem::ResultItem(JsonView jsonValue) + : ResultItem() +{ + *this = jsonValue; +} + +ResultItem& ResultItem::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("S3ResultItem")) + { + m_s3ResultItem = jsonValue.GetObject("S3ResultItem"); + + m_s3ResultItemHasBeenSet = true; + } + + if(jsonValue.ValueExists("EBSResultItem")) + { + m_eBSResultItem = jsonValue.GetObject("EBSResultItem"); + + m_eBSResultItemHasBeenSet = true; + } + + return *this; +} + +JsonValue ResultItem::Jsonize() const +{ + JsonValue payload; + + if(m_s3ResultItemHasBeenSet) + { + payload.WithObject("S3ResultItem", m_s3ResultItem.Jsonize()); + + } + + if(m_eBSResultItemHasBeenSet) + { + payload.WithObject("EBSResultItem", m_eBSResultItem.Jsonize()); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ExportSpecification.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ExportSpecification.cpp new file mode 100644 index 00000000000..0b9a2b6c258 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ExportSpecification.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +S3ExportSpecification::S3ExportSpecification() : + m_destinationBucketHasBeenSet(false), + m_destinationPrefixHasBeenSet(false) +{ +} + +S3ExportSpecification::S3ExportSpecification(JsonView jsonValue) + : S3ExportSpecification() +{ + *this = jsonValue; +} + +S3ExportSpecification& S3ExportSpecification::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("DestinationBucket")) + { + m_destinationBucket = jsonValue.GetString("DestinationBucket"); + + m_destinationBucketHasBeenSet = true; + } + + if(jsonValue.ValueExists("DestinationPrefix")) + { + m_destinationPrefix = jsonValue.GetString("DestinationPrefix"); + + m_destinationPrefixHasBeenSet = true; + } + + return *this; +} + +JsonValue S3ExportSpecification::Jsonize() const +{ + JsonValue payload; + + if(m_destinationBucketHasBeenSet) + { + payload.WithString("DestinationBucket", m_destinationBucket); + + } + + if(m_destinationPrefixHasBeenSet) + { + payload.WithString("DestinationPrefix", m_destinationPrefix); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ItemFilter.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ItemFilter.cpp new file mode 100644 index 00000000000..68adafdafd2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ItemFilter.cpp @@ -0,0 +1,155 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +S3ItemFilter::S3ItemFilter() : + m_objectKeysHasBeenSet(false), + m_sizesHasBeenSet(false), + m_creationTimesHasBeenSet(false), + m_versionIdsHasBeenSet(false), + m_eTagsHasBeenSet(false) +{ +} + +S3ItemFilter::S3ItemFilter(JsonView jsonValue) + : S3ItemFilter() +{ + *this = jsonValue; +} + +S3ItemFilter& S3ItemFilter::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("ObjectKeys")) + { + Aws::Utils::Array objectKeysJsonList = jsonValue.GetArray("ObjectKeys"); + for(unsigned objectKeysIndex = 0; objectKeysIndex < objectKeysJsonList.GetLength(); ++objectKeysIndex) + { + m_objectKeys.push_back(objectKeysJsonList[objectKeysIndex].AsObject()); + } + m_objectKeysHasBeenSet = true; + } + + if(jsonValue.ValueExists("Sizes")) + { + Aws::Utils::Array sizesJsonList = jsonValue.GetArray("Sizes"); + for(unsigned sizesIndex = 0; sizesIndex < sizesJsonList.GetLength(); ++sizesIndex) + { + m_sizes.push_back(sizesJsonList[sizesIndex].AsObject()); + } + m_sizesHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreationTimes")) + { + Aws::Utils::Array creationTimesJsonList = jsonValue.GetArray("CreationTimes"); + for(unsigned creationTimesIndex = 0; creationTimesIndex < creationTimesJsonList.GetLength(); ++creationTimesIndex) + { + m_creationTimes.push_back(creationTimesJsonList[creationTimesIndex].AsObject()); + } + m_creationTimesHasBeenSet = true; + } + + if(jsonValue.ValueExists("VersionIds")) + { + Aws::Utils::Array versionIdsJsonList = jsonValue.GetArray("VersionIds"); + for(unsigned versionIdsIndex = 0; versionIdsIndex < versionIdsJsonList.GetLength(); ++versionIdsIndex) + { + m_versionIds.push_back(versionIdsJsonList[versionIdsIndex].AsObject()); + } + m_versionIdsHasBeenSet = true; + } + + if(jsonValue.ValueExists("ETags")) + { + Aws::Utils::Array eTagsJsonList = jsonValue.GetArray("ETags"); + for(unsigned eTagsIndex = 0; eTagsIndex < eTagsJsonList.GetLength(); ++eTagsIndex) + { + m_eTags.push_back(eTagsJsonList[eTagsIndex].AsObject()); + } + m_eTagsHasBeenSet = true; + } + + return *this; +} + +JsonValue S3ItemFilter::Jsonize() const +{ + JsonValue payload; + + if(m_objectKeysHasBeenSet) + { + Aws::Utils::Array objectKeysJsonList(m_objectKeys.size()); + for(unsigned objectKeysIndex = 0; objectKeysIndex < objectKeysJsonList.GetLength(); ++objectKeysIndex) + { + objectKeysJsonList[objectKeysIndex].AsObject(m_objectKeys[objectKeysIndex].Jsonize()); + } + payload.WithArray("ObjectKeys", std::move(objectKeysJsonList)); + + } + + if(m_sizesHasBeenSet) + { + Aws::Utils::Array sizesJsonList(m_sizes.size()); + for(unsigned sizesIndex = 0; sizesIndex < sizesJsonList.GetLength(); ++sizesIndex) + { + sizesJsonList[sizesIndex].AsObject(m_sizes[sizesIndex].Jsonize()); + } + payload.WithArray("Sizes", std::move(sizesJsonList)); + + } + + if(m_creationTimesHasBeenSet) + { + Aws::Utils::Array creationTimesJsonList(m_creationTimes.size()); + for(unsigned creationTimesIndex = 0; creationTimesIndex < creationTimesJsonList.GetLength(); ++creationTimesIndex) + { + creationTimesJsonList[creationTimesIndex].AsObject(m_creationTimes[creationTimesIndex].Jsonize()); + } + payload.WithArray("CreationTimes", std::move(creationTimesJsonList)); + + } + + if(m_versionIdsHasBeenSet) + { + Aws::Utils::Array versionIdsJsonList(m_versionIds.size()); + for(unsigned versionIdsIndex = 0; versionIdsIndex < versionIdsJsonList.GetLength(); ++versionIdsIndex) + { + versionIdsJsonList[versionIdsIndex].AsObject(m_versionIds[versionIdsIndex].Jsonize()); + } + payload.WithArray("VersionIds", std::move(versionIdsJsonList)); + + } + + if(m_eTagsHasBeenSet) + { + Aws::Utils::Array eTagsJsonList(m_eTags.size()); + for(unsigned eTagsIndex = 0; eTagsIndex < eTagsJsonList.GetLength(); ++eTagsIndex) + { + eTagsJsonList[eTagsIndex].AsObject(m_eTags[eTagsIndex].Jsonize()); + } + payload.WithArray("ETags", std::move(eTagsJsonList)); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ResultItem.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ResultItem.cpp new file mode 100644 index 00000000000..033661f1282 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/S3ResultItem.cpp @@ -0,0 +1,157 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +S3ResultItem::S3ResultItem() : + m_backupResourceArnHasBeenSet(false), + m_sourceResourceArnHasBeenSet(false), + m_backupVaultNameHasBeenSet(false), + m_objectKeyHasBeenSet(false), + m_objectSize(0), + m_objectSizeHasBeenSet(false), + m_creationTimeHasBeenSet(false), + m_eTagHasBeenSet(false), + m_versionIdHasBeenSet(false) +{ +} + +S3ResultItem::S3ResultItem(JsonView jsonValue) + : S3ResultItem() +{ + *this = jsonValue; +} + +S3ResultItem& S3ResultItem::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("BackupResourceArn")) + { + m_backupResourceArn = jsonValue.GetString("BackupResourceArn"); + + m_backupResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("SourceResourceArn")) + { + m_sourceResourceArn = jsonValue.GetString("SourceResourceArn"); + + m_sourceResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupVaultName")) + { + m_backupVaultName = jsonValue.GetString("BackupVaultName"); + + m_backupVaultNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("ObjectKey")) + { + m_objectKey = jsonValue.GetString("ObjectKey"); + + m_objectKeyHasBeenSet = true; + } + + if(jsonValue.ValueExists("ObjectSize")) + { + m_objectSize = jsonValue.GetInt64("ObjectSize"); + + m_objectSizeHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreationTime")) + { + m_creationTime = jsonValue.GetDouble("CreationTime"); + + m_creationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("ETag")) + { + m_eTag = jsonValue.GetString("ETag"); + + m_eTagHasBeenSet = true; + } + + if(jsonValue.ValueExists("VersionId")) + { + m_versionId = jsonValue.GetString("VersionId"); + + m_versionIdHasBeenSet = true; + } + + return *this; +} + +JsonValue S3ResultItem::Jsonize() const +{ + JsonValue payload; + + if(m_backupResourceArnHasBeenSet) + { + payload.WithString("BackupResourceArn", m_backupResourceArn); + + } + + if(m_sourceResourceArnHasBeenSet) + { + payload.WithString("SourceResourceArn", m_sourceResourceArn); + + } + + if(m_backupVaultNameHasBeenSet) + { + payload.WithString("BackupVaultName", m_backupVaultName); + + } + + if(m_objectKeyHasBeenSet) + { + payload.WithString("ObjectKey", m_objectKey); + + } + + if(m_objectSizeHasBeenSet) + { + payload.WithInt64("ObjectSize", m_objectSize); + + } + + if(m_creationTimeHasBeenSet) + { + payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); + } + + if(m_eTagHasBeenSet) + { + payload.WithString("ETag", m_eTag); + + } + + if(m_versionIdHasBeenSet) + { + payload.WithString("VersionId", m_versionId); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobBackupsResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobBackupsResult.cpp new file mode 100644 index 00000000000..bafec177b53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobBackupsResult.cpp @@ -0,0 +1,141 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +SearchJobBackupsResult::SearchJobBackupsResult() : + m_status(SearchJobState::NOT_SET), + m_statusHasBeenSet(false), + m_statusMessageHasBeenSet(false), + m_resourceType(ResourceType::NOT_SET), + m_resourceTypeHasBeenSet(false), + m_backupResourceArnHasBeenSet(false), + m_sourceResourceArnHasBeenSet(false), + m_indexCreationTimeHasBeenSet(false), + m_backupCreationTimeHasBeenSet(false) +{ +} + +SearchJobBackupsResult::SearchJobBackupsResult(JsonView jsonValue) + : SearchJobBackupsResult() +{ + *this = jsonValue; +} + +SearchJobBackupsResult& SearchJobBackupsResult::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Status")) + { + m_status = SearchJobStateMapper::GetSearchJobStateForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("StatusMessage")) + { + m_statusMessage = jsonValue.GetString("StatusMessage"); + + m_statusMessageHasBeenSet = true; + } + + if(jsonValue.ValueExists("ResourceType")) + { + m_resourceType = ResourceTypeMapper::GetResourceTypeForName(jsonValue.GetString("ResourceType")); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupResourceArn")) + { + m_backupResourceArn = jsonValue.GetString("BackupResourceArn"); + + m_backupResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("SourceResourceArn")) + { + m_sourceResourceArn = jsonValue.GetString("SourceResourceArn"); + + m_sourceResourceArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("IndexCreationTime")) + { + m_indexCreationTime = jsonValue.GetDouble("IndexCreationTime"); + + m_indexCreationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupCreationTime")) + { + m_backupCreationTime = jsonValue.GetDouble("BackupCreationTime"); + + m_backupCreationTimeHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchJobBackupsResult::Jsonize() const +{ + JsonValue payload; + + if(m_statusHasBeenSet) + { + payload.WithString("Status", SearchJobStateMapper::GetNameForSearchJobState(m_status)); + } + + if(m_statusMessageHasBeenSet) + { + payload.WithString("StatusMessage", m_statusMessage); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("ResourceType", ResourceTypeMapper::GetNameForResourceType(m_resourceType)); + } + + if(m_backupResourceArnHasBeenSet) + { + payload.WithString("BackupResourceArn", m_backupResourceArn); + + } + + if(m_sourceResourceArnHasBeenSet) + { + payload.WithString("SourceResourceArn", m_sourceResourceArn); + + } + + if(m_indexCreationTimeHasBeenSet) + { + payload.WithDouble("IndexCreationTime", m_indexCreationTime.SecondsWithMSPrecision()); + } + + if(m_backupCreationTimeHasBeenSet) + { + payload.WithDouble("BackupCreationTime", m_backupCreationTime.SecondsWithMSPrecision()); + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobState.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobState.cpp new file mode 100644 index 00000000000..e1a714d27a2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobState.cpp @@ -0,0 +1,93 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BackupSearch + { + namespace Model + { + namespace SearchJobStateMapper + { + + static const int RUNNING_HASH = HashingUtils::HashString("RUNNING"); + static const int COMPLETED_HASH = HashingUtils::HashString("COMPLETED"); + static const int STOPPING_HASH = HashingUtils::HashString("STOPPING"); + static const int STOPPED_HASH = HashingUtils::HashString("STOPPED"); + static const int FAILED_HASH = HashingUtils::HashString("FAILED"); + + + SearchJobState GetSearchJobStateForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == RUNNING_HASH) + { + return SearchJobState::RUNNING; + } + else if (hashCode == COMPLETED_HASH) + { + return SearchJobState::COMPLETED; + } + else if (hashCode == STOPPING_HASH) + { + return SearchJobState::STOPPING; + } + else if (hashCode == STOPPED_HASH) + { + return SearchJobState::STOPPED; + } + else if (hashCode == FAILED_HASH) + { + return SearchJobState::FAILED; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return SearchJobState::NOT_SET; + } + + Aws::String GetNameForSearchJobState(SearchJobState enumValue) + { + switch(enumValue) + { + case SearchJobState::NOT_SET: + return {}; + case SearchJobState::RUNNING: + return "RUNNING"; + case SearchJobState::COMPLETED: + return "COMPLETED"; + case SearchJobState::STOPPING: + return "STOPPING"; + case SearchJobState::STOPPED: + return "STOPPED"; + case SearchJobState::FAILED: + return "FAILED"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace SearchJobStateMapper + } // namespace Model + } // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobSummary.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobSummary.cpp new file mode 100644 index 00000000000..5717aa619ee --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchJobSummary.cpp @@ -0,0 +1,155 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +SearchJobSummary::SearchJobSummary() : + m_searchJobIdentifierHasBeenSet(false), + m_searchJobArnHasBeenSet(false), + m_nameHasBeenSet(false), + m_status(SearchJobState::NOT_SET), + m_statusHasBeenSet(false), + m_creationTimeHasBeenSet(false), + m_completionTimeHasBeenSet(false), + m_searchScopeSummaryHasBeenSet(false), + m_statusMessageHasBeenSet(false) +{ +} + +SearchJobSummary::SearchJobSummary(JsonView jsonValue) + : SearchJobSummary() +{ + *this = jsonValue; +} + +SearchJobSummary& SearchJobSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("SearchJobIdentifier")) + { + m_searchJobIdentifier = jsonValue.GetString("SearchJobIdentifier"); + + m_searchJobIdentifierHasBeenSet = true; + } + + if(jsonValue.ValueExists("SearchJobArn")) + { + m_searchJobArn = jsonValue.GetString("SearchJobArn"); + + m_searchJobArnHasBeenSet = true; + } + + if(jsonValue.ValueExists("Name")) + { + m_name = jsonValue.GetString("Name"); + + m_nameHasBeenSet = true; + } + + if(jsonValue.ValueExists("Status")) + { + m_status = SearchJobStateMapper::GetSearchJobStateForName(jsonValue.GetString("Status")); + + m_statusHasBeenSet = true; + } + + if(jsonValue.ValueExists("CreationTime")) + { + m_creationTime = jsonValue.GetDouble("CreationTime"); + + m_creationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("CompletionTime")) + { + m_completionTime = jsonValue.GetDouble("CompletionTime"); + + m_completionTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("SearchScopeSummary")) + { + m_searchScopeSummary = jsonValue.GetObject("SearchScopeSummary"); + + m_searchScopeSummaryHasBeenSet = true; + } + + if(jsonValue.ValueExists("StatusMessage")) + { + m_statusMessage = jsonValue.GetString("StatusMessage"); + + m_statusMessageHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchJobSummary::Jsonize() const +{ + JsonValue payload; + + if(m_searchJobIdentifierHasBeenSet) + { + payload.WithString("SearchJobIdentifier", m_searchJobIdentifier); + + } + + if(m_searchJobArnHasBeenSet) + { + payload.WithString("SearchJobArn", m_searchJobArn); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("Name", m_name); + + } + + if(m_statusHasBeenSet) + { + payload.WithString("Status", SearchJobStateMapper::GetNameForSearchJobState(m_status)); + } + + if(m_creationTimeHasBeenSet) + { + payload.WithDouble("CreationTime", m_creationTime.SecondsWithMSPrecision()); + } + + if(m_completionTimeHasBeenSet) + { + payload.WithDouble("CompletionTime", m_completionTime.SecondsWithMSPrecision()); + } + + if(m_searchScopeSummaryHasBeenSet) + { + payload.WithObject("SearchScopeSummary", m_searchScopeSummary.Jsonize()); + + } + + if(m_statusMessageHasBeenSet) + { + payload.WithString("StatusMessage", m_statusMessage); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScope.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScope.cpp new file mode 100644 index 00000000000..5a77849030a --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScope.cpp @@ -0,0 +1,147 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +SearchScope::SearchScope() : + m_backupResourceTypesHasBeenSet(false), + m_backupResourceCreationTimeHasBeenSet(false), + m_sourceResourceArnsHasBeenSet(false), + m_backupResourceArnsHasBeenSet(false), + m_backupResourceTagsHasBeenSet(false) +{ +} + +SearchScope::SearchScope(JsonView jsonValue) + : SearchScope() +{ + *this = jsonValue; +} + +SearchScope& SearchScope::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("BackupResourceTypes")) + { + Aws::Utils::Array backupResourceTypesJsonList = jsonValue.GetArray("BackupResourceTypes"); + for(unsigned backupResourceTypesIndex = 0; backupResourceTypesIndex < backupResourceTypesJsonList.GetLength(); ++backupResourceTypesIndex) + { + m_backupResourceTypes.push_back(ResourceTypeMapper::GetResourceTypeForName(backupResourceTypesJsonList[backupResourceTypesIndex].AsString())); + } + m_backupResourceTypesHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupResourceCreationTime")) + { + m_backupResourceCreationTime = jsonValue.GetObject("BackupResourceCreationTime"); + + m_backupResourceCreationTimeHasBeenSet = true; + } + + if(jsonValue.ValueExists("SourceResourceArns")) + { + Aws::Utils::Array sourceResourceArnsJsonList = jsonValue.GetArray("SourceResourceArns"); + for(unsigned sourceResourceArnsIndex = 0; sourceResourceArnsIndex < sourceResourceArnsJsonList.GetLength(); ++sourceResourceArnsIndex) + { + m_sourceResourceArns.push_back(sourceResourceArnsJsonList[sourceResourceArnsIndex].AsString()); + } + m_sourceResourceArnsHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupResourceArns")) + { + Aws::Utils::Array backupResourceArnsJsonList = jsonValue.GetArray("BackupResourceArns"); + for(unsigned backupResourceArnsIndex = 0; backupResourceArnsIndex < backupResourceArnsJsonList.GetLength(); ++backupResourceArnsIndex) + { + m_backupResourceArns.push_back(backupResourceArnsJsonList[backupResourceArnsIndex].AsString()); + } + m_backupResourceArnsHasBeenSet = true; + } + + if(jsonValue.ValueExists("BackupResourceTags")) + { + Aws::Map backupResourceTagsJsonMap = jsonValue.GetObject("BackupResourceTags").GetAllObjects(); + for(auto& backupResourceTagsItem : backupResourceTagsJsonMap) + { + m_backupResourceTags[backupResourceTagsItem.first] = backupResourceTagsItem.second.AsString(); + } + m_backupResourceTagsHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchScope::Jsonize() const +{ + JsonValue payload; + + if(m_backupResourceTypesHasBeenSet) + { + Aws::Utils::Array backupResourceTypesJsonList(m_backupResourceTypes.size()); + for(unsigned backupResourceTypesIndex = 0; backupResourceTypesIndex < backupResourceTypesJsonList.GetLength(); ++backupResourceTypesIndex) + { + backupResourceTypesJsonList[backupResourceTypesIndex].AsString(ResourceTypeMapper::GetNameForResourceType(m_backupResourceTypes[backupResourceTypesIndex])); + } + payload.WithArray("BackupResourceTypes", std::move(backupResourceTypesJsonList)); + + } + + if(m_backupResourceCreationTimeHasBeenSet) + { + payload.WithObject("BackupResourceCreationTime", m_backupResourceCreationTime.Jsonize()); + + } + + if(m_sourceResourceArnsHasBeenSet) + { + Aws::Utils::Array sourceResourceArnsJsonList(m_sourceResourceArns.size()); + for(unsigned sourceResourceArnsIndex = 0; sourceResourceArnsIndex < sourceResourceArnsJsonList.GetLength(); ++sourceResourceArnsIndex) + { + sourceResourceArnsJsonList[sourceResourceArnsIndex].AsString(m_sourceResourceArns[sourceResourceArnsIndex]); + } + payload.WithArray("SourceResourceArns", std::move(sourceResourceArnsJsonList)); + + } + + if(m_backupResourceArnsHasBeenSet) + { + Aws::Utils::Array backupResourceArnsJsonList(m_backupResourceArns.size()); + for(unsigned backupResourceArnsIndex = 0; backupResourceArnsIndex < backupResourceArnsJsonList.GetLength(); ++backupResourceArnsIndex) + { + backupResourceArnsJsonList[backupResourceArnsIndex].AsString(m_backupResourceArns[backupResourceArnsIndex]); + } + payload.WithArray("BackupResourceArns", std::move(backupResourceArnsJsonList)); + + } + + if(m_backupResourceTagsHasBeenSet) + { + JsonValue backupResourceTagsJsonMap; + for(auto& backupResourceTagsItem : m_backupResourceTags) + { + backupResourceTagsJsonMap.WithString(backupResourceTagsItem.first, backupResourceTagsItem.second); + } + payload.WithObject("BackupResourceTags", std::move(backupResourceTagsJsonMap)); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScopeSummary.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScopeSummary.cpp new file mode 100644 index 00000000000..4b8d31a45d7 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/SearchScopeSummary.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +SearchScopeSummary::SearchScopeSummary() : + m_totalRecoveryPointsToScanCount(0), + m_totalRecoveryPointsToScanCountHasBeenSet(false), + m_totalItemsToScanCount(0), + m_totalItemsToScanCountHasBeenSet(false) +{ +} + +SearchScopeSummary::SearchScopeSummary(JsonView jsonValue) + : SearchScopeSummary() +{ + *this = jsonValue; +} + +SearchScopeSummary& SearchScopeSummary::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("TotalRecoveryPointsToScanCount")) + { + m_totalRecoveryPointsToScanCount = jsonValue.GetInteger("TotalRecoveryPointsToScanCount"); + + m_totalRecoveryPointsToScanCountHasBeenSet = true; + } + + if(jsonValue.ValueExists("TotalItemsToScanCount")) + { + m_totalItemsToScanCount = jsonValue.GetInt64("TotalItemsToScanCount"); + + m_totalItemsToScanCountHasBeenSet = true; + } + + return *this; +} + +JsonValue SearchScopeSummary::Jsonize() const +{ + JsonValue payload; + + if(m_totalRecoveryPointsToScanCountHasBeenSet) + { + payload.WithInteger("TotalRecoveryPointsToScanCount", m_totalRecoveryPointsToScanCount); + + } + + if(m_totalItemsToScanCountHasBeenSet) + { + payload.WithInt64("TotalItemsToScanCount", m_totalItemsToScanCount); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ServiceQuotaExceededException.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ServiceQuotaExceededException.cpp new file mode 100644 index 00000000000..5e3c83faa71 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ServiceQuotaExceededException.cpp @@ -0,0 +1,115 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ServiceQuotaExceededException::ServiceQuotaExceededException() : + m_messageHasBeenSet(false), + m_resourceIdHasBeenSet(false), + m_resourceTypeHasBeenSet(false), + m_serviceCodeHasBeenSet(false), + m_quotaCodeHasBeenSet(false) +{ +} + +ServiceQuotaExceededException::ServiceQuotaExceededException(JsonView jsonValue) + : ServiceQuotaExceededException() +{ + *this = jsonValue; +} + +ServiceQuotaExceededException& ServiceQuotaExceededException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceId")) + { + m_resourceId = jsonValue.GetString("resourceId"); + + m_resourceIdHasBeenSet = true; + } + + if(jsonValue.ValueExists("resourceType")) + { + m_resourceType = jsonValue.GetString("resourceType"); + + m_resourceTypeHasBeenSet = true; + } + + if(jsonValue.ValueExists("serviceCode")) + { + m_serviceCode = jsonValue.GetString("serviceCode"); + + m_serviceCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("quotaCode")) + { + m_quotaCode = jsonValue.GetString("quotaCode"); + + m_quotaCodeHasBeenSet = true; + } + + return *this; +} + +JsonValue ServiceQuotaExceededException::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_resourceIdHasBeenSet) + { + payload.WithString("resourceId", m_resourceId); + + } + + if(m_resourceTypeHasBeenSet) + { + payload.WithString("resourceType", m_resourceType); + + } + + if(m_serviceCodeHasBeenSet) + { + payload.WithString("serviceCode", m_serviceCode); + + } + + if(m_quotaCodeHasBeenSet) + { + payload.WithString("quotaCode", m_quotaCode); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobRequest.cpp new file mode 100644 index 00000000000..c78750b42ae --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobRequest.cpp @@ -0,0 +1,75 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartSearchJobRequest::StartSearchJobRequest() : + m_tagsHasBeenSet(false), + m_nameHasBeenSet(false), + m_encryptionKeyArnHasBeenSet(false), + m_clientTokenHasBeenSet(false), + m_searchScopeHasBeenSet(false), + m_itemFiltersHasBeenSet(false) +{ +} + +Aws::String StartSearchJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("Tags", std::move(tagsJsonMap)); + + } + + if(m_nameHasBeenSet) + { + payload.WithString("Name", m_name); + + } + + if(m_encryptionKeyArnHasBeenSet) + { + payload.WithString("EncryptionKeyArn", m_encryptionKeyArn); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("ClientToken", m_clientToken); + + } + + if(m_searchScopeHasBeenSet) + { + payload.WithObject("SearchScope", m_searchScope.Jsonize()); + + } + + if(m_itemFiltersHasBeenSet) + { + payload.WithObject("ItemFilters", m_itemFilters.Jsonize()); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobResult.cpp new file mode 100644 index 00000000000..bc12855fae2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchJobResult.cpp @@ -0,0 +1,60 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StartSearchJobResult::StartSearchJobResult() +{ +} + +StartSearchJobResult::StartSearchJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StartSearchJobResult& StartSearchJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("SearchJobArn")) + { + m_searchJobArn = jsonValue.GetString("SearchJobArn"); + + } + + if(jsonValue.ValueExists("CreationTime")) + { + m_creationTime = jsonValue.GetDouble("CreationTime"); + + } + + if(jsonValue.ValueExists("SearchJobIdentifier")) + { + m_searchJobIdentifier = jsonValue.GetString("SearchJobIdentifier"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobRequest.cpp new file mode 100644 index 00000000000..c61109cb7df --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobRequest.cpp @@ -0,0 +1,68 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StartSearchResultExportJobRequest::StartSearchResultExportJobRequest() : + m_searchJobIdentifierHasBeenSet(false), + m_exportSpecificationHasBeenSet(false), + m_clientTokenHasBeenSet(false), + m_tagsHasBeenSet(false), + m_roleArnHasBeenSet(false) +{ +} + +Aws::String StartSearchResultExportJobRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_searchJobIdentifierHasBeenSet) + { + payload.WithString("SearchJobIdentifier", m_searchJobIdentifier); + + } + + if(m_exportSpecificationHasBeenSet) + { + payload.WithObject("ExportSpecification", m_exportSpecification.Jsonize()); + + } + + if(m_clientTokenHasBeenSet) + { + payload.WithString("ClientToken", m_clientToken); + + } + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("Tags", std::move(tagsJsonMap)); + + } + + if(m_roleArnHasBeenSet) + { + payload.WithString("RoleArn", m_roleArn); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobResult.cpp new file mode 100644 index 00000000000..299339e65a3 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StartSearchResultExportJobResult.cpp @@ -0,0 +1,54 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StartSearchResultExportJobResult::StartSearchResultExportJobResult() +{ +} + +StartSearchResultExportJobResult::StartSearchResultExportJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StartSearchResultExportJobResult& StartSearchResultExportJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + JsonView jsonValue = result.GetPayload().View(); + if(jsonValue.ValueExists("ExportJobArn")) + { + m_exportJobArn = jsonValue.GetString("ExportJobArn"); + + } + + if(jsonValue.ValueExists("ExportJobIdentifier")) + { + m_exportJobIdentifier = jsonValue.GetString("ExportJobIdentifier"); + + } + + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobRequest.cpp new file mode 100644 index 00000000000..805e65d1bcd --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobRequest.cpp @@ -0,0 +1,27 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +StopSearchJobRequest::StopSearchJobRequest() : + m_searchJobIdentifierHasBeenSet(false) +{ +} + +Aws::String StopSearchJobRequest::SerializePayload() const +{ + return {}; +} + + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobResult.cpp new file mode 100644 index 00000000000..1509e993912 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StopSearchJobResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +StopSearchJobResult::StopSearchJobResult() +{ +} + +StopSearchJobResult::StopSearchJobResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +StopSearchJobResult& StopSearchJobResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StringCondition.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StringCondition.cpp new file mode 100644 index 00000000000..b515255ee53 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StringCondition.cpp @@ -0,0 +1,73 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +StringCondition::StringCondition() : + m_valueHasBeenSet(false), + m_operator(StringConditionOperator::NOT_SET), + m_operatorHasBeenSet(false) +{ +} + +StringCondition::StringCondition(JsonView jsonValue) + : StringCondition() +{ + *this = jsonValue; +} + +StringCondition& StringCondition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Value")) + { + m_value = jsonValue.GetString("Value"); + + m_valueHasBeenSet = true; + } + + if(jsonValue.ValueExists("Operator")) + { + m_operator = StringConditionOperatorMapper::GetStringConditionOperatorForName(jsonValue.GetString("Operator")); + + m_operatorHasBeenSet = true; + } + + return *this; +} + +JsonValue StringCondition::Jsonize() const +{ + JsonValue payload; + + if(m_valueHasBeenSet) + { + payload.WithString("Value", m_value); + + } + + if(m_operatorHasBeenSet) + { + payload.WithString("Operator", StringConditionOperatorMapper::GetNameForStringConditionOperator(m_operator)); + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/StringConditionOperator.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/StringConditionOperator.cpp new file mode 100644 index 00000000000..4a83c709812 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/StringConditionOperator.cpp @@ -0,0 +1,114 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BackupSearch + { + namespace Model + { + namespace StringConditionOperatorMapper + { + + static const int EQUALS_TO_HASH = HashingUtils::HashString("EQUALS_TO"); + static const int NOT_EQUALS_TO_HASH = HashingUtils::HashString("NOT_EQUALS_TO"); + static const int CONTAINS_HASH = HashingUtils::HashString("CONTAINS"); + static const int DOES_NOT_CONTAIN_HASH = HashingUtils::HashString("DOES_NOT_CONTAIN"); + static const int BEGINS_WITH_HASH = HashingUtils::HashString("BEGINS_WITH"); + static const int ENDS_WITH_HASH = HashingUtils::HashString("ENDS_WITH"); + static const int DOES_NOT_BEGIN_WITH_HASH = HashingUtils::HashString("DOES_NOT_BEGIN_WITH"); + static const int DOES_NOT_END_WITH_HASH = HashingUtils::HashString("DOES_NOT_END_WITH"); + + + StringConditionOperator GetStringConditionOperatorForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == EQUALS_TO_HASH) + { + return StringConditionOperator::EQUALS_TO; + } + else if (hashCode == NOT_EQUALS_TO_HASH) + { + return StringConditionOperator::NOT_EQUALS_TO; + } + else if (hashCode == CONTAINS_HASH) + { + return StringConditionOperator::CONTAINS; + } + else if (hashCode == DOES_NOT_CONTAIN_HASH) + { + return StringConditionOperator::DOES_NOT_CONTAIN; + } + else if (hashCode == BEGINS_WITH_HASH) + { + return StringConditionOperator::BEGINS_WITH; + } + else if (hashCode == ENDS_WITH_HASH) + { + return StringConditionOperator::ENDS_WITH; + } + else if (hashCode == DOES_NOT_BEGIN_WITH_HASH) + { + return StringConditionOperator::DOES_NOT_BEGIN_WITH; + } + else if (hashCode == DOES_NOT_END_WITH_HASH) + { + return StringConditionOperator::DOES_NOT_END_WITH; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return StringConditionOperator::NOT_SET; + } + + Aws::String GetNameForStringConditionOperator(StringConditionOperator enumValue) + { + switch(enumValue) + { + case StringConditionOperator::NOT_SET: + return {}; + case StringConditionOperator::EQUALS_TO: + return "EQUALS_TO"; + case StringConditionOperator::NOT_EQUALS_TO: + return "NOT_EQUALS_TO"; + case StringConditionOperator::CONTAINS: + return "CONTAINS"; + case StringConditionOperator::DOES_NOT_CONTAIN: + return "DOES_NOT_CONTAIN"; + case StringConditionOperator::BEGINS_WITH: + return "BEGINS_WITH"; + case StringConditionOperator::ENDS_WITH: + return "ENDS_WITH"; + case StringConditionOperator::DOES_NOT_BEGIN_WITH: + return "DOES_NOT_BEGIN_WITH"; + case StringConditionOperator::DOES_NOT_END_WITH: + return "DOES_NOT_END_WITH"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace StringConditionOperatorMapper + } // namespace Model + } // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceRequest.cpp new file mode 100644 index 00000000000..ca1b790d302 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceRequest.cpp @@ -0,0 +1,41 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +TagResourceRequest::TagResourceRequest() : + m_resourceArnHasBeenSet(false), + m_tagsHasBeenSet(false) +{ +} + +Aws::String TagResourceRequest::SerializePayload() const +{ + JsonValue payload; + + if(m_tagsHasBeenSet) + { + JsonValue tagsJsonMap; + for(auto& tagsItem : m_tags) + { + tagsJsonMap.WithString(tagsItem.first, tagsItem.second); + } + payload.WithObject("Tags", std::move(tagsJsonMap)); + + } + + return payload.View().WriteReadable(); +} + + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceResult.cpp new file mode 100644 index 00000000000..3931bf894ac --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/TagResourceResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +TagResourceResult::TagResourceResult() +{ +} + +TagResourceResult::TagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +TagResourceResult& TagResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/ThrottlingException.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/ThrottlingException.cpp new file mode 100644 index 00000000000..7832a4e3395 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/ThrottlingException.cpp @@ -0,0 +1,90 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +ThrottlingException::ThrottlingException() : + m_messageHasBeenSet(false), + m_serviceCodeHasBeenSet(false), + m_quotaCodeHasBeenSet(false), + m_retryAfterSeconds(0), + m_retryAfterSecondsHasBeenSet(false) +{ +} + +ThrottlingException::ThrottlingException(JsonView jsonValue) + : ThrottlingException() +{ + *this = jsonValue; +} + +ThrottlingException& ThrottlingException::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("message")) + { + m_message = jsonValue.GetString("message"); + + m_messageHasBeenSet = true; + } + + if(jsonValue.ValueExists("serviceCode")) + { + m_serviceCode = jsonValue.GetString("serviceCode"); + + m_serviceCodeHasBeenSet = true; + } + + if(jsonValue.ValueExists("quotaCode")) + { + m_quotaCode = jsonValue.GetString("quotaCode"); + + m_quotaCodeHasBeenSet = true; + } + + return *this; +} + +JsonValue ThrottlingException::Jsonize() const +{ + JsonValue payload; + + if(m_messageHasBeenSet) + { + payload.WithString("message", m_message); + + } + + if(m_serviceCodeHasBeenSet) + { + payload.WithString("serviceCode", m_serviceCode); + + } + + if(m_quotaCodeHasBeenSet) + { + payload.WithString("quotaCode", m_quotaCode); + + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/TimeCondition.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/TimeCondition.cpp new file mode 100644 index 00000000000..05c8d23efe2 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/TimeCondition.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace BackupSearch +{ +namespace Model +{ + +TimeCondition::TimeCondition() : + m_valueHasBeenSet(false), + m_operator(TimeConditionOperator::NOT_SET), + m_operatorHasBeenSet(false) +{ +} + +TimeCondition::TimeCondition(JsonView jsonValue) + : TimeCondition() +{ + *this = jsonValue; +} + +TimeCondition& TimeCondition::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("Value")) + { + m_value = jsonValue.GetDouble("Value"); + + m_valueHasBeenSet = true; + } + + if(jsonValue.ValueExists("Operator")) + { + m_operator = TimeConditionOperatorMapper::GetTimeConditionOperatorForName(jsonValue.GetString("Operator")); + + m_operatorHasBeenSet = true; + } + + return *this; +} + +JsonValue TimeCondition::Jsonize() const +{ + JsonValue payload; + + if(m_valueHasBeenSet) + { + payload.WithDouble("Value", m_value.SecondsWithMSPrecision()); + } + + if(m_operatorHasBeenSet) + { + payload.WithString("Operator", TimeConditionOperatorMapper::GetNameForTimeConditionOperator(m_operator)); + } + + return payload; +} + +} // namespace Model +} // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/TimeConditionOperator.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/TimeConditionOperator.cpp new file mode 100644 index 00000000000..31715d99bde --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/TimeConditionOperator.cpp @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace BackupSearch + { + namespace Model + { + namespace TimeConditionOperatorMapper + { + + static const int EQUALS_TO_HASH = HashingUtils::HashString("EQUALS_TO"); + static const int NOT_EQUALS_TO_HASH = HashingUtils::HashString("NOT_EQUALS_TO"); + static const int LESS_THAN_EQUAL_TO_HASH = HashingUtils::HashString("LESS_THAN_EQUAL_TO"); + static const int GREATER_THAN_EQUAL_TO_HASH = HashingUtils::HashString("GREATER_THAN_EQUAL_TO"); + + + TimeConditionOperator GetTimeConditionOperatorForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == EQUALS_TO_HASH) + { + return TimeConditionOperator::EQUALS_TO; + } + else if (hashCode == NOT_EQUALS_TO_HASH) + { + return TimeConditionOperator::NOT_EQUALS_TO; + } + else if (hashCode == LESS_THAN_EQUAL_TO_HASH) + { + return TimeConditionOperator::LESS_THAN_EQUAL_TO; + } + else if (hashCode == GREATER_THAN_EQUAL_TO_HASH) + { + return TimeConditionOperator::GREATER_THAN_EQUAL_TO; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return TimeConditionOperator::NOT_SET; + } + + Aws::String GetNameForTimeConditionOperator(TimeConditionOperator enumValue) + { + switch(enumValue) + { + case TimeConditionOperator::NOT_SET: + return {}; + case TimeConditionOperator::EQUALS_TO: + return "EQUALS_TO"; + case TimeConditionOperator::NOT_EQUALS_TO: + return "NOT_EQUALS_TO"; + case TimeConditionOperator::LESS_THAN_EQUAL_TO: + return "LESS_THAN_EQUAL_TO"; + case TimeConditionOperator::GREATER_THAN_EQUAL_TO: + return "GREATER_THAN_EQUAL_TO"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace TimeConditionOperatorMapper + } // namespace Model + } // namespace BackupSearch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceRequest.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceRequest.cpp new file mode 100644 index 00000000000..b542039b465 --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceRequest.cpp @@ -0,0 +1,45 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws::Http; + +UntagResourceRequest::UntagResourceRequest() : + m_resourceArnHasBeenSet(false), + m_tagKeysHasBeenSet(false) +{ +} + +Aws::String UntagResourceRequest::SerializePayload() const +{ + return {}; +} + +void UntagResourceRequest::AddQueryStringParameters(URI& uri) const +{ + Aws::StringStream ss; + if(m_tagKeysHasBeenSet) + { + for(const auto& item : m_tagKeys) + { + ss << item; + uri.AddQueryStringParameter("tagKeys", ss.str()); + ss.str(""); + } + } + +} + + + diff --git a/generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceResult.cpp b/generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceResult.cpp new file mode 100644 index 00000000000..3c22d92657c --- /dev/null +++ b/generated/src/aws-cpp-sdk-backupsearch/source/model/UntagResourceResult.cpp @@ -0,0 +1,42 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include +#include + +#include + +using namespace Aws::BackupSearch::Model; +using namespace Aws::Utils::Json; +using namespace Aws::Utils; +using namespace Aws; + +UntagResourceResult::UntagResourceResult() +{ +} + +UntagResourceResult::UntagResourceResult(const Aws::AmazonWebServiceResult& result) +{ + *this = result; +} + +UntagResourceResult& UntagResourceResult::operator =(const Aws::AmazonWebServiceResult& result) +{ + AWS_UNREFERENCED_PARAM(result); + + const auto& headers = result.GetHeaderValueCollection(); + const auto& requestIdIter = headers.find("x-amzn-requestid"); + if(requestIdIter != headers.end()) + { + m_requestId = requestIdIter->second; + } + + + return *this; +} diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerVolumeMount.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerVolumeMount.h index 711f8af68ea..009bd79a527 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerVolumeMount.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksContainerVolumeMount.h @@ -69,6 +69,20 @@ namespace Model inline EksContainerVolumeMount& WithMountPath(const char* value) { SetMountPath(value); return *this;} ///@} + ///@{ + /** + *

A sub-path inside the referenced volume instead of its root.

+ */ + inline const Aws::String& GetSubPath() const{ return m_subPath; } + inline bool SubPathHasBeenSet() const { return m_subPathHasBeenSet; } + inline void SetSubPath(const Aws::String& value) { m_subPathHasBeenSet = true; m_subPath = value; } + inline void SetSubPath(Aws::String&& value) { m_subPathHasBeenSet = true; m_subPath = std::move(value); } + inline void SetSubPath(const char* value) { m_subPathHasBeenSet = true; m_subPath.assign(value); } + inline EksContainerVolumeMount& WithSubPath(const Aws::String& value) { SetSubPath(value); return *this;} + inline EksContainerVolumeMount& WithSubPath(Aws::String&& value) { SetSubPath(std::move(value)); return *this;} + inline EksContainerVolumeMount& WithSubPath(const char* value) { SetSubPath(value); return *this;} + ///@} + ///@{ /** *

If this value is true, the container has read-only access to the @@ -88,6 +102,9 @@ namespace Model Aws::String m_mountPath; bool m_mountPathHasBeenSet = false; + Aws::String m_subPath; + bool m_subPathHasBeenSet = false; + bool m_readOnly; bool m_readOnlyHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksMetadata.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksMetadata.h index 585769ede2b..580210ed0e3 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksMetadata.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksMetadata.h @@ -28,9 +28,9 @@ namespace Model *

Describes and uniquely identifies Kubernetes resources. For example, the * compute environment that a pod runs in or the jobID for a job * running in the pod. For more information, see Understanding - * Kubernetes Objects in the Kubernetes documentation.

See - * Also:

+ * Understanding Kubernetes Objects in the Kubernetes + * documentation.

See Also:

AWS * API Reference

*/ @@ -64,10 +64,74 @@ namespace Model inline EksMetadata& AddLabels(Aws::String&& key, const char* value) { m_labelsHasBeenSet = true; m_labels.emplace(std::move(key), value); return *this; } inline EksMetadata& AddLabels(const char* key, const char* value) { m_labelsHasBeenSet = true; m_labels.emplace(key, value); return *this; } ///@} + + ///@{ + /** + *

Key-value pairs used to attach arbitrary, non-identifying metadata to + * Kubernetes objects. Valid annotation keys have two segments: an optional prefix + * and a name, separated by a slash (/).

  • The prefix is optional + * and must be 253 characters or less. If specified, the prefix must be a DNS + * subdomain− a series of DNS labels separated by dots (.), and it must end with a + * slash (/).

  • The name segment is required and must be 63 + * characters or less. It can include alphanumeric characters ([a-z0-9A-Z]), dashes + * (-), underscores (_), and dots (.), but must begin and end with an alphanumeric + * character.

Annotation values must be 255 characters or + * less.

Annotations can be added or modified at any time. Each + * resource can have multiple annotations.

+ */ + inline const Aws::Map& GetAnnotations() const{ return m_annotations; } + inline bool AnnotationsHasBeenSet() const { return m_annotationsHasBeenSet; } + inline void SetAnnotations(const Aws::Map& value) { m_annotationsHasBeenSet = true; m_annotations = value; } + inline void SetAnnotations(Aws::Map&& value) { m_annotationsHasBeenSet = true; m_annotations = std::move(value); } + inline EksMetadata& WithAnnotations(const Aws::Map& value) { SetAnnotations(value); return *this;} + inline EksMetadata& WithAnnotations(Aws::Map&& value) { SetAnnotations(std::move(value)); return *this;} + inline EksMetadata& AddAnnotations(const Aws::String& key, const Aws::String& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, value); return *this; } + inline EksMetadata& AddAnnotations(Aws::String&& key, const Aws::String& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(std::move(key), value); return *this; } + inline EksMetadata& AddAnnotations(const Aws::String& key, Aws::String&& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, std::move(value)); return *this; } + inline EksMetadata& AddAnnotations(Aws::String&& key, Aws::String&& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(std::move(key), std::move(value)); return *this; } + inline EksMetadata& AddAnnotations(const char* key, Aws::String&& value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, std::move(value)); return *this; } + inline EksMetadata& AddAnnotations(Aws::String&& key, const char* value) { m_annotationsHasBeenSet = true; m_annotations.emplace(std::move(key), value); return *this; } + inline EksMetadata& AddAnnotations(const char* key, const char* value) { m_annotationsHasBeenSet = true; m_annotations.emplace(key, value); return *this; } + ///@} + + ///@{ + /** + *

The namespace of the Amazon EKS cluster. In Kubernetes, namespaces provide a + * mechanism for isolating groups of resources within a single cluster. Names of + * resources need to be unique within a namespace, but not across namespaces. Batch + * places Batch Job pods in this namespace. If this field is provided, the value + * can't be empty or null. It must meet the following requirements:

  • + *

    1-63 characters long

  • Can't be set to default

  • + *

    Can't start with kube

  • Must match the + * following regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

    + *

For more information, see Namespaces + * in the Kubernetes documentation. This namespace can be different from the + * kubernetesNamespace set in the compute environment's + * EksConfiguration, but must have identical role-based access control + * (RBAC) roles as the compute environment's kubernetesNamespace. For + * multi-node parallel jobs, the same value must be provided across all the node + * ranges.

+ */ + inline const Aws::String& GetNamespace() const{ return m_namespace; } + inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; } + inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; } + inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); } + inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); } + inline EksMetadata& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;} + inline EksMetadata& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;} + inline EksMetadata& WithNamespace(const char* value) { SetNamespace(value); return *this;} + ///@} private: Aws::Map m_labels; bool m_labelsHasBeenSet = false; + + Aws::Map m_annotations; + bool m_annotationsHasBeenSet = false; + + Aws::String m_namespace; + bool m_namespaceHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPersistentVolumeClaim.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPersistentVolumeClaim.h new file mode 100644 index 00000000000..a79f3ed509d --- /dev/null +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksPersistentVolumeClaim.h @@ -0,0 +1,86 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include +#include + +namespace Aws +{ +namespace Utils +{ +namespace Json +{ + class JsonValue; + class JsonView; +} // namespace Json +} // namespace Utils +namespace Batch +{ +namespace Model +{ + + /** + *

A persistentVolumeClaim volume is used to mount a PersistentVolume + * into a Pod. PersistentVolumeClaims are a way for users to "claim" durable + * storage without knowing the details of the particular cloud environment. See the + * information about PersistentVolumes + * in the Kubernetes documentation.

See Also:

AWS + * API Reference

+ */ + class EksPersistentVolumeClaim + { + public: + AWS_BATCH_API EksPersistentVolumeClaim(); + AWS_BATCH_API EksPersistentVolumeClaim(Aws::Utils::Json::JsonView jsonValue); + AWS_BATCH_API EksPersistentVolumeClaim& operator=(Aws::Utils::Json::JsonView jsonValue); + AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const; + + + ///@{ + /** + *

The name of the persistentVolumeClaim bounded to a + * persistentVolume. For more information, see + * Persistent Volume Claims in the Kubernetes documentation.

+ */ + inline const Aws::String& GetClaimName() const{ return m_claimName; } + inline bool ClaimNameHasBeenSet() const { return m_claimNameHasBeenSet; } + inline void SetClaimName(const Aws::String& value) { m_claimNameHasBeenSet = true; m_claimName = value; } + inline void SetClaimName(Aws::String&& value) { m_claimNameHasBeenSet = true; m_claimName = std::move(value); } + inline void SetClaimName(const char* value) { m_claimNameHasBeenSet = true; m_claimName.assign(value); } + inline EksPersistentVolumeClaim& WithClaimName(const Aws::String& value) { SetClaimName(value); return *this;} + inline EksPersistentVolumeClaim& WithClaimName(Aws::String&& value) { SetClaimName(std::move(value)); return *this;} + inline EksPersistentVolumeClaim& WithClaimName(const char* value) { SetClaimName(value); return *this;} + ///@} + + ///@{ + /** + *

An optional boolean value indicating if the mount is read only. Default is + * false. For more information, see + * Read Only Mounts in the Kubernetes documentation.

+ */ + inline bool GetReadOnly() const{ return m_readOnly; } + inline bool ReadOnlyHasBeenSet() const { return m_readOnlyHasBeenSet; } + inline void SetReadOnly(bool value) { m_readOnlyHasBeenSet = true; m_readOnly = value; } + inline EksPersistentVolumeClaim& WithReadOnly(bool value) { SetReadOnly(value); return *this;} + ///@} + private: + + Aws::String m_claimName; + bool m_claimNameHasBeenSet = false; + + bool m_readOnly; + bool m_readOnlyHasBeenSet = false; + }; + +} // namespace Model +} // namespace Batch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksVolume.h b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksVolume.h index 1ade9ff65bd..62172eb6fc6 100644 --- a/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksVolume.h +++ b/generated/src/aws-cpp-sdk-batch/include/aws/batch/model/EksVolume.h @@ -9,6 +9,7 @@ #include #include #include +#include #include namespace Aws @@ -101,6 +102,22 @@ namespace Model inline EksVolume& WithSecret(const EksSecret& value) { SetSecret(value); return *this;} inline EksVolume& WithSecret(EksSecret&& value) { SetSecret(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

Specifies the configuration of a Kubernetes + * persistentVolumeClaim bounded to a persistentVolume. + * For more information, see + * Persistent Volume Claims in the Kubernetes documentation.

+ */ + inline const EksPersistentVolumeClaim& GetPersistentVolumeClaim() const{ return m_persistentVolumeClaim; } + inline bool PersistentVolumeClaimHasBeenSet() const { return m_persistentVolumeClaimHasBeenSet; } + inline void SetPersistentVolumeClaim(const EksPersistentVolumeClaim& value) { m_persistentVolumeClaimHasBeenSet = true; m_persistentVolumeClaim = value; } + inline void SetPersistentVolumeClaim(EksPersistentVolumeClaim&& value) { m_persistentVolumeClaimHasBeenSet = true; m_persistentVolumeClaim = std::move(value); } + inline EksVolume& WithPersistentVolumeClaim(const EksPersistentVolumeClaim& value) { SetPersistentVolumeClaim(value); return *this;} + inline EksVolume& WithPersistentVolumeClaim(EksPersistentVolumeClaim&& value) { SetPersistentVolumeClaim(std::move(value)); return *this;} + ///@} private: Aws::String m_name; @@ -114,6 +131,9 @@ namespace Model EksSecret m_secret; bool m_secretHasBeenSet = false; + + EksPersistentVolumeClaim m_persistentVolumeClaim; + bool m_persistentVolumeClaimHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-batch/source/model/EksContainerVolumeMount.cpp b/generated/src/aws-cpp-sdk-batch/source/model/EksContainerVolumeMount.cpp index f6d2a8492f1..a02fc2fbe2c 100644 --- a/generated/src/aws-cpp-sdk-batch/source/model/EksContainerVolumeMount.cpp +++ b/generated/src/aws-cpp-sdk-batch/source/model/EksContainerVolumeMount.cpp @@ -21,6 +21,7 @@ namespace Model EksContainerVolumeMount::EksContainerVolumeMount() : m_nameHasBeenSet(false), m_mountPathHasBeenSet(false), + m_subPathHasBeenSet(false), m_readOnly(false), m_readOnlyHasBeenSet(false) { @@ -48,6 +49,13 @@ EksContainerVolumeMount& EksContainerVolumeMount::operator =(JsonView jsonValue) m_mountPathHasBeenSet = true; } + if(jsonValue.ValueExists("subPath")) + { + m_subPath = jsonValue.GetString("subPath"); + + m_subPathHasBeenSet = true; + } + if(jsonValue.ValueExists("readOnly")) { m_readOnly = jsonValue.GetBool("readOnly"); @@ -74,6 +82,12 @@ JsonValue EksContainerVolumeMount::Jsonize() const } + if(m_subPathHasBeenSet) + { + payload.WithString("subPath", m_subPath); + + } + if(m_readOnlyHasBeenSet) { payload.WithBool("readOnly", m_readOnly); diff --git a/generated/src/aws-cpp-sdk-batch/source/model/EksMetadata.cpp b/generated/src/aws-cpp-sdk-batch/source/model/EksMetadata.cpp index 1d3c386530d..c2c409ede65 100644 --- a/generated/src/aws-cpp-sdk-batch/source/model/EksMetadata.cpp +++ b/generated/src/aws-cpp-sdk-batch/source/model/EksMetadata.cpp @@ -19,7 +19,9 @@ namespace Model { EksMetadata::EksMetadata() : - m_labelsHasBeenSet(false) + m_labelsHasBeenSet(false), + m_annotationsHasBeenSet(false), + m_namespaceHasBeenSet(false) { } @@ -41,6 +43,23 @@ EksMetadata& EksMetadata::operator =(JsonView jsonValue) m_labelsHasBeenSet = true; } + if(jsonValue.ValueExists("annotations")) + { + Aws::Map annotationsJsonMap = jsonValue.GetObject("annotations").GetAllObjects(); + for(auto& annotationsItem : annotationsJsonMap) + { + m_annotations[annotationsItem.first] = annotationsItem.second.AsString(); + } + m_annotationsHasBeenSet = true; + } + + if(jsonValue.ValueExists("namespace")) + { + m_namespace = jsonValue.GetString("namespace"); + + m_namespaceHasBeenSet = true; + } + return *this; } @@ -59,6 +78,23 @@ JsonValue EksMetadata::Jsonize() const } + if(m_annotationsHasBeenSet) + { + JsonValue annotationsJsonMap; + for(auto& annotationsItem : m_annotations) + { + annotationsJsonMap.WithString(annotationsItem.first, annotationsItem.second); + } + payload.WithObject("annotations", std::move(annotationsJsonMap)); + + } + + if(m_namespaceHasBeenSet) + { + payload.WithString("namespace", m_namespace); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-batch/source/model/EksPersistentVolumeClaim.cpp b/generated/src/aws-cpp-sdk-batch/source/model/EksPersistentVolumeClaim.cpp new file mode 100644 index 00000000000..163b3922359 --- /dev/null +++ b/generated/src/aws-cpp-sdk-batch/source/model/EksPersistentVolumeClaim.cpp @@ -0,0 +1,74 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + +using namespace Aws::Utils::Json; +using namespace Aws::Utils; + +namespace Aws +{ +namespace Batch +{ +namespace Model +{ + +EksPersistentVolumeClaim::EksPersistentVolumeClaim() : + m_claimNameHasBeenSet(false), + m_readOnly(false), + m_readOnlyHasBeenSet(false) +{ +} + +EksPersistentVolumeClaim::EksPersistentVolumeClaim(JsonView jsonValue) + : EksPersistentVolumeClaim() +{ + *this = jsonValue; +} + +EksPersistentVolumeClaim& EksPersistentVolumeClaim::operator =(JsonView jsonValue) +{ + if(jsonValue.ValueExists("claimName")) + { + m_claimName = jsonValue.GetString("claimName"); + + m_claimNameHasBeenSet = true; + } + + if(jsonValue.ValueExists("readOnly")) + { + m_readOnly = jsonValue.GetBool("readOnly"); + + m_readOnlyHasBeenSet = true; + } + + return *this; +} + +JsonValue EksPersistentVolumeClaim::Jsonize() const +{ + JsonValue payload; + + if(m_claimNameHasBeenSet) + { + payload.WithString("claimName", m_claimName); + + } + + if(m_readOnlyHasBeenSet) + { + payload.WithBool("readOnly", m_readOnly); + + } + + return payload; +} + +} // namespace Model +} // namespace Batch +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-batch/source/model/EksVolume.cpp b/generated/src/aws-cpp-sdk-batch/source/model/EksVolume.cpp index 09fc10afec0..f234d4afb41 100644 --- a/generated/src/aws-cpp-sdk-batch/source/model/EksVolume.cpp +++ b/generated/src/aws-cpp-sdk-batch/source/model/EksVolume.cpp @@ -22,7 +22,8 @@ EksVolume::EksVolume() : m_nameHasBeenSet(false), m_hostPathHasBeenSet(false), m_emptyDirHasBeenSet(false), - m_secretHasBeenSet(false) + m_secretHasBeenSet(false), + m_persistentVolumeClaimHasBeenSet(false) { } @@ -62,6 +63,13 @@ EksVolume& EksVolume::operator =(JsonView jsonValue) m_secretHasBeenSet = true; } + if(jsonValue.ValueExists("persistentVolumeClaim")) + { + m_persistentVolumeClaim = jsonValue.GetObject("persistentVolumeClaim"); + + m_persistentVolumeClaimHasBeenSet = true; + } + return *this; } @@ -93,6 +101,12 @@ JsonValue EksVolume::Jsonize() const } + if(m_persistentVolumeClaimHasBeenSet) + { + payload.WithObject("persistentVolumeClaim", m_persistentVolumeClaim.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/AudienceGenerationJobDataSource.h b/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/AudienceGenerationJobDataSource.h index 2de1adf9cdf..9cd0bc53134 100644 --- a/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/AudienceGenerationJobDataSource.h +++ b/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/AudienceGenerationJobDataSource.h @@ -8,6 +8,7 @@ #include #include #include +#include #include namespace Aws @@ -81,6 +82,16 @@ namespace Model inline AudienceGenerationJobDataSource& WithSqlParameters(const ProtectedQuerySQLParameters& value) { SetSqlParameters(value); return *this;} inline AudienceGenerationJobDataSource& WithSqlParameters(ProtectedQuerySQLParameters&& value) { SetSqlParameters(std::move(value)); return *this;} ///@} + + ///@{ + + inline const ComputeConfiguration& GetSqlComputeConfiguration() const{ return m_sqlComputeConfiguration; } + inline bool SqlComputeConfigurationHasBeenSet() const { return m_sqlComputeConfigurationHasBeenSet; } + inline void SetSqlComputeConfiguration(const ComputeConfiguration& value) { m_sqlComputeConfigurationHasBeenSet = true; m_sqlComputeConfiguration = value; } + inline void SetSqlComputeConfiguration(ComputeConfiguration&& value) { m_sqlComputeConfigurationHasBeenSet = true; m_sqlComputeConfiguration = std::move(value); } + inline AudienceGenerationJobDataSource& WithSqlComputeConfiguration(const ComputeConfiguration& value) { SetSqlComputeConfiguration(value); return *this;} + inline AudienceGenerationJobDataSource& WithSqlComputeConfiguration(ComputeConfiguration&& value) { SetSqlComputeConfiguration(std::move(value)); return *this;} + ///@} private: S3ConfigMap m_dataSource; @@ -91,6 +102,9 @@ namespace Model ProtectedQuerySQLParameters m_sqlParameters; bool m_sqlParametersHasBeenSet = false; + + ComputeConfiguration m_sqlComputeConfiguration; + bool m_sqlComputeConfigurationHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/StartTrainedModelInferenceJobRequest.h b/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/StartTrainedModelInferenceJobRequest.h index 802502bce68..c66fbc029ce 100644 --- a/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/StartTrainedModelInferenceJobRequest.h +++ b/generated/src/aws-cpp-sdk-cleanroomsml/include/aws/cleanroomsml/model/StartTrainedModelInferenceJobRequest.h @@ -123,7 +123,7 @@ namespace Model ///@{ /** - *

Defines he data source that is used for the trained model inference job.

+ *

Defines the data source that is used for the trained model inference job.

*/ inline const ModelInferenceDataSource& GetDataSource() const{ return m_dataSource; } inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-cleanroomsml/source/model/AudienceGenerationJobDataSource.cpp b/generated/src/aws-cpp-sdk-cleanroomsml/source/model/AudienceGenerationJobDataSource.cpp index 8b1c946d886..0fc32abf6a0 100644 --- a/generated/src/aws-cpp-sdk-cleanroomsml/source/model/AudienceGenerationJobDataSource.cpp +++ b/generated/src/aws-cpp-sdk-cleanroomsml/source/model/AudienceGenerationJobDataSource.cpp @@ -21,7 +21,8 @@ namespace Model AudienceGenerationJobDataSource::AudienceGenerationJobDataSource() : m_dataSourceHasBeenSet(false), m_roleArnHasBeenSet(false), - m_sqlParametersHasBeenSet(false) + m_sqlParametersHasBeenSet(false), + m_sqlComputeConfigurationHasBeenSet(false) { } @@ -54,6 +55,13 @@ AudienceGenerationJobDataSource& AudienceGenerationJobDataSource::operator =(Jso m_sqlParametersHasBeenSet = true; } + if(jsonValue.ValueExists("sqlComputeConfiguration")) + { + m_sqlComputeConfiguration = jsonValue.GetObject("sqlComputeConfiguration"); + + m_sqlComputeConfigurationHasBeenSet = true; + } + return *this; } @@ -79,6 +87,12 @@ JsonValue AudienceGenerationJobDataSource::Jsonize() const } + if(m_sqlComputeConfigurationHasBeenSet) + { + payload.WithObject("sqlComputeConfiguration", m_sqlComputeConfiguration.Jsonize()); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CustomOriginConfig.h b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CustomOriginConfig.h index ff3e2ae7ea1..13b573c397a 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CustomOriginConfig.h +++ b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/CustomOriginConfig.h @@ -105,8 +105,9 @@ namespace Model * origin. This is also known as the origin response timeout. The minimum * timeout is 1 second, the maximum is 60 seconds, and the default (if you don't * specify otherwise) is 30 seconds.

For more information, see Origin - * Response Timeout in the Amazon CloudFront Developer Guide.

+ * href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginResponseTimeout">Response + * timeout (custom origins only) in the Amazon CloudFront Developer + * Guide.

*/ inline int GetOriginReadTimeout() const{ return m_originReadTimeout; } inline bool OriginReadTimeoutHasBeenSet() const { return m_originReadTimeoutHasBeenSet; } @@ -120,8 +121,9 @@ namespace Model * origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the * default (if you don't specify otherwise) is 5 seconds.

For more * information, see Origin - * Keep-alive Timeout in the Amazon CloudFront Developer Guide.

+ * href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesOriginKeepaliveTimeout">Keep-alive + * timeout (custom origins only) in the Amazon CloudFront Developer + * Guide.

*/ inline int GetOriginKeepaliveTimeout() const{ return m_originKeepaliveTimeout; } inline bool OriginKeepaliveTimeoutHasBeenSet() const { return m_originKeepaliveTimeoutHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/DistributionConfig.h b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/DistributionConfig.h index 832a77f67e0..cfd662390fa 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/DistributionConfig.h +++ b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/DistributionConfig.h @@ -82,22 +82,26 @@ namespace Model ///@{ /** - *

The object that you want CloudFront to request from your origin (for example, - * index.html) when a viewer requests the root URL for your - * distribution (https://www.example.com) instead of an object in your - * distribution (https://www.example.com/product-description.html). - * Specifying a default root object avoids exposing the contents of your - * distribution.

Specify only the object name, for example, - * index.html. Don't add a / before the object name.

- *

If you don't want to specify a default root object when you create a - * distribution, include an empty DefaultRootObject element.

To - * delete the default root object from an existing distribution, update the - * distribution configuration and include an empty DefaultRootObject - * element.

To replace the default root object, update the distribution - * configuration and specify the new object.

For more information about the - * default root object, see Creating - * a Default Root Object in the Amazon CloudFront Developer Guide.

+ *

When a viewer requests the root URL for your distribution, the default root + * object is the object that you want CloudFront to request from your origin. For + * example, if your root URL is https://www.example.com, you can + * specify CloudFront to return the index.html file as the default + * root object. You can specify a default root object so that viewers see a + * specific file or object, instead of another object in your distribution (for + * example, https://www.example.com/product-description.html). A + * default root object avoids exposing the contents of your distribution.

+ *

You can specify the object name or a path to the object name (for example, + * index.html or exampleFolderName/index.html). Your + * string can't begin with a forward slash (/). Only specify the + * object name or the path to the object.

If you don't want to specify a + * default root object when you create a distribution, include an empty + * DefaultRootObject element.

To delete the default root object + * from an existing distribution, update the distribution configuration and include + * an empty DefaultRootObject element.

To replace the default + * root object, update the distribution configuration and specify the new + * object.

For more information about the default root object, see Specify + * a default root object in the Amazon CloudFront Developer Guide.

*/ inline const Aws::String& GetDefaultRootObject() const{ return m_defaultRootObject; } inline bool DefaultRootObjectHasBeenSet() const { return m_defaultRootObjectHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginConfig.h b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginConfig.h index 4ac4328ed28..962fb64406f 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginConfig.h +++ b/generated/src/aws-cpp-sdk-cloudfront/include/aws/cloudfront/model/VpcOriginConfig.h @@ -50,10 +50,48 @@ namespace Model inline VpcOriginConfig& WithVpcOriginId(Aws::String&& value) { SetVpcOriginId(std::move(value)); return *this;} inline VpcOriginConfig& WithVpcOriginId(const char* value) { SetVpcOriginId(value); return *this;} ///@} + + ///@{ + /** + *

Specifies how long, in seconds, CloudFront waits for a response from the + * origin. This is also known as the origin response timeout. The minimum + * timeout is 1 second, the maximum is 60 seconds, and the default (if you don't + * specify otherwise) is 30 seconds.

For more information, see Response + * timeout (custom origins only) in the Amazon CloudFront Developer + * Guide.

+ */ + inline int GetOriginReadTimeout() const{ return m_originReadTimeout; } + inline bool OriginReadTimeoutHasBeenSet() const { return m_originReadTimeoutHasBeenSet; } + inline void SetOriginReadTimeout(int value) { m_originReadTimeoutHasBeenSet = true; m_originReadTimeout = value; } + inline VpcOriginConfig& WithOriginReadTimeout(int value) { SetOriginReadTimeout(value); return *this;} + ///@} + + ///@{ + /** + *

Specifies how long, in seconds, CloudFront persists its connection to the + * origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the + * default (if you don't specify otherwise) is 5 seconds.

For more + * information, see Keep-alive + * timeout (custom origins only) in the Amazon CloudFront Developer + * Guide.

+ */ + inline int GetOriginKeepaliveTimeout() const{ return m_originKeepaliveTimeout; } + inline bool OriginKeepaliveTimeoutHasBeenSet() const { return m_originKeepaliveTimeoutHasBeenSet; } + inline void SetOriginKeepaliveTimeout(int value) { m_originKeepaliveTimeoutHasBeenSet = true; m_originKeepaliveTimeout = value; } + inline VpcOriginConfig& WithOriginKeepaliveTimeout(int value) { SetOriginKeepaliveTimeout(value); return *this;} + ///@} private: Aws::String m_vpcOriginId; bool m_vpcOriginIdHasBeenSet = false; + + int m_originReadTimeout; + bool m_originReadTimeoutHasBeenSet = false; + + int m_originKeepaliveTimeout; + bool m_originKeepaliveTimeoutHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginConfig.cpp b/generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginConfig.cpp index e19181a5c88..04b8cf862d3 100644 --- a/generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginConfig.cpp +++ b/generated/src/aws-cpp-sdk-cloudfront/source/model/VpcOriginConfig.cpp @@ -21,7 +21,11 @@ namespace Model { VpcOriginConfig::VpcOriginConfig() : - m_vpcOriginIdHasBeenSet(false) + m_vpcOriginIdHasBeenSet(false), + m_originReadTimeout(0), + m_originReadTimeoutHasBeenSet(false), + m_originKeepaliveTimeout(0), + m_originKeepaliveTimeoutHasBeenSet(false) { } @@ -43,6 +47,18 @@ VpcOriginConfig& VpcOriginConfig::operator =(const XmlNode& xmlNode) m_vpcOriginId = Aws::Utils::Xml::DecodeEscapedXmlText(vpcOriginIdNode.GetText()); m_vpcOriginIdHasBeenSet = true; } + XmlNode originReadTimeoutNode = resultNode.FirstChild("OriginReadTimeout"); + if(!originReadTimeoutNode.IsNull()) + { + m_originReadTimeout = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(originReadTimeoutNode.GetText()).c_str()).c_str()); + m_originReadTimeoutHasBeenSet = true; + } + XmlNode originKeepaliveTimeoutNode = resultNode.FirstChild("OriginKeepaliveTimeout"); + if(!originKeepaliveTimeoutNode.IsNull()) + { + m_originKeepaliveTimeout = StringUtils::ConvertToInt32(StringUtils::Trim(Aws::Utils::Xml::DecodeEscapedXmlText(originKeepaliveTimeoutNode.GetText()).c_str()).c_str()); + m_originKeepaliveTimeoutHasBeenSet = true; + } } return *this; @@ -57,6 +73,22 @@ void VpcOriginConfig::AddToNode(XmlNode& parentNode) const vpcOriginIdNode.SetText(m_vpcOriginId); } + if(m_originReadTimeoutHasBeenSet) + { + XmlNode originReadTimeoutNode = parentNode.CreateChildElement("OriginReadTimeout"); + ss << m_originReadTimeout; + originReadTimeoutNode.SetText(ss.str()); + ss.str(""); + } + + if(m_originKeepaliveTimeoutHasBeenSet) + { + XmlNode originKeepaliveTimeoutNode = parentNode.CreateChildElement("OriginKeepaliveTimeout"); + ss << m_originKeepaliveTimeout; + originKeepaliveTimeoutNode.SetText(ss.str()); + ss.str(""); + } + } } // namespace Model diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h index 4ff125b7209..ff4ceeffe0e 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/CodePipelineClient.h @@ -732,7 +732,12 @@ namespace CodePipeline } /** - *

Lists the rules for the condition.

See Also:

Lists the rules for the condition. For more information about conditions, see + * Stage + * conditions. For more information about rules, see the CodePipeline + * rule reference.

See Also:

AWS * API Reference

*/ diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/ActionTypeId.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/ActionTypeId.h index 1cf83408c15..93c5974dfe5 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/ActionTypeId.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/ActionTypeId.h @@ -45,7 +45,7 @@ namespace Model * constrains the provider type for the action. Valid categories are limited to one * of the following values.

  • Source

  • Build

    *
  • Test

  • Deploy

  • Invoke

  • - *
  • Approval

+ *
  • Approval

  • Compute

  • */ inline const ActionCategory& GetCategory() const{ return m_category; } inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/Condition.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/Condition.h index 013ac3182ff..e667e10315d 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/Condition.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/Condition.h @@ -27,7 +27,11 @@ namespace Model /** *

    The condition for the stage. A condition is made up of the rules and the - * result for the condition.

    See Also:

    Stage + * conditions. For more information about rules, see the CodePipeline + * rule reference.

    See Also:

    AWS * API Reference

    */ diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/GetActionTypeRequest.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/GetActionTypeRequest.h index 0b7b368e088..ac6bea2ec7a 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/GetActionTypeRequest.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/GetActionTypeRequest.h @@ -41,7 +41,8 @@ namespace Model * valid values:

    • Source

    • * Build

    • Test

    • * Deploy

    • Approval

    • - *

      Invoke

    + *

    Invoke

  • Compute

  • + * */ inline const ActionCategory& GetCategory() const{ return m_category; } inline bool CategoryHasBeenSet() const { return m_categoryHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RuleDeclaration.h b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RuleDeclaration.h index c0a69dd81a7..b0c389f1b8f 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RuleDeclaration.h +++ b/generated/src/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/RuleDeclaration.h @@ -31,7 +31,11 @@ namespace Model *

    Represents information about the rule to be created for an associated * condition. An example would be creating a new rule for an entry condition, such * as a rule that checks for a test result before allowing the run to enter the - * deployment stage.

    See Also:

    Stage + * conditions. For more information about rules, see the CodePipeline + * rule reference.

    See Also:

    AWS * API Reference

    */ @@ -47,7 +51,7 @@ namespace Model ///@{ /** *

    The name of the rule that is created for the condition, such as - * CheckAllResults.

    + * VariableCheck.

    */ inline const Aws::String& GetName() const{ return m_name; } inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } @@ -91,6 +95,25 @@ namespace Model inline RuleDeclaration& AddConfiguration(const char* key, const char* value) { m_configurationHasBeenSet = true; m_configuration.emplace(key, value); return *this; } ///@} + ///@{ + /** + *

    The shell commands to run with your commands rule in CodePipeline. All + * commands are supported except multi-line formats. While CodeBuild logs and + * permissions are used, you do not need to create any resources in CodeBuild.

    + *

    Using compute time for this action will incur separate charges in + * CodeBuild.

    + */ + inline const Aws::Vector& GetCommands() const{ return m_commands; } + inline bool CommandsHasBeenSet() const { return m_commandsHasBeenSet; } + inline void SetCommands(const Aws::Vector& value) { m_commandsHasBeenSet = true; m_commands = value; } + inline void SetCommands(Aws::Vector&& value) { m_commandsHasBeenSet = true; m_commands = std::move(value); } + inline RuleDeclaration& WithCommands(const Aws::Vector& value) { SetCommands(value); return *this;} + inline RuleDeclaration& WithCommands(Aws::Vector&& value) { SetCommands(std::move(value)); return *this;} + inline RuleDeclaration& AddCommands(const Aws::String& value) { m_commandsHasBeenSet = true; m_commands.push_back(value); return *this; } + inline RuleDeclaration& AddCommands(Aws::String&& value) { m_commandsHasBeenSet = true; m_commands.push_back(std::move(value)); return *this; } + inline RuleDeclaration& AddCommands(const char* value) { m_commandsHasBeenSet = true; m_commands.push_back(value); return *this; } + ///@} + ///@{ /** *

    The input artifacts fields for the rule, such as specifying an input file for @@ -154,6 +177,9 @@ namespace Model Aws::Map m_configuration; bool m_configurationHasBeenSet = false; + Aws::Vector m_commands; + bool m_commandsHasBeenSet = false; + Aws::Vector m_inputArtifacts; bool m_inputArtifactsHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-codepipeline/source/model/RuleDeclaration.cpp b/generated/src/aws-cpp-sdk-codepipeline/source/model/RuleDeclaration.cpp index eb88b3d033f..3b770592356 100644 --- a/generated/src/aws-cpp-sdk-codepipeline/source/model/RuleDeclaration.cpp +++ b/generated/src/aws-cpp-sdk-codepipeline/source/model/RuleDeclaration.cpp @@ -22,6 +22,7 @@ RuleDeclaration::RuleDeclaration() : m_nameHasBeenSet(false), m_ruleTypeIdHasBeenSet(false), m_configurationHasBeenSet(false), + m_commandsHasBeenSet(false), m_inputArtifactsHasBeenSet(false), m_roleArnHasBeenSet(false), m_regionHasBeenSet(false), @@ -62,6 +63,16 @@ RuleDeclaration& RuleDeclaration::operator =(JsonView jsonValue) m_configurationHasBeenSet = true; } + if(jsonValue.ValueExists("commands")) + { + Aws::Utils::Array commandsJsonList = jsonValue.GetArray("commands"); + for(unsigned commandsIndex = 0; commandsIndex < commandsJsonList.GetLength(); ++commandsIndex) + { + m_commands.push_back(commandsJsonList[commandsIndex].AsString()); + } + m_commandsHasBeenSet = true; + } + if(jsonValue.ValueExists("inputArtifacts")) { Aws::Utils::Array inputArtifactsJsonList = jsonValue.GetArray("inputArtifacts"); @@ -123,6 +134,17 @@ JsonValue RuleDeclaration::Jsonize() const } + if(m_commandsHasBeenSet) + { + Aws::Utils::Array commandsJsonList(m_commands.size()); + for(unsigned commandsIndex = 0; commandsIndex < commandsJsonList.GetLength(); ++commandsIndex) + { + commandsJsonList[commandsIndex].AsString(m_commands[commandsIndex]); + } + payload.WithArray("commands", std::move(commandsJsonList)); + + } + if(m_inputArtifactsHasBeenSet) { Aws::Utils::Array inputArtifactsJsonList(m_inputArtifacts.size()); diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/DeploymentConfiguration.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/DeploymentConfiguration.h index bf20df238d0..ac8d686829c 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/DeploymentConfiguration.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/DeploymentConfiguration.h @@ -89,9 +89,11 @@ namespace Model * DRAINING state.

    You can't specify a custom * maximumPercent value for a service that uses either the blue/green * (CODE_DEPLOY) or EXTERNAL deployment types and has - * tasks that use the EC2 launch type.

    If the tasks in the service - * use the Fargate launch type, the maximum percent value is not used, although it - * is returned when describing your service.

    + * tasks that use the EC2 launch type.

    If the service uses either + * the blue/green (CODE_DEPLOY) or EXTERNAL deployment + * types, and the tasks in the service use the Fargate launch type, the maximum + * percent value is not used. The value is still returned when describing your + * service.

    */ inline int GetMaximumPercent() const{ return m_maximumPercent; } inline bool MaximumPercentHasBeenSet() const { return m_maximumPercentHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ListServiceDeploymentsRequest.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ListServiceDeploymentsRequest.h index 9d53ef7b726..dac13aefd8e 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ListServiceDeploymentsRequest.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/ListServiceDeploymentsRequest.h @@ -56,8 +56,8 @@ namespace Model *

    The cluster that hosts the service. This can either be the cluster name or * ARN. Starting April 15, 2023, Amazon Web Services will not onboard new customers * to Amazon Elastic Inference (EI), and will help current customers migrate their - * workloads to options that offer better price and performanceIf you don't specify - * a cluster, default is used.

    + * workloads to options that offer better price and performance. If you don't + * specify a cluster, default is used.

    */ inline const Aws::String& GetCluster() const{ return m_cluster; } inline bool ClusterHasBeenSet() const { return m_clusterHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/LogConfiguration.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/LogConfiguration.h index 793db68cf44..39946713647 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/LogConfiguration.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/LogConfiguration.h @@ -200,15 +200,17 @@ namespace Model * Amazon OpenSearch Service, you can specify options like Name, * Host (OpenSearch Service endpoint without protocol), * Port, Index, Type, Aws_auth, - * Aws_region, Suppress_Type_Name, and - * tls.

    When you export logs to Amazon S3, you can specify the - * bucket using the bucket option. You can also specify - * region, total_file_size, upload_timeout, - * and use_put_object as options.

    This parameter requires - * version 1.19 of the Docker Remote API or greater on your container instance. To - * check the Docker Remote API version on your container instance, log in to your - * container instance and run the following command: sudo docker version - * --format '{{.Server.APIVersion}}'

    + * Aws_region, Suppress_Type_Name, and tls. + * For more information, see Under + * the hood: FireLens for Amazon ECS Tasks.

    When you export logs to + * Amazon S3, you can specify the bucket using the bucket option. You + * can also specify region, total_file_size, + * upload_timeout, and use_put_object as options.

    + *

    This parameter requires version 1.19 of the Docker Remote API or greater on + * your container instance. To check the Docker Remote API version on your + * container instance, log in to your container instance and run the following + * command: sudo docker version --format '{{.Server.APIVersion}}'

    */ inline const Aws::Map& GetOptions() const{ return m_options; } inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/RegisterTaskDefinitionRequest.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/RegisterTaskDefinitionRequest.h index f052cb6a66f..18f15b465b1 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/RegisterTaskDefinitionRequest.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/RegisterTaskDefinitionRequest.h @@ -442,6 +442,18 @@ namespace Model inline RegisterTaskDefinitionRequest& WithRuntimePlatform(const RuntimePlatform& value) { SetRuntimePlatform(value); return *this;} inline RegisterTaskDefinitionRequest& WithRuntimePlatform(RuntimePlatform&& value) { SetRuntimePlatform(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Enables fault injection when you register your task definition and allows for + * fault injection requests to be accepted from the task's containers. The default + * value is false.

    + */ + inline bool GetEnableFaultInjection() const{ return m_enableFaultInjection; } + inline bool EnableFaultInjectionHasBeenSet() const { return m_enableFaultInjectionHasBeenSet; } + inline void SetEnableFaultInjection(bool value) { m_enableFaultInjectionHasBeenSet = true; m_enableFaultInjection = value; } + inline RegisterTaskDefinitionRequest& WithEnableFaultInjection(bool value) { SetEnableFaultInjection(value); return *this;} + ///@} private: Aws::String m_family; @@ -494,6 +506,9 @@ namespace Model RuntimePlatform m_runtimePlatform; bool m_runtimePlatformHasBeenSet = false; + + bool m_enableFaultInjection; + bool m_enableFaultInjectionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/TaskDefinition.h b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/TaskDefinition.h index 0f84337bd02..f2b77374827 100644 --- a/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/TaskDefinition.h +++ b/generated/src/aws-cpp-sdk-ecs/include/aws/ecs/model/TaskDefinition.h @@ -542,6 +542,18 @@ namespace Model inline TaskDefinition& WithEphemeralStorage(const EphemeralStorage& value) { SetEphemeralStorage(value); return *this;} inline TaskDefinition& WithEphemeralStorage(EphemeralStorage&& value) { SetEphemeralStorage(std::move(value)); return *this;} ///@} + + ///@{ + /** + *

    Enables fault injection and allows for fault injection requests to be + * accepted from the task's containers. The default value is + * false.

    + */ + inline bool GetEnableFaultInjection() const{ return m_enableFaultInjection; } + inline bool EnableFaultInjectionHasBeenSet() const { return m_enableFaultInjectionHasBeenSet; } + inline void SetEnableFaultInjection(bool value) { m_enableFaultInjectionHasBeenSet = true; m_enableFaultInjection = value; } + inline TaskDefinition& WithEnableFaultInjection(bool value) { SetEnableFaultInjection(value); return *this;} + ///@} private: Aws::String m_taskDefinitionArn; @@ -615,6 +627,9 @@ namespace Model EphemeralStorage m_ephemeralStorage; bool m_ephemeralStorageHasBeenSet = false; + + bool m_enableFaultInjection; + bool m_enableFaultInjectionHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-ecs/source/model/RegisterTaskDefinitionRequest.cpp b/generated/src/aws-cpp-sdk-ecs/source/model/RegisterTaskDefinitionRequest.cpp index 23cba4e8daf..f9475ea0bd4 100644 --- a/generated/src/aws-cpp-sdk-ecs/source/model/RegisterTaskDefinitionRequest.cpp +++ b/generated/src/aws-cpp-sdk-ecs/source/model/RegisterTaskDefinitionRequest.cpp @@ -32,7 +32,9 @@ RegisterTaskDefinitionRequest::RegisterTaskDefinitionRequest() : m_proxyConfigurationHasBeenSet(false), m_inferenceAcceleratorsHasBeenSet(false), m_ephemeralStorageHasBeenSet(false), - m_runtimePlatformHasBeenSet(false) + m_runtimePlatformHasBeenSet(false), + m_enableFaultInjection(false), + m_enableFaultInjectionHasBeenSet(false) { } @@ -169,6 +171,12 @@ Aws::String RegisterTaskDefinitionRequest::SerializePayload() const } + if(m_enableFaultInjectionHasBeenSet) + { + payload.WithBool("enableFaultInjection", m_enableFaultInjection); + + } + return payload.View().WriteReadable(); } diff --git a/generated/src/aws-cpp-sdk-ecs/source/model/TaskDefinition.cpp b/generated/src/aws-cpp-sdk-ecs/source/model/TaskDefinition.cpp index 40316f8adac..ef9d1dd720b 100644 --- a/generated/src/aws-cpp-sdk-ecs/source/model/TaskDefinition.cpp +++ b/generated/src/aws-cpp-sdk-ecs/source/model/TaskDefinition.cpp @@ -47,7 +47,9 @@ TaskDefinition::TaskDefinition() : m_registeredAtHasBeenSet(false), m_deregisteredAtHasBeenSet(false), m_registeredByHasBeenSet(false), - m_ephemeralStorageHasBeenSet(false) + m_ephemeralStorageHasBeenSet(false), + m_enableFaultInjection(false), + m_enableFaultInjectionHasBeenSet(false) { } @@ -248,6 +250,13 @@ TaskDefinition& TaskDefinition::operator =(JsonView jsonValue) m_ephemeralStorageHasBeenSet = true; } + if(jsonValue.ValueExists("enableFaultInjection")) + { + m_enableFaultInjection = jsonValue.GetBool("enableFaultInjection"); + + m_enableFaultInjectionHasBeenSet = true; + } + return *this; } @@ -428,6 +437,12 @@ JsonValue TaskDefinition::Jsonize() const } + if(m_enableFaultInjectionHasBeenSet) + { + payload.WithBool("enableFaultInjection", m_enableFaultInjection); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/CreateEnvironmentRequest.h b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/CreateEnvironmentRequest.h index 79a353af706..d02ffbfc827 100644 --- a/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/CreateEnvironmentRequest.h +++ b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/CreateEnvironmentRequest.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -152,6 +153,18 @@ namespace Model inline CreateEnvironmentRequest& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The network type required for the runtime environment.

    + */ + inline const NetworkType& GetNetworkType() const{ return m_networkType; } + inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; } + inline void SetNetworkType(const NetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; } + inline void SetNetworkType(NetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); } + inline CreateEnvironmentRequest& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;} + inline CreateEnvironmentRequest& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Configures the maintenance window that you want for the runtime environment. @@ -270,6 +283,9 @@ namespace Model Aws::String m_name; bool m_nameHasBeenSet = false; + NetworkType m_networkType; + bool m_networkTypeHasBeenSet = false; + Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; diff --git a/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/EnvironmentSummary.h b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/EnvironmentSummary.h index 350d9bab7e2..741e1bc7a8a 100644 --- a/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/EnvironmentSummary.h +++ b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/EnvironmentSummary.h @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -135,6 +136,18 @@ namespace Model inline EnvironmentSummary& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The network type supported by the runtime environment.

    + */ + inline const NetworkType& GetNetworkType() const{ return m_networkType; } + inline bool NetworkTypeHasBeenSet() const { return m_networkTypeHasBeenSet; } + inline void SetNetworkType(const NetworkType& value) { m_networkTypeHasBeenSet = true; m_networkType = value; } + inline void SetNetworkType(NetworkType&& value) { m_networkTypeHasBeenSet = true; m_networkType = std::move(value); } + inline EnvironmentSummary& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;} + inline EnvironmentSummary& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;} + ///@} + ///@{ /** *

    The status of the runtime environment

    @@ -169,6 +182,9 @@ namespace Model Aws::String m_name; bool m_nameHasBeenSet = false; + NetworkType m_networkType; + bool m_networkTypeHasBeenSet = false; + EnvironmentLifecycle m_status; bool m_statusHasBeenSet = false; }; diff --git a/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/GetEnvironmentResult.h b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/GetEnvironmentResult.h index 60d7ac1b56f..7d7943d6de2 100644 --- a/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/GetEnvironmentResult.h +++ b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/GetEnvironmentResult.h @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -190,6 +191,17 @@ namespace Model inline GetEnvironmentResult& WithName(const char* value) { SetName(value); return *this;} ///@} + ///@{ + /** + *

    The network type supported by the runtime environment.

    + */ + inline const NetworkType& GetNetworkType() const{ return m_networkType; } + inline void SetNetworkType(const NetworkType& value) { m_networkType = value; } + inline void SetNetworkType(NetworkType&& value) { m_networkType = std::move(value); } + inline GetEnvironmentResult& WithNetworkType(const NetworkType& value) { SetNetworkType(value); return *this;} + inline GetEnvironmentResult& WithNetworkType(NetworkType&& value) { SetNetworkType(std::move(value)); return *this;} + ///@} + ///@{ /** *

    Indicates the pending maintenance scheduled on this environment.

    @@ -361,6 +373,8 @@ namespace Model Aws::String m_name; + NetworkType m_networkType; + PendingMaintenance m_pendingMaintenance; Aws::String m_preferredMaintenanceWindow; diff --git a/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/NetworkType.h b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/NetworkType.h new file mode 100644 index 00000000000..3fdb830c360 --- /dev/null +++ b/generated/src/aws-cpp-sdk-m2/include/aws/m2/model/NetworkType.h @@ -0,0 +1,31 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#pragma once +#include +#include + +namespace Aws +{ +namespace MainframeModernization +{ +namespace Model +{ + enum class NetworkType + { + NOT_SET, + ipv4, + dual + }; + +namespace NetworkTypeMapper +{ +AWS_MAINFRAMEMODERNIZATION_API NetworkType GetNetworkTypeForName(const Aws::String& name); + +AWS_MAINFRAMEMODERNIZATION_API Aws::String GetNameForNetworkType(NetworkType value); +} // namespace NetworkTypeMapper +} // namespace Model +} // namespace MainframeModernization +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-m2/source/model/CreateEnvironmentRequest.cpp b/generated/src/aws-cpp-sdk-m2/source/model/CreateEnvironmentRequest.cpp index b5532fcc783..83a666fcd4a 100644 --- a/generated/src/aws-cpp-sdk-m2/source/model/CreateEnvironmentRequest.cpp +++ b/generated/src/aws-cpp-sdk-m2/source/model/CreateEnvironmentRequest.cpp @@ -23,6 +23,8 @@ CreateEnvironmentRequest::CreateEnvironmentRequest() : m_instanceTypeHasBeenSet(false), m_kmsKeyIdHasBeenSet(false), m_nameHasBeenSet(false), + m_networkType(NetworkType::NOT_SET), + m_networkTypeHasBeenSet(false), m_preferredMaintenanceWindowHasBeenSet(false), m_publiclyAccessible(false), m_publiclyAccessibleHasBeenSet(false), @@ -84,6 +86,11 @@ Aws::String CreateEnvironmentRequest::SerializePayload() const } + if(m_networkTypeHasBeenSet) + { + payload.WithString("networkType", NetworkTypeMapper::GetNameForNetworkType(m_networkType)); + } + if(m_preferredMaintenanceWindowHasBeenSet) { payload.WithString("preferredMaintenanceWindow", m_preferredMaintenanceWindow); diff --git a/generated/src/aws-cpp-sdk-m2/source/model/EnvironmentSummary.cpp b/generated/src/aws-cpp-sdk-m2/source/model/EnvironmentSummary.cpp index 3786d444675..bc8425b4739 100644 --- a/generated/src/aws-cpp-sdk-m2/source/model/EnvironmentSummary.cpp +++ b/generated/src/aws-cpp-sdk-m2/source/model/EnvironmentSummary.cpp @@ -27,6 +27,8 @@ EnvironmentSummary::EnvironmentSummary() : m_environmentIdHasBeenSet(false), m_instanceTypeHasBeenSet(false), m_nameHasBeenSet(false), + m_networkType(NetworkType::NOT_SET), + m_networkTypeHasBeenSet(false), m_status(EnvironmentLifecycle::NOT_SET), m_statusHasBeenSet(false) { @@ -89,6 +91,13 @@ EnvironmentSummary& EnvironmentSummary::operator =(JsonView jsonValue) m_nameHasBeenSet = true; } + if(jsonValue.ValueExists("networkType")) + { + m_networkType = NetworkTypeMapper::GetNetworkTypeForName(jsonValue.GetString("networkType")); + + m_networkTypeHasBeenSet = true; + } + if(jsonValue.ValueExists("status")) { m_status = EnvironmentLifecycleMapper::GetEnvironmentLifecycleForName(jsonValue.GetString("status")); @@ -143,6 +152,11 @@ JsonValue EnvironmentSummary::Jsonize() const } + if(m_networkTypeHasBeenSet) + { + payload.WithString("networkType", NetworkTypeMapper::GetNameForNetworkType(m_networkType)); + } + if(m_statusHasBeenSet) { payload.WithString("status", EnvironmentLifecycleMapper::GetNameForEnvironmentLifecycle(m_status)); diff --git a/generated/src/aws-cpp-sdk-m2/source/model/GetEnvironmentResult.cpp b/generated/src/aws-cpp-sdk-m2/source/model/GetEnvironmentResult.cpp index 984bf7d903a..c45228707b6 100644 --- a/generated/src/aws-cpp-sdk-m2/source/model/GetEnvironmentResult.cpp +++ b/generated/src/aws-cpp-sdk-m2/source/model/GetEnvironmentResult.cpp @@ -20,6 +20,7 @@ using namespace Aws; GetEnvironmentResult::GetEnvironmentResult() : m_actualCapacity(0), m_engineType(EngineType::NOT_SET), + m_networkType(NetworkType::NOT_SET), m_publiclyAccessible(false), m_status(EnvironmentLifecycle::NOT_SET) { @@ -106,6 +107,12 @@ GetEnvironmentResult& GetEnvironmentResult::operator =(const Aws::AmazonWebServi } + if(jsonValue.ValueExists("networkType")) + { + m_networkType = NetworkTypeMapper::GetNetworkTypeForName(jsonValue.GetString("networkType")); + + } + if(jsonValue.ValueExists("pendingMaintenance")) { m_pendingMaintenance = jsonValue.GetObject("pendingMaintenance"); diff --git a/generated/src/aws-cpp-sdk-m2/source/model/NetworkType.cpp b/generated/src/aws-cpp-sdk-m2/source/model/NetworkType.cpp new file mode 100644 index 00000000000..dcb580fd230 --- /dev/null +++ b/generated/src/aws-cpp-sdk-m2/source/model/NetworkType.cpp @@ -0,0 +1,72 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include + +using namespace Aws::Utils; + + +namespace Aws +{ + namespace MainframeModernization + { + namespace Model + { + namespace NetworkTypeMapper + { + + static const int ipv4_HASH = HashingUtils::HashString("ipv4"); + static const int dual_HASH = HashingUtils::HashString("dual"); + + + NetworkType GetNetworkTypeForName(const Aws::String& name) + { + int hashCode = HashingUtils::HashString(name.c_str()); + if (hashCode == ipv4_HASH) + { + return NetworkType::ipv4; + } + else if (hashCode == dual_HASH) + { + return NetworkType::dual; + } + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + overflowContainer->StoreOverflow(hashCode, name); + return static_cast(hashCode); + } + + return NetworkType::NOT_SET; + } + + Aws::String GetNameForNetworkType(NetworkType enumValue) + { + switch(enumValue) + { + case NetworkType::NOT_SET: + return {}; + case NetworkType::ipv4: + return "ipv4"; + case NetworkType::dual: + return "dual"; + default: + EnumParseOverflowContainer* overflowContainer = Aws::GetEnumOverflowContainer(); + if(overflowContainer) + { + return overflowContainer->RetrieveOverflow(static_cast(enumValue)); + } + + return {}; + } + } + + } // namespace NetworkTypeMapper + } // namespace Model + } // namespace MainframeModernization +} // namespace Aws diff --git a/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VisualReferenceInput.h b/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VisualReferenceInput.h index e81ef4e239b..f1e33b839d2 100644 --- a/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VisualReferenceInput.h +++ b/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VisualReferenceInput.h @@ -71,7 +71,9 @@ namespace Model * lastrun to use the screenshots from the most recent run before this * update was made, or the value of Id in the - * CanaryRun from any past run of this canary.

    + * CanaryRun from a run of this a canary in the past 31 days. If you specify + * the Id of a canary run older than 31 days, the operation returns a + * 400 validation exception error..

    */ inline const Aws::String& GetBaseCanaryRunId() const{ return m_baseCanaryRunId; } inline bool BaseCanaryRunIdHasBeenSet() const { return m_baseCanaryRunIdHasBeenSet; } diff --git a/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigInput.h b/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigInput.h index 2e1b5f3c4b3..35511786039 100644 --- a/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigInput.h +++ b/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigInput.h @@ -71,6 +71,17 @@ namespace Model inline VpcConfigInput& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } inline VpcConfigInput& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } ///@} + + ///@{ + /** + *

    Set this to true to allow outbound IPv6 traffic on VPC canaries + * that are connected to dual-stack subnets. The default is false

    + */ + inline bool GetIpv6AllowedForDualStack() const{ return m_ipv6AllowedForDualStack; } + inline bool Ipv6AllowedForDualStackHasBeenSet() const { return m_ipv6AllowedForDualStackHasBeenSet; } + inline void SetIpv6AllowedForDualStack(bool value) { m_ipv6AllowedForDualStackHasBeenSet = true; m_ipv6AllowedForDualStack = value; } + inline VpcConfigInput& WithIpv6AllowedForDualStack(bool value) { SetIpv6AllowedForDualStack(value); return *this;} + ///@} private: Aws::Vector m_subnetIds; @@ -78,6 +89,9 @@ namespace Model Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; + + bool m_ipv6AllowedForDualStack; + bool m_ipv6AllowedForDualStackHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigOutput.h b/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigOutput.h index 914ce2df9c3..7159f52a065 100644 --- a/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigOutput.h +++ b/generated/src/aws-cpp-sdk-synthetics/include/aws/synthetics/model/VpcConfigOutput.h @@ -85,6 +85,17 @@ namespace Model inline VpcConfigOutput& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } inline VpcConfigOutput& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } ///@} + + ///@{ + /** + *

    Indicates whether this canary allows outbound IPv6 traffic if it is connected + * to dual-stack subnets.

    + */ + inline bool GetIpv6AllowedForDualStack() const{ return m_ipv6AllowedForDualStack; } + inline bool Ipv6AllowedForDualStackHasBeenSet() const { return m_ipv6AllowedForDualStackHasBeenSet; } + inline void SetIpv6AllowedForDualStack(bool value) { m_ipv6AllowedForDualStackHasBeenSet = true; m_ipv6AllowedForDualStack = value; } + inline VpcConfigOutput& WithIpv6AllowedForDualStack(bool value) { SetIpv6AllowedForDualStack(value); return *this;} + ///@} private: Aws::String m_vpcId; @@ -95,6 +106,9 @@ namespace Model Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; + + bool m_ipv6AllowedForDualStack; + bool m_ipv6AllowedForDualStackHasBeenSet = false; }; } // namespace Model diff --git a/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigInput.cpp b/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigInput.cpp index 12b110a5b3f..9bc8e4478a6 100644 --- a/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigInput.cpp +++ b/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigInput.cpp @@ -20,7 +20,9 @@ namespace Model VpcConfigInput::VpcConfigInput() : m_subnetIdsHasBeenSet(false), - m_securityGroupIdsHasBeenSet(false) + m_securityGroupIdsHasBeenSet(false), + m_ipv6AllowedForDualStack(false), + m_ipv6AllowedForDualStackHasBeenSet(false) { } @@ -52,6 +54,13 @@ VpcConfigInput& VpcConfigInput::operator =(JsonView jsonValue) m_securityGroupIdsHasBeenSet = true; } + if(jsonValue.ValueExists("Ipv6AllowedForDualStack")) + { + m_ipv6AllowedForDualStack = jsonValue.GetBool("Ipv6AllowedForDualStack"); + + m_ipv6AllowedForDualStackHasBeenSet = true; + } + return *this; } @@ -81,6 +90,12 @@ JsonValue VpcConfigInput::Jsonize() const } + if(m_ipv6AllowedForDualStackHasBeenSet) + { + payload.WithBool("Ipv6AllowedForDualStack", m_ipv6AllowedForDualStack); + + } + return payload; } diff --git a/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigOutput.cpp b/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigOutput.cpp index e29a1c2d42b..b83de29b9b2 100644 --- a/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigOutput.cpp +++ b/generated/src/aws-cpp-sdk-synthetics/source/model/VpcConfigOutput.cpp @@ -21,7 +21,9 @@ namespace Model VpcConfigOutput::VpcConfigOutput() : m_vpcIdHasBeenSet(false), m_subnetIdsHasBeenSet(false), - m_securityGroupIdsHasBeenSet(false) + m_securityGroupIdsHasBeenSet(false), + m_ipv6AllowedForDualStack(false), + m_ipv6AllowedForDualStackHasBeenSet(false) { } @@ -60,6 +62,13 @@ VpcConfigOutput& VpcConfigOutput::operator =(JsonView jsonValue) m_securityGroupIdsHasBeenSet = true; } + if(jsonValue.ValueExists("Ipv6AllowedForDualStack")) + { + m_ipv6AllowedForDualStack = jsonValue.GetBool("Ipv6AllowedForDualStack"); + + m_ipv6AllowedForDualStackHasBeenSet = true; + } + return *this; } @@ -95,6 +104,12 @@ JsonValue VpcConfigOutput::Jsonize() const } + if(m_ipv6AllowedForDualStackHasBeenSet) + { + payload.WithBool("Ipv6AllowedForDualStack", m_ipv6AllowedForDualStack); + + } + return payload; } diff --git a/generated/tests/account-gen-tests/AccountEndpointProviderTests.cpp b/generated/tests/account-gen-tests/AccountEndpointProviderTests.cpp index 8b2458ede42..b291d14805a 100644 --- a/generated/tests/account-gen-tests/AccountEndpointProviderTests.cpp +++ b/generated/tests/account-gen-tests/AccountEndpointProviderTests.cpp @@ -74,21 +74,33 @@ class AccountEndpointProviderTests : public ::testing::TestWithParam }; Aws::UniquePtrSafeDeleted> AccountEndpointProviderTests::TEST_CASES; -const size_t AccountEndpointProviderTests::TEST_CASES_SZ = 27; +const size_t AccountEndpointProviderTests::TEST_CASES_SZ = 32; Aws::Vector AccountEndpointProviderTests::getTestCase() { Aws::Vector test_cases = { /*TEST CASE 0*/ - {"For region aws-global with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "aws-global"), EpParam("UseDualStack", false)}, // params + {"For custom endpoint with region not set and fips disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com")}, // params {}, // tags - {{/*epUrl*/"https://account.us-east-1.amazonaws.com", + {{/*epUrl*/"https://example.com", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 1*/ + {"For custom endpoint with fips enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com")}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect + }, + /*TEST CASE 2*/ + {"For custom endpoint with fips disabled and dualstack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect + }, + /*TEST CASE 3*/ {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags @@ -97,7 +109,7 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 2*/ + /*TEST CASE 4*/ {"For region us-east-1 with FIPS enabled and DualStack disabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -106,7 +118,7 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 3*/ + /*TEST CASE 5*/ {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags @@ -115,7 +127,7 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 4*/ + /*TEST CASE 6*/ {"For region us-east-1 with FIPS disabled and DualStack disabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -124,94 +136,85 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 5*/ - {"For region aws-cn-global with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "aws-cn-global"), EpParam("UseDualStack", false)}, // params - {}, // tags - {{/*epUrl*/"https://account.cn-northwest-1.amazonaws.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, - /*TEST CASE 6*/ - {"For region cn-north-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params - {}, // tags - {{/*epUrl*/"https://account-fips.cn-north-1.api.amazonwebservices.com.cn", - {/*authScheme*/}, - {/*properties*/}, - {/*headers*/}}, {/*No error*/}} // expect - }, /*TEST CASE 7*/ - {"For region cn-north-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + {"For region cn-northwest-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://account-fips.cn-north-1.amazonaws.com.cn", + {{/*epUrl*/"https://account-fips.cn-northwest-1.api.amazonwebservices.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 8*/ - {"For region cn-north-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", true)}, // params + {"For region cn-northwest-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://account.cn-north-1.api.amazonwebservices.com.cn", + {{/*epUrl*/"https://account-fips.cn-northwest-1.amazonaws.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 9*/ - {"For region cn-north-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "cn-north-1"), EpParam("UseDualStack", false)}, // params + {"For region cn-northwest-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://account.cn-northwest-1.amazonaws.com.cn", + {{/*epUrl*/"https://account.cn-northwest-1.api.amazonwebservices.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 10*/ - {"For region us-gov-east-1 with FIPS enabled and DualStack enabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params + {"For region cn-northwest-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-northwest-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://account-fips.us-gov-east-1.api.aws", + {{/*epUrl*/"https://account.cn-northwest-1.amazonaws.com.cn", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 11*/ - {"For region us-gov-east-1 with FIPS enabled and DualStack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params + {"For region us-gov-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://account-fips.us-gov-east-1.amazonaws.com", + {{/*epUrl*/"https://account-fips.us-gov-west-1.api.aws", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 12*/ - {"For region us-gov-east-1 with FIPS disabled and DualStack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", true)}, // params + {"For region us-gov-west-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*epUrl*/"https://account.us-gov-east-1.api.aws", + {{/*epUrl*/"https://account-fips.us-gov-west-1.amazonaws.com", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 13*/ - {"For region us-gov-east-1 with FIPS disabled and DualStack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Region", "us-gov-east-1"), EpParam("UseDualStack", false)}, // params + {"For region us-gov-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://account.us-gov-east-1.amazonaws.com", + {{/*epUrl*/"https://account.us-gov-west-1.api.aws", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, /*TEST CASE 14*/ + {"For region us-gov-west-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-west-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://account.us-gov-west-1.amazonaws.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 15*/ {"For region us-iso-east-1 with FIPS enabled and DualStack enabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, - /*TEST CASE 15*/ + /*TEST CASE 16*/ {"For region us-iso-east-1 with FIPS enabled and DualStack disabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -220,13 +223,13 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 16*/ + /*TEST CASE 17*/ {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect }, - /*TEST CASE 17*/ + /*TEST CASE 18*/ {"For region us-iso-east-1 with FIPS disabled and DualStack disabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -235,13 +238,13 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 18*/ + /*TEST CASE 19*/ {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, - /*TEST CASE 19*/ + /*TEST CASE 20*/ {"For region us-isob-east-1 with FIPS enabled and DualStack disabled", // documentation {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -250,13 +253,13 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 20*/ + /*TEST CASE 21*/ {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", true)}, // params {}, // tags {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect }, - /*TEST CASE 21*/ + /*TEST CASE 22*/ {"For region us-isob-east-1 with FIPS disabled and DualStack disabled", // documentation {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1"), EpParam("UseDualStack", false)}, // params {}, // tags @@ -265,37 +268,67 @@ Aws::Vector AccountEndpointProviderTest {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 22*/ - {"For custom endpoint with region set and fips disabled and dualstack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 23*/ + {"For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://example.com", + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect + }, + /*TEST CASE 24*/ + {"For region eu-isoe-west-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://account-fips.eu-isoe-west-1.cloud.adc-e.uk", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 23*/ - {"For custom endpoint with region not set and fips disabled and dualstack disabled", // documentation - {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 25*/ + {"For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*epUrl*/"https://example.com", + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 26*/ + {"For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-isoe-west-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://account.eu-isoe-west-1.cloud.adc-e.uk", {/*authScheme*/}, {/*properties*/}, {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 24*/ - {"For custom endpoint with fips enabled and dualstack disabled", // documentation - {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", false)}, // params + /*TEST CASE 27*/ + {"For region us-isof-south-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", true)}, // params {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect + {{/*No endpoint expected*/}, /*error*/"FIPS and DualStack are enabled, but this partition does not support one or both"} // expect }, - /*TEST CASE 25*/ - {"For custom endpoint with fips disabled and dualstack enabled", // documentation - {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com"), EpParam("Region", "us-east-1"), EpParam("UseDualStack", true)}, // params + /*TEST CASE 28*/ + {"For region us-isof-south-1 with FIPS enabled and DualStack disabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", false)}, // params {}, // tags - {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Dualstack and custom endpoint are not supported"} // expect + {{/*epUrl*/"https://account-fips.us-isof-south-1.csp.hci.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect }, - /*TEST CASE 26*/ + /*TEST CASE 29*/ + {"For region us-isof-south-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", true)}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"DualStack is enabled but this partition does not support DualStack"} // expect + }, + /*TEST CASE 30*/ + {"For region us-isof-south-1 with FIPS disabled and DualStack disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isof-south-1"), EpParam("UseDualStack", false)}, // params + {}, // tags + {{/*epUrl*/"https://account.us-isof-south-1.csp.hci.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 31*/ {"Missing region", // documentation {}, // params {}, // tags diff --git a/generated/tests/backupsearch-gen-tests/BackupSearchEndpointProviderTests.cpp b/generated/tests/backupsearch-gen-tests/BackupSearchEndpointProviderTests.cpp new file mode 100644 index 00000000000..9edffa78ced --- /dev/null +++ b/generated/tests/backupsearch-gen-tests/BackupSearchEndpointProviderTests.cpp @@ -0,0 +1,371 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include + +#include + + +static const char* ALLOCATION_TAG = "AWSBackupSearchEndpointProviderTests"; +using BackupSearchEndpointProvider = Aws::BackupSearch::Endpoint::BackupSearchEndpointProvider; +using EndpointParameters = Aws::Vector; +using ResolveEndpointOutcome = Aws::Endpoint::ResolveEndpointOutcome; + +using EpParam = Aws::Endpoint::EndpointParameter; +using EpProp = Aws::Endpoint::EndpointParameter; // just a container to store test expectations +using ExpEpProps = Aws::UnorderedMap>>; +using ExpEpAuthScheme = Aws::Vector; +using ExpEpHeaders = Aws::UnorderedMap>; + +struct BackupSearchEndpointProviderEndpointTestCase +{ + using OperationParamsFromTest = EndpointParameters; + + struct Expect + { + struct Endpoint + { + Aws::String url; + ExpEpAuthScheme authScheme; + ExpEpProps properties; + ExpEpHeaders headers; + } endpoint; + Aws::String error; + }; + struct OperationInput + { + Aws::String operationName; + OperationParamsFromTest operationParams; + OperationParamsFromTest builtinParams; + OperationParamsFromTest clientParams; + }; + + Aws::String documentation; + // Specification tells us it is Client Initialization parameters + // At the same time, specification tells us to test EndpointProvider not the client itself + // Hence params here will be set as a client params (just like a dedicated field above). + Aws::Vector params; + Aws::Vector tags; + Expect expect; + // Aws::Vector operationInput; +}; + +class BackupSearchEndpointProviderTests : public ::testing::TestWithParam +{ +public: + static const size_t TEST_CASES_SZ; +protected: + static Aws::Vector getTestCase(); + static Aws::UniquePtrSafeDeleted> TEST_CASES; + static void SetUpTestSuite() + { + TEST_CASES = Aws::MakeUniqueSafeDeleted>(ALLOCATION_TAG, getTestCase()); + ASSERT_TRUE(TEST_CASES) << "Failed to allocate TEST_CASES table"; + assert(TEST_CASES->size() == TEST_CASES_SZ); + } + + static void TearDownTestSuite() + { + TEST_CASES.reset(); + } +}; + +Aws::UniquePtrSafeDeleted> BackupSearchEndpointProviderTests::TEST_CASES; +const size_t BackupSearchEndpointProviderTests::TEST_CASES_SZ = 17; + +Aws::Vector BackupSearchEndpointProviderTests::getTestCase() { + + Aws::Vector test_cases = { + /*TEST CASE 0*/ + {"For custom endpoint with region not set and fips disabled", // documentation + {EpParam("UseFIPS", false), EpParam("Endpoint", "https://example.com")}, // params + {}, // tags + {{/*epUrl*/"https://example.com", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 1*/ + {"For custom endpoint with fips enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Endpoint", "https://example.com")}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: FIPS and custom endpoint are not supported"} // expect + }, + /*TEST CASE 2*/ + {"For region us-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-east-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search-fips.us-east-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 3*/ + {"For region us-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-east-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search.us-east-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 4*/ + {"For region cn-northwest-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "cn-northwest-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search-fips.cn-northwest-1.api.amazonwebservices.com.cn", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 5*/ + {"For region cn-northwest-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "cn-northwest-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search.cn-northwest-1.api.amazonwebservices.com.cn", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 6*/ + {"For region us-gov-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-gov-west-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search-fips.us-gov-west-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 7*/ + {"For region us-gov-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-gov-west-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search.us-gov-west-1.api.aws", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 8*/ + {"For region us-iso-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-iso-east-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search-fips.us-iso-east-1.c2s.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 9*/ + {"For region us-iso-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-iso-east-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search.us-iso-east-1.c2s.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 10*/ + {"For region us-isob-east-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isob-east-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search-fips.us-isob-east-1.sc2s.sgov.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 11*/ + {"For region us-isob-east-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isob-east-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search.us-isob-east-1.sc2s.sgov.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 12*/ + {"For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "eu-isoe-west-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search-fips.eu-isoe-west-1.cloud.adc-e.uk", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 13*/ + {"For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "eu-isoe-west-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search.eu-isoe-west-1.cloud.adc-e.uk", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 14*/ + {"For region us-isof-south-1 with FIPS enabled and DualStack enabled", // documentation + {EpParam("UseFIPS", true), EpParam("Region", "us-isof-south-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search-fips.us-isof-south-1.csp.hci.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 15*/ + {"For region us-isof-south-1 with FIPS disabled and DualStack enabled", // documentation + {EpParam("UseFIPS", false), EpParam("Region", "us-isof-south-1")}, // params + {}, // tags + {{/*epUrl*/"https://backup-search.us-isof-south-1.csp.hci.ic.gov", + {/*authScheme*/}, + {/*properties*/}, + {/*headers*/}}, {/*No error*/}} // expect + }, + /*TEST CASE 16*/ + {"Missing region", // documentation + {}, // params + {}, // tags + {{/*No endpoint expected*/}, /*error*/"Invalid Configuration: Missing Region"} // expect + } + }; + return test_cases; +} + +Aws::String RulesToSdkSignerName(const Aws::String& rulesSignerName) +{ + Aws::String sdkSigner = "NullSigner"; + if (rulesSignerName == "sigv4") { + sdkSigner = "SignatureV4"; + } else if (rulesSignerName == "sigv4a") { + sdkSigner = "AsymmetricSignatureV4"; + } else if (rulesSignerName == "none") { + sdkSigner = "NullSigner"; + } else if (rulesSignerName == "bearer") { + sdkSigner = "Bearer"; + } else if (rulesSignerName == "s3Express") { + sdkSigner = "S3ExpressSigner"; + } else { + sdkSigner = rulesSignerName; + } + + return sdkSigner; +} + +void ValidateOutcome(const ResolveEndpointOutcome& outcome, const BackupSearchEndpointProviderEndpointTestCase::Expect& expect) +{ + if(!expect.error.empty()) + { + ASSERT_FALSE(outcome.IsSuccess()) << "Expected failure with message:\n" << expect.error; + ASSERT_EQ(outcome.GetError().GetMessage(), expect.error); + } + else + { + AWS_ASSERT_SUCCESS(outcome); + ASSERT_EQ(outcome.GetResult().GetURL(), expect.endpoint.url); + const auto expAuthSchemesIt = expect.endpoint.properties.find("authSchemes"); + if (expAuthSchemesIt != expect.endpoint.properties.end()) + { + // in the list of AuthSchemes, select the one with a highest priority + const Aws::Vector priotityList = {"s3Express", "sigv4a", "sigv4", "bearer", "none", ""}; + const auto expectedAuthSchemePropsIt = std::find_first_of(expAuthSchemesIt->second.begin(), expAuthSchemesIt->second.end(), + priotityList.begin(), priotityList.end(), [](const Aws::Vector& props, const Aws::String& expName) + { + const auto& propNameIt = std::find_if(props.begin(), props.end(), [](const EpProp& prop) + { + return prop.GetName() == "name"; + }); + assert(propNameIt != props.end()); + return propNameIt->GetStrValueNoCheck() == expName; + }); + assert(expectedAuthSchemePropsIt != expAuthSchemesIt->second.end()); + + const auto& endpointResultAttrs = outcome.GetResult().GetAttributes(); + ASSERT_TRUE(endpointResultAttrs) << "Expected non-empty EndpointAttributes (authSchemes)"; + for (const auto& expProperty : *expectedAuthSchemePropsIt) + { + if (expProperty.GetName() == "name") { + ASSERT_TRUE(!endpointResultAttrs->authScheme.GetName().empty()); + ASSERT_EQ(RulesToSdkSignerName(expProperty.GetStrValueNoCheck()), endpointResultAttrs->authScheme.GetName()); + } else if (expProperty.GetName() == "signingName") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetSigningName()); + ASSERT_EQ(expProperty.GetStrValueNoCheck(), endpointResultAttrs->authScheme.GetSigningName().value()); + } else if (expProperty.GetName() == "signingRegion") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetSigningRegion()); + ASSERT_EQ(expProperty.GetStrValueNoCheck(), endpointResultAttrs->authScheme.GetSigningRegion().value()); + } else if (expProperty.GetName() == "signingRegionSet") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetSigningRegionSet()); + ASSERT_EQ(expProperty.GetStrValueNoCheck(), endpointResultAttrs->authScheme.GetSigningRegionSet().value()); + } else if (expProperty.GetName() == "disableDoubleEncoding") { + ASSERT_TRUE(endpointResultAttrs->authScheme.GetDisableDoubleEncoding()); + ASSERT_EQ(expProperty.GetBoolValueNoCheck(), endpointResultAttrs->authScheme.GetDisableDoubleEncoding().value()); + } else { + FAIL() << "Unsupported Auth type property " << expProperty.GetName() << ". Need to update test."; + } + } + } + + EXPECT_EQ(expect.endpoint.headers.empty(), outcome.GetResult().GetHeaders().empty()); + for(const auto& expHeaderVec : expect.endpoint.headers) + { + const auto& retHeaderIt = outcome.GetResult().GetHeaders().find(expHeaderVec.first); + ASSERT_TRUE(retHeaderIt != outcome.GetResult().GetHeaders().end()); + + auto retHeaderVec = Aws::Utils::StringUtils::Split(retHeaderIt->second, ';'); + std::sort(retHeaderVec.begin(), retHeaderVec.end()); + + auto expHeaderVecSorted = expHeaderVec.second; + std::sort(expHeaderVecSorted.begin(), expHeaderVecSorted.end()); + + ASSERT_EQ(expHeaderVecSorted, retHeaderVec); + } + } +} + +TEST_P(BackupSearchEndpointProviderTests, EndpointProviderTest) +{ + const size_t TEST_CASE_IDX = GetParam(); + ASSERT_LT(TEST_CASE_IDX, TEST_CASES->size()) << "Something is wrong with the test fixture itself."; + const BackupSearchEndpointProviderEndpointTestCase& TEST_CASE = TEST_CASES->at(TEST_CASE_IDX); + SCOPED_TRACE(Aws::String("\nTEST CASE # ") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX) + ": " + TEST_CASE.documentation); + SCOPED_TRACE(Aws::String("\n--gtest_filter=EndpointTestsFromModel/BackupSearchEndpointProviderTests.EndpointProviderTest/") + Aws::Utils::StringUtils::to_string(TEST_CASE_IDX)); + + std::shared_ptr endpointProvider = Aws::MakeShared(ALLOCATION_TAG); + ASSERT_TRUE(endpointProvider) << "Failed to allocate/initialize BackupSearchEndpointProvider"; + + EndpointParameters endpointParameters; + for(const auto& param : TEST_CASE.params) + { + endpointParameters.emplace(endpointParameters.end(), Aws::Endpoint::EndpointParameter(param)); + } + auto resolvedEndpointOutcome = endpointProvider->ResolveEndpoint(endpointParameters); + ValidateOutcome(resolvedEndpointOutcome, TEST_CASE.expect); + +#if 0 // temporarily disabled + for(const auto& operation : TEST_CASE.operationInput) + { + /* + * Most specific to least specific value locations: + staticContextParams + contextParam + clientContextParams + Built-In Bindings + Built-in binding default values + */ + const Aws::Vector> + operationInputParams = {std::cref(operation.builtinParams), std::cref(operation.clientParams), std::cref(operation.operationParams)}; + + for(const auto& paramSource : operationInputParams) + { + for(const auto& param : paramSource.get()) + { + endpointParameters.emplace(endpointParameters.end(), Aws::Endpoint::EndpointParameter(param)); + } + } + auto resolvedEndpointOutcomePerOperation = endpointProvider->ResolveEndpoint(endpointParameters); + ValidateOutcome(resolvedEndpointOutcomePerOperation, TEST_CASE.expect); + } +#endif +} + +INSTANTIATE_TEST_SUITE_P(EndpointTestsFromModel, + BackupSearchEndpointProviderTests, + ::testing::Range((size_t) 0u, BackupSearchEndpointProviderTests::TEST_CASES_SZ)); diff --git a/generated/tests/backupsearch-gen-tests/CMakeLists.txt b/generated/tests/backupsearch-gen-tests/CMakeLists.txt new file mode 100644 index 00000000000..252b84c7a61 --- /dev/null +++ b/generated/tests/backupsearch-gen-tests/CMakeLists.txt @@ -0,0 +1,42 @@ +add_project(backupsearch-gen-tests + "Tests for the AWS BACKUPSEARCH C++ SDK" + testing-resources + aws-cpp-sdk-backupsearch + aws-cpp-sdk-core) + +file(GLOB AWS_BACKUPSEARCH_GENERATED_TEST_SRC + "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" +) + +if(MSVC AND BUILD_SHARED_LIBS) + add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1) +endif() + +if (CMAKE_CROSSCOMPILING) + set(AUTORUN_UNIT_TESTS OFF) +endif() + +if (AUTORUN_UNIT_TESTS) + enable_testing() +endif() + +if(PLATFORM_ANDROID AND BUILD_SHARED_LIBS) + add_library(${PROJECT_NAME} "${AWS_BACKUPSEARCH_GENERATED_TEST_SRC}") +else() + add_executable(${PROJECT_NAME} "${AWS_BACKUPSEARCH_GENERATED_TEST_SRC}") +endif() + +set_compiler_flags(${PROJECT_NAME}) +set_compiler_warnings(${PROJECT_NAME}) + +target_link_libraries(${PROJECT_NAME} ${PROJECT_LIBS}) + +if (AUTORUN_UNIT_TESTS) + ADD_CUSTOM_COMMAND( TARGET ${PROJECT_NAME} POST_BUILD + COMMAND ${CMAKE_COMMAND} -E env LD_LIBRARY_PATH=${AWS_AUTORUN_LD_LIBRARY_PATH}:$ENV{LD_LIBRARY_PATH} $ + ARGS "--gtest_brief=1") +endif() + +if(NOT CMAKE_CROSSCOMPILING) + SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES OUTPUT_NAME ${PROJECT_NAME}) +endif() \ No newline at end of file diff --git a/generated/tests/backupsearch-gen-tests/RunTests.cpp b/generated/tests/backupsearch-gen-tests/RunTests.cpp new file mode 100644 index 00000000000..f2f10a7c789 --- /dev/null +++ b/generated/tests/backupsearch-gen-tests/RunTests.cpp @@ -0,0 +1,29 @@ +/** + * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + * SPDX-License-Identifier: Apache-2.0. + */ + +#include +#include +#include +#include +#include + +int main(int argc, char** argv) +{ + Aws::SDKOptions options; + options.loggingOptions.logLevel = Aws::Utils::Logging::LogLevel::Trace; + + AWS_BEGIN_MEMORY_TEST_EX(options, 1024, 128); + Aws::Testing::InitPlatformTest(options); + Aws::Testing::ParseArgs(argc, argv); + + Aws::InitAPI(options); + ::testing::InitGoogleTest(&argc, argv); + int exitCode = RUN_ALL_TESTS(); + Aws::ShutdownAPI(options); + + AWS_END_MEMORY_TEST_EX; + Aws::Testing::ShutdownPlatformTest(options); + return exitCode; +} diff --git a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h index af2df1b9759..6397b72e5f6 100644 --- a/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h +++ b/src/aws-cpp-sdk-core/include/aws/core/VersionConfig.h @@ -4,7 +4,7 @@ */ #pragma once -#define AWS_SDK_VERSION_STRING "1.11.468" +#define AWS_SDK_VERSION_STRING "1.11.469" #define AWS_SDK_VERSION_MAJOR 1 #define AWS_SDK_VERSION_MINOR 11 -#define AWS_SDK_VERSION_PATCH 468 +#define AWS_SDK_VERSION_PATCH 469 diff --git a/tools/code-generation/api-descriptions/account-2021-02-01.normal.json b/tools/code-generation/api-descriptions/account-2021-02-01.normal.json index 5620b7d1c0f..821c3d79e92 100644 --- a/tools/code-generation/api-descriptions/account-2021-02-01.normal.json +++ b/tools/code-generation/api-descriptions/account-2021-02-01.normal.json @@ -5,11 +5,13 @@ "endpointPrefix":"account", "jsonVersion":"1.1", "protocol":"rest-json", + "protocols":["rest-json"], "serviceFullName":"AWS Account", "serviceId":"Account", "signatureVersion":"v4", "signingName":"account", - "uid":"account-2021-02-01" + "uid":"account-2021-02-01", + "auth":["aws.auth#sigv4"] }, "operations":{ "AcceptPrimaryEmailUpdate":{ diff --git a/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json b/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json index 4adb46a3188..4727e6f741e 100644 --- a/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json +++ b/tools/code-generation/api-descriptions/backup-2018-11-15.normal.json @@ -722,6 +722,23 @@ "documentation":"

    This action returns details for a specified legal hold. The details are the body of a legal hold in JSON format, in addition to metadata.

    ", "idempotent":true }, + "GetRecoveryPointIndexDetails":{ + "name":"GetRecoveryPointIndexDetails", + "http":{ + "method":"GET", + "requestUri":"/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/index" + }, + "input":{"shape":"GetRecoveryPointIndexDetailsInput"}, + "output":{"shape":"GetRecoveryPointIndexDetailsOutput"}, + "errors":[ + {"shape":"MissingParameterValueException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceUnavailableException"} + ], + "documentation":"

    This operation returns the metadata and details specific to the backup index associated with the specified recovery point.

    ", + "idempotent":true + }, "GetRecoveryPointRestoreMetadata":{ "name":"GetRecoveryPointRestoreMetadata", "http":{ @@ -969,6 +986,22 @@ ], "documentation":"

    Returns a list of all frameworks for an Amazon Web Services account and Amazon Web Services Region.

    " }, + "ListIndexedRecoveryPoints":{ + "name":"ListIndexedRecoveryPoints", + "http":{ + "method":"GET", + "requestUri":"/indexes/recovery-point/" + }, + "input":{"shape":"ListIndexedRecoveryPointsInput"}, + "output":{"shape":"ListIndexedRecoveryPointsOutput"}, + "errors":[ + {"shape":"InvalidParameterValueException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceUnavailableException"} + ], + "documentation":"

    This operation returns a list of recovery points that have an associated index, belonging to the specified account.

    Optional parameters you can include are: MaxResults; NextToken; SourceResourceArns; CreatedBefore; CreatedAfter; and ResourceType.

    ", + "idempotent":true + }, "ListLegalHolds":{ "name":"ListLegalHolds", "http":{ @@ -1429,6 +1462,24 @@ ], "documentation":"

    Updates whether the Amazon Web Services account is opted in to cross-account backup. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings API to determine the current settings.

    " }, + "UpdateRecoveryPointIndexSettings":{ + "name":"UpdateRecoveryPointIndexSettings", + "http":{ + "method":"POST", + "requestUri":"/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/index" + }, + "input":{"shape":"UpdateRecoveryPointIndexSettingsInput"}, + "output":{"shape":"UpdateRecoveryPointIndexSettingsOutput"}, + "errors":[ + {"shape":"MissingParameterValueException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"InvalidRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ServiceUnavailableException"} + ], + "documentation":"

    This operation updates the settings of a recovery point index.

    Required: BackupVaultName, RecoveryPointArn, and IAMRoleArn

    ", + "idempotent":true + }, "UpdateRecoveryPointLifecycle":{ "name":"UpdateRecoveryPointLifecycle", "http":{ @@ -1938,6 +1989,10 @@ "ScheduleExpressionTimezone":{ "shape":"Timezone", "documentation":"

    The timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.

    " + }, + "IndexActions":{ + "shape":"IndexActions", + "documentation":"

    IndexActions is an array you use to specify how backup data should be indexed.

    eEach BackupRule can have 0 or 1 IndexAction, as each backup can have up to one index associated with it.

    Within the array is ResourceType. Only one will be accepted for each BackupRule.

    " } }, "documentation":"

    Specifies a scheduled task used to back up a selection of resources.

    " @@ -1988,6 +2043,10 @@ "ScheduleExpressionTimezone":{ "shape":"Timezone", "documentation":"

    The timezone in which the schedule expression is set. By default, ScheduleExpressions are in UTC. You can modify this to a specified timezone.

    " + }, + "IndexActions":{ + "shape":"IndexActions", + "documentation":"

    There can up to one IndexAction in each BackupRule, as each backup can have 0 or 1 backup index associated with it.

    Within the array is ResourceTypes. Only 1 resource type will be accepted for each BackupRule. Valid values:

    • EBS for Amazon Elastic Block Store

    • S3 for Amazon Simple Storage Service (Amazon S3)

    " } }, "documentation":"

    Specifies a scheduled task used to back up a selection of resources.

    " @@ -3627,6 +3686,14 @@ "VaultType":{ "shape":"VaultType", "documentation":"

    The type of vault in which the described recovery point is stored.

    " + }, + "IndexStatus":{ + "shape":"IndexStatus", + "documentation":"

    This is the current status for the backup index associated with the specified recovery point.

    Statuses are: PENDING | ACTIVE | FAILED | DELETING

    A recovery point with an index that has the status of ACTIVE can be included in a search.

    " + }, + "IndexStatusMessage":{ + "shape":"string", + "documentation":"

    A string in the form of a detailed message explaining the status of a backup index associated with the recovery point.

    " } } }, @@ -4183,6 +4250,68 @@ } } }, + "GetRecoveryPointIndexDetailsInput":{ + "type":"structure", + "required":[ + "BackupVaultName", + "RecoveryPointArn" + ], + "members":{ + "BackupVaultName":{ + "shape":"BackupVaultName", + "documentation":"

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.

    Accepted characters include lowercase letters, numbers, and hyphens.

    ", + "location":"uri", + "locationName":"backupVaultName" + }, + "RecoveryPointArn":{ + "shape":"ARN", + "documentation":"

    An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

    ", + "location":"uri", + "locationName":"recoveryPointArn" + } + } + }, + "GetRecoveryPointIndexDetailsOutput":{ + "type":"structure", + "members":{ + "RecoveryPointArn":{ + "shape":"ARN", + "documentation":"

    An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

    " + }, + "BackupVaultArn":{ + "shape":"ARN", + "documentation":"

    An ARN that uniquely identifies the backup vault where the recovery point index is stored.

    For example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.

    " + }, + "SourceResourceArn":{ + "shape":"ARN", + "documentation":"

    A string of the Amazon Resource Name (ARN) that uniquely identifies the source resource.

    " + }, + "IndexCreationDate":{ + "shape":"timestamp", + "documentation":"

    The date and time that a backup index was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "IndexDeletionDate":{ + "shape":"timestamp", + "documentation":"

    The date and time that a backup index was deleted, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "IndexCompletionDate":{ + "shape":"timestamp", + "documentation":"

    The date and time that a backup index finished creation, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "IndexStatus":{ + "shape":"IndexStatus", + "documentation":"

    This is the current status for the backup index associated with the specified recovery point.

    Statuses are: PENDING | ACTIVE | FAILED | DELETING

    A recovery point with an index that has the status of ACTIVE can be included in a search.

    " + }, + "IndexStatusMessage":{ + "shape":"string", + "documentation":"

    A detailed message explaining the status of a backup index associated with the recovery point.

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

    Count of items within the backup index associated with the recovery point.

    " + } + } + }, "GetRecoveryPointRestoreMetadataInput":{ "type":"structure", "required":[ @@ -4364,6 +4493,82 @@ "GlobalSettingsValue":{"type":"string"}, "IAMPolicy":{"type":"string"}, "IAMRoleArn":{"type":"string"}, + "Index":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "IndexAction":{ + "type":"structure", + "members":{ + "ResourceTypes":{ + "shape":"ResourceTypes", + "documentation":"

    0 or 1 index action will be accepted for each BackupRule.

    Valid values:

    • EBS for Amazon Elastic Block Store

    • S3 for Amazon Simple Storage Service (Amazon S3)

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

    This is an optional array within a BackupRule.

    IndexAction consists of one ResourceTypes.

    " + }, + "IndexActions":{ + "type":"list", + "member":{"shape":"IndexAction"} + }, + "IndexStatus":{ + "type":"string", + "enum":[ + "PENDING", + "ACTIVE", + "FAILED", + "DELETING" + ] + }, + "IndexedRecoveryPoint":{ + "type":"structure", + "members":{ + "RecoveryPointArn":{ + "shape":"ARN", + "documentation":"

    An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45

    " + }, + "SourceResourceArn":{ + "shape":"ARN", + "documentation":"

    A string of the Amazon Resource Name (ARN) that uniquely identifies the source resource.

    " + }, + "IamRoleArn":{ + "shape":"ARN", + "documentation":"

    This specifies the IAM role ARN used for this operation.

    For example, arn:aws:iam::123456789012:role/S3Access

    " + }, + "BackupCreationDate":{ + "shape":"timestamp", + "documentation":"

    The date and time that a backup was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

    The resource type of the indexed recovery point.

    • EBS for Amazon Elastic Block Store

    • S3 for Amazon Simple Storage Service (Amazon S3)

    " + }, + "IndexCreationDate":{ + "shape":"timestamp", + "documentation":"

    The date and time that a backup index was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "IndexStatus":{ + "shape":"IndexStatus", + "documentation":"

    This is the current status for the backup index associated with the specified recovery point.

    Statuses are: PENDING | ACTIVE | FAILED | DELETING

    A recovery point with an index that has the status of ACTIVE can be included in a search.

    " + }, + "IndexStatusMessage":{ + "shape":"string", + "documentation":"

    A string in the form of a detailed message explaining the status of a backup index associated with the recovery point.

    " + }, + "BackupVaultArn":{ + "shape":"ARN", + "documentation":"

    An ARN that uniquely identifies the backup vault where the recovery point index is stored.

    For example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.

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

    This is a recovery point that has an associated backup index.

    Only recovery points with a backup index can be included in a search.

    " + }, + "IndexedRecoveryPointList":{ + "type":"list", + "member":{"shape":"IndexedRecoveryPoint"} + }, "InvalidParameterValueException":{ "type":"structure", "members":{ @@ -5052,6 +5257,66 @@ } } }, + "ListIndexedRecoveryPointsInput":{ + "type":"structure", + "members":{ + "NextToken":{ + "shape":"string", + "documentation":"

    The next item following a partial list of returned recovery points.

    For example, if a request is made to return MaxResults number of indexed recovery points, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

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

    The maximum number of resource list items to be returned.

    ", + "location":"querystring", + "locationName":"maxResults" + }, + "SourceResourceArn":{ + "shape":"ARN", + "documentation":"

    A string of the Amazon Resource Name (ARN) that uniquely identifies the source resource.

    ", + "location":"querystring", + "locationName":"sourceResourceArn" + }, + "CreatedBefore":{ + "shape":"timestamp", + "documentation":"

    Returns only indexed recovery points that were created before the specified date.

    ", + "location":"querystring", + "locationName":"createdBefore" + }, + "CreatedAfter":{ + "shape":"timestamp", + "documentation":"

    Returns only indexed recovery points that were created after the specified date.

    ", + "location":"querystring", + "locationName":"createdAfter" + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

    Returns a list of indexed recovery points for the specified resource type(s).

    Accepted values include:

    • EBS for Amazon Elastic Block Store

    • S3 for Amazon Simple Storage Service (Amazon S3)

    ", + "location":"querystring", + "locationName":"resourceType" + }, + "IndexStatus":{ + "shape":"IndexStatus", + "documentation":"

    Include this parameter to filter the returned list by the indicated statuses.

    Accepted values: PENDING | ACTIVE | FAILED | DELETING

    A recovery point with an index that has the status of ACTIVE can be included in a search.

    ", + "location":"querystring", + "locationName":"indexStatus" + } + } + }, + "ListIndexedRecoveryPointsOutput":{ + "type":"structure", + "members":{ + "IndexedRecoveryPoints":{ + "shape":"IndexedRecoveryPointList", + "documentation":"

    This is a list of recovery points that have an associated index, belonging to the specified account.

    " + }, + "NextToken":{ + "shape":"string", + "documentation":"

    The next item following a partial list of returned recovery points.

    For example, if a request is made to return MaxResults number of indexed recovery points, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    " + } + } + }, "ListLegalHoldsInput":{ "type":"structure", "members":{ @@ -5979,6 +6244,14 @@ "VaultType":{ "shape":"VaultType", "documentation":"

    The type of vault in which the described recovery point is stored.

    " + }, + "IndexStatus":{ + "shape":"IndexStatus", + "documentation":"

    This is the current status for the backup index associated with the specified recovery point.

    Statuses are: PENDING | ACTIVE | FAILED | DELETING

    A recovery point with an index that has the status of ACTIVE can be included in a search.

    " + }, + "IndexStatusMessage":{ + "shape":"string", + "documentation":"

    A string in the form of a detailed message explaining the status of a backup index associated with the recovery point.

    " } }, "documentation":"

    Contains detailed information about the recovery points stored in a backup vault.

    " @@ -6033,6 +6306,14 @@ "VaultType":{ "shape":"VaultType", "documentation":"

    The type of vault in which the described recovery point is stored.

    " + }, + "IndexStatus":{ + "shape":"IndexStatus", + "documentation":"

    This is the current status for the backup index associated with the specified recovery point.

    Statuses are: PENDING | ACTIVE | FAILED | DELETING

    A recovery point with an index that has the status of ACTIVE can be included in a search.

    " + }, + "IndexStatusMessage":{ + "shape":"string", + "documentation":"

    A string in the form of a detailed message explaining the status of a backup index associated with the recovery point.

    " } }, "documentation":"

    Contains detailed information about a saved recovery point.

    " @@ -6925,6 +7206,10 @@ "BackupOptions":{ "shape":"BackupOptions", "documentation":"

    The backup option for a selected resource. This option is only available for Windows Volume Shadow Copy Service (VSS) backup jobs.

    Valid values: Set to \"WindowsVSS\":\"enabled\" to enable the WindowsVSS backup option and create a Windows VSS backup. Set to \"WindowsVSS\"\"disabled\" to create a regular backup. The WindowsVSS option is not enabled by default.

    " + }, + "Index":{ + "shape":"Index", + "documentation":"

    Include this parameter to enable index creation if your backup job has a resource type that supports backup indexes.

    Resource types that support backup indexes include:

    • EBS for Amazon Elastic Block Store

    • S3 for Amazon Simple Storage Service (Amazon S3)

    Index can have 1 of 2 possible values, either ENABLED or DISABLED.

    To create a backup index for an eligible ACTIVE recovery point that does not yet have a backup index, set value to ENABLED.

    To delete a backup index, set value to DISABLED.

    " } } }, @@ -7235,6 +7520,57 @@ } } }, + "UpdateRecoveryPointIndexSettingsInput":{ + "type":"structure", + "required":[ + "BackupVaultName", + "RecoveryPointArn", + "Index" + ], + "members":{ + "BackupVaultName":{ + "shape":"BackupVaultName", + "documentation":"

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.

    Accepted characters include lowercase letters, numbers, and hyphens.

    ", + "location":"uri", + "locationName":"backupVaultName" + }, + "RecoveryPointArn":{ + "shape":"ARN", + "documentation":"

    An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

    ", + "location":"uri", + "locationName":"recoveryPointArn" + }, + "IamRoleArn":{ + "shape":"IAMRoleArn", + "documentation":"

    This specifies the IAM role ARN used for this operation.

    For example, arn:aws:iam::123456789012:role/S3Access

    " + }, + "Index":{ + "shape":"Index", + "documentation":"

    Index can have 1 of 2 possible values, either ENABLED or DISABLED.

    To create a backup index for an eligible ACTIVE recovery point that does not yet have a backup index, set value to ENABLED.

    To delete a backup index, set value to DISABLED.

    " + } + } + }, + "UpdateRecoveryPointIndexSettingsOutput":{ + "type":"structure", + "members":{ + "BackupVaultName":{ + "shape":"BackupVaultName", + "documentation":"

    The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.

    " + }, + "RecoveryPointArn":{ + "shape":"ARN", + "documentation":"

    An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

    " + }, + "IndexStatus":{ + "shape":"IndexStatus", + "documentation":"

    This is the current status for the backup index associated with the specified recovery point.

    Statuses are: PENDING | ACTIVE | FAILED | DELETING

    A recovery point with an index that has the status of ACTIVE can be included in a search.

    " + }, + "Index":{ + "shape":"Index", + "documentation":"

    Index can have 1 of 2 possible values, either ENABLED or DISABLED.

    A value of ENABLED means a backup index for an eligible ACTIVE recovery point has been created.

    A value of DISABLED means a backup index was deleted.

    " + } + } + }, "UpdateRecoveryPointLifecycleInput":{ "type":"structure", "required":[ diff --git a/tools/code-generation/api-descriptions/backupsearch-2018-05-10.normal.json b/tools/code-generation/api-descriptions/backupsearch-2018-05-10.normal.json new file mode 100644 index 00000000000..28b36780aba --- /dev/null +++ b/tools/code-generation/api-descriptions/backupsearch-2018-05-10.normal.json @@ -0,0 +1,1471 @@ +{ + "version":"2.0", + "metadata":{ + "apiVersion":"2018-05-10", + "auth":["aws.auth#sigv4"], + "endpointPrefix":"backup-search", + "protocol":"rest-json", + "protocols":["rest-json"], + "serviceFullName":"AWS Backup Search", + "serviceId":"BackupSearch", + "signatureVersion":"v4", + "signingName":"backup-search", + "uid":"backupsearch-2018-05-10" + }, + "operations":{ + "GetSearchJob":{ + "name":"GetSearchJob", + "http":{ + "method":"GET", + "requestUri":"/search-jobs/{SearchJobIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetSearchJobInput"}, + "output":{"shape":"GetSearchJobOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    This operation retrieves metadata of a search job, including its progress.

    " + }, + "GetSearchResultExportJob":{ + "name":"GetSearchResultExportJob", + "http":{ + "method":"GET", + "requestUri":"/export-search-jobs/{ExportJobIdentifier}", + "responseCode":200 + }, + "input":{"shape":"GetSearchResultExportJobInput"}, + "output":{"shape":"GetSearchResultExportJobOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    This operation retrieves the metadata of an export job.

    An export job is an operation that transmits the results of a search job to a specified S3 bucket in a .csv file.

    An export job allows you to retain results of a search beyond the search job's scheduled retention of 7 days.

    " + }, + "ListSearchJobBackups":{ + "name":"ListSearchJobBackups", + "http":{ + "method":"GET", + "requestUri":"/search-jobs/{SearchJobIdentifier}/backups", + "responseCode":200 + }, + "input":{"shape":"ListSearchJobBackupsInput"}, + "output":{"shape":"ListSearchJobBackupsOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    This operation returns a list of all backups (recovery points) in a paginated format that were included in the search job.

    If a search does not display an expected backup in the results, you can call this operation to display each backup included in the search. Any backups that were not included because they have a FAILED status from a permissions issue will be displayed, along with a status message.

    Only recovery points with a backup index that has a status of ACTIVE will be included in search results. If the index has any other status, its status will be displayed along with a status message.

    " + }, + "ListSearchJobResults":{ + "name":"ListSearchJobResults", + "http":{ + "method":"GET", + "requestUri":"/search-jobs/{SearchJobIdentifier}/search-results", + "responseCode":200 + }, + "input":{"shape":"ListSearchJobResultsInput"}, + "output":{"shape":"ListSearchJobResultsOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    This operation returns a list of a specified search job.

    " + }, + "ListSearchJobs":{ + "name":"ListSearchJobs", + "http":{ + "method":"GET", + "requestUri":"/search-jobs", + "responseCode":200 + }, + "input":{"shape":"ListSearchJobsInput"}, + "output":{"shape":"ListSearchJobsOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"} + ], + "documentation":"

    This operation returns a list of search jobs belonging to an account.

    " + }, + "ListSearchResultExportJobs":{ + "name":"ListSearchResultExportJobs", + "http":{ + "method":"GET", + "requestUri":"/export-search-jobs", + "responseCode":200 + }, + "input":{"shape":"ListSearchResultExportJobsInput"}, + "output":{"shape":"ListSearchResultExportJobsOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"

    This operation exports search results of a search job to a specified destination S3 bucket.

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

    This operation returns the tags for a resource type.

    " + }, + "StartSearchJob":{ + "name":"StartSearchJob", + "http":{ + "method":"PUT", + "requestUri":"/search-jobs", + "responseCode":200 + }, + "input":{"shape":"StartSearchJobInput"}, + "output":{"shape":"StartSearchJobOutput"}, + "errors":[ + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"} + ], + "documentation":"

    This operation creates a search job which returns recovery points filtered by SearchScope and items filtered by ItemFilters.

    You can optionally include ClientToken, EncryptionKeyArn, Name, and/or Tags.

    ", + "idempotent":true + }, + "StartSearchResultExportJob":{ + "name":"StartSearchResultExportJob", + "http":{ + "method":"PUT", + "requestUri":"/export-search-jobs", + "responseCode":200 + }, + "input":{"shape":"StartSearchResultExportJobInput"}, + "output":{"shape":"StartSearchResultExportJobOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"ConflictException"} + ], + "documentation":"

    This operations starts a job to export the results of search job to a designated S3 bucket.

    ", + "idempotent":true + }, + "StopSearchJob":{ + "name":"StopSearchJob", + "http":{ + "method":"PUT", + "requestUri":"/search-jobs/{SearchJobIdentifier}/actions/cancel", + "responseCode":200 + }, + "input":{"shape":"StopSearchJobInput"}, + "output":{"shape":"StopSearchJobOutput"}, + "errors":[ + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ConflictException"} + ], + "documentation":"

    This operations ends a search job.

    Only a search job with a status of RUNNING can be stopped.

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

    This operation puts tags on the resource you indicate.

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

    This operation removes tags from the specified resource.

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

    User does not have sufficient access to perform this action.

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

    You do not have sufficient access to perform this action.

    ", + "error":{ + "httpStatusCode":403, + "senderFault":true + }, + "exception":true + }, + "BackupCreationTimeFilter":{ + "type":"structure", + "members":{ + "CreatedAfter":{ + "shape":"Timestamp", + "documentation":"

    This timestamp includes recovery points only created after the specified time.

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

    This timestamp includes recovery points only created before the specified time.

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

    This filters by recovery points within the CreatedAfter and CreatedBefore timestamps.

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

    Updating or deleting a resource can cause an inconsistent state.

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

    Identifier of the resource affected.

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

    Type of the resource affected.

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

    This exception occurs when a conflict with a previous successful operation is detected. This generally occurs when the previous operation did not have time to propagate to the host serving the current request.

    A retry (with appropriate backoff logic) is the recommended response to this exception.

    ", + "error":{ + "httpStatusCode":409, + "senderFault":true + }, + "exception":true + }, + "CurrentSearchProgress":{ + "type":"structure", + "members":{ + "RecoveryPointsScannedCount":{ + "shape":"Integer", + "documentation":"

    This number is the sum of all backups that have been scanned so far during a search job.

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

    This number is the sum of all items that have been scanned so far during a search job.

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

    This number is the sum of all items that match the item filters in a search job in progress.

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

    This contains information results retrieved from a search job that may not have completed.

    " + }, + "EBSItemFilter":{ + "type":"structure", + "members":{ + "FilePaths":{ + "shape":"StringConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one file path is included, the results will return only items that match the file path.

    If more than one file path is included, the results will return all items that match any of the file paths.

    " + }, + "Sizes":{ + "shape":"LongConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one is included, the results will return only items that match.

    If more than one is included, the results will return all items that match any of the included values.

    " + }, + "CreationTimes":{ + "shape":"TimeConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one is included, the results will return only items that match.

    If more than one is included, the results will return all items that match any of the included values.

    " + }, + "LastModificationTimes":{ + "shape":"TimeConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one is included, the results will return only items that match.

    If more than one is included, the results will return all items that match any of the included values.

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

    This contains arrays of objects, which may include CreationTimes time condition objects, FilePaths string objects, LastModificationTimes time condition objects,

    " + }, + "EBSItemFilters":{ + "type":"list", + "member":{"shape":"EBSItemFilter"}, + "max":10, + "min":0 + }, + "EBSResultItem":{ + "type":"structure", + "members":{ + "BackupResourceArn":{ + "shape":"String", + "documentation":"

    These are one or more items in the results that match values for the Amazon Resource Name (ARN) of recovery points returned in a search of Amazon EBS backup metadata.

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

    These are one or more items in the results that match values for the Amazon Resource Name (ARN) of source resources returned in a search of Amazon EBS backup metadata.

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

    The name of the backup vault.

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

    These are one or more items in the results that match values for file systems returned in a search of Amazon EBS backup metadata.

    " + }, + "FilePath":{ + "shape":"FilePath", + "documentation":"

    These are one or more items in the results that match values for file paths returned in a search of Amazon EBS backup metadata.

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

    These are one or more items in the results that match values for file sizes returned in a search of Amazon EBS backup metadata.

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

    These are one or more items in the results that match values for creation times returned in a search of Amazon EBS backup metadata.

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

    These are one or more items in the results that match values for Last Modified Time returned in a search of Amazon EBS backup metadata.

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

    These are the items returned in the results of a search of Amazon EBS backup metadata.

    " + }, + "EncryptionKeyArn":{"type":"string"}, + "ExportJobArn":{"type":"string"}, + "ExportJobStatus":{ + "type":"string", + "enum":[ + "RUNNING", + "FAILED", + "COMPLETED" + ] + }, + "ExportJobSummaries":{ + "type":"list", + "member":{"shape":"ExportJobSummary"} + }, + "ExportJobSummary":{ + "type":"structure", + "required":["ExportJobIdentifier"], + "members":{ + "ExportJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    This is the unique string that identifies a specific export job.

    " + }, + "ExportJobArn":{ + "shape":"ExportJobArn", + "documentation":"

    This is the unique ARN (Amazon Resource Name) that belongs to the new export job.

    " + }, + "Status":{ + "shape":"ExportJobStatus", + "documentation":"

    The status of the export job is one of the following:

    CREATED; RUNNING; FAILED; or COMPLETED.

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

    This is a timestamp of the time the export job was created.

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

    This is a timestamp of the time the export job compeleted.

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

    A status message is a string that is returned for an export job.

    A status message is included for any status other than COMPLETED without issues.

    " + }, + "SearchJobArn":{ + "shape":"SearchJobArn", + "documentation":"

    The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.

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

    This is the summary of an export job.

    " + }, + "ExportSpecification":{ + "type":"structure", + "members":{ + "s3ExportSpecification":{ + "shape":"S3ExportSpecification", + "documentation":"

    This specifies the destination Amazon S3 bucket for the export job. And, if included, it also specifies the destination prefix.

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

    This contains the export specification object.

    ", + "union":true + }, + "FilePath":{ + "type":"string", + "sensitive":true + }, + "GenericId":{"type":"string"}, + "GetSearchJobInput":{ + "type":"structure", + "required":["SearchJobIdentifier"], + "members":{ + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    Required unique string that specifies the search job.

    ", + "location":"uri", + "locationName":"SearchJobIdentifier" + } + } + }, + "GetSearchJobOutput":{ + "type":"structure", + "required":[ + "Status", + "SearchScope", + "ItemFilters", + "CreationTime", + "SearchJobIdentifier", + "SearchJobArn" + ], + "members":{ + "Name":{ + "shape":"String", + "documentation":"

    Returned name of the specified search job.

    " + }, + "SearchScopeSummary":{ + "shape":"SearchScopeSummary", + "documentation":"

    Returned summary of the specified search job scope, including:

    • TotalBackupsToScanCount, the number of recovery points returned by the search.

    • TotalItemsToScanCount, the number of items returned by the search.

    " + }, + "CurrentSearchProgress":{ + "shape":"CurrentSearchProgress", + "documentation":"

    Returns numbers representing BackupsScannedCount, ItemsScanned, and ItemsMatched.

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

    A status message will be returned for either a earch job with a status of ERRORED or a status of COMPLETED jobs with issues.

    For example, a message may say that a search contained recovery points unable to be scanned because of a permissions issue.

    " + }, + "EncryptionKeyArn":{ + "shape":"EncryptionKeyArn", + "documentation":"

    The encryption key for the specified search job.

    Example: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.

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

    The date and time that a search job completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "Status":{ + "shape":"SearchJobState", + "documentation":"

    The current status of the specified search job.

    A search job may have one of the following statuses: RUNNING; COMPLETED; STOPPED; FAILED; TIMED_OUT; or EXPIRED .

    " + }, + "SearchScope":{ + "shape":"SearchScope", + "documentation":"

    The search scope is all backup properties input into a search.

    " + }, + "ItemFilters":{ + "shape":"ItemFilters", + "documentation":"

    Item Filters represent all input item properties specified when the search was created.

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

    The date and time that a search job was created, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that identifies the specified search job.

    " + }, + "SearchJobArn":{ + "shape":"SearchJobArn", + "documentation":"

    The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.

    " + } + } + }, + "GetSearchResultExportJobInput":{ + "type":"structure", + "required":["ExportJobIdentifier"], + "members":{ + "ExportJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    This is the unique string that identifies a specific export job.

    Required for this operation.

    ", + "location":"uri", + "locationName":"ExportJobIdentifier" + } + } + }, + "GetSearchResultExportJobOutput":{ + "type":"structure", + "required":["ExportJobIdentifier"], + "members":{ + "ExportJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    This is the unique string that identifies the specified export job.

    " + }, + "ExportJobArn":{ + "shape":"ExportJobArn", + "documentation":"

    The unique Amazon Resource Name (ARN) that uniquely identifies the export job.

    " + }, + "Status":{ + "shape":"ExportJobStatus", + "documentation":"

    This is the current status of the export job.

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

    The date and time that an export job was created, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

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

    The date and time that an export job completed, in Unix format and Coordinated Universal Time (UTC). The value of CreationTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

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

    A status message is a string that is returned for search job with a status of FAILED, along with steps to remedy and retry the operation.

    " + }, + "ExportSpecification":{ + "shape":"ExportSpecification", + "documentation":"

    The export specification consists of the destination S3 bucket to which the search results were exported, along with the destination prefix.

    " + }, + "SearchJobArn":{ + "shape":"SearchJobArn", + "documentation":"

    The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.

    " + } + } + }, + "IamRoleArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"arn:(?:aws|aws-cn|aws-us-gov):iam::[a-z0-9-]+:role/(.+)" + }, + "Integer":{ + "type":"integer", + "box":true + }, + "InternalServerException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{ + "shape":"String", + "documentation":"

    Unexpected error during processing of request.

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

    Retry the call after number of seconds.

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

    An internal server error occurred. Retry your request.

    ", + "error":{"httpStatusCode":500}, + "exception":true, + "fault":true, + "retryable":{"throttling":false} + }, + "ItemFilters":{ + "type":"structure", + "members":{ + "S3ItemFilters":{ + "shape":"S3ItemFilters", + "documentation":"

    This array can contain CreationTimes, ETags, ObjectKeys, Sizes, or VersionIds objects.

    " + }, + "EBSItemFilters":{ + "shape":"EBSItemFilters", + "documentation":"

    This array can contain CreationTimes, FilePaths, LastModificationTimes, or Sizes objects.

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

    Item Filters represent all input item properties specified when the search was created.

    Contains either EBSItemFilters or S3ItemFilters

    " + }, + "ListSearchJobBackupsInput":{ + "type":"structure", + "required":["SearchJobIdentifier"], + "members":{ + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that specifies the search job.

    ", + "location":"uri", + "locationName":"SearchJobIdentifier" + }, + "NextToken":{ + "shape":"String", + "documentation":"

    The next item following a partial list of returned backups included in a search job.

    For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "MaxResults":{ + "shape":"ListSearchJobBackupsInputMaxResultsInteger", + "documentation":"

    The maximum number of resource list items to be returned.

    ", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListSearchJobBackupsInputMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListSearchJobBackupsOutput":{ + "type":"structure", + "required":["Results"], + "members":{ + "Results":{ + "shape":"SearchJobBackupsResults", + "documentation":"

    The recovery points returned the results of a search job

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

    The next item following a partial list of returned backups included in a search job.

    For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    " + } + } + }, + "ListSearchJobResultsInput":{ + "type":"structure", + "required":["SearchJobIdentifier"], + "members":{ + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that specifies the search job.

    ", + "location":"uri", + "locationName":"SearchJobIdentifier" + }, + "NextToken":{ + "shape":"String", + "documentation":"

    The next item following a partial list of returned search job results.

    For example, if a request is made to return MaxResults number of search job results, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    ", + "location":"querystring", + "locationName":"nextToken" + }, + "MaxResults":{ + "shape":"ListSearchJobResultsInputMaxResultsInteger", + "documentation":"

    The maximum number of resource list items to be returned.

    ", + "location":"querystring", + "locationName":"maxResults" + } + } + }, + "ListSearchJobResultsInputMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListSearchJobResultsOutput":{ + "type":"structure", + "required":["Results"], + "members":{ + "Results":{ + "shape":"Results", + "documentation":"

    The results consist of either EBSResultItem or S3ResultItem.

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

    The next item following a partial list of search job results.

    For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    " + } + } + }, + "ListSearchJobsInput":{ + "type":"structure", + "members":{ + "ByStatus":{ + "shape":"SearchJobState", + "documentation":"

    Include this parameter to filter list by search job status.

    ", + "location":"querystring", + "locationName":"Status" + }, + "NextToken":{ + "shape":"String", + "documentation":"

    The next item following a partial list of returned search jobs.

    For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    ", + "location":"querystring", + "locationName":"NextToken" + }, + "MaxResults":{ + "shape":"ListSearchJobsInputMaxResultsInteger", + "documentation":"

    The maximum number of resource list items to be returned.

    ", + "location":"querystring", + "locationName":"MaxResults" + } + } + }, + "ListSearchJobsInputMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListSearchJobsOutput":{ + "type":"structure", + "required":["SearchJobs"], + "members":{ + "SearchJobs":{ + "shape":"SearchJobs", + "documentation":"

    The search jobs among the list, with details of the returned search jobs.

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

    The next item following a partial list of returned backups included in a search job.

    For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    " + } + } + }, + "ListSearchResultExportJobsInput":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"ExportJobStatus", + "documentation":"

    The search jobs to be included in the export job can be filtered by including this parameter.

    ", + "location":"querystring", + "locationName":"Status" + }, + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that specifies the search job.

    ", + "location":"querystring", + "locationName":"SearchJobIdentifier" + }, + "NextToken":{ + "shape":"String", + "documentation":"

    The next item following a partial list of returned backups included in a search job.

    For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    ", + "location":"querystring", + "locationName":"NextToken" + }, + "MaxResults":{ + "shape":"ListSearchResultExportJobsInputMaxResultsInteger", + "documentation":"

    The maximum number of resource list items to be returned.

    ", + "location":"querystring", + "locationName":"MaxResults" + } + } + }, + "ListSearchResultExportJobsInputMaxResultsInteger":{ + "type":"integer", + "box":true, + "max":1000, + "min":1 + }, + "ListSearchResultExportJobsOutput":{ + "type":"structure", + "required":["ExportJobs"], + "members":{ + "ExportJobs":{ + "shape":"ExportJobSummaries", + "documentation":"

    The operation returns the included export jobs.

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

    The next item following a partial list of returned backups included in a search job.

    For example, if a request is made to return MaxResults number of backups, NextToken allows you to return more items in your list starting at the location pointed to by the next token.

    " + } + } + }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) that uniquely identifies the resource.>

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

    List of tags returned by the operation.

    " + } + } + }, + "Long":{ + "type":"long", + "box":true + }, + "LongCondition":{ + "type":"structure", + "required":["Value"], + "members":{ + "Value":{ + "shape":"Long", + "documentation":"

    The value of an item included in one of the search item filters.

    " + }, + "Operator":{ + "shape":"LongConditionOperator", + "documentation":"

    A string that defines what values will be returned.

    If this is included, avoid combinations of operators that will return all possible values. For example, including both EQUALS_TO and NOT_EQUALS_TO with a value of 4 will return all values.

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

    The long condition contains a Value and can optionally contain an Operator.

    " + }, + "LongConditionList":{ + "type":"list", + "member":{"shape":"LongCondition"}, + "max":10, + "min":1 + }, + "LongConditionOperator":{ + "type":"string", + "enum":[ + "EQUALS_TO", + "NOT_EQUALS_TO", + "LESS_THAN_EQUAL_TO", + "GREATER_THAN_EQUAL_TO" + ] + }, + "ObjectKey":{ + "type":"string", + "sensitive":true + }, + "RecoveryPoint":{"type":"string"}, + "RecoveryPointArnList":{ + "type":"list", + "member":{"shape":"RecoveryPoint"}, + "max":50, + "min":0 + }, + "ResourceArnList":{ + "type":"list", + "member":{"shape":"String"}, + "max":50, + "min":0 + }, + "ResourceNotFoundException":{ + "type":"structure", + "required":[ + "message", + "resourceId", + "resourceType" + ], + "members":{ + "message":{ + "shape":"String", + "documentation":"

    Request references a resource which does not exist.

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

    Hypothetical identifier of the resource affected.

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

    Hypothetical type of the resource affected.

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

    The resource was not found for this request.

    Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.

    ", + "error":{ + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "ResourceType":{ + "type":"string", + "enum":[ + "S3", + "EBS" + ] + }, + "ResourceTypeList":{ + "type":"list", + "member":{"shape":"ResourceType"}, + "max":1, + "min":1 + }, + "ResultItem":{ + "type":"structure", + "members":{ + "S3ResultItem":{ + "shape":"S3ResultItem", + "documentation":"

    These are items returned in the search results of an Amazon S3 search.

    " + }, + "EBSResultItem":{ + "shape":"EBSResultItem", + "documentation":"

    These are items returned in the search results of an Amazon EBS search.

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

    This is an object representing the item returned in the results of a search for a specific resource type.

    ", + "union":true + }, + "Results":{ + "type":"list", + "member":{"shape":"ResultItem"} + }, + "S3ExportSpecification":{ + "type":"structure", + "required":["DestinationBucket"], + "members":{ + "DestinationBucket":{ + "shape":"String", + "documentation":"

    This specifies the destination Amazon S3 bucket for the export job.

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

    This specifies the prefix for the destination Amazon S3 bucket for the export job.

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

    This specification contains a required string of the destination bucket; optionally, you can include the destination prefix.

    " + }, + "S3ItemFilter":{ + "type":"structure", + "members":{ + "ObjectKeys":{ + "shape":"StringConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one value is included, the results will return only items that match the value.

    If more than one value is included, the results will return all items that match any of the values.

    " + }, + "Sizes":{ + "shape":"LongConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one value is included, the results will return only items that match the value.

    If more than one value is included, the results will return all items that match any of the values.

    " + }, + "CreationTimes":{ + "shape":"TimeConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one value is included, the results will return only items that match the value.

    If more than one value is included, the results will return all items that match any of the values.

    " + }, + "VersionIds":{ + "shape":"StringConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one value is included, the results will return only items that match the value.

    If more than one value is included, the results will return all items that match any of the values.

    " + }, + "ETags":{ + "shape":"StringConditionList", + "documentation":"

    You can include 1 to 10 values.

    If one value is included, the results will return only items that match the value.

    If more than one value is included, the results will return all items that match any of the values.

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

    This contains arrays of objects, which may include ObjectKeys, Sizes, CreationTimes, VersionIds, and/or Etags.

    " + }, + "S3ItemFilters":{ + "type":"list", + "member":{"shape":"S3ItemFilter"}, + "max":10, + "min":0 + }, + "S3ResultItem":{ + "type":"structure", + "members":{ + "BackupResourceArn":{ + "shape":"String", + "documentation":"

    These are items in the returned results that match recovery point Amazon Resource Names (ARN) input during a search of Amazon S3 backup metadata.

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

    These are items in the returned results that match source Amazon Resource Names (ARN) input during a search of Amazon S3 backup metadata.

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

    The name of the backup vault.

    " + }, + "ObjectKey":{ + "shape":"ObjectKey", + "documentation":"

    This is one or more items returned in the results of a search of Amazon S3 backup metadata that match the values input for object key.

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

    These are items in the returned results that match values for object size(s) input during a search of Amazon S3 backup metadata.

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

    These are one or more items in the returned results that match values for item creation time input during a search of Amazon S3 backup metadata.

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

    These are one or more items in the returned results that match values for ETags input during a search of Amazon S3 backup metadata.

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

    These are one or more items in the returned results that match values for version IDs input during a search of Amazon S3 backup metadata.

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

    These are the items returned in the results of a search of Amazon S3 backup metadata.

    " + }, + "SearchJobArn":{"type":"string"}, + "SearchJobBackupsResult":{ + "type":"structure", + "members":{ + "Status":{ + "shape":"SearchJobState", + "documentation":"

    This is the status of the search job backup result.

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

    This is the status message included with the results.

    " + }, + "ResourceType":{ + "shape":"ResourceType", + "documentation":"

    This is the resource type of the search.

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

    The Amazon Resource Name (ARN) that uniquely identifies the backup resources.

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

    The Amazon Resource Name (ARN) that uniquely identifies the source resources.

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

    This is the creation time of the backup index.

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

    This is the creation time of the backup (recovery point).

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

    This contains the information about recovery points returned in results of a search job.

    " + }, + "SearchJobBackupsResults":{ + "type":"list", + "member":{"shape":"SearchJobBackupsResult"} + }, + "SearchJobState":{ + "type":"string", + "enum":[ + "RUNNING", + "COMPLETED", + "STOPPING", + "STOPPED", + "FAILED" + ] + }, + "SearchJobSummary":{ + "type":"structure", + "members":{ + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that specifies the search job.

    " + }, + "SearchJobArn":{ + "shape":"SearchJobArn", + "documentation":"

    The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.

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

    This is the name of the search job.

    " + }, + "Status":{ + "shape":"SearchJobState", + "documentation":"

    This is the status of the search job.

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

    This is the creation time of the search job.

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

    This is the completion time of the search job.

    " + }, + "SearchScopeSummary":{ + "shape":"SearchScopeSummary", + "documentation":"

    Returned summary of the specified search job scope, including:

    • TotalBackupsToScanCount, the number of recovery points returned by the search.

    • TotalItemsToScanCount, the number of items returned by the search.

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

    A status message will be returned for either a earch job with a status of ERRORED or a status of COMPLETED jobs with issues.

    For example, a message may say that a search contained recovery points unable to be scanned because of a permissions issue.

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

    This is information pertaining to a search job.

    " + }, + "SearchJobs":{ + "type":"list", + "member":{"shape":"SearchJobSummary"} + }, + "SearchScope":{ + "type":"structure", + "required":["BackupResourceTypes"], + "members":{ + "BackupResourceTypes":{ + "shape":"ResourceTypeList", + "documentation":"

    The resource types included in a search.

    Eligible resource types include S3 and EBS.

    " + }, + "BackupResourceCreationTime":{ + "shape":"BackupCreationTimeFilter", + "documentation":"

    This is the time a backup resource was created.

    " + }, + "SourceResourceArns":{ + "shape":"ResourceArnList", + "documentation":"

    The Amazon Resource Name (ARN) that uniquely identifies the source resources.

    " + }, + "BackupResourceArns":{ + "shape":"RecoveryPointArnList", + "documentation":"

    The Amazon Resource Name (ARN) that uniquely identifies the backup resources.

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

    These are one or more tags on the backup (recovery point).

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

    The search scope is all backup properties input into a search.

    " + }, + "SearchScopeSummary":{ + "type":"structure", + "members":{ + "TotalRecoveryPointsToScanCount":{ + "shape":"Integer", + "documentation":"

    This is the count of the total number of backups that will be scanned in a search.

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

    This is the count of the total number of items that will be scanned in a search.

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

    The summary of the specified search job scope, including:

    • TotalBackupsToScanCount, the number of recovery points returned by the search.

    • TotalItemsToScanCount, the number of items returned by the search.

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

    This request was not successful due to a service quota exceeding limits.

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

    Identifier of the resource.

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

    Type of resource.

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

    This is the code unique to the originating service with the quota.

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

    This is the code specific to the quota type.

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

    The request denied due to exceeding the quota limits permitted.

    ", + "error":{ + "httpStatusCode":402, + "senderFault":true + }, + "exception":true + }, + "StartSearchJobInput":{ + "type":"structure", + "required":["SearchScope"], + "members":{ + "Tags":{ + "shape":"TagMap", + "documentation":"

    List of tags returned by the operation.

    " + }, + "Name":{ + "shape":"StartSearchJobInputNameString", + "documentation":"

    Include alphanumeric characters to create a name for this search job.

    " + }, + "EncryptionKeyArn":{ + "shape":"EncryptionKeyArn", + "documentation":"

    The encryption key for the specified search job.

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

    Include this parameter to allow multiple identical calls for idempotency.

    A client token is valid for 8 hours after the first request that uses it is completed. After this time, any request with the same token is treated as a new request.

    " + }, + "SearchScope":{ + "shape":"SearchScope", + "documentation":"

    This object can contain BackupResourceTypes, BackupResourceArns, BackupResourceCreationTime, BackupResourceTags, and SourceResourceArns to filter the recovery points returned by the search job.

    " + }, + "ItemFilters":{ + "shape":"ItemFilters", + "documentation":"

    Item Filters represent all input item properties specified when the search was created.

    Contains either EBSItemFilters or S3ItemFilters

    " + } + } + }, + "StartSearchJobInputNameString":{ + "type":"string", + "max":500, + "min":0 + }, + "StartSearchJobOutput":{ + "type":"structure", + "members":{ + "SearchJobArn":{ + "shape":"SearchJobArn", + "documentation":"

    The unique string that identifies the Amazon Resource Name (ARN) of the specified search job.

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

    The date and time that a job was created, in Unix format and Coordinated Universal Time (UTC). The value of CompletionTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

    " + }, + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that specifies the search job.

    " + } + } + }, + "StartSearchResultExportJobInput":{ + "type":"structure", + "required":[ + "SearchJobIdentifier", + "ExportSpecification" + ], + "members":{ + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that specifies the search job.

    " + }, + "ExportSpecification":{ + "shape":"ExportSpecification", + "documentation":"

    This specification contains a required string of the destination bucket; optionally, you can include the destination prefix.

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

    Include this parameter to allow multiple identical calls for idempotency.

    A client token is valid for 8 hours after the first request that uses it is completed. After this time, any request with the same token is treated as a new request.

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

    Optional tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.

    " + }, + "RoleArn":{ + "shape":"IamRoleArn", + "documentation":"

    This parameter specifies the role ARN used to start the search results export jobs.

    " + } + } + }, + "StartSearchResultExportJobOutput":{ + "type":"structure", + "required":["ExportJobIdentifier"], + "members":{ + "ExportJobArn":{ + "shape":"ExportJobArn", + "documentation":"

    This is the unique ARN (Amazon Resource Name) that belongs to the new export job.

    " + }, + "ExportJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    This is the unique identifier that specifies the new export job.

    " + } + } + }, + "StopSearchJobInput":{ + "type":"structure", + "required":["SearchJobIdentifier"], + "members":{ + "SearchJobIdentifier":{ + "shape":"GenericId", + "documentation":"

    The unique string that specifies the search job.

    ", + "location":"uri", + "locationName":"SearchJobIdentifier" + } + } + }, + "StopSearchJobOutput":{ + "type":"structure", + "members":{ + } + }, + "String":{"type":"string"}, + "StringCondition":{ + "type":"structure", + "required":["Value"], + "members":{ + "Value":{ + "shape":"String", + "documentation":"

    The value of the string.

    " + }, + "Operator":{ + "shape":"StringConditionOperator", + "documentation":"

    A string that defines what values will be returned.

    If this is included, avoid combinations of operators that will return all possible values. For example, including both EQUALS_TO and NOT_EQUALS_TO with a value of 4 will return all values.

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

    This contains the value of the string and can contain one or more operators.

    " + }, + "StringConditionList":{ + "type":"list", + "member":{"shape":"StringCondition"}, + "max":10, + "min":1 + }, + "StringConditionOperator":{ + "type":"string", + "enum":[ + "EQUALS_TO", + "NOT_EQUALS_TO", + "CONTAINS", + "DOES_NOT_CONTAIN", + "BEGINS_WITH", + "ENDS_WITH", + "DOES_NOT_BEGIN_WITH", + "DOES_NOT_END_WITH" + ] + }, + "TagKeys":{ + "type":"list", + "member":{"shape":"String"} + }, + "TagMap":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "Tags" + ], + "members":{ + "ResourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) that uniquely identifies the resource.

    This is the resource that will have the indicated tags.

    ", + "location":"uri", + "locationName":"ResourceArn" + }, + "Tags":{ + "shape":"TagMap", + "documentation":"

    Required tags to include. A tag is a key-value pair you can use to manage, filter, and search for your resources. Allowed characters include UTF-8 letters, numbers, spaces, and the following characters: + - = . _ : /.

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

    Request was unsuccessful due to request throttling.

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

    This is the code unique to the originating service.

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

    This is the code unique to the originating service with the quota.

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

    Retry the call after number of seconds.

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

    The request was denied due to request throttling.

    ", + "error":{ + "httpStatusCode":429, + "senderFault":true + }, + "exception":true, + "retryable":{"throttling":true} + }, + "TimeCondition":{ + "type":"structure", + "required":["Value"], + "members":{ + "Value":{ + "shape":"Timestamp", + "documentation":"

    This is the timestamp value of the time condition.

    " + }, + "Operator":{ + "shape":"TimeConditionOperator", + "documentation":"

    A string that defines what values will be returned.

    If this is included, avoid combinations of operators that will return all possible values. For example, including both EQUALS_TO and NOT_EQUALS_TO with a value of 4 will return all values.

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

    A time condition denotes a creation time, last modification time, or other time.

    " + }, + "TimeConditionList":{ + "type":"list", + "member":{"shape":"TimeCondition"}, + "max":10, + "min":1 + }, + "TimeConditionOperator":{ + "type":"string", + "enum":[ + "EQUALS_TO", + "NOT_EQUALS_TO", + "LESS_THAN_EQUAL_TO", + "GREATER_THAN_EQUAL_TO" + ] + }, + "Timestamp":{"type":"timestamp"}, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "TagKeys" + ], + "members":{ + "ResourceArn":{ + "shape":"String", + "documentation":"

    The Amazon Resource Name (ARN) that uniquely identifies the resource where you want to remove tags.

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

    This required parameter contains the tag keys you want to remove from the source.

    ", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "ValidationException":{ + "type":"structure", + "required":["message"], + "members":{ + "message":{ + "shape":"String", + "documentation":"

    The input fails to satisfy the constraints specified by an Amazon service.

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

    The input fails to satisfy the constraints specified by a service.

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

    Backup Search

    Backup Search is the recovery point and item level search for Backup.

    For additional information, see:

    " +} diff --git a/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json b/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json index bdb73b7e2f5..2f2550a1f22 100644 --- a/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json +++ b/tools/code-generation/api-descriptions/batch-2016-08-10.normal.json @@ -1742,6 +1742,11 @@ }, "documentation":"

    The properties for a task definition that describes the container and volume definitions of an Amazon ECS task. You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.

    " }, + "EksAnnotationsMap":{ + "type":"map", + "key":{"shape":"String"}, + "value":{"shape":"String"} + }, "EksAttemptContainerDetail":{ "type":"structure", "members":{ @@ -2037,6 +2042,10 @@ "shape":"String", "documentation":"

    The path on the container where the volume is mounted.

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

    A sub-path inside the referenced volume instead of its root.

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

    If this value is true, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is false.

    " @@ -2092,9 +2101,32 @@ "labels":{ "shape":"EksLabelsMap", "documentation":"

    Key-value pairs used to identify, sort, and organize cube resources. Can contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and underscores (_). Labels can be added or modified at any time. Each resource can have multiple labels, but each key must be unique for a given object.

    " + }, + "annotations":{ + "shape":"EksAnnotationsMap", + "documentation":"

    Key-value pairs used to attach arbitrary, non-identifying metadata to Kubernetes objects. Valid annotation keys have two segments: an optional prefix and a name, separated by a slash (/).

    • The prefix is optional and must be 253 characters or less. If specified, the prefix must be a DNS subdomain− a series of DNS labels separated by dots (.), and it must end with a slash (/).

    • The name segment is required and must be 63 characters or less. It can include alphanumeric characters ([a-z0-9A-Z]), dashes (-), underscores (_), and dots (.), but must begin and end with an alphanumeric character.

    Annotation values must be 255 characters or less.

    Annotations can be added or modified at any time. Each resource can have multiple annotations.

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

    The namespace of the Amazon EKS cluster. In Kubernetes, namespaces provide a mechanism for isolating groups of resources within a single cluster. Names of resources need to be unique within a namespace, but not across namespaces. Batch places Batch Job pods in this namespace. If this field is provided, the value can't be empty or null. It must meet the following requirements:

    • 1-63 characters long

    • Can't be set to default

    • Can't start with kube

    • Must match the following regular expression: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

    For more information, see Namespaces in the Kubernetes documentation. This namespace can be different from the kubernetesNamespace set in the compute environment's EksConfiguration, but must have identical role-based access control (RBAC) roles as the compute environment's kubernetesNamespace. For multi-node parallel jobs, the same value must be provided across all the node ranges.

    " } }, - "documentation":"

    Describes and uniquely identifies Kubernetes resources. For example, the compute environment that a pod runs in or the jobID for a job running in the pod. For more information, see Understanding Kubernetes Objects in the Kubernetes documentation.

    " + "documentation":"

    Describes and uniquely identifies Kubernetes resources. For example, the compute environment that a pod runs in or the jobID for a job running in the pod. For more information, see Understanding Kubernetes Objects in the Kubernetes documentation.

    " + }, + "EksPersistentVolumeClaim":{ + "type":"structure", + "required":["claimName"], + "members":{ + "claimName":{ + "shape":"String", + "documentation":"

    The name of the persistentVolumeClaim bounded to a persistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.

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

    An optional boolean value indicating if the mount is read only. Default is false. For more information, see Read Only Mounts in the Kubernetes documentation.

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

    A persistentVolumeClaim volume is used to mount a PersistentVolume into a Pod. PersistentVolumeClaims are a way for users to \"claim\" durable storage without knowing the details of the particular cloud environment. See the information about PersistentVolumes in the Kubernetes documentation.

    " }, "EksPodProperties":{ "type":"structure", @@ -2275,6 +2307,10 @@ "secret":{ "shape":"EksSecret", "documentation":"

    Specifies the configuration of a Kubernetes secret volume. For more information, see secret in the Kubernetes documentation.

    " + }, + "persistentVolumeClaim":{ + "shape":"EksPersistentVolumeClaim", + "documentation":"

    Specifies the configuration of a Kubernetes persistentVolumeClaim bounded to a persistentVolume. For more information, see Persistent Volume Claims in the Kubernetes documentation.

    " } }, "documentation":"

    Specifies an Amazon EKS volume for a job definition.

    " diff --git a/tools/code-generation/api-descriptions/cleanroomsml-2023-09-06.normal.json b/tools/code-generation/api-descriptions/cleanroomsml-2023-09-06.normal.json index f0878885bcc..d9804c45da7 100644 --- a/tools/code-generation/api-descriptions/cleanroomsml-2023-09-06.normal.json +++ b/tools/code-generation/api-descriptions/cleanroomsml-2023-09-06.normal.json @@ -1094,7 +1094,8 @@ "sqlParameters":{ "shape":"ProtectedQuerySQLParameters", "documentation":"

    The protected SQL query parameters.

    " - } + }, + "sqlComputeConfiguration":{"shape":"ComputeConfiguration"} }, "documentation":"

    Defines the Amazon S3 bucket where the seed audience for the generating audience is stored.

    " }, @@ -5419,7 +5420,7 @@ }, "dataSource":{ "shape":"ModelInferenceDataSource", - "documentation":"

    Defines he data source that is used for the trained model inference job.

    " + "documentation":"

    Defines the data source that is used for the trained model inference job.

    " }, "description":{ "shape":"ResourceDescription", diff --git a/tools/code-generation/api-descriptions/cloudfront-2020-05-31.normal.json b/tools/code-generation/api-descriptions/cloudfront-2020-05-31.normal.json index 6f29f51d329..450b3732517 100644 --- a/tools/code-generation/api-descriptions/cloudfront-2020-05-31.normal.json +++ b/tools/code-generation/api-descriptions/cloudfront-2020-05-31.normal.json @@ -4519,11 +4519,11 @@ }, "OriginReadTimeout":{ "shape":"integer", - "documentation":"

    Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

    For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

    " + "documentation":"

    Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

    For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.

    " }, "OriginKeepaliveTimeout":{ "shape":"integer", - "documentation":"

    Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds.

    For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

    " + "documentation":"

    Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds.

    For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.

    " } }, "documentation":"

    A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom origin.

    " @@ -5113,7 +5113,7 @@ }, "DefaultRootObject":{ "shape":"string", - "documentation":"

    The object that you want CloudFront to request from your origin (for example, index.html) when a viewer requests the root URL for your distribution (https://www.example.com) instead of an object in your distribution (https://www.example.com/product-description.html). Specifying a default root object avoids exposing the contents of your distribution.

    Specify only the object name, for example, index.html. Don't add a / before the object name.

    If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

    To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

    To replace the default root object, update the distribution configuration and specify the new object.

    For more information about the default root object, see Creating a Default Root Object in the Amazon CloudFront Developer Guide.

    " + "documentation":"

    When a viewer requests the root URL for your distribution, the default root object is the object that you want CloudFront to request from your origin. For example, if your root URL is https://www.example.com, you can specify CloudFront to return the index.html file as the default root object. You can specify a default root object so that viewers see a specific file or object, instead of another object in your distribution (for example, https://www.example.com/product-description.html). A default root object avoids exposing the contents of your distribution.

    You can specify the object name or a path to the object name (for example, index.html or exampleFolderName/index.html). Your string can't begin with a forward slash (/). Only specify the object name or the path to the object.

    If you don't want to specify a default root object when you create a distribution, include an empty DefaultRootObject element.

    To delete the default root object from an existing distribution, update the distribution configuration and include an empty DefaultRootObject element.

    To replace the default root object, update the distribution configuration and specify the new object.

    For more information about the default root object, see Specify a default root object in the Amazon CloudFront Developer Guide.

    " }, "Origins":{ "shape":"Origins", @@ -12865,6 +12865,14 @@ "VpcOriginId":{ "shape":"string", "documentation":"

    The VPC origin ID.

    " + }, + "OriginReadTimeout":{ + "shape":"integer", + "documentation":"

    Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

    For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.

    " + }, + "OriginKeepaliveTimeout":{ + "shape":"integer", + "documentation":"

    Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 5 seconds.

    For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.

    " } }, "documentation":"

    An Amazon CloudFront VPC origin configuration.

    " diff --git a/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json b/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json index 9ae1256b9b8..f3b79d28d26 100644 --- a/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json +++ b/tools/code-generation/api-descriptions/codepipeline-2015-07-09.normal.json @@ -342,7 +342,7 @@ {"shape":"ValidationException"}, {"shape":"InvalidNextTokenException"} ], - "documentation":"

    Lists the rules for the condition.

    " + "documentation":"

    Lists the rules for the condition. For more information about conditions, see Stage conditions. For more information about rules, see the CodePipeline rule reference.

    " }, "ListTagsForResource":{ "name":"ListTagsForResource", @@ -1394,7 +1394,7 @@ "members":{ "category":{ "shape":"ActionCategory", - "documentation":"

    A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.

    • Source

    • Build

    • Test

    • Deploy

    • Invoke

    • Approval

    " + "documentation":"

    A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.

    • Source

    • Build

    • Test

    • Deploy

    • Invoke

    • Approval

    • Compute

    " }, "owner":{ "shape":"ActionOwner", @@ -1848,7 +1848,7 @@ "documentation":"

    The rules that make up the condition.

    " } }, - "documentation":"

    The condition for the stage. A condition is made up of the rules and the result for the condition.

    " + "documentation":"

    The condition for the stage. A condition is made up of the rules and the result for the condition. For more information about conditions, see Stage conditions. For more information about rules, see the CodePipeline rule reference.

    " }, "ConditionExecution":{ "type":"structure", @@ -2375,7 +2375,7 @@ "members":{ "category":{ "shape":"ActionCategory", - "documentation":"

    Defines what kind of action can be taken in the stage. The following are the valid values:

    • Source

    • Build

    • Test

    • Deploy

    • Approval

    • Invoke

    " + "documentation":"

    Defines what kind of action can be taken in the stage. The following are the valid values:

    • Source

    • Build

    • Test

    • Deploy

    • Approval

    • Invoke

    • Compute

    " }, "owner":{ "shape":"ActionTypeOwner", @@ -4426,7 +4426,7 @@ "members":{ "name":{ "shape":"RuleName", - "documentation":"

    The name of the rule that is created for the condition, such as CheckAllResults.

    " + "documentation":"

    The name of the rule that is created for the condition, such as VariableCheck.

    " }, "ruleTypeId":{ "shape":"RuleTypeId", @@ -4436,6 +4436,10 @@ "shape":"RuleConfigurationMap", "documentation":"

    The action configuration fields for the rule.

    " }, + "commands":{ + "shape":"CommandList", + "documentation":"

    The shell commands to run with your commands rule in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.

    Using compute time for this action will incur separate charges in CodeBuild.

    " + }, "inputArtifacts":{ "shape":"InputArtifactList", "documentation":"

    The input artifacts fields for the rule, such as specifying an input file for the rule.

    " @@ -4453,7 +4457,7 @@ "documentation":"

    The action timeout for the rule.

    " } }, - "documentation":"

    Represents information about the rule to be created for an associated condition. An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage.

    " + "documentation":"

    Represents information about the rule to be created for an associated condition. An example would be creating a new rule for an entry condition, such as a rule that checks for a test result before allowing the run to enter the deployment stage. For more information about conditions, see Stage conditions. For more information about rules, see the CodePipeline rule reference.

    " }, "RuleDeclarationList":{ "type":"list", diff --git a/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json b/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json index 8f5a1fdf9ab..71db4e50d21 100644 --- a/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json +++ b/tools/code-generation/api-descriptions/ecs-2014-11-13.normal.json @@ -2646,7 +2646,7 @@ }, "maximumPercent":{ "shape":"BoxedInteger", - "documentation":"

    If a service is using the rolling update (ECS) deployment type, the maximumPercent parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING or PENDING state during a deployment, as a percentage of the desiredCount (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the REPLICA service scheduler and has a desiredCount of four tasks and a maximumPercent value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default maximumPercent value for a service using the REPLICA service scheduler is 200%.

    The Amazon ECS scheduler uses this parameter to replace unhealthy tasks by starting replacement tasks first and then stopping the unhealthy tasks, as long as cluster resources for starting replacement tasks are available. For more information about how the scheduler replaces unhealthy tasks, see Amazon ECS services.

    If a service is using either the blue/green (CODE_DEPLOY) or EXTERNAL deployment types, and tasks in the service use the EC2 launch type, the maximum percent value is set to the default value. The maximum percent value is used to define the upper limit on the number of the tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.

    You can't specify a custom maximumPercent value for a service that uses either the blue/green (CODE_DEPLOY) or EXTERNAL deployment types and has tasks that use the EC2 launch type.

    If the tasks in the service use the Fargate launch type, the maximum percent value is not used, although it is returned when describing your service.

    " + "documentation":"

    If a service is using the rolling update (ECS) deployment type, the maximumPercent parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING or PENDING state during a deployment, as a percentage of the desiredCount (rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the REPLICA service scheduler and has a desiredCount of four tasks and a maximumPercent value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default maximumPercent value for a service using the REPLICA service scheduler is 200%.

    The Amazon ECS scheduler uses this parameter to replace unhealthy tasks by starting replacement tasks first and then stopping the unhealthy tasks, as long as cluster resources for starting replacement tasks are available. For more information about how the scheduler replaces unhealthy tasks, see Amazon ECS services.

    If a service is using either the blue/green (CODE_DEPLOY) or EXTERNAL deployment types, and tasks in the service use the EC2 launch type, the maximum percent value is set to the default value. The maximum percent value is used to define the upper limit on the number of the tasks in the service that remain in the RUNNING state while the container instances are in the DRAINING state.

    You can't specify a custom maximumPercent value for a service that uses either the blue/green (CODE_DEPLOY) or EXTERNAL deployment types and has tasks that use the EC2 launch type.

    If the service uses either the blue/green (CODE_DEPLOY) or EXTERNAL deployment types, and the tasks in the service use the Fargate launch type, the maximum percent value is not used. The value is still returned when describing your service.

    " }, "minimumHealthyPercent":{ "shape":"BoxedInteger", @@ -3886,7 +3886,7 @@ }, "cluster":{ "shape":"String", - "documentation":"

    The cluster that hosts the service. This can either be the cluster name or ARN. Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performanceIf you don't specify a cluster, default is used.

    " + "documentation":"

    The cluster that hosts the service. This can either be the cluster name or ARN. Starting April 15, 2023, Amazon Web Services will not onboard new customers to Amazon Elastic Inference (EI), and will help current customers migrate their workloads to options that offer better price and performance. If you don't specify a cluster, default is used.

    " }, "status":{ "shape":"ServiceDeploymentStatusList", @@ -4169,7 +4169,7 @@ }, "options":{ "shape":"LogConfigurationOptionsMap", - "documentation":"

    The configuration options to send to the log driver.

    The options you can specify depend on the log driver. Some of the options you can specify when you use the awslogs log driver to route logs to Amazon CloudWatch include the following:

    awslogs-create-group

    Required: No

    Specify whether you want the log group to be created automatically. If this option isn't specified, it defaults to false.

    Your IAM policy must include the logs:CreateLogGroup permission before you attempt to use awslogs-create-group.

    awslogs-region

    Required: Yes

    Specify the Amazon Web Services Region that the awslogs log driver is to send your Docker logs to. You can choose to send all of your logs from clusters in different Regions to a single region in CloudWatch Logs. This is so that they're all visible in one location. Otherwise, you can separate them by Region for more granularity. Make sure that the specified log group exists in the Region that you specify with this option.

    awslogs-group

    Required: Yes

    Make sure to specify a log group that the awslogs log driver sends its log streams to.

    awslogs-stream-prefix

    Required: Yes, when using the Fargate launch type.Optional for the EC2 launch type, required for the Fargate launch type.

    Use the awslogs-stream-prefix option to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task that the container belongs to. If you specify a prefix with this option, then the log stream takes the format prefix-name/container-name/ecs-task-id.

    If you don't specify a prefix with this option, then the log stream is named after the container ID that's assigned by the Docker daemon on the container instance. Because it's difficult to trace logs back to the container that sent them with just the Docker container ID (which is only available on the container instance), we recommend that you specify a prefix with this option.

    For Amazon ECS services, you can use the service name as the prefix. Doing so, you can trace log streams to the service that the container belongs to, the name of the container that sent them, and the ID of the task that the container belongs to.

    You must specify a stream-prefix for your logs to have your logs appear in the Log pane when using the Amazon ECS console.

    awslogs-datetime-format

    Required: No

    This option defines a multiline start pattern in Python strftime format. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages.

    One example of a use case for using this format is for parsing output such as a stack dump, which might otherwise be logged in multiple entries. The correct pattern allows it to be captured in a single entry.

    For more information, see awslogs-datetime-format.

    You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options.

    Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance.

    awslogs-multiline-pattern

    Required: No

    This option defines a multiline start pattern that uses a regular expression. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages.

    For more information, see awslogs-multiline-pattern.

    This option is ignored if awslogs-datetime-format is also configured.

    You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options.

    Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance.

    mode

    Required: No

    Valid values: non-blocking | blocking

    This option defines the delivery mode of log messages from the container to CloudWatch Logs. The delivery mode you choose affects application availability when the flow of logs from container to CloudWatch is interrupted.

    If you use the blocking mode and the flow of logs to CloudWatch is interrupted, calls from container code to write to the stdout and stderr streams will block. The logging thread of the application will block as a result. This may cause the application to become unresponsive and lead to container healthcheck failure.

    If you use the non-blocking mode, the container's logs are instead stored in an in-memory intermediate buffer configured with the max-buffer-size option. This prevents the application from becoming unresponsive when logs cannot be sent to CloudWatch. We recommend using this mode if you want to ensure service availability and are okay with some log loss. For more information, see Preventing log loss with non-blocking mode in the awslogs container log driver.

    max-buffer-size

    Required: No

    Default value: 1m

    When non-blocking mode is used, the max-buffer-size log option controls the size of the buffer that's used for intermediate message storage. Make sure to specify an adequate buffer size based on your application. When the buffer fills up, further logs cannot be stored. Logs that cannot be stored are lost.

    To route logs using the splunk log router, you need to specify a splunk-token and a splunk-url.

    When you use the awsfirelens log router to route logs to an Amazon Web Services Service or Amazon Web Services Partner Network destination for log storage and analytics, you can set the log-driver-buffer-limit option to limit the number of events that are buffered in memory, before being sent to the log router container. It can help to resolve potential log loss issue because high throughput might result in memory running out for the buffer inside of Docker.

    Other options you can specify when using awsfirelens to route logs depend on the destination. When you export logs to Amazon Data Firehose, you can specify the Amazon Web Services Region with region and a name for the log stream with delivery_stream.

    When you export logs to Amazon Kinesis Data Streams, you can specify an Amazon Web Services Region with region and a data stream name with stream.

    When you export logs to Amazon OpenSearch Service, you can specify options like Name, Host (OpenSearch Service endpoint without protocol), Port, Index, Type, Aws_auth, Aws_region, Suppress_Type_Name, and tls.

    When you export logs to Amazon S3, you can specify the bucket using the bucket option. You can also specify region, total_file_size, upload_timeout, and use_put_object as options.

    This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'

    " + "documentation":"

    The configuration options to send to the log driver.

    The options you can specify depend on the log driver. Some of the options you can specify when you use the awslogs log driver to route logs to Amazon CloudWatch include the following:

    awslogs-create-group

    Required: No

    Specify whether you want the log group to be created automatically. If this option isn't specified, it defaults to false.

    Your IAM policy must include the logs:CreateLogGroup permission before you attempt to use awslogs-create-group.

    awslogs-region

    Required: Yes

    Specify the Amazon Web Services Region that the awslogs log driver is to send your Docker logs to. You can choose to send all of your logs from clusters in different Regions to a single region in CloudWatch Logs. This is so that they're all visible in one location. Otherwise, you can separate them by Region for more granularity. Make sure that the specified log group exists in the Region that you specify with this option.

    awslogs-group

    Required: Yes

    Make sure to specify a log group that the awslogs log driver sends its log streams to.

    awslogs-stream-prefix

    Required: Yes, when using the Fargate launch type.Optional for the EC2 launch type, required for the Fargate launch type.

    Use the awslogs-stream-prefix option to associate a log stream with the specified prefix, the container name, and the ID of the Amazon ECS task that the container belongs to. If you specify a prefix with this option, then the log stream takes the format prefix-name/container-name/ecs-task-id.

    If you don't specify a prefix with this option, then the log stream is named after the container ID that's assigned by the Docker daemon on the container instance. Because it's difficult to trace logs back to the container that sent them with just the Docker container ID (which is only available on the container instance), we recommend that you specify a prefix with this option.

    For Amazon ECS services, you can use the service name as the prefix. Doing so, you can trace log streams to the service that the container belongs to, the name of the container that sent them, and the ID of the task that the container belongs to.

    You must specify a stream-prefix for your logs to have your logs appear in the Log pane when using the Amazon ECS console.

    awslogs-datetime-format

    Required: No

    This option defines a multiline start pattern in Python strftime format. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages.

    One example of a use case for using this format is for parsing output such as a stack dump, which might otherwise be logged in multiple entries. The correct pattern allows it to be captured in a single entry.

    For more information, see awslogs-datetime-format.

    You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options.

    Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance.

    awslogs-multiline-pattern

    Required: No

    This option defines a multiline start pattern that uses a regular expression. A log message consists of a line that matches the pattern and any following lines that don’t match the pattern. The matched line is the delimiter between log messages.

    For more information, see awslogs-multiline-pattern.

    This option is ignored if awslogs-datetime-format is also configured.

    You cannot configure both the awslogs-datetime-format and awslogs-multiline-pattern options.

    Multiline logging performs regular expression parsing and matching of all log messages. This might have a negative impact on logging performance.

    mode

    Required: No

    Valid values: non-blocking | blocking

    This option defines the delivery mode of log messages from the container to CloudWatch Logs. The delivery mode you choose affects application availability when the flow of logs from container to CloudWatch is interrupted.

    If you use the blocking mode and the flow of logs to CloudWatch is interrupted, calls from container code to write to the stdout and stderr streams will block. The logging thread of the application will block as a result. This may cause the application to become unresponsive and lead to container healthcheck failure.

    If you use the non-blocking mode, the container's logs are instead stored in an in-memory intermediate buffer configured with the max-buffer-size option. This prevents the application from becoming unresponsive when logs cannot be sent to CloudWatch. We recommend using this mode if you want to ensure service availability and are okay with some log loss. For more information, see Preventing log loss with non-blocking mode in the awslogs container log driver.

    max-buffer-size

    Required: No

    Default value: 1m

    When non-blocking mode is used, the max-buffer-size log option controls the size of the buffer that's used for intermediate message storage. Make sure to specify an adequate buffer size based on your application. When the buffer fills up, further logs cannot be stored. Logs that cannot be stored are lost.

    To route logs using the splunk log router, you need to specify a splunk-token and a splunk-url.

    When you use the awsfirelens log router to route logs to an Amazon Web Services Service or Amazon Web Services Partner Network destination for log storage and analytics, you can set the log-driver-buffer-limit option to limit the number of events that are buffered in memory, before being sent to the log router container. It can help to resolve potential log loss issue because high throughput might result in memory running out for the buffer inside of Docker.

    Other options you can specify when using awsfirelens to route logs depend on the destination. When you export logs to Amazon Data Firehose, you can specify the Amazon Web Services Region with region and a name for the log stream with delivery_stream.

    When you export logs to Amazon Kinesis Data Streams, you can specify an Amazon Web Services Region with region and a data stream name with stream.

    When you export logs to Amazon OpenSearch Service, you can specify options like Name, Host (OpenSearch Service endpoint without protocol), Port, Index, Type, Aws_auth, Aws_region, Suppress_Type_Name, and tls. For more information, see Under the hood: FireLens for Amazon ECS Tasks.

    When you export logs to Amazon S3, you can specify the bucket using the bucket option. You can also specify region, total_file_size, upload_timeout, and use_put_object as options.

    This parameter requires version 1.19 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'

    " }, "secretOptions":{ "shape":"SecretList", @@ -4894,6 +4894,10 @@ "runtimePlatform":{ "shape":"RuntimePlatform", "documentation":"

    The operating system that your tasks definitions run on. A platform family is specified only for tasks using the Fargate launch type.

    " + }, + "enableFaultInjection":{ + "shape":"BoxedBoolean", + "documentation":"

    Enables fault injection when you register your task definition and allows for fault injection requests to be accepted from the task's containers. The default value is false.

    " } } }, @@ -6540,6 +6544,10 @@ "ephemeralStorage":{ "shape":"EphemeralStorage", "documentation":"

    The ephemeral storage settings to use for tasks run with the task definition.

    " + }, + "enableFaultInjection":{ + "shape":"BoxedBoolean", + "documentation":"

    Enables fault injection and allows for fault injection requests to be accepted from the task's containers. The default value is false.

    " } }, "documentation":"

    The details of a task definition which describes the container and volume definitions of an Amazon Elastic Container Service task. You can specify which Docker images to use, the required resources, and other configurations related to launching the task definition through an Amazon ECS service or task.

    " diff --git a/tools/code-generation/api-descriptions/m2-2021-04-28.normal.json b/tools/code-generation/api-descriptions/m2-2021-04-28.normal.json index f42b9c245dc..129a76a80dd 100644 --- a/tools/code-generation/api-descriptions/m2-2021-04-28.normal.json +++ b/tools/code-generation/api-descriptions/m2-2021-04-28.normal.json @@ -1228,6 +1228,10 @@ "shape":"EntityName", "documentation":"

    The name of the runtime environment. Must be unique within the account.

    " }, + "networkType":{ + "shape":"NetworkType", + "documentation":"

    The network type required for the runtime environment.

    " + }, "preferredMaintenanceWindow":{ "shape":"String50", "documentation":"

    Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00.

    If you do not provide a value, a random system-generated value will be assigned.

    " @@ -1760,6 +1764,10 @@ "shape":"EntityName", "documentation":"

    The name of the runtime environment.

    " }, + "networkType":{ + "shape":"NetworkType", + "documentation":"

    The network type supported by the runtime environment.

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

    The status of the runtime environment

    " @@ -2368,6 +2376,10 @@ "shape":"EntityName", "documentation":"

    The name of the runtime environment. Must be unique within the account.

    " }, + "networkType":{ + "shape":"NetworkType", + "documentation":"

    The network type supported by the runtime environment.

    " + }, "pendingMaintenance":{ "shape":"PendingMaintenance", "documentation":"

    Indicates the pending maintenance scheduled on this environment.

    " @@ -3036,6 +3048,13 @@ "max":2000, "min":1 }, + "NetworkType":{ + "type":"string", + "enum":[ + "ipv4", + "dual" + ] + }, "NextToken":{ "type":"string", "pattern":"^\\S{1,2000}$" diff --git a/tools/code-generation/api-descriptions/synthetics-2017-10-11.normal.json b/tools/code-generation/api-descriptions/synthetics-2017-10-11.normal.json index e241625299e..dc279bb7361 100644 --- a/tools/code-generation/api-descriptions/synthetics-2017-10-11.normal.json +++ b/tools/code-generation/api-descriptions/synthetics-2017-10-11.normal.json @@ -513,7 +513,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:canary:[0-9a-z_\\-]{1,255}" + "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2,4}(-[a-z]{2,4})?-[a-z]+-\\d{1}:\\d{12}:canary:[0-9a-z_\\-]{1,255}" }, "CanaryCodeInput":{ "type":"structure", @@ -1093,7 +1093,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?" + "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2,4}(-[a-z]{2,4})?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?" }, "GetCanaryRequest":{ "type":"structure", @@ -1204,7 +1204,7 @@ "type":"string", "max":128, "min":1, - "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:group:[0-9a-z]+" + "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2,4}(-[a-z]{2,4})?-[a-z]+-\\d{1}:\\d{12}:group:[0-9a-z]+" }, "GroupIdentifier":{ "type":"string", @@ -1260,7 +1260,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"arn:(aws[a-zA-Z-]*)?:kms:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:key/[\\w\\-\\/]+" + "pattern":"arn:(aws[a-zA-Z-]*)?:kms:[a-z]{2,4}(-[a-z]{2,4})?-[a-z]+-\\d{1}:\\d{12}:key/[\\w\\-\\/]+" }, "ListAssociatedGroupsRequest":{ "type":"structure", @@ -1446,7 +1446,7 @@ "type":"string", "max":2048, "min":1, - "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:(canary|group):[0-9a-z_\\-]+" + "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2,4}(-[a-z]{2,4})?-[a-z]+-\\d{1}:\\d{12}:(canary|group):[0-9a-z_\\-]+" }, "ResourceList":{ "type":"list", @@ -1755,7 +1755,7 @@ }, "BaseCanaryRunId":{ "shape":"String", - "documentation":"

    Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this canary. Valid values are nextrun to use the screenshots from the next run after this update is made, lastrun to use the screenshots from the most recent run before this update was made, or the value of Id in the CanaryRun from any past run of this canary.

    " + "documentation":"

    Specifies which canary run to use the screenshots from as the baseline for future visual monitoring with this canary. Valid values are nextrun to use the screenshots from the next run after this update is made, lastrun to use the screenshots from the most recent run before this update was made, or the value of Id in the CanaryRun from a run of this a canary in the past 31 days. If you specify the Id of a canary run older than 31 days, the operation returns a 400 validation exception error..

    " } }, "documentation":"

    An object that specifies what screenshots to use as a baseline for visual monitoring by this canary. It can optionally also specify parts of the screenshots to ignore during the visual monitoring comparison.

    Visual monitoring is supported only on canaries running the syn-puppeteer-node-3.2 runtime or later. For more information, see Visual monitoring and Visual monitoring blueprint

    " @@ -1784,6 +1784,10 @@ "SecurityGroupIds":{ "shape":"SecurityGroupIds", "documentation":"

    The IDs of the security groups for this canary.

    " + }, + "Ipv6AllowedForDualStack":{ + "shape":"NullableBoolean", + "documentation":"

    Set this to true to allow outbound IPv6 traffic on VPC canaries that are connected to dual-stack subnets. The default is false

    " } }, "documentation":"

    If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint. For more information, see Running a Canary in a VPC.

    " @@ -1802,6 +1806,10 @@ "SecurityGroupIds":{ "shape":"SecurityGroupIds", "documentation":"

    The IDs of the security groups for this canary.

    " + }, + "Ipv6AllowedForDualStack":{ + "shape":"NullableBoolean", + "documentation":"

    Indicates whether this canary allows outbound IPv6 traffic if it is connected to dual-stack subnets.

    " } }, "documentation":"

    If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint. For more information, see Running a Canary in a VPC.

    " diff --git a/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json b/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json index 8f8a08191d9..ca2a9ade393 100644 --- a/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json +++ b/tools/code-generation/endpoints/account-2021-02-01.endpoint-rule-set.json @@ -1,12 +1,6 @@ { "version": "1.0", "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, @@ -26,6 +20,12 @@ "required": false, "documentation": "Override the endpoint used to send this request", "type": "String" + }, + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" } }, "rules": [ @@ -57,263 +57,235 @@ "type": "error" }, { - "conditions": [ + "conditions": [], + "rules": [ { - "fn": "booleanEquals", - "argv": [ + "conditions": [ { - "ref": "UseDualStack" + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" }, - true - ] + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" - }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "type": "tree" } ], "type": "tree" }, { - "conditions": [ - { - "fn": "isSet", - "argv": [ - { - "ref": "Region" - } - ] - } - ], + "conditions": [], "rules": [ { "conditions": [ { - "fn": "aws.partition", + "fn": "isSet", "argv": [ { "ref": "Region" } - ], - "assign": "PartitionResult" + ] } ], "rules": [ { "conditions": [ { - "fn": "stringEquals", - "argv": [ - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] - }, - "aws" - ] - }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] - }, - { - "fn": "booleanEquals", + "fn": "aws.partition", "argv": [ { - "ref": "UseDualStack" - }, - false - ] + "ref": "Region" + } + ], + "assign": "PartitionResult" } ], - "endpoint": { - "url": "https://account.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "account", - "signingRegion": "us-east-1" - } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ + "rules": [ { - "fn": "stringEquals", - "argv": [ + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "ref": "UseFIPS" }, - "name" + true ] }, - "aws-cn" - ] - }, - { - "fn": "booleanEquals", - "argv": [ { - "ref": "UseFIPS" - }, - false - ] - }, - { - "fn": "booleanEquals", - "argv": [ + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "rules": [ { - "ref": "UseDualStack" + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } + ] + }, + { + "fn": "booleanEquals", + "argv": [ + true, + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } + ] + } + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" }, - false - ] - } - ], - "endpoint": { - "url": "https://account.cn-northwest-1.amazonaws.com.cn", - "properties": { - "authSchemes": [ { - "name": "sigv4", - "signingName": "account", - "signingRegion": "cn-northwest-1" + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" } - ] - }, - "headers": {} - }, - "type": "endpoint" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - true - ] + ], + "type": "tree" }, - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } + "ref": "UseFIPS" + }, + true ] }, { "fn": "booleanEquals", "argv": [ - true, { - "fn": "getAttr", + "ref": "UseDualStack" + }, + false + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", "argv": [ { - "ref": "PartitionResult" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] }, - "supportsDualStack" + true ] } - ] - } - ], - "rules": [ + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://account-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, { "conditions": [], - "endpoint": { - "url": "https://account-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" } ], "type": "tree" }, { - "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ + "conditions": [ { - "ref": "UseFIPS" + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] }, - true - ] - } - ], - "rules": [ - { - "conditions": [ { "fn": "booleanEquals", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] + "ref": "UseDualStack" }, true ] @@ -321,96 +293,80 @@ ], "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://account-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" - }, - { - "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" - } - ], - "type": "tree" - }, - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, + "conditions": [ { - "fn": "getAttr", + "fn": "booleanEquals", "argv": [ + true, { - "ref": "PartitionResult" - }, - "supportsDualStack" + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsDualStack" + ] + } ] } - ] - } - ], - "rules": [ + ], + "rules": [ + { + "conditions": [], + "endpoint": { + "url": "https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, { "conditions": [], - "endpoint": { - "url": "https://account.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ], "type": "tree" }, { "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" + "endpoint": { + "url": "https://account.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" - }, - { - "conditions": [], - "endpoint": { - "url": "https://account.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" } ], "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ], "type": "tree" - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] } \ No newline at end of file diff --git a/tools/code-generation/endpoints/account-2021-02-01.endpoint-tests.json b/tools/code-generation/endpoints/account-2021-02-01.endpoint-tests.json index ac318cb0f9c..640b9eadf6d 100644 --- a/tools/code-generation/endpoints/account-2021-02-01.endpoint-tests.json +++ b/tools/code-generation/endpoints/account-2021-02-01.endpoint-tests.json @@ -1,31 +1,50 @@ { "testCases": [ { - "documentation": "For region aws-global with FIPS disabled and DualStack disabled", + "documentation": "For custom endpoint with region not set and fips disabled", "expect": { "endpoint": { - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "account", - "signingRegion": "us-east-1" - } - ] - }, - "url": "https://account.us-east-1.amazonaws.com" + "url": "https://example.com" } }, "params": { - "Region": "aws-global", + "Endpoint": "https://example.com", + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips enabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": true + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", "UseFIPS": false, - "UseDualStack": false + "UseDualStack": true } }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://account-fips.us-east-1.api.aws" } }, @@ -39,6 +58,14 @@ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://account-fips.us-east-1.amazonaws.com" } }, @@ -52,6 +79,14 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://account.us-east-1.api.aws" } }, @@ -69,7 +104,6 @@ "authSchemes": [ { "name": "sigv4", - "signingName": "account", "signingRegion": "us-east-1" } ] @@ -84,75 +118,76 @@ } }, { - "documentation": "For region aws-cn-global with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { "properties": { "authSchemes": [ { "name": "sigv4", - "signingName": "account", "signingRegion": "cn-northwest-1" } ] }, - "url": "https://account.cn-northwest-1.amazonaws.com.cn" + "url": "https://account-fips.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "aws-cn-global", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", - "expect": { - "endpoint": { - "url": "https://account-fips.cn-north-1.api.amazonwebservices.com.cn" - } - }, - "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://account-fips.cn-north-1.amazonaws.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://account-fips.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://account.cn-north-1.api.amazonwebservices.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://account.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { "properties": { "authSchemes": [ { "name": "sigv4", - "signingName": "account", "signingRegion": "cn-northwest-1" } ] @@ -161,59 +196,91 @@ } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://account-fips.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://account-fips.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://account-fips.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://account-fips.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://account.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://account.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://account.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://account.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": false } @@ -233,6 +300,14 @@ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://account-fips.us-iso-east-1.c2s.ic.gov" } }, @@ -257,6 +332,14 @@ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://account.us-iso-east-1.c2s.ic.gov" } }, @@ -281,6 +364,14 @@ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://account-fips.us-isob-east-1.sc2s.sgov.gov" } }, @@ -305,6 +396,14 @@ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://account.us-isob-east-1.sc2s.sgov.gov" } }, @@ -315,54 +414,131 @@ } }, { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://account-fips.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { - "Region": "us-east-1", + "Region": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://account.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled", "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://account-fips.us-isof-south-1.csp.hci.ic.gov" + } }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false, + "UseDualStack": true + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://account.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" + "UseDualStack": false } }, { diff --git a/tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-rule-set.json b/tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-rule-set.json new file mode 100644 index 00000000000..6bd2aba542b --- /dev/null +++ b/tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-rule-set.json @@ -0,0 +1,151 @@ +{ + "version": "1.0", + "parameters": { + "UseFIPS": { + "builtIn": "AWS::UseFIPS", + "required": true, + "default": false, + "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", + "type": "Boolean" + }, + "Endpoint": { + "builtIn": "SDK::Endpoint", + "required": false, + "documentation": "Override the endpoint used to send this request", + "type": "String" + }, + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" + } + }, + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Endpoint" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "error": "Invalid Configuration: FIPS and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + }, + { + "conditions": [], + "rules": [ + { + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "aws.partition", + "argv": [ + { + "ref": "Region" + } + ], + "assign": "PartitionResult" + } + ], + "rules": [ + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "endpoint": { + "url": "https://backup-search-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [], + "endpoint": { + "url": "https://backup-search.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" + } + ], + "type": "tree" + } + ], + "type": "tree" + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" + } + ], + "type": "tree" + } + ] +} \ No newline at end of file diff --git a/tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-tests.json b/tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-tests.json new file mode 100644 index 00000000000..5986f9074b4 --- /dev/null +++ b/tools/code-generation/endpoints/backupsearch-2018-05-10.endpoint-tests.json @@ -0,0 +1,313 @@ +{ + "testCases": [ + { + "documentation": "For custom endpoint with region not set and fips disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips enabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://backup-search-fips.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, + "url": "https://backup-search.us-east-1.api.aws" + } + }, + "params": { + "Region": "us-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://backup-search-fips.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": true + } + }, + { + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://backup-search.cn-northwest-1.api.amazonwebservices.com.cn" + } + }, + "params": { + "Region": "cn-northwest-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://backup-search-fips.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://backup-search.us-gov-west-1.api.aws" + } + }, + "params": { + "Region": "us-gov-west-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, + "url": "https://backup-search-fips.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, + "url": "https://backup-search.us-iso-east-1.c2s.ic.gov" + } + }, + "params": { + "Region": "us-iso-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, + "url": "https://backup-search-fips.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, + "url": "https://backup-search.us-isob-east-1.sc2s.sgov.gov" + } + }, + "params": { + "Region": "us-isob-east-1", + "UseFIPS": false + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://backup-search-fips.eu-isoe-west-1.cloud.adc-e.uk" + } + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": true + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://backup-search.eu-isoe-west-1.cloud.adc-e.uk" + } + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://backup-search-fips.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": true + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://backup-search.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false + } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } + } + ], + "version": "1.0" +} \ No newline at end of file diff --git a/tools/code-generation/smithy/codegen/cpp-smoke-tests/smithy-build.json b/tools/code-generation/smithy/codegen/cpp-smoke-tests/smithy-build.json index b0b1f96737e..a868ca178ee 100644 --- a/tools/code-generation/smithy/codegen/cpp-smoke-tests/smithy-build.json +++ b/tools/code-generation/smithy/codegen/cpp-smoke-tests/smithy-build.json @@ -1,9 +1,9 @@ { "version": "1.0", "projections": { - "pinpoint-sms-voice-v2.2022-03-31": { + "support-app.2021-08-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint-sms-voice-v2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/support-app.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -12,9 +12,9 @@ } } }, - "ecr.2015-09-21": { + "accessanalyzer.2019-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ecr.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/accessanalyzer.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -23,9 +23,9 @@ } } }, - "controlcatalog.2018-05-10": { + "scheduler.2021-06-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/controlcatalog.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/scheduler.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -34,9 +34,9 @@ } } }, - "wisdom.2020-10-19": { + "device-farm.2015-06-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/wisdom.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/device-farm.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -45,9 +45,9 @@ } } }, - "partnercentral-selling.2022-07-26": { + "docdb-elastic.2022-11-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/partnercentral-selling.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/docdb-elastic.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -56,9 +56,9 @@ } } }, - "s3outposts.2017-07-25": { + "lookoutvision.2020-11-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3outposts.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lookoutvision.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -67,9 +67,9 @@ } } }, - "notificationscontacts.2018-05-10": { + "qbusiness.2023-11-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/notificationscontacts.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qbusiness.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -78,9 +78,9 @@ } } }, - "cloudwatch-events.2015-10-07": { + "chime-sdk-media-pipelines.2021-07-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudwatch-events.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-media-pipelines.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -89,9 +89,9 @@ } } }, - "dlm.2018-01-12": { + "dynamodb-streams.2012-08-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dlm.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dynamodb-streams.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -100,9 +100,9 @@ } } }, - "mediatailor.2018-04-23": { + "sso-admin.2020-07-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediatailor.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sso-admin.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -111,9 +111,9 @@ } } }, - "privatenetworks.2021-12-03": { + "cloudwatch-events.2015-10-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/privatenetworks.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudwatch-events.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -122,9 +122,9 @@ } } }, - "emr-containers.2020-10-01": { + "acm-pca.": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/emr-containers.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/acm-pca.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -133,9 +133,9 @@ } } }, - "neptune-graph.2023-11-29": { + "cloudwatch-logs.2014-03-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/neptune-graph.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudwatch-logs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -144,9 +144,9 @@ } } }, - "pricing.2017-10-15": { + "codeguru-reviewer.2019-09-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pricing.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeguru-reviewer.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -155,9 +155,9 @@ } } }, - "vpc-lattice.2022-11-30": { + "networkmonitor.2023-08-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/vpc-lattice.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/networkmonitor.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -166,9 +166,9 @@ } } }, - "iotsecuretunneling.2018-10-05": { + "iot-events.2018-07-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotsecuretunneling.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-events.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -177,9 +177,9 @@ } } }, - "transcribe-streaming.2017-10-26": { + "swf.2012-01-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/transcribe-streaming.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/swf.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -188,9 +188,9 @@ } } }, - "config-service.2014-11-12": { + "appsync.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/config-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appsync.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -199,9 +199,9 @@ } } }, - "wafv2.2019-07-29": { + "workspaces-web.2020-07-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/wafv2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workspaces-web.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -210,9 +210,9 @@ } } }, - "amplifybackend.2020-08-11": { + "detective.2018-10-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amplifybackend.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/detective.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -221,9 +221,9 @@ } } }, - "pca-connector-ad.2018-05-10": { + "migration-hub-refactor-spaces.2021-10-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pca-connector-ad.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migration-hub-refactor-spaces.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -232,9 +232,9 @@ } } }, - "data-pipeline.2012-10-29": { + "cloudformation.2010-05-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/data-pipeline.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudformation.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -243,9 +243,9 @@ } } }, - "billing.2023-09-07": { + "codestar-connections.2019-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/billing.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codestar-connections.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -254,9 +254,9 @@ } } }, - "appstream.2016-12-01": { + "emr-containers.2020-10-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appstream.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/emr-containers.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -265,9 +265,9 @@ } } }, - "kendra.2019-02-03": { + "ivs-realtime.2020-07-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kendra.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ivs-realtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -276,9 +276,9 @@ } } }, - "textract.2018-06-27": { + "kinesis-video-media.2017-09-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/textract.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-media.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -287,9 +287,9 @@ } } }, - "sts.2011-06-15": { + "chime.2018-05-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sts.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -298,9 +298,9 @@ } } }, - "securityhub.2018-10-26": { + "codepipeline.2015-07-09": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/securityhub.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codepipeline.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -309,9 +309,9 @@ } } }, - "sagemaker.2017-07-24": { + "amplifybackend.2020-08-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amplifybackend.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -320,9 +320,9 @@ } } }, - "repostspace.2022-05-13": { + "controltower.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/repostspace.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/controltower.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -331,9 +331,9 @@ } } }, - "service-quotas.2019-06-24": { + "acm.2015-12-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/service-quotas.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/acm.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -342,9 +342,9 @@ } } }, - "lookoutvision.2020-11-20": { + "network-firewall.2020-11-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lookoutvision.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/network-firewall.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -353,9 +353,9 @@ } } }, - "inspector-scan.2023-08-08": { + "bcm-data-exports.2023-11-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/inspector-scan.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bcm-data-exports.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -364,9 +364,9 @@ } } }, - "device-farm.2015-06-23": { + "eks-auth.2023-11-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/device-farm.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/eks-auth.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -375,9 +375,9 @@ } } }, - "sagemaker-runtime.2017-05-13": { + "geo-maps.2020-11-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-runtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/geo-maps.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -386,9 +386,9 @@ } } }, - "resource-groups.2017-11-27": { + "notificationscontacts.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resource-groups.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/notificationscontacts.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -397,9 +397,9 @@ } } }, - "codepipeline.2015-07-09": { + "finspace-data.2020-07-13": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codepipeline.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/finspace-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -408,9 +408,9 @@ } } }, - "iot-1click-projects.2018-05-14": { + "elasticsearch-service.2015-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-1click-projects.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elasticsearch-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -419,9 +419,9 @@ } } }, - "verifiedpermissions.2021-12-01": { + "service-catalog-appregistry.2020-06-24": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/verifiedpermissions.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/service-catalog-appregistry.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -430,9 +430,9 @@ } } }, - "customer-profiles.2020-08-15": { + "cognito-identity-provider.2016-04-18": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/customer-profiles.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cognito-identity-provider.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -441,9 +441,9 @@ } } }, - "kinesis-analytics.2015-08-14": { + "ssm-contacts.2021-05-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-analytics.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-contacts.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -452,9 +452,9 @@ } } }, - "redshift-serverless.2021-04-21": { + "cloudwatch.2010-08-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/redshift-serverless.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudwatch.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -463,9 +463,9 @@ } } }, - "managedblockchain.2018-09-24": { + "auto-scaling-plans.2018-01-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/managedblockchain.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/auto-scaling-plans.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -474,9 +474,9 @@ } } }, - "eks-auth.2023-11-26": { + "organizations.2016-11-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/eks-auth.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/organizations.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -485,9 +485,9 @@ } } }, - "elasticsearch-service.2015-01-01": { + "grafana.2020-08-18": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elasticsearch-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/grafana.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -496,9 +496,9 @@ } } }, - "healthlake.2017-07-01": { + "frauddetector.2019-11-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/healthlake.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/frauddetector.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -507,9 +507,9 @@ } } }, - "rekognition.2016-06-27": { + "bedrock-agent.2023-06-05": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rekognition.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-agent.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -518,9 +518,9 @@ } } }, - "iot-data-plane.2015-05-28": { + "marketplace-reporting.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-data-plane.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-reporting.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -529,9 +529,9 @@ } } }, - "ivschat.2020-07-14": { + "cloudtrail-data.2021-08-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ivschat.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudtrail-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -540,9 +540,9 @@ } } }, - "elastic-load-balancing.2012-06-01": { + "geo-places.2020-11-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-load-balancing.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/geo-places.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -551,9 +551,9 @@ } } }, - "cloudfront-keyvaluestore.2022-07-26": { + "bedrock-data-automation-runtime.2024-06-13": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudfront-keyvaluestore.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-data-automation-runtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -562,9 +562,9 @@ } } }, - "redshift.2012-12-01": { + "simspaceweaver.2022-10-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/redshift.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/simspaceweaver.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -573,9 +573,9 @@ } } }, - "sns.2010-03-31": { + "iam.2010-05-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sns.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iam.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -584,9 +584,9 @@ } } }, - "codestar-notifications.2019-10-15": { + "sagemaker-a2i-runtime.2019-11-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codestar-notifications.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-a2i-runtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -595,9 +595,9 @@ } } }, - "transcribe.2017-10-26": { + "omics.2022-11-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/transcribe.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/omics.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -606,9 +606,9 @@ } } }, - "redshift-data.2019-12-20": { + "s3outposts.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/redshift-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3outposts.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -617,9 +617,9 @@ } } }, - "inspector2.2020-06-08": { + "support.2013-04-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/inspector2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/support.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -628,9 +628,9 @@ } } }, - "timestream-write.2018-11-01": { + "license-manager.2018-08-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/timestream-write.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/license-manager.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -639,9 +639,9 @@ } } }, - "sesv2.2019-09-27": { + "route53resolver.2018-04-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sesv2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53resolver.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -650,9 +650,9 @@ } } }, - "iot-wireless.2020-11-22": { + "lookoutmetrics.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-wireless.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lookoutmetrics.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -661,9 +661,9 @@ } } }, - "cloudhsm.2014-05-30": { + "pinpoint-sms-voice-v2.2022-03-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudhsm.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint-sms-voice-v2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -672,9 +672,9 @@ } } }, - "memorydb.2021-01-01": { + "cleanroomsml.2023-09-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/memorydb.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cleanroomsml.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -683,9 +683,9 @@ } } }, - "sagemaker-featurestore-runtime.2020-07-01": { + "connect-contact-lens.2020-08-21": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-featurestore-runtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connect-contact-lens.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -694,9 +694,9 @@ } } }, - "opsworks.2013-02-18": { + "databrew.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opsworks.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/databrew.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -705,9 +705,9 @@ } } }, - "dataexchange.2017-07-25": { + "iotsitewise.2019-12-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dataexchange.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotsitewise.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -716,9 +716,9 @@ } } }, - "pipes.2015-10-07": { + "iot-events-data.2018-10-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pipes.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-events-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -727,9 +727,9 @@ } } }, - "ssm.2014-11-06": { + "repostspace.2022-05-13": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/repostspace.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -738,9 +738,9 @@ } } }, - "workspaces-thin-client.2023-08-22": { + "data-pipeline.2012-10-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workspaces-thin-client.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/data-pipeline.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -749,9 +749,9 @@ } } }, - "simspaceweaver.2022-10-28": { + "keyspaces.2022-02-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/simspaceweaver.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/keyspaces.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -760,9 +760,9 @@ } } }, - "elastic-beanstalk.2010-12-01": { + "apprunner.2020-05-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-beanstalk.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apprunner.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -771,9 +771,9 @@ } } }, - "codedeploy.2014-10-06": { + "dsql.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codedeploy.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dsql.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -782,9 +782,9 @@ } } }, - "identitystore.2020-06-15": { + "opensearch.2021-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/identitystore.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opensearch.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -793,9 +793,9 @@ } } }, - "cleanroomsml.2023-09-06": { + "billing.2023-09-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cleanroomsml.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/billing.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -804,9 +804,9 @@ } } }, - "license-manager-linux-subscriptions.2018-05-10": { + "workspaces.2015-04-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/license-manager-linux-subscriptions.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workspaces.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -815,9 +815,9 @@ } } }, - "elasticache.2015-02-02": { + "internetmonitor.2021-06-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elasticache.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/internetmonitor.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -826,9 +826,9 @@ } } }, - "efs.2015-02-01": { + "robomaker.2018-06-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/efs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/robomaker.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -837,9 +837,9 @@ } } }, - "mediaconnect.2018-11-14": { + "application-auto-scaling.2016-02-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediaconnect.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-auto-scaling.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -848,9 +848,9 @@ } } }, - "qapps.2023-11-27": { + "redshift-data.2019-12-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qapps.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/redshift-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -859,9 +859,9 @@ } } }, - "gamelift.2015-10-01": { + "redshift.2012-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/gamelift.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/redshift.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -870,9 +870,9 @@ } } }, - "migrationhub-config.2019-06-30": { + "snow-device-management.2021-08-04": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migrationhub-config.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/snow-device-management.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -881,9 +881,9 @@ } } }, - "internetmonitor.2021-06-03": { + "timestream-query.2018-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/internetmonitor.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/timestream-query.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -892,9 +892,9 @@ } } }, - "connect.2017-08-08": { + "pca-connector-ad.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connect.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pca-connector-ad.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -903,9 +903,9 @@ } } }, - "account.2021-02-01": { + "medialive.2017-10-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/account.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/medialive.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -914,9 +914,9 @@ } } }, - "mgn.2020-02-26": { + "osis.2022-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mgn.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/osis.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -925,9 +925,9 @@ } } }, - "panorama.2019-07-24": { + "privatenetworks.2021-12-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/panorama.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/privatenetworks.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -936,9 +936,9 @@ } } }, - "rbin.2021-06-15": { + "marketplace-entitlement-service.2017-01-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rbin.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-entitlement-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -947,9 +947,9 @@ } } }, - "ecs.2014-11-13": { + "health.2016-08-04": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ecs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/health.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -958,9 +958,9 @@ } } }, - "launch-wizard.2018-05-10": { + "workmail.2017-10-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/launch-wizard.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workmail.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -969,9 +969,9 @@ } } }, - "voice-id.2021-09-27": { + "rum.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/voice-id.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rum.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -980,9 +980,9 @@ } } }, - "workdocs.2016-05-01": { + "security-ir.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workdocs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/security-ir.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -991,9 +991,9 @@ } } }, - "cost-and-usage-report-service.2017-01-06": { + "kafkaconnect.2021-09-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cost-and-usage-report-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kafkaconnect.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1002,9 +1002,9 @@ } } }, - "geo-routes.2020-11-19": { + "lookoutequipment.2020-12-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/geo-routes.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lookoutequipment.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1013,9 +1013,9 @@ } } }, - "servicediscovery.2017-03-14": { + "config-service.2014-11-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/servicediscovery.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/config-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1024,9 +1024,9 @@ } } }, - "cloud9.2017-09-23": { + "personalize-events.2018-03-22": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloud9.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/personalize-events.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1035,9 +1035,9 @@ } } }, - "fsx.2018-03-01": { + "chime-sdk-messaging.2021-05-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/fsx.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-messaging.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1046,9 +1046,9 @@ } } }, - "signer.2017-08-25": { + "transfer.2018-11-05": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/signer.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/transfer.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1057,9 +1057,9 @@ } } }, - "security-ir.2018-05-10": { + "memorydb.2021-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/security-ir.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/memorydb.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1068,9 +1068,9 @@ } } }, - "workspaces-web.2020-07-08": { + "pca-connector-scep.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workspaces-web.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pca-connector-scep.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1079,9 +1079,9 @@ } } }, - "iot-events-data.2018-10-23": { + "supplychain.2024-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-events-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/supplychain.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1090,9 +1090,9 @@ } } }, - "s3tables.2018-05-10": { + "qldb-session.2019-07-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3tables.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qldb-session.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1101,9 +1101,9 @@ } } }, - "oam.2022-06-10": { + "license-manager-linux-subscriptions.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/oam.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/license-manager-linux-subscriptions.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1112,9 +1112,9 @@ } } }, - "rds-data.2018-08-01": { + "healthlake.2017-07-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rds-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/healthlake.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1123,9 +1123,9 @@ } } }, - "elastic-load-balancing-v2.2015-12-01": { + "cloudsearch-domain.2013-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-load-balancing-v2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudsearch-domain.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1134,9 +1134,9 @@ } } }, - "mediapackagev2.2022-12-25": { + "managedblockchain-query.2023-05-04": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediapackagev2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/managedblockchain-query.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1145,9 +1145,9 @@ } } }, - "pinpoint.2016-12-01": { + "bedrock-agent-runtime.2023-07-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-agent-runtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1156,9 +1156,9 @@ } } }, - "personalize-runtime.2018-05-22": { + "neptune.2014-10-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/personalize-runtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/neptune.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1167,9 +1167,9 @@ } } }, - "appintegrations.2020-07-29": { + "translate.2017-07-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appintegrations.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/translate.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1178,9 +1178,9 @@ } } }, - "codeguruprofiler.2019-07-18": { + "taxsettings.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeguruprofiler.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/taxsettings.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1189,9 +1189,9 @@ } } }, - "chime-sdk-voice.2022-08-03": { + "lex-models-v2.2020-08-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-voice.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-models-v2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1200,9 +1200,9 @@ } } }, - "personalize.2018-05-22": { + "shield.2016-06-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/personalize.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/shield.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1211,9 +1211,9 @@ } } }, - "taxsettings.2018-05-10": { + "codecatalyst.2022-09-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/taxsettings.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codecatalyst.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1222,9 +1222,9 @@ } } }, - "pi.2018-02-27": { + "iotthingsgraph.2018-09-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pi.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotthingsgraph.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1233,9 +1233,9 @@ } } }, - "sqs.2012-11-05": { + "elastic-load-balancing-v2.2015-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sqs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-load-balancing-v2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1244,9 +1244,9 @@ } } }, - "dax.2017-04-19": { + "kms.2014-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dax.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kms.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1255,9 +1255,9 @@ } } }, - "glue.2017-03-31": { + "artifact.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/glue.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/artifact.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1266,9 +1266,9 @@ } } }, - "deadline.2023-10-12": { + "chime-sdk-identity.2021-04-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/deadline.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-identity.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1277,9 +1277,9 @@ } } }, - "greengrassv2.2020-11-30": { + "mediapackage.2017-10-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/greengrassv2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediapackage.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1288,9 +1288,9 @@ } } }, - "cloudtrail-data.2021-08-11": { + "invoicing.2024-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudtrail-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/invoicing.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1299,9 +1299,9 @@ } } }, - "lex-model-building-service.2017-04-19": { + "mgn.2020-02-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-model-building-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mgn.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1310,9 +1310,9 @@ } } }, - "networkflowmonitor.2023-04-19": { + "entityresolution.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/networkflowmonitor.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/entityresolution.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1321,9 +1321,9 @@ } } }, - "neptunedata.2023-08-01": { + "marketplace-agreement.2020-03-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/neptunedata.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-agreement.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1332,9 +1332,9 @@ } } }, - "appconfig.2019-10-09": { + "codebuild.2016-10-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appconfig.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codebuild.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1343,9 +1343,9 @@ } } }, - "lightsail.2016-11-28": { + "cloudhsm.2014-05-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lightsail.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudhsm.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1354,9 +1354,9 @@ } } }, - "qbusiness.2023-11-27": { + "iotsecuretunneling.2018-10-05": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qbusiness.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotsecuretunneling.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1365,9 +1365,9 @@ } } }, - "timestream-influxdb.2023-01-27": { + "managedblockchain.2018-09-24": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/timestream-influxdb.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/managedblockchain.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1376,9 +1376,9 @@ } } }, - "datazone.2018-05-10": { + "iot-data-plane.2015-05-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/datazone.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-data-plane.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1387,9 +1387,9 @@ } } }, - "apptest.2022-12-06": { + "lex-runtime-v2.2020-08-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apptest.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-runtime-v2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1398,9 +1398,9 @@ } } }, - "accessanalyzer.2019-11-01": { + "geo-routes.2020-11-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/accessanalyzer.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/geo-routes.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1409,9 +1409,9 @@ } } }, - "detective.2018-10-26": { + "license-manager-user-subscriptions.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/detective.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/license-manager-user-subscriptions.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1420,9 +1420,9 @@ } } }, - "comprehendmedical.2018-10-30": { + "s3.2006-03-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/comprehendmedical.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1431,9 +1431,9 @@ } } }, - "payment-cryptography.2021-09-14": { + "servicediscovery.2017-03-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/payment-cryptography.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/servicediscovery.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1442,9 +1442,9 @@ } } }, - "amplifyuibuilder.2021-08-11": { + "api-gateway.2015-07-09": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amplifyuibuilder.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/api-gateway.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1453,9 +1453,9 @@ } } }, - "bedrock.2023-04-20": { + "networkmanager.2019-07-05": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/networkmanager.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1464,9 +1464,9 @@ } } }, - "b2bi.2022-06-23": { + "database-migration-service.2016-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/b2bi.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/database-migration-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1475,9 +1475,9 @@ } } }, - "schemas.2019-12-02": { + "migrationhub-config.2019-06-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/schemas.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migrationhub-config.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1486,9 +1486,9 @@ } } }, - "rds.2014-10-31": { + "migrationhuborchestrator.2021-08-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rds.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migrationhuborchestrator.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1497,9 +1497,9 @@ } } }, - "marketplace-reporting.2018-05-10": { + "freetier.2023-09-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-reporting.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/freetier.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1508,9 +1508,9 @@ } } }, - "clouddirectory.2017-01-11": { + "rds.2014-10-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/clouddirectory.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rds.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1519,9 +1519,9 @@ } } }, - "secrets-manager.2017-10-17": { + "iotfleetwise.2021-06-17": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/secrets-manager.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotfleetwise.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1530,9 +1530,9 @@ } } }, - "snowball.2016-06-30": { + "resource-explorer-2.2022-07-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/snowball.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resource-explorer-2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1541,9 +1541,9 @@ } } }, - "sagemaker-geospatial.2020-05-27": { + "pi.2018-02-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-geospatial.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pi.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1552,9 +1552,9 @@ } } }, - "cognito-identity.2014-06-30": { + "deadline.2023-10-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cognito-identity.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/deadline.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1563,9 +1563,9 @@ } } }, - "iottwinmaker.2021-11-29": { + "connectparticipant.2018-09-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iottwinmaker.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectparticipant.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1574,9 +1574,9 @@ } } }, - "kafkaconnect.2021-09-14": { + "iotanalytics.2017-11-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kafkaconnect.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotanalytics.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1585,9 +1585,9 @@ } } }, - "cost-explorer.2017-10-25": { + "synthetics.2017-10-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cost-explorer.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/synthetics.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1596,9 +1596,20 @@ } } }, - "cost-optimization-hub.2022-07-26": { + "personalize.2018-05-22": { + "imports": [ + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/personalize.json" + ], + "plugins": { + "cpp-codegen-smoke-tests-plugin": { + "serviceFilter": [], + "c2jMap": "{\"api-gateway\": \"apigateway\", \"application-auto-scaling\": \"application-autoscaling\", \"app-mesh\": \"appmesh\", \"auto-scaling\": \"autoscaling\", \"auto-scaling-plans\": \"autoscaling-plans\", \"cloudhsm-v2\": \"cloudhsmv2\", \"cloudsearch-domain\": \"cloudsearchdomain\", \"config-service\": \"config\", \"cost-and-usage-report-service\": \"cur\", \"data-pipeline\": \"datapipeline\", \"device-farm\": \"devicefarm\", \"direct-connect\": \"directconnect\", \"dynamodb-streams\": \"dynamodbstreams\", \"elastic-beanstalk\": \"elasticbeanstalk\", \"elastic-load-balancing\": \"elasticloadbalancing\", \"elastic-load-balancing-v2\": \"elasticloadbalancingv2\", \"elastic-transcoder\": \"elastictranscoder\", \"global-accelerator\": \"globalaccelerator\", \"iot-1click-devices-service\": \"iot1click-devices\", \"iot-1click-projects\": \"iot1click-projects\", \"iot-data-plane\": \"iot-data\", \"iot-events-data\": \"iotevents-data\", \"iot-events\": \"iotevents\", \"iot-jobs-data-plane\": \"iot-jobs-data\", \"iot-wireless\": \"iotwireless\", \"kinesis-analytics\": \"kinesisanalytics\", \"kinesis-analytics-v2\": \"kinesisanalyticsv2\", \"kinesis-video\": \"kinesisvideo\", \"lex-models-v2\": \"lexv2-models\", \"lex-runtime-service\": \"lex\", \"lex-runtime-v2\": \"lexv2-runtime\", \"machine-learning\": \"machinelearning\", \"marketplace-commerce-analytics\": \"marketplacecommerceanalytics\", \"marketplace-entitlement-service\": \"marketplace-entitlement\", \"marketplace-metering\": \"meteringmarketplace\", \"migration-hub\": \"AWSMigrationHub\", \"mturk\": \"mturk-requester\", \"pinpoint-sms-voice\": \"sms-voice\", \"resource-groups-tagging-api\": \"resourcegroupstaggingapi\", \"route-53-domains\": \"route53domains\", \"route-53\": \"route53\", \"s3-control\": \"s3control\", \"sagemaker-runtime\": \"sagemaker-runtime\", \"secrets-manager\": \"secretsmanager\", \"serverlessapplicationrepository\": \"serverlessrepo\", \"service-catalog-appregistry\": \"servicecatalog-appregistry\", \"service-catalog\": \"servicecatalog\", \"transfer\": \"awstransfer\", \"cloudwatch\": \"monitoring\", \"cloudwatch-events\": \"events\", \"storage-gateway\": \"storagegateway\", \"efs\": \"elasticfilesystem\", \"emr\": \"elasticmapreduce\", \"ses\": \"email\", \"cognito-identity-provider\": \"cognito-idp\", \"cost-explorer\": \"ce\", \"application-discovery-service\": \"discovery\", \"database-migration-service\": \"dms\", \"sfn\": \"states\", \"lex-model-building-service\": \"lex-models\", \"cloudwatch-logs\": \"logs\", \"directory-service\": \"ds\", \"elasticsearch-service \": \"es\", \"importexport\": \"importexport\", \"sdb\": \"sdb\", \"transcribe-streaming\": \"transcribestreaming\"}" + } + } + }, + "iot-1click-projects.2018-05-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cost-optimization-hub.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-1click-projects.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1607,9 +1618,9 @@ } } }, - "grafana.2020-08-18": { + "application-signals.2024-04-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/grafana.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-signals.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1618,9 +1629,9 @@ } } }, - "iot.2015-05-28": { + "notifications.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/notifications.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1629,9 +1640,9 @@ } } }, - "bcm-data-exports.2023-11-26": { + "wafv2.2019-07-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bcm-data-exports.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/wafv2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1640,9 +1651,9 @@ } } }, - "osis.2022-01-01": { + "pinpoint.2016-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/osis.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1651,9 +1662,9 @@ } } }, - "global-accelerator.2018-08-08": { + "codedeploy.2014-10-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/global-accelerator.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codedeploy.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1662,9 +1673,9 @@ } } }, - "kinesis-video-archived-media.2017-09-30": { + "sagemaker-edge.2020-09-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-archived-media.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-edge.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1673,9 +1684,9 @@ } } }, - "kinesis-video-signaling.2019-12-04": { + "snowball.2016-06-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-signaling.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/snowball.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1684,9 +1695,9 @@ } } }, - "frauddetector.2019-11-15": { + "ivs.2020-07-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/frauddetector.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ivs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1695,9 +1706,9 @@ } } }, - "amp.2020-08-01": { + "greengrassv2.2020-11-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amp.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/greengrassv2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1706,9 +1717,9 @@ } } }, - "timestream-query.2018-11-01": { + "comprehend.2017-11-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/timestream-query.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/comprehend.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1717,9 +1728,9 @@ } } }, - "organizations.2016-11-28": { + "sagemaker-featurestore-runtime.2020-07-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/organizations.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-featurestore-runtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1728,9 +1739,9 @@ } } }, - "route53resolver.2018-04-01": { + "drs.2020-02-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53resolver.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/drs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1739,9 +1750,9 @@ } } }, - "mediapackage.2017-10-12": { + "lakeformation.2017-03-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediapackage.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lakeformation.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1750,9 +1761,9 @@ } } }, - "proton.2020-07-20": { + "eventbridge.2015-10-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/proton.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/eventbridge.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1761,9 +1772,9 @@ } } }, - "rolesanywhere.2018-05-10": { + "ssm.2014-11-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rolesanywhere.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1772,9 +1783,9 @@ } } }, - "codebuild.2016-10-06": { + "waf-regional.2016-11-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codebuild.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/waf-regional.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1783,9 +1794,9 @@ } } }, - "artifact.2018-05-10": { + "cloudcontrol.2021-09-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/artifact.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudcontrol.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1794,9 +1805,9 @@ } } }, - "sso-admin.2020-07-20": { + "qconnect.2020-10-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sso-admin.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qconnect.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1805,9 +1816,9 @@ } } }, - "codestar-connections.2019-12-01": { + "identitystore.2020-06-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codestar-connections.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/identitystore.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1816,9 +1827,9 @@ } } }, - "backup-gateway.2021-01-01": { + "ram.2018-01-04": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/backup-gateway.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ram.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1827,9 +1838,9 @@ } } }, - "robomaker.2018-06-29": { + "mediatailor.2018-04-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/robomaker.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediatailor.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1838,9 +1849,9 @@ } } }, - "cloudsearch-domain.2013-01-01": { + "mediapackage-vod.2018-11-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudsearch-domain.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediapackage-vod.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1849,9 +1860,9 @@ } } }, - "connectparticipant.2018-09-07": { + "lex-model-building-service.2017-04-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectparticipant.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-model-building-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1860,9 +1871,9 @@ } } }, - "sms.2016-10-24": { + "bedrock-runtime.2023-09-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sms.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-runtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1871,9 +1882,9 @@ } } }, - "mwaa.2020-07-01": { + "pipes.2015-10-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mwaa.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pipes.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1882,9 +1893,9 @@ } } }, - "mailmanager.2023-10-17": { + "ssm-sap.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mailmanager.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-sap.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1893,9 +1904,9 @@ } } }, - "chime-sdk-messaging.2021-05-15": { + "kinesis-video.2017-09-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-messaging.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1904,9 +1915,9 @@ } } }, - "health.2016-08-04": { + "panorama.2019-07-24": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/health.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/panorama.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1915,9 +1926,9 @@ } } }, - "geo-maps.2020-11-19": { + "pinpoint-email.2018-07-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/geo-maps.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint-email.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1926,9 +1937,9 @@ } } }, - "glacier.2012-06-01": { + "appintegrations.2020-07-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/glacier.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appintegrations.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1937,9 +1948,9 @@ } } }, - "socialmessaging.2024-01-01": { + "savingsplans.2019-06-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/socialmessaging.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/savingsplans.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1948,9 +1959,9 @@ } } }, - "codecatalyst.2022-09-28": { + "sagemaker-runtime.2017-05-13": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codecatalyst.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-runtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1959,9 +1970,9 @@ } } }, - "marketplace-commerce-analytics.2015-07-01": { + "global-accelerator.2018-08-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-commerce-analytics.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/global-accelerator.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1970,9 +1981,9 @@ } } }, - "s3-control.2018-08-20": { + "qldb.2019-01-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3-control.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qldb.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1981,9 +1992,9 @@ } } }, - "cloudwatch.2010-08-01": { + "apigatewaymanagementapi.2018-11-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudwatch.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apigatewaymanagementapi.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -1992,9 +2003,9 @@ } } }, - "mediastore-data.2017-09-01": { + "chime-sdk-voice.2022-08-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediastore-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-voice.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2003,9 +2014,9 @@ } } }, - "drs.2020-02-26": { + "cloudtrail.2013-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/drs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudtrail.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2014,9 +2025,9 @@ } } }, - "ssm-sap.2018-05-10": { + "verifiedpermissions.2021-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-sap.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/verifiedpermissions.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2025,9 +2036,9 @@ } } }, - "polly.2016-06-10": { + "forecastquery.2018-06-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/polly.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/forecastquery.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2036,9 +2047,9 @@ } } }, - "tnb.2008-10-21": { + "transcribe.2017-10-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/tnb.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/transcribe.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2047,9 +2058,9 @@ } } }, - "pcs.2023-02-10": { + "trustedadvisor.2022-09-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pcs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/trustedadvisor.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2058,9 +2069,9 @@ } } }, - "budgets.2016-10-20": { + "sso.2019-06-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/budgets.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sso.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2069,9 +2080,9 @@ } } }, - "ssm-contacts.2021-05-03": { + "lightsail.2016-11-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-contacts.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lightsail.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2080,9 +2091,9 @@ } } }, - "pinpoint-sms-voice.2018-09-05": { + "workspaces-thin-client.2023-08-22": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint-sms-voice.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workspaces-thin-client.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2091,9 +2102,9 @@ } } }, - "pca-connector-scep.2018-05-10": { + "arc-zonal-shift.2022-10-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pca-connector-scep.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/arc-zonal-shift.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2102,9 +2113,9 @@ } } }, - "applicationcostprofiler.2020-09-10": { + "inspector2.2020-06-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/applicationcostprofiler.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/inspector2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2113,9 +2124,9 @@ } } }, - "acm.2015-12-08": { + "application-discovery-service.2015-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/acm.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-discovery-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2124,9 +2135,9 @@ } } }, - "serverlessapplicationrepository.2017-09-08": { + "route53-recovery-readiness.2019-12-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/serverlessapplicationrepository.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53-recovery-readiness.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2135,9 +2146,9 @@ } } }, - "geo-places.2020-11-19": { + "dynamodb.2012-08-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/geo-places.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dynamodb.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2146,9 +2157,9 @@ } } }, - "iotdeviceadvisor.2020-09-18": { + "customer-profiles.2020-08-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotdeviceadvisor.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/customer-profiles.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2157,9 +2168,9 @@ } } }, - "comprehend.2017-11-27": { + "direct-connect.2012-10-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/comprehend.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/direct-connect.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2168,9 +2179,9 @@ } } }, - "notifications.2018-05-10": { + "elastic-transcoder.2012-09-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/notifications.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-transcoder.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2179,9 +2190,9 @@ } } }, - "cloudfront.2020-05-31": { + "auditmanager.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudfront.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/auditmanager.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2190,9 +2201,9 @@ } } }, - "storage-gateway.2013-06-30": { + "elasticache.2015-02-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/storage-gateway.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elasticache.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2201,9 +2212,9 @@ } } }, - "ssm-quicksetup.2018-05-10": { + "amplifyuibuilder.2021-08-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-quicksetup.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amplifyuibuilder.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2212,9 +2223,9 @@ } } }, - "dynamodb.2012-08-10": { + "mediastore-data.2017-09-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dynamodb.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediastore-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2223,9 +2234,9 @@ } } }, - "sso.2019-06-10": { + "efs.2015-02-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sso.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/efs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2234,9 +2245,9 @@ } } }, - "connectcases.2022-10-03": { + "budgets.2016-10-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectcases.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/budgets.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2245,9 +2256,9 @@ } } }, - "acm-pca.": { + "resource-groups.2017-11-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/acm-pca.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resource-groups.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2256,9 +2267,9 @@ } } }, - "mturk.2017-01-17": { + "inspector.2016-02-16": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mturk.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/inspector.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2267,9 +2278,9 @@ } } }, - "mediapackage-vod.2018-11-07": { + "backupsearch.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediapackage-vod.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/backupsearch.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2278,9 +2289,9 @@ } } }, - "ses.2010-12-01": { + "mq.2017-11-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ses.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mq.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2289,9 +2300,9 @@ } } }, - "qldb.2019-01-02": { + "kinesis-video-signaling.2019-12-04": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qldb.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-signaling.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2300,9 +2311,9 @@ } } }, - "emr-serverless.2021-07-13": { + "serverlessapplicationrepository.2017-09-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/emr-serverless.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/serverlessapplicationrepository.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2311,9 +2322,9 @@ } } }, - "supplychain.2024-01-01": { + "codestar-notifications.2019-10-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/supplychain.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codestar-notifications.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2322,9 +2333,9 @@ } } }, - "bedrock-runtime.2023-09-30": { + "cost-and-usage-report-service.2017-01-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-runtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cost-and-usage-report-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2333,9 +2344,9 @@ } } }, - "direct-connect.2012-10-25": { + "service-quotas.2019-06-24": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/direct-connect.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/service-quotas.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2344,9 +2355,9 @@ } } }, - "macie2.2020-01-01": { + "resiliencehub.2020-04-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/macie2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resiliencehub.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2355,9 +2366,9 @@ } } }, - "finspace.2021-03-12": { + "bedrock.2023-04-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/finspace.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2366,9 +2377,9 @@ } } }, - "ivs.2020-07-14": { + "datasync.2018-11-09": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ivs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/datasync.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2377,9 +2388,9 @@ } } }, - "iotsitewise.2019-12-02": { + "apigatewayv2.2018-11-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotsitewise.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apigatewayv2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2388,9 +2399,9 @@ } } }, - "securitylake.2018-05-10": { + "eks.2017-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/securitylake.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/eks.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2399,9 +2410,9 @@ } } }, - "auditmanager.2017-07-25": { + "batch.2016-08-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/auditmanager.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/batch.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2410,9 +2421,9 @@ } } }, - "iotthingsgraph.2018-09-06": { + "route-53.2013-04-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotthingsgraph.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route-53.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2421,9 +2432,9 @@ } } }, - "ssm-incidents.2018-05-10": { + "amp.2020-08-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-incidents.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amp.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2432,9 +2443,9 @@ } } }, - "outposts.2019-12-03": { + "opsworkscm.2016-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/outposts.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opsworkscm.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2443,9 +2454,9 @@ } } }, - "personalize-events.2018-03-22": { + "kafka.2018-11-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/personalize-events.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kafka.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2454,9 +2465,9 @@ } } }, - "cloudwatch-logs.2014-03-28": { + "iotdeviceadvisor.2020-09-18": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudwatch-logs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotdeviceadvisor.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2465,9 +2476,9 @@ } } }, - "appconfigdata.2021-11-11": { + "pinpoint-sms-voice.2018-09-05": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appconfigdata.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint-sms-voice.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2476,9 +2487,9 @@ } } }, - "kms.2014-11-01": { + "appflow.2020-08-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kms.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appflow.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2487,9 +2498,9 @@ } } }, - "route53-recovery-control-config.2020-11-02": { + "b2bi.2022-06-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53-recovery-control-config.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/b2bi.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2498,9 +2509,9 @@ } } }, - "license-manager.2018-08-01": { + "route-53-domains.2014-05-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/license-manager.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route-53-domains.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2509,9 +2520,9 @@ } } }, - "kendra-ranking.2022-10-19": { + "glacier.2012-06-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kendra-ranking.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/glacier.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2520,9 +2531,9 @@ } } }, - "batch.2016-08-10": { + "rekognition.2016-06-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/batch.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rekognition.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2531,9 +2542,9 @@ } } }, - "cognito-sync.2014-06-30": { + "ecs.2014-11-13": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cognito-sync.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ecs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2542,9 +2553,9 @@ } } }, - "api-gateway.2015-07-09": { + "pcs.2023-02-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/api-gateway.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pcs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2553,9 +2564,9 @@ } } }, - "codeguru-reviewer.2019-09-19": { + "greengrass.2017-06-07": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeguru-reviewer.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/greengrass.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2564,9 +2575,9 @@ } } }, - "sfn.2016-11-23": { + "devops-guru.2020-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sfn.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/devops-guru.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2575,9 +2586,9 @@ } } }, - "imagebuilder.2019-12-02": { + "sqs.2012-11-05": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/imagebuilder.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sqs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2586,9 +2597,9 @@ } } }, - "kinesis-video-webrtc-storage.2018-05-10": { + "backup.2018-11-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-webrtc-storage.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/backup.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2597,9 +2608,9 @@ } } }, - "savingsplans.2019-06-28": { + "signer.2017-08-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/savingsplans.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/signer.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2608,9 +2619,9 @@ } } }, - "resource-explorer-2.2022-07-28": { + "ses.2010-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resource-explorer-2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ses.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2619,9 +2630,9 @@ } } }, - "migration-hub-refactor-spaces.2021-10-26": { + "codeguruprofiler.2019-07-18": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migration-hub-refactor-spaces.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeguruprofiler.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2630,9 +2641,9 @@ } } }, - "eventbridge.2015-10-07": { + "partnercentral-selling.2022-07-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/eventbridge.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/partnercentral-selling.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2641,9 +2652,9 @@ } } }, - "opensearch.2021-01-01": { + "firehose.2015-08-04": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opensearch.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/firehose.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2652,9 +2663,9 @@ } } }, - "qconnect.2020-10-19": { + "oam.2022-06-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qconnect.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/oam.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2663,9 +2674,9 @@ } } }, - "license-manager-user-subscriptions.2018-05-10": { + "application-insights.2018-11-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/license-manager-user-subscriptions.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-insights.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2674,9 +2685,9 @@ } } }, - "iot-events.2018-07-27": { + "glue.2017-03-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-events.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/glue.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2685,9 +2696,9 @@ } } }, - "kinesis-video-media.2017-09-30": { + "medical-imaging.2023-07-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-media.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/medical-imaging.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2696,9 +2707,9 @@ } } }, - "cloudcontrol.2021-09-30": { + "iot.2015-05-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudcontrol.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2707,9 +2718,9 @@ } } }, - "chime-sdk-meetings.2021-07-15": { + "iottwinmaker.2021-11-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-meetings.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iottwinmaker.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2718,9 +2729,9 @@ } } }, - "mediastore.2017-09-01": { + "neptunedata.2023-08-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediastore.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/neptunedata.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2729,9 +2740,9 @@ } } }, - "lex-runtime-v2.2020-08-07": { + "launch-wizard.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-runtime-v2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/launch-wizard.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2740,9 +2751,9 @@ } } }, - "snow-device-management.2021-08-04": { + "quicksight.2018-04-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/snow-device-management.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/quicksight.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2751,9 +2762,9 @@ } } }, - "support.2013-04-15": { + "braket.2019-09-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/support.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/braket.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2762,9 +2773,9 @@ } } }, - "opensearchserverless.2021-11-01": { + "emr-serverless.2021-07-13": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opensearchserverless.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/emr-serverless.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2773,9 +2784,9 @@ } } }, - "app-mesh.2019-01-25": { + "sagemaker-geospatial.2020-05-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/app-mesh.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-geospatial.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2784,9 +2795,9 @@ } } }, - "cloudformation.2010-05-15": { + "waf.2015-08-24": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudformation.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/waf.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2795,9 +2806,9 @@ } } }, - "ec2-instance-connect.2018-04-02": { + "kinesis-video-webrtc-storage.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ec2-instance-connect.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-webrtc-storage.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2806,9 +2817,9 @@ } } }, - "route53profiles.2018-05-10": { + "iot-1click-devices-service.2018-05-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53profiles.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-1click-devices-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2817,9 +2828,9 @@ } } }, - "lambda.2015-03-31": { + "polly.2016-06-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lambda.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/polly.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2828,9 +2839,9 @@ } } }, - "marketplace-entitlement-service.2017-01-11": { + "s3-control.2018-08-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-entitlement-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3-control.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2839,9 +2850,9 @@ } } }, - "eks.2017-11-01": { + "qapps.2023-11-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/eks.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qapps.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2850,9 +2861,9 @@ } } }, - "braket.2019-09-01": { + "service-catalog.2015-12-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/braket.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/service-catalog.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2861,9 +2872,9 @@ } } }, - "lakeformation.2017-03-31": { + "auto-scaling.2011-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lakeformation.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/auto-scaling.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2872,9 +2883,9 @@ } } }, - "kinesis-video.2017-09-30": { + "kinesis.2013-12-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2883,9 +2894,9 @@ } } }, - "cloudsearch.2013-01-01": { + "secrets-manager.2017-10-17": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudsearch.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/secrets-manager.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2894,9 +2905,9 @@ } } }, - "appfabric.2023-05-19": { + "mturk.2017-01-17": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appfabric.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mturk.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2905,9 +2916,9 @@ } } }, - "application-signals.2024-04-15": { + "mediaconnect.2018-11-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-signals.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediaconnect.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2916,9 +2927,9 @@ } } }, - "iot-1click-devices-service.2018-05-14": { + "evidently.2021-02-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-1click-devices-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/evidently.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2927,9 +2938,9 @@ } } }, - "codeguru-security.2018-05-10": { + "outposts.2019-12-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeguru-security.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/outposts.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2938,9 +2949,9 @@ } } }, - "wellarchitected.2020-03-31": { + "ebs.2019-11-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/wellarchitected.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ebs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2949,9 +2960,9 @@ } } }, - "cloudhsm-v2.2017-04-28": { + "resource-groups-tagging-api.2017-01-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudhsm-v2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resource-groups-tagging-api.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2960,9 +2971,9 @@ } } }, - "medialive.2017-10-14": { + "comprehendmedical.2018-10-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/medialive.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/comprehendmedical.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2971,9 +2982,9 @@ } } }, - "sagemaker-edge.2020-09-23": { + "account.2021-02-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-edge.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/account.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2982,9 +2993,9 @@ } } }, - "bcm-pricing-calculator.2024-06-19": { + "wisdom.2020-10-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bcm-pricing-calculator.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/wisdom.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -2993,9 +3004,9 @@ } } }, - "cleanrooms.2022-02-17": { + "xray.2016-04-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cleanrooms.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/xray.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3004,9 +3015,9 @@ } } }, - "mediaconvert.2017-08-29": { + "opensearchserverless.2021-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediaconvert.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opensearchserverless.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3015,9 +3026,9 @@ } } }, - "arc-zonal-shift.2022-10-30": { + "directory-service.2015-04-16": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/arc-zonal-shift.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/directory-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3026,9 +3037,9 @@ } } }, - "workmail.2017-10-01": { + "cloud9.2017-09-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workmail.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloud9.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3037,9 +3048,9 @@ } } }, - "payment-cryptography-data.2022-02-03": { + "apptest.2022-12-06": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/payment-cryptography-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apptest.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3048,9 +3059,9 @@ } } }, - "dynamodb-streams.2012-08-10": { + "elastic-beanstalk.2010-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dynamodb-streams.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-beanstalk.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3059,9 +3070,9 @@ } } }, - "elastic-inference.2017-07-25": { + "timestream-influxdb.2023-01-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-inference.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/timestream-influxdb.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3070,9 +3081,9 @@ } } }, - "machine-learning.2014-12-12": { + "marketplace-catalog.2018-09-17": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/machine-learning.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-catalog.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3081,9 +3092,9 @@ } } }, - "mq.2017-11-27": { + "docdb.2014-10-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mq.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/docdb.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3092,9 +3103,9 @@ } } }, - "opsworkscm.2016-11-01": { + "ec2.2016-11-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opsworkscm.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ec2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3103,9 +3114,9 @@ } } }, - "application-insights.2018-11-25": { + "finspace.2021-03-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-insights.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/finspace.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3114,9 +3125,9 @@ } } }, - "cloudtrail.2013-11-01": { + "s3tables.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudtrail.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3tables.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3125,9 +3136,9 @@ } } }, - "appsync.2017-07-25": { + "m2.2021-04-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appsync.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/m2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3136,9 +3147,9 @@ } } }, - "dsql.2018-05-10": { + "ssm-incidents.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dsql.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-incidents.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3147,9 +3158,9 @@ } } }, - "iotfleethub.2020-11-03": { + "macie2.2020-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotfleethub.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/macie2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3158,9 +3169,9 @@ } } }, - "elastic-transcoder.2012-09-25": { + "gamelift.2015-10-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-transcoder.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/gamelift.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3169,9 +3180,9 @@ } } }, - "route53-recovery-readiness.2019-12-02": { + "dax.2017-04-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53-recovery-readiness.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dax.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3180,9 +3191,9 @@ } } }, - "bedrock-data-automation-runtime.2024-06-13": { + "sfn.2016-11-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-data-automation-runtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sfn.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3191,9 +3202,9 @@ } } }, - "databrew.2017-07-25": { + "guardduty.2017-11-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/databrew.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/guardduty.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3202,9 +3213,9 @@ } } }, - "migrationhuborchestrator.2021-08-28": { + "cloudfront.2020-05-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migrationhuborchestrator.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudfront.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3213,9 +3224,9 @@ } } }, - "billingconductor.2021-07-30": { + "athena.2017-05-18": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/billingconductor.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/athena.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3224,9 +3235,9 @@ } } }, - "resiliencehub.2020-04-30": { + "marketplace-metering.2016-01-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resiliencehub.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-metering.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3235,9 +3246,9 @@ } } }, - "migrationhubstrategy.2020-02-19": { + "forecast.2018-06-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migrationhubstrategy.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/forecast.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3246,9 +3257,9 @@ } } }, - "sagemaker-a2i-runtime.2019-11-07": { + "route53-recovery-cluster.2019-12-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-a2i-runtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53-recovery-cluster.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3257,9 +3268,9 @@ } } }, - "freetier.2023-09-07": { + "chatbot.2017-10-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/freetier.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chatbot.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3268,9 +3279,9 @@ } } }, - "fms.2018-01-01": { + "vpc-lattice.2022-11-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/fms.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/vpc-lattice.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3279,9 +3290,9 @@ } } }, - "controltower.2018-05-10": { + "appstream.2016-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/controltower.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appstream.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3290,9 +3301,9 @@ } } }, - "datasync.2018-11-09": { + "migrationhubstrategy.2020-02-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/datasync.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migrationhubstrategy.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3301,9 +3312,9 @@ } } }, - "workmailmessageflow.2019-05-01": { + "kinesis-video-archived-media.2017-09-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workmailmessageflow.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-video-archived-media.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3312,9 +3323,9 @@ } } }, - "database-migration-service.2016-01-01": { + "mediapackagev2.2022-12-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/database-migration-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediapackagev2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3323,9 +3334,9 @@ } } }, - "m2.2021-04-28": { + "codeconnections.2023-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/m2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeconnections.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3334,9 +3345,9 @@ } } }, - "apigatewayv2.2018-11-29": { + "mediaconvert.2017-08-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apigatewayv2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediaconvert.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3345,9 +3356,9 @@ } } }, - "workspaces.2015-04-08": { + "connect.2017-08-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workspaces.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connect.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3356,9 +3367,9 @@ } } }, - "invoicing.2024-12-01": { + "machine-learning.2014-12-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/invoicing.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/machine-learning.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3367,9 +3378,9 @@ } } }, - "kinesis-analytics-v2.2018-05-23": { + "proton.2020-07-20": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-analytics-v2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/proton.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3378,9 +3389,9 @@ } } }, - "directory-service-data.2023-05-31": { + "fis.2020-12-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/directory-service-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/fis.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3389,9 +3400,9 @@ } } }, - "iam.2010-05-08": { + "cost-optimization-hub.2022-07-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iam.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cost-optimization-hub.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3400,9 +3411,9 @@ } } }, - "lookoutequipment.2020-12-15": { + "fms.2018-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lookoutequipment.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/fms.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3411,9 +3422,9 @@ } } }, - "sso-oidc.2019-06-10": { + "lex-runtime-service.2016-11-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sso-oidc.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-runtime-service.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3422,9 +3433,9 @@ } } }, - "amplify.2017-07-25": { + "storage-gateway.2013-06-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amplify.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/storage-gateway.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3433,9 +3444,9 @@ } } }, - "transfer.2018-11-05": { + "payment-cryptography-data.2022-02-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/transfer.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/payment-cryptography-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3444,9 +3455,9 @@ } } }, - "shield.2016-06-02": { + "schemas.2019-12-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/shield.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/schemas.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3455,9 +3466,9 @@ } } }, - "ec2.2016-11-15": { + "elastic-inference.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ec2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-inference.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3466,9 +3477,9 @@ } } }, - "forecastquery.2018-06-26": { + "wellarchitected.2020-03-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/forecastquery.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/wellarchitected.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3477,9 +3488,9 @@ } } }, - "docdb-elastic.2022-11-28": { + "groundstation.2019-05-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/docdb-elastic.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/groundstation.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3488,9 +3499,9 @@ } } }, - "observabilityadmin.2018-05-10": { + "cloudsearch.2013-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/observabilityadmin.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudsearch.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3499,9 +3510,9 @@ } } }, - "waf.2015-08-24": { + "payment-cryptography.2021-09-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/waf.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/payment-cryptography.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3510,9 +3521,9 @@ } } }, - "network-firewall.2020-11-12": { + "mailmanager.2023-10-17": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/network-firewall.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mailmanager.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3521,9 +3532,9 @@ } } }, - "xray.2016-04-12": { + "codeartifact.2018-09-22": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/xray.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeartifact.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3532,9 +3543,9 @@ } } }, - "lookoutmetrics.2017-07-25": { + "dlm.2018-01-12": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lookoutmetrics.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dlm.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3543,9 +3554,9 @@ } } }, - "codeartifact.2018-09-22": { + "migration-hub.2017-05-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeartifact.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migration-hub.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3554,9 +3565,9 @@ } } }, - "finspace-data.2020-07-13": { + "neptune-graph.2023-11-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/finspace-data.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/neptune-graph.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3565,9 +3576,9 @@ } } }, - "entityresolution.2018-05-10": { + "app-mesh.2019-01-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/entityresolution.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/app-mesh.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3576,9 +3587,9 @@ } } }, - "neptune.2014-10-31": { + "ecr.2015-09-21": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/neptune.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ecr.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3587,9 +3598,9 @@ } } }, - "directory-service.2015-04-16": { + "billingconductor.2021-07-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/directory-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/billingconductor.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3598,9 +3609,9 @@ } } }, - "managedblockchain-query.2023-05-04": { + "observabilityadmin.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/managedblockchain-query.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/observabilityadmin.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3609,9 +3620,9 @@ } } }, - "synthetics.2017-10-11": { + "kinesis-analytics.2015-08-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/synthetics.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-analytics.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3620,9 +3631,9 @@ } } }, - "codeconnections.2023-12-01": { + "compute-optimizer.2019-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeconnections.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/compute-optimizer.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3631,9 +3642,9 @@ } } }, - "firehose.2015-08-04": { + "kinesis-analytics-v2.2018-05-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/firehose.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis-analytics-v2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3642,9 +3653,9 @@ } } }, - "connect-contact-lens.2020-08-21": { + "mwaa.2020-07-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connect-contact-lens.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mwaa.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3653,9 +3664,9 @@ } } }, - "application-discovery-service.2015-11-01": { + "opsworks.2013-02-18": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-discovery-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/opsworks.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3664,9 +3675,9 @@ } } }, - "backup.2018-11-15": { + "dataexchange.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/backup.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/dataexchange.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3675,9 +3686,9 @@ } } }, - "route-53.2013-04-01": { + "workdocs.2016-05-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route-53.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workdocs.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3686,9 +3697,9 @@ } } }, - "ivs-realtime.2020-07-14": { + "marketplace-deployment.2023-01-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ivs-realtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-deployment.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3697,9 +3708,9 @@ } } }, - "chime.2018-05-01": { + "controlcatalog.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/controlcatalog.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3708,9 +3719,9 @@ } } }, - "service-catalog-appregistry.2020-06-24": { + "sesv2.2019-09-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/service-catalog-appregistry.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sesv2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3719,9 +3730,9 @@ } } }, - "marketplace-deployment.2023-01-25": { + "kendra-ranking.2022-10-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-deployment.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kendra-ranking.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3730,9 +3741,9 @@ } } }, - "qldb-session.2019-07-11": { + "codecommit.2015-04-13": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/qldb-session.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codecommit.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3741,9 +3752,9 @@ } } }, - "codecommit.2015-04-13": { + "amplify.2017-07-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codecommit.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/amplify.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3752,9 +3763,9 @@ } } }, - "evidently.2021-02-01": { + "rbin.2021-06-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/evidently.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rbin.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3763,9 +3774,9 @@ } } }, - "lex-models-v2.2020-08-07": { + "iotfleethub.2020-11-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-models-v2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotfleethub.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3774,9 +3785,9 @@ } } }, - "marketplace-metering.2016-01-14": { + "sagemaker.2017-07-24": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-metering.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3785,9 +3796,9 @@ } } }, - "inspector.2016-02-16": { + "connectcampaignsv2.2024-04-23": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/inspector.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectcampaignsv2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3796,9 +3807,9 @@ } } }, - "waf-regional.2016-11-28": { + "sts.2011-06-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/waf-regional.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sts.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3807,9 +3818,9 @@ } } }, - "fis.2020-12-01": { + "mediastore.2017-09-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/fis.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/mediastore.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3820,7 +3831,7 @@ }, "ecr-public.2020-10-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ecr-public.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ecr-public.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3829,9 +3840,9 @@ } } }, - "rum.2018-05-10": { + "pricing.2017-10-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rum.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pricing.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3840,9 +3851,9 @@ } } }, - "athena.2017-05-18": { + "iot-jobs-data-plane.2017-09-29": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/athena.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-jobs-data-plane.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3851,9 +3862,9 @@ } } }, - "route-53-domains.2014-05-15": { + "rds-data.2018-08-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route-53-domains.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rds-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3862,9 +3873,9 @@ } } }, - "support-app.2021-08-20": { + "cloudhsm-v2.2017-04-28": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/support-app.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudhsm-v2.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3873,9 +3884,9 @@ } } }, - "docdb.2014-10-31": { + "bcm-pricing-calculator.2024-06-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/docdb.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bcm-pricing-calculator.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3884,9 +3895,9 @@ } } }, - "greengrass.2017-06-07": { + "voice-id.2021-09-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/greengrass.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/voice-id.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3895,9 +3906,9 @@ } } }, - "ebs.2019-11-02": { + "appconfigdata.2021-11-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ebs.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appconfigdata.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3906,9 +3917,9 @@ } } }, - "medical-imaging.2023-07-19": { + "backup-gateway.2021-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/medical-imaging.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/backup-gateway.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3917,9 +3928,9 @@ } } }, - "bedrock-agent-runtime.2023-07-26": { + "rolesanywhere.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-agent-runtime.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/rolesanywhere.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3928,9 +3939,9 @@ } } }, - "s3.2006-03-01": { + "transcribe-streaming.2017-10-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/s3.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/transcribe-streaming.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3939,9 +3950,9 @@ } } }, - "apigatewaymanagementapi.2018-11-29": { + "location.2020-11-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apigatewaymanagementapi.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/location.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3950,9 +3961,9 @@ } } }, - "omics.2022-11-28": { + "sns.2010-03-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/omics.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sns.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3961,9 +3972,9 @@ } } }, - "chime-sdk-identity.2021-04-20": { + "datazone.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-identity.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/datazone.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3972,9 +3983,9 @@ } } }, - "bedrock-data-automation.2023-07-26": { + "route53-recovery-control-config.2020-11-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-data-automation.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53-recovery-control-config.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3983,9 +3994,9 @@ } } }, - "auto-scaling-plans.2018-01-06": { + "chime-sdk-meetings.2021-07-15": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/auto-scaling-plans.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-meetings.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -3994,9 +4005,9 @@ } } }, - "kinesis.2013-12-02": { + "inspector-scan.2023-08-08": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kinesis.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/inspector-scan.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4005,9 +4016,9 @@ } } }, - "chatbot.2017-10-11": { + "timestream-write.2018-11-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chatbot.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/timestream-write.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4016,9 +4027,9 @@ } } }, - "swf.2012-01-25": { + "personalize-runtime.2018-05-22": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/swf.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/personalize-runtime.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4027,9 +4038,9 @@ } } }, - "pinpoint-email.2018-07-26": { + "ivschat.2020-07-14": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/pinpoint-email.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ivschat.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4038,9 +4049,9 @@ } } }, - "groundstation.2019-05-23": { + "emr.2009-03-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/groundstation.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/emr.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4049,9 +4060,9 @@ } } }, - "cognito-identity-provider.2016-04-18": { + "lambda.2015-03-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cognito-identity-provider.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lambda.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4060,9 +4071,9 @@ } } }, - "forecast.2018-06-26": { + "cost-explorer.2017-10-25": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/forecast.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cost-explorer.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4071,9 +4082,9 @@ } } }, - "apprunner.2020-05-15": { + "sms.2016-10-24": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/apprunner.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sms.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4082,9 +4093,9 @@ } } }, - "route53-recovery-cluster.2019-12-02": { + "textract.2018-06-27": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53-recovery-cluster.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/textract.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4093,9 +4104,9 @@ } } }, - "iotanalytics.2017-11-27": { + "iot-wireless.2020-11-22": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotanalytics.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-wireless.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4104,9 +4115,9 @@ } } }, - "marketplace-catalog.2018-09-17": { + "networkflowmonitor.2023-04-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-catalog.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/networkflowmonitor.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4115,9 +4126,9 @@ } } }, - "lex-runtime-service.2016-11-28": { + "securityhub.2018-10-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/lex-runtime-service.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/securityhub.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4126,9 +4137,9 @@ } } }, - "translate.2017-07-01": { + "route53profiles.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/translate.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/route53profiles.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4137,9 +4148,9 @@ } } }, - "resource-groups-tagging-api.2017-01-26": { + "workmailmessageflow.2019-05-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/resource-groups-tagging-api.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/workmailmessageflow.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4148,9 +4159,9 @@ } } }, - "sagemaker-metrics.2022-09-30": { + "cognito-sync.2014-06-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-metrics.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cognito-sync.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4159,9 +4170,9 @@ } } }, - "ram.2018-01-04": { + "ec2-instance-connect.2018-04-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ram.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ec2-instance-connect.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4170,9 +4181,9 @@ } } }, - "appflow.2020-08-23": { + "tnb.2008-10-21": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appflow.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/tnb.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4181,9 +4192,9 @@ } } }, - "migration-hub.2017-05-31": { + "connectcampaigns.2021-01-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/migration-hub.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectcampaigns.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4192,9 +4203,9 @@ } } }, - "auto-scaling.2011-01-01": { + "bedrock-data-automation.2023-07-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/auto-scaling.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-data-automation.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4203,9 +4214,9 @@ } } }, - "networkmanager.2019-07-05": { + "directory-service-data.2023-05-31": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/networkmanager.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/directory-service-data.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4214,9 +4225,9 @@ } } }, - "trustedadvisor.2022-09-15": { + "securitylake.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/trustedadvisor.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/securitylake.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4225,9 +4236,9 @@ } } }, - "connectcampaignsv2.2024-04-23": { + "socialmessaging.2024-01-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectcampaignsv2.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/socialmessaging.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4236,9 +4247,9 @@ } } }, - "emr.2009-03-31": { + "clouddirectory.2017-01-11": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/emr.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/clouddirectory.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4247,9 +4258,9 @@ } } }, - "scheduler.2021-06-30": { + "cleanrooms.2022-02-17": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/scheduler.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cleanrooms.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4258,9 +4269,9 @@ } } }, - "compute-optimizer.2019-11-01": { + "imagebuilder.2019-12-02": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/compute-optimizer.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/imagebuilder.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4269,9 +4280,9 @@ } } }, - "iotfleetwise.2021-06-17": { + "marketplace-commerce-analytics.2015-07-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iotfleetwise.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-commerce-analytics.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4280,9 +4291,9 @@ } } }, - "guardduty.2017-11-28": { + "codeguru-security.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/guardduty.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/codeguru-security.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4291,9 +4302,9 @@ } } }, - "iot-jobs-data-plane.2017-09-29": { + "cognito-identity.2014-06-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/iot-jobs-data-plane.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cognito-identity.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4302,9 +4313,9 @@ } } }, - "devops-guru.2020-12-01": { + "redshift-serverless.2021-04-21": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/devops-guru.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/redshift-serverless.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4313,9 +4324,9 @@ } } }, - "kafka.2018-11-14": { + "applicationcostprofiler.2020-09-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kafka.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/applicationcostprofiler.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4324,9 +4335,9 @@ } } }, - "service-catalog.2015-12-10": { + "connectcases.2022-10-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/service-catalog.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectcases.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4335,9 +4346,9 @@ } } }, - "networkmonitor.2023-08-01": { + "appconfig.2019-10-09": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/networkmonitor.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appconfig.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4346,9 +4357,9 @@ } } }, - "marketplace-agreement.2020-03-01": { + "sso-oidc.2019-06-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/marketplace-agreement.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sso-oidc.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4357,9 +4368,9 @@ } } }, - "connectcampaigns.2021-01-30": { + "kendra.2019-02-03": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/connectcampaigns.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/kendra.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4368,9 +4379,9 @@ } } }, - "application-auto-scaling.2016-02-06": { + "appfabric.2023-05-19": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/application-auto-scaling.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/appfabric.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4379,9 +4390,9 @@ } } }, - "quicksight.2018-04-01": { + "sagemaker-metrics.2022-09-30": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/quicksight.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/sagemaker-metrics.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4390,9 +4401,9 @@ } } }, - "location.2020-11-19": { + "ssm-quicksetup.2018-05-10": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/location.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/ssm-quicksetup.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4401,9 +4412,9 @@ } } }, - "keyspaces.2022-02-10": { + "cloudfront-keyvaluestore.2022-07-26": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/keyspaces.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/cloudfront-keyvaluestore.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4412,9 +4423,9 @@ } } }, - "bedrock-agent.2023-06-05": { + "elastic-load-balancing.2012-06-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/bedrock-agent.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/elastic-load-balancing.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": { @@ -4423,9 +4434,9 @@ } } }, - "chime-sdk-media-pipelines.2021-07-15": { + "fsx.2018-03-01": { "imports": [ - "/codebuild/output/src4006885975/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/chime-sdk-media-pipelines.json" + "/codebuild/output/src3028610319/src/aws-sdk-cpp/tools/code-generation/smithy/api-descriptions/fsx.json" ], "plugins": { "cpp-codegen-smoke-tests-plugin": {